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
[ 36, 66, 13, 39 ]
42
[ "36*39=1404", "1404/13=108", "108-66=42" ]
Current State: 42:[36, 66, 13, 39], Operations: [] Exploring Operation: 36*39=1404, Resulting Numbers: [66, 13, 1404] Generated Node #2: [66, 13, 1404] from Operation: 36*39=1404 Current State: 42:[66, 13, 1404], Operations: ['36*39=1404'] Exploring Operation: 1404/13=108, Resulting Numbers: [66, 108] Generated Node #3: [66, 108] from Operation: 1404/13=108 Current State: 42:[66, 108], Operations: ['36*39=1404', '1404/13=108'] Exploring Operation: 108-66=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[36, 66, 13, 39], Operations: [] Exploring Operation: 66-39=27, Resulting Numbers: [36, 13, 27] Generated Node #0,0: 42:[36, 13, 27] Operation: 66-39=27 Exploring Operation: 66-36=30, Resulting Numbers: [13, 39, 30] Generated Node #0,1: 42:[13, 39, 30] Operation: 66-36=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[36, 13, 27], Operations: ['66-39=27'] Exploring Operation: 27-13=14, Resulting Numbers: [36, 14] Generated Node #0,0,0: 42:[36, 14] Operation: 27-13=14 Exploring Operation: 36-27=9, Resulting Numbers: [13, 9] Generated Node #0,0,1: 42:[13, 9] Operation: 36-27=9 Moving to Node #0,0,1 Current State: 42:[13, 9], Operations: ['66-39=27', '36-27=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[36, 14], Operations: ['66-39=27', '27-13=14'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[13, 39, 30], Operations: ['66-36=30'] Exploring Operation: 39-30=9, Resulting Numbers: [13, 9] Generated Node #0,1,0: 42:[13, 9] Operation: 39-30=9 Exploring Operation: 13+30=43, Resulting Numbers: [39, 43] Generated Node #0,1,1: 42:[39, 43] Operation: 13+30=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[13, 9], Operations: ['66-36=30', '39-30=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,42 unequal: No Solution No 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: 42:[39, 43], Operations: ['66-36=30', '13+30=43'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 8, 63, 1, 24 ]
66
[ "8*1=8", "24/8=3", "63+3=66" ]
Current State: 66:[8, 63, 1, 24], Operations: [] Exploring Operation: 8*1=8, Resulting Numbers: [63, 24, 8] Generated Node #2: [63, 24, 8] from Operation: 8*1=8 Current State: 66:[63, 24, 8], Operations: ['8*1=8'] Exploring Operation: 24/8=3, Resulting Numbers: [63, 3] Generated Node #3: [63, 3] from Operation: 24/8=3 Current State: 66:[63, 3], Operations: ['8*1=8', '24/8=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[8, 63, 1, 24], Operations: [] Exploring Operation: 8-1=7, Resulting Numbers: [63, 24, 7] Generated Node #0,0: 66:[63, 24, 7] Operation: 8-1=7 Exploring Operation: 8+24=32, Resulting Numbers: [63, 1, 32] Generated Node #0,1: 66:[63, 1, 32] Operation: 8+24=32 Exploring Operation: 63+1=64, Resulting Numbers: [8, 24, 64] Generated Node #0,2: 66:[8, 24, 64] Operation: 63+1=64 Exploring Operation: 24/8=3, Resulting Numbers: [63, 1, 3] Generated Node #0,3: 66:[63, 1, 3] Operation: 24/8=3 Exploring Operation: 24-1=23, Resulting Numbers: [8, 63, 23] Generated Node #0,4: 66:[8, 63, 23] Operation: 24-1=23 Moving to Node #0,3 Current State: 66:[63, 1, 3], Operations: ['24/8=3'] Exploring Operation: 63*1=63, Resulting Numbers: [3, 63] Generated Node #0,3,0: 66:[3, 63] Operation: 63*1=63 Exploring Operation: 63+1=64, Resulting Numbers: [3, 64] Generated Node #0,3,1: 66:[3, 64] Operation: 63+1=64 Exploring Operation: 63/3=21, Resulting Numbers: [1, 21] Generated Node #0,3,2: 66:[1, 21] Operation: 63/3=21 Exploring Operation: 63+3=66, Resulting Numbers: [1, 66] Generated Node #0,3,3: 66:[1, 66] Operation: 63+3=66 Exploring Operation: 63/1=63, Resulting Numbers: [3, 63] Generated Node #0,3,4: 66:[3, 63] Operation: 63/1=63 Moving to Node #0,1 Current State: 66:[63, 1, 32], Operations: ['8+24=32'] Exploring Operation: 63*1=63, Resulting Numbers: [32, 63] Generated Node #0,1,0: 66:[32, 63] Operation: 63*1=63 Exploring Operation: 63+1=64, Resulting Numbers: [32, 64] Generated Node #0,1,1: 66:[32, 64] Operation: 63+1=64 Exploring Operation: 63/1=63, Resulting Numbers: [32, 63] Generated Node #0,1,2: 66:[32, 63] Operation: 63/1=63 Exploring Operation: 63-32=31, Resulting Numbers: [1, 31] Generated Node #0,1,3: 66:[1, 31] Operation: 63-32=31 Exploring Operation: 1+32=33, Resulting Numbers: [63, 33] Generated Node #0,1,4: 66:[63, 33] Operation: 1+32=33 Moving to Node #0,0 Current State: 66:[63, 24, 7], Operations: ['8-1=7'] Exploring Operation: 63/7=9, Resulting Numbers: [24, 9] Generated Node #0,0,0: 66:[24, 9] Operation: 63/7=9 Exploring Operation: 24+7=31, Resulting Numbers: [63, 31] Generated Node #0,0,1: 66:[63, 31] Operation: 24+7=31 Exploring Operation: 63-24=39, Resulting Numbers: [7, 39] Generated Node #0,0,2: 66:[7, 39] Operation: 63-24=39 Exploring Operation: 24-7=17, Resulting Numbers: [63, 17] Generated Node #0,0,3: 66:[63, 17] Operation: 24-7=17 Exploring Operation: 63+7=70, Resulting Numbers: [24, 70] Generated Node #0,0,4: 66:[24, 70] Operation: 63+7=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[24, 9], Operations: ['8-1=7', '63/7=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,66 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[63, 31], Operations: ['8-1=7', '24+7=31'] Exploring Operation: 63+31=94, Resulting Numbers: [94] 94,66 unequal: No Solution Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 63*31=1953, Resulting Numbers: [1953] 1953,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 66:[24, 70], Operations: ['8-1=7', '63+7=70'] Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,66 unequal: No Solution Exploring Operation: 24*70=1680, Resulting Numbers: [1680] 1680,66 unequal: No Solution Exploring Operation: 24+70=94, Resulting Numbers: [94] 94,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[7, 39], Operations: ['8-1=7', '63-24=39'] Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,66 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[63, 17], Operations: ['8-1=7', '24-7=17'] Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,66 unequal: No Solution Exploring Operation: 63+17=80, Resulting Numbers: [80] 80,66 unequal: No Solution Exploring Operation: 63*17=1071, Resulting Numbers: [1071] 1071,66 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: 66:[8, 24, 64], Operations: ['63+1=64'] Exploring Operation: 8+64=72, Resulting Numbers: [24, 72] Generated Node #0,2,0: 66:[24, 72] Operation: 8+64=72 Exploring Operation: 24-8=16, Resulting Numbers: [64, 16] Generated Node #0,2,1: 66:[64, 16] Operation: 24-8=16 Exploring Operation: 64/8=8, Resulting Numbers: [24, 8] Generated Node #0,2,2: 66:[24, 8] Operation: 64/8=8 Exploring Operation: 24/8=3, Resulting Numbers: [64, 3] Generated Node #0,2,3: 66:[64, 3] Operation: 24/8=3 Exploring Operation: 8+24=32, Resulting Numbers: [64, 32] Generated Node #0,2,4: 66:[64, 32] Operation: 8+24=32 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 66:[64, 3], Operations: ['63+1=64', '24/8=3'] Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,66 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,66 unequal: No Solution Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 66:[64, 32], Operations: ['63+1=64', '8+24=32'] Exploring Operation: 64+32=96, Resulting Numbers: [96] 96,66 unequal: No Solution Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 64*32=2048, Resulting Numbers: [2048] 2048,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[24, 8], Operations: ['63+1=64', '64/8=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[64, 16], Operations: ['63+1=64', '24-8=16'] Exploring Operation: 64*16=1024, Resulting Numbers: [1024] 1024,66 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,66 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 66:[24, 72], Operations: ['63+1=64', '8+64=72'] Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,66 unequal: No Solution Exploring Operation: 24+72=96, Resulting Numbers: [96] 96,66 unequal: No Solution Exploring Operation: 24*72=1728, Resulting Numbers: [1728] 1728,66 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,66 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: 66:[8, 63, 23], Operations: ['24-1=23'] Exploring Operation: 8+23=31, Resulting Numbers: [63, 31] Generated Node #0,4,0: 66:[63, 31] Operation: 8+23=31 Exploring Operation: 23-8=15, Resulting Numbers: [63, 15] Generated Node #0,4,1: 66:[63, 15] Operation: 23-8=15 Exploring Operation: 8+63=71, Resulting Numbers: [23, 71] Generated Node #0,4,2: 66:[23, 71] Operation: 8+63=71 Exploring Operation: 63-23=40, Resulting Numbers: [8, 40] Generated Node #0,4,3: 66:[8, 40] Operation: 63-23=40 Exploring Operation: 63-8=55, Resulting Numbers: [23, 55] Generated Node #0,4,4: 66:[23, 55] Operation: 63-8=55 Moving to Node #0,3,3 Current State: 66:[1, 66], Operations: ['24/8=3', '63+3=66'] Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[8, 63, 1, 24], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [63, 1, 3] Generated Node #0,3: 66:[63, 1, 3] Operation: 24/8=3 Moving to Node #0,3 Current State: 66:[63, 1, 3], Operations: ['24/8=3'] Exploring Operation: 63+3=66, Resulting Numbers: [1, 66] Generated Node #0,3,3: 66:[1, 66] Operation: 63+3=66 Moving to Node #0,3,3 Current State: 66:[1, 66], Operations: ['24/8=3', '63+3=66'] Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.940104
hs_5
mult_heuristic
[ 3, 54, 26, 21 ]
29
[ "54/3=18", "26+21=47", "47-18=29" ]
Current State: 29:[3, 54, 26, 21], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [26, 21, 18] Generated Node #2: [26, 21, 18] from Operation: 54/3=18 Current State: 29:[26, 21, 18], Operations: ['54/3=18'] Exploring Operation: 26+21=47, Resulting Numbers: [18, 47] Generated Node #3: [18, 47] from Operation: 26+21=47 Current State: 29:[18, 47], Operations: ['54/3=18', '26+21=47'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[3, 54, 26, 21], Operations: [] Exploring Operation: 54-3=51, Resulting Numbers: [26, 21, 51] Generated Node #0,0: 29:[26, 21, 51] Operation: 54-3=51 Exploring Operation: 54/3=18, Resulting Numbers: [26, 21, 18] Generated Node #0,1: 29:[26, 21, 18] Operation: 54/3=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[26, 21, 18], Operations: ['54/3=18'] Exploring Operation: 21+18=39, Resulting Numbers: [26, 39] Generated Node #0,1,0: 29:[26, 39] Operation: 21+18=39 Exploring Operation: 26+18=44, Resulting Numbers: [21, 44] Generated Node #0,1,1: 29:[21, 44] Operation: 26+18=44 Moving to Node #0,1,0 Current State: 29:[26, 39], Operations: ['54/3=18', '21+18=39'] Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,29 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[21, 44], Operations: ['54/3=18', '26+18=44'] Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,29 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,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 Current State: 29:[26, 21, 51], Operations: ['54-3=51'] Exploring Operation: 51-26=25, Resulting Numbers: [21, 25] Generated Node #0,0,0: 29:[21, 25] Operation: 51-26=25 Exploring Operation: 51-21=30, Resulting Numbers: [26, 30] Generated Node #0,0,1: 29:[26, 30] Operation: 51-21=30 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[26, 30], Operations: ['54-3=51', '51-21=30'] Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[21, 25], Operations: ['54-3=51', '51-26=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,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 No solution found.
0
hs_2
mult_heuristic
[ 55, 92, 86, 67 ]
18
[ "92-55=37", "86-67=19", "37-19=18" ]
Current State: 18:[55, 92, 86, 67], Operations: [] Exploring Operation: 92-55=37, Resulting Numbers: [86, 67, 37] Generated Node #2: [86, 67, 37] from Operation: 92-55=37 Current State: 18:[86, 67, 37], Operations: ['92-55=37'] Exploring Operation: 86-67=19, Resulting Numbers: [37, 19] Generated Node #3: [37, 19] from Operation: 86-67=19 Current State: 18:[37, 19], Operations: ['92-55=37', '86-67=19'] Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[55, 92, 86, 67], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [55, 67, 6] Generated Node #0,0: 18:[55, 67, 6] Operation: 92-86=6 Exploring Operation: 92-55=37, Resulting Numbers: [86, 67, 37] Generated Node #0,1: 18:[86, 67, 37] Operation: 92-55=37 Exploring Operation: 86-67=19, Resulting Numbers: [55, 92, 19] Generated Node #0,2: 18:[55, 92, 19] Operation: 86-67=19 Exploring Operation: 92-67=25, Resulting Numbers: [55, 86, 25] Generated Node #0,3: 18:[55, 86, 25] Operation: 92-67=25 Moving to Node #0,0 Current State: 18:[55, 67, 6], Operations: ['92-86=6'] Exploring Operation: 55+6=61, Resulting Numbers: [67, 61] Generated Node #0,0,0: 18:[67, 61] Operation: 55+6=61 Exploring Operation: 67-55=12, Resulting Numbers: [6, 12] Generated Node #0,0,1: 18:[6, 12] Operation: 67-55=12 Exploring Operation: 67-6=61, Resulting Numbers: [55, 61] Generated Node #0,0,2: 18:[55, 61] Operation: 67-6=61 Exploring Operation: 55-6=49, Resulting Numbers: [67, 49] Generated Node #0,0,3: 18:[67, 49] Operation: 55-6=49 Moving to Node #0,3 Current State: 18:[55, 86, 25], Operations: ['92-67=25'] Exploring Operation: 55+86=141, Resulting Numbers: [25, 141] Generated Node #0,3,0: 18:[25, 141] Operation: 55+86=141 Exploring Operation: 86-25=61, Resulting Numbers: [55, 61] Generated Node #0,3,1: 18:[55, 61] Operation: 86-25=61 Exploring Operation: 55-25=30, Resulting Numbers: [86, 30] Generated Node #0,3,2: 18:[86, 30] Operation: 55-25=30 Exploring Operation: 86-55=31, Resulting Numbers: [25, 31] Generated Node #0,3,3: 18:[25, 31] Operation: 86-55=31 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[25, 31], Operations: ['92-67=25', '86-55=31'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 25*31=775, Resulting Numbers: [775] 775,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,3,1 Current State: 18:[55, 61], Operations: ['92-67=25', '86-25=61'] Exploring Operation: 61-55=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 55*61=3355, Resulting Numbers: [3355] 3355,18 unequal: No Solution Exploring Operation: 55+61=116, Resulting Numbers: [116] 116,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,3,2 Current State: 18:[86, 30], Operations: ['92-67=25', '55-25=30'] Exploring Operation: 86+30=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 86*30=2580, Resulting Numbers: [2580] 2580,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,3,0 Current State: 18:[25, 141], Operations: ['92-67=25', '55+86=141'] Exploring Operation: 141-25=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 25*141=3525, Resulting Numbers: [3525] 3525,18 unequal: No Solution Exploring Operation: 25+141=166, Resulting Numbers: [166] 166,18 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: 18:[55, 92, 19], Operations: ['86-67=19'] Exploring Operation: 55-19=36, Resulting Numbers: [92, 36] Generated Node #0,2,0: 18:[92, 36] Operation: 55-19=36 Exploring Operation: 55+92=147, Resulting Numbers: [19, 147] Generated Node #0,2,1: 18:[19, 147] Operation: 55+92=147 Exploring Operation: 92-55=37, Resulting Numbers: [19, 37] Generated Node #0,2,2: 18:[19, 37] Operation: 92-55=37 Exploring Operation: 92-19=73, Resulting Numbers: [55, 73] Generated Node #0,2,3: 18:[55, 73] Operation: 92-19=73 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[19, 37], Operations: ['86-67=19', '92-55=37'] Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,18 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[55, 92, 86, 67], Operations: [] Exploring Operation: 86-67=19, Resulting Numbers: [55, 92, 19] Generated Node #0,2: 18:[55, 92, 19] Operation: 86-67=19 Moving to Node #0,2 Current State: 18:[55, 92, 19], Operations: ['86-67=19'] Exploring Operation: 92-55=37, Resulting Numbers: [19, 37] Generated Node #0,2,2: 18:[19, 37] Operation: 92-55=37 Moving to Node #0,2,2 Current State: 18:[19, 37], Operations: ['86-67=19', '92-55=37'] Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 84, 80, 89, 45 ]
91
[ "84-80=4", "45*4=180", "180-89=91" ]
Current State: 91:[84, 80, 89, 45], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [89, 45, 4] Generated Node #2: [89, 45, 4] from Operation: 84-80=4 Current State: 91:[89, 45, 4], Operations: ['84-80=4'] Exploring Operation: 45*4=180, Resulting Numbers: [89, 180] Generated Node #3: [89, 180] from Operation: 45*4=180 Current State: 91:[89, 180], Operations: ['84-80=4', '45*4=180'] Exploring Operation: 180-89=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[84, 80, 89, 45], Operations: [] Exploring Operation: 80-45=35, Resulting Numbers: [84, 89, 35] Generated Node #0,0: 91:[84, 89, 35] Operation: 80-45=35 Moving to Node #0,0 Current State: 91:[84, 89, 35], Operations: ['80-45=35'] Exploring Operation: 89-84=5, Resulting Numbers: [35, 5] Generated Node #0,0,0: 91:[35, 5] Operation: 89-84=5 Moving to Node #0,0,0 Current State: 91:[35, 5], Operations: ['80-45=35', '89-84=5'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,91 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 68, 47, 13, 59 ]
70
[ "68-59=9", "13*9=117", "117-47=70" ]
Current State: 70:[68, 47, 13, 59], Operations: [] Exploring Operation: 68-59=9, Resulting Numbers: [47, 13, 9] Generated Node #2: [47, 13, 9] from Operation: 68-59=9 Current State: 70:[47, 13, 9], Operations: ['68-59=9'] Exploring Operation: 13*9=117, Resulting Numbers: [47, 117] Generated Node #3: [47, 117] from Operation: 13*9=117 Current State: 70:[47, 117], Operations: ['68-59=9', '13*9=117'] Exploring Operation: 117-47=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[68, 47, 13, 59], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [68, 13, 12] Generated Node #0,0: 70:[68, 13, 12] Operation: 59-47=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[68, 13, 12], Operations: ['59-47=12'] Exploring Operation: 13-12=1, Resulting Numbers: [68, 1] Generated Node #0,0,0: 70:[68, 1] Operation: 13-12=1 Moving to Node #0,0,0 Current State: 70:[68, 1], Operations: ['59-47=12', '13-12=1'] Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 18, 59, 85 ]
17
[ "18/2=9", "85-59=26", "26-9=17" ]
Current State: 17:[2, 18, 59, 85], Operations: [] Exploring Operation: 18/2=9, Resulting Numbers: [59, 85, 9] Generated Node #2: [59, 85, 9] from Operation: 18/2=9 Current State: 17:[59, 85, 9], Operations: ['18/2=9'] Exploring Operation: 85-59=26, Resulting Numbers: [9, 26] Generated Node #3: [9, 26] from Operation: 85-59=26 Current State: 17:[9, 26], Operations: ['18/2=9', '85-59=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[2, 18, 59, 85], Operations: [] Exploring Operation: 59-18=41, Resulting Numbers: [2, 85, 41] Generated Node #0,0: 17:[2, 85, 41] Operation: 59-18=41 Exploring Operation: 85-18=67, Resulting Numbers: [2, 59, 67] Generated Node #0,1: 17:[2, 59, 67] Operation: 85-18=67 Exploring Operation: 85-59=26, Resulting Numbers: [2, 18, 26] Generated Node #0,2: 17:[2, 18, 26] Operation: 85-59=26 Exploring Operation: 59-2=57, Resulting Numbers: [18, 85, 57] Generated Node #0,3: 17:[18, 85, 57] Operation: 59-2=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[2, 18, 26], Operations: ['85-59=26'] Exploring Operation: 2+18=20, Resulting Numbers: [26, 20] Generated Node #0,2,0: 17:[26, 20] Operation: 2+18=20 Exploring Operation: 18-2=16, Resulting Numbers: [26, 16] Generated Node #0,2,1: 17:[26, 16] Operation: 18-2=16 Exploring Operation: 26-2=24, Resulting Numbers: [18, 24] Generated Node #0,2,2: 17:[18, 24] Operation: 26-2=24 Exploring Operation: 26/2=13, Resulting Numbers: [18, 13] Generated Node #0,2,3: 17:[18, 13] Operation: 26/2=13 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 17:[18, 13], Operations: ['85-59=26', '26/2=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,17 unequal: No Solution No 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: 17:[18, 24], Operations: ['85-59=26', '26-2=24'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,17 unequal: No Solution No 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: 17:[26, 16], Operations: ['85-59=26', '18-2=16'] Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,17 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,17 unequal: No Solution No 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: 17:[26, 20], Operations: ['85-59=26', '2+18=20'] Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,17 unequal: No Solution Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,17 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: 17:[2, 85, 41], Operations: ['59-18=41'] Exploring Operation: 85-41=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 17:[2, 44] Operation: 85-41=44 Exploring Operation: 85-2=83, Resulting Numbers: [41, 83] Generated Node #0,0,1: 17:[41, 83] Operation: 85-2=83 Exploring Operation: 41-2=39, Resulting Numbers: [85, 39] Generated Node #0,0,2: 17:[85, 39] Operation: 41-2=39 Exploring Operation: 2+85=87, Resulting Numbers: [41, 87] Generated Node #0,0,3: 17:[41, 87] Operation: 2+85=87 Moving to Node #0,0,0 Current State: 17:[2, 44], Operations: ['59-18=41', '85-41=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,17 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[85, 39], Operations: ['59-18=41', '41-2=39'] Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,17 unequal: No Solution Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,17 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[41, 83], Operations: ['59-18=41', '85-2=83'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,17 unequal: No Solution Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[41, 87], Operations: ['59-18=41', '2+85=87'] Exploring Operation: 87-41=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 41*87=3567, Resulting Numbers: [3567] 3567,17 unequal: No Solution Exploring Operation: 41+87=128, Resulting Numbers: [128] 128,17 unequal: No Solution No 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: 17:[2, 59, 67], Operations: ['85-18=67'] Exploring Operation: 67-59=8, Resulting Numbers: [2, 8] Generated Node #0,1,0: 17:[2, 8] Operation: 67-59=8 Exploring Operation: 67-2=65, Resulting Numbers: [59, 65] Generated Node #0,1,1: 17:[59, 65] Operation: 67-2=65 Exploring Operation: 59-2=57, Resulting Numbers: [67, 57] Generated Node #0,1,2: 17:[67, 57] Operation: 59-2=57 Exploring Operation: 2+59=61, Resulting Numbers: [67, 61] Generated Node #0,1,3: 17:[67, 61] Operation: 2+59=61 Moving to Node #0,1,0 Current State: 17:[2, 8], Operations: ['85-18=67', '67-59=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[67, 57], Operations: ['85-18=67', '59-2=57'] Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 67+57=124, Resulting Numbers: [124] 124,17 unequal: No Solution Exploring Operation: 67*57=3819, Resulting Numbers: [3819] 3819,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[59, 65], Operations: ['85-18=67', '67-2=65'] Exploring Operation: 59+65=124, Resulting Numbers: [124] 124,17 unequal: No Solution Exploring Operation: 59*65=3835, Resulting Numbers: [3835] 3835,17 unequal: No Solution Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[67, 61], Operations: ['85-18=67', '2+59=61'] Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 67*61=4087, Resulting Numbers: [4087] 4087,17 unequal: No Solution Exploring Operation: 67+61=128, Resulting Numbers: [128] 128,17 unequal: No Solution No 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: 17:[18, 85, 57], Operations: ['59-2=57'] Exploring Operation: 18+85=103, Resulting Numbers: [57, 103] Generated Node #0,3,0: 17:[57, 103] Operation: 18+85=103 Exploring Operation: 85-18=67, Resulting Numbers: [57, 67] Generated Node #0,3,1: 17:[57, 67] Operation: 85-18=67 Exploring Operation: 57-18=39, Resulting Numbers: [85, 39] Generated Node #0,3,2: 17:[85, 39] Operation: 57-18=39 Exploring Operation: 85-57=28, Resulting Numbers: [18, 28] Generated Node #0,3,3: 17:[18, 28] Operation: 85-57=28 Moving to Node #0,3,3 Current State: 17:[18, 28], Operations: ['59-2=57', '85-57=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[85, 39], Operations: ['59-2=57', '57-18=39'] Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,17 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[57, 67], Operations: ['59-2=57', '85-18=67'] Exploring Operation: 57+67=124, Resulting Numbers: [124] 124,17 unequal: No Solution Exploring Operation: 57*67=3819, Resulting Numbers: [3819] 3819,17 unequal: No Solution Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[57, 103], Operations: ['59-2=57', '18+85=103'] Exploring Operation: 57+103=160, Resulting Numbers: [160] 160,17 unequal: No Solution Exploring Operation: 57*103=5871, Resulting Numbers: [5871] 5871,17 unequal: No Solution Exploring Operation: 103-57=46, Resulting Numbers: [46] 46,17 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, 19, 76, 93 ]
23
[ "93-1=92", "76/19=4", "92/4=23" ]
Current State: 23:[1, 19, 76, 93], Operations: [] Exploring Operation: 93-1=92, Resulting Numbers: [19, 76, 92] Generated Node #2: [19, 76, 92] from Operation: 93-1=92 Current State: 23:[19, 76, 92], Operations: ['93-1=92'] Exploring Operation: 76/19=4, Resulting Numbers: [92, 4] Generated Node #3: [92, 4] from Operation: 76/19=4 Current State: 23:[92, 4], Operations: ['93-1=92', '76/19=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[1, 19, 76, 93], Operations: [] Exploring Operation: 93-76=17, Resulting Numbers: [1, 19, 17] Generated Node #0,0: 23:[1, 19, 17] Operation: 93-76=17 Exploring Operation: 76/19=4, Resulting Numbers: [1, 93, 4] Generated Node #0,1: 23:[1, 93, 4] Operation: 76/19=4 Moving to Node #0,0 Current State: 23:[1, 19, 17], Operations: ['93-76=17'] Exploring Operation: 1+17=18, Resulting Numbers: [19, 18] Generated Node #0,0,0: 23:[19, 18] Operation: 1+17=18 Exploring Operation: 1+19=20, Resulting Numbers: [17, 20] Generated Node #0,0,1: 23:[17, 20] Operation: 1+19=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[19, 18], Operations: ['93-76=17', '1+17=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,23 unequal: No Solution No 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: 23:[17, 20], Operations: ['93-76=17', '1+19=20'] Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,23 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: 23:[1, 93, 4], Operations: ['76/19=4'] Exploring Operation: 93-1=92, Resulting Numbers: [4, 92] Generated Node #0,1,0: 23:[4, 92] Operation: 93-1=92 Exploring Operation: 1+4=5, Resulting Numbers: [93, 5] Generated Node #0,1,1: 23:[93, 5] Operation: 1+4=5 Moving to Node #0,1,0 Current State: 23:[4, 92], Operations: ['76/19=4', '93-1=92'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[1, 19, 76, 93], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [1, 93, 4] Generated Node #0,1: 23:[1, 93, 4] Operation: 76/19=4 Moving to Node #0,1 Current State: 23:[1, 93, 4], Operations: ['76/19=4'] Exploring Operation: 93-1=92, Resulting Numbers: [4, 92] Generated Node #0,1,0: 23:[4, 92] Operation: 93-1=92 Moving to Node #0,1,0 Current State: 23:[4, 92], Operations: ['76/19=4', '93-1=92'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 1, 15, 82, 88 ]
96
[ "1+15=16", "88-82=6", "16*6=96" ]
Current State: 96:[1, 15, 82, 88], Operations: [] Exploring Operation: 1+15=16, Resulting Numbers: [82, 88, 16] Generated Node #2: [82, 88, 16] from Operation: 1+15=16 Current State: 96:[82, 88, 16], Operations: ['1+15=16'] Exploring Operation: 88-82=6, Resulting Numbers: [16, 6] Generated Node #3: [16, 6] from Operation: 88-82=6 Current State: 96:[16, 6], Operations: ['1+15=16', '88-82=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[1, 15, 82, 88], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [1, 15, 6] Generated Node #0,0: 96:[1, 15, 6] Operation: 88-82=6 Moving to Node #0,0 Current State: 96:[1, 15, 6], Operations: ['88-82=6'] Exploring Operation: 1+15=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 96:[6, 16] Operation: 1+15=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[6, 16], Operations: ['88-82=6', '1+15=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[1, 15, 82, 88], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [1, 15, 6] Generated Node #0,0: 96:[1, 15, 6] Operation: 88-82=6 Moving to Node #0,0 Current State: 96:[1, 15, 6], Operations: ['88-82=6'] Exploring Operation: 1+15=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 96:[6, 16] Operation: 1+15=16 Moving to Node #0,0,0 Current State: 96:[6, 16], Operations: ['88-82=6', '1+15=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 6, 15, 10, 53 ]
23
[ "15-10=5", "6*5=30", "53-30=23" ]
Current State: 23:[6, 15, 10, 53], Operations: [] Exploring Operation: 15-10=5, Resulting Numbers: [6, 53, 5] Generated Node #2: [6, 53, 5] from Operation: 15-10=5 Current State: 23:[6, 53, 5], Operations: ['15-10=5'] Exploring Operation: 6*5=30, Resulting Numbers: [53, 30] Generated Node #3: [53, 30] from Operation: 6*5=30 Current State: 23:[53, 30], Operations: ['15-10=5', '6*5=30'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[6, 15, 10, 53], Operations: [] Exploring Operation: 6+10=16, Resulting Numbers: [15, 53, 16] Generated Node #0,0: 23:[15, 53, 16] Operation: 6+10=16 Exploring Operation: 6+15=21, Resulting Numbers: [10, 53, 21] Generated Node #0,1: 23:[10, 53, 21] Operation: 6+15=21 Exploring Operation: 53-15=38, Resulting Numbers: [6, 10, 38] Generated Node #0,2: 23:[6, 10, 38] Operation: 53-15=38 Exploring Operation: 53-6=47, Resulting Numbers: [15, 10, 47] Generated Node #0,3: 23:[15, 10, 47] Operation: 53-6=47 Moving to Node #0,0 Current State: 23:[15, 53, 16], Operations: ['6+10=16'] Exploring Operation: 53-15=38, Resulting Numbers: [16, 38] Generated Node #0,0,0: 23:[16, 38] Operation: 53-15=38 Exploring Operation: 15+16=31, Resulting Numbers: [53, 31] Generated Node #0,0,1: 23:[53, 31] Operation: 15+16=31 Exploring Operation: 15+53=68, Resulting Numbers: [16, 68] Generated Node #0,0,2: 23:[16, 68] Operation: 15+53=68 Exploring Operation: 53-16=37, Resulting Numbers: [15, 37] Generated Node #0,0,3: 23:[15, 37] Operation: 53-16=37 Moving to Node #0,2 Current State: 23:[6, 10, 38], Operations: ['53-15=38'] Exploring Operation: 6+10=16, Resulting Numbers: [38, 16] Generated Node #0,2,0: 23:[38, 16] Operation: 6+10=16 Exploring Operation: 10-6=4, Resulting Numbers: [38, 4] Generated Node #0,2,1: 23:[38, 4] Operation: 10-6=4 Exploring Operation: 38-10=28, Resulting Numbers: [6, 28] Generated Node #0,2,2: 23:[6, 28] Operation: 38-10=28 Exploring Operation: 38-6=32, Resulting Numbers: [10, 32] Generated Node #0,2,3: 23:[10, 32] Operation: 38-6=32 Moving to Node #0,1 Current State: 23:[10, 53, 21], Operations: ['6+15=21'] Exploring Operation: 10+21=31, Resulting Numbers: [53, 31] Generated Node #0,1,0: 23:[53, 31] Operation: 10+21=31 Exploring Operation: 53-10=43, Resulting Numbers: [21, 43] Generated Node #0,1,1: 23:[21, 43] Operation: 53-10=43 Exploring Operation: 10+53=63, Resulting Numbers: [21, 63] Generated Node #0,1,2: 23:[21, 63] Operation: 10+53=63 Exploring Operation: 53-21=32, Resulting Numbers: [10, 32] Generated Node #0,1,3: 23:[10, 32] Operation: 53-21=32 Moving to Node #0,3 Current State: 23:[15, 10, 47], Operations: ['53-6=47'] Exploring Operation: 15+10=25, Resulting Numbers: [47, 25] Generated Node #0,3,0: 23:[47, 25] Operation: 15+10=25 Exploring Operation: 47-15=32, Resulting Numbers: [10, 32] Generated Node #0,3,1: 23:[10, 32] Operation: 47-15=32 Exploring Operation: 47-10=37, Resulting Numbers: [15, 37] Generated Node #0,3,2: 23:[15, 37] Operation: 47-10=37 Exploring Operation: 15-10=5, Resulting Numbers: [47, 5] Generated Node #0,3,3: 23:[47, 5] Operation: 15-10=5 Moving to Node #0,0,0 Current State: 23:[16, 38], Operations: ['6+10=16', '53-15=38'] Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,23 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[6, 28], Operations: ['53-15=38', '38-10=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[10, 32], Operations: ['53-15=38', '38-6=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[15, 37], Operations: ['53-6=47', '47-10=37'] Exploring Operation: 15*37=555, Resulting Numbers: [555] 555,23 unequal: No Solution Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[10, 32], Operations: ['53-6=47', '47-15=32'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[15, 37], Operations: ['6+10=16', '53-16=37'] Exploring Operation: 15*37=555, Resulting Numbers: [555] 555,23 unequal: No Solution Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[38, 16], Operations: ['53-15=38', '6+10=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,23 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[10, 32], Operations: ['6+15=21', '53-21=32'] Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,23 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[21, 43], Operations: ['6+15=21', '53-10=43'] Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[47, 25], Operations: ['53-6=47', '15+10=25'] Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,23 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[38, 4], Operations: ['53-15=38', '10-6=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,23 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[53, 31], Operations: ['6+10=16', '15+16=31'] Exploring Operation: 53+31=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 53*31=1643, Resulting Numbers: [1643] 1643,23 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[53, 31], Operations: ['6+15=21', '10+21=31'] Exploring Operation: 53+31=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 53*31=1643, Resulting Numbers: [1643] 1643,23 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[21, 63], Operations: ['6+15=21', '10+53=63'] Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 21*63=1323, Resulting Numbers: [1323] 1323,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[47, 5], Operations: ['53-6=47', '15-10=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,23 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[16, 68], Operations: ['6+10=16', '15+53=68'] Exploring Operation: 16+68=84, Resulting Numbers: [84] 84,23 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 16*68=1088, Resulting Numbers: [1088] 1088,23 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 57, 7, 94, 35 ]
94
[ "57+94=151", "7*35=245", "245-151=94" ]
Current State: 94:[57, 7, 94, 35], Operations: [] Exploring Operation: 57+94=151, Resulting Numbers: [7, 35, 151] Generated Node #2: [7, 35, 151] from Operation: 57+94=151 Current State: 94:[7, 35, 151], Operations: ['57+94=151'] Exploring Operation: 7*35=245, Resulting Numbers: [151, 245] Generated Node #3: [151, 245] from Operation: 7*35=245 Current State: 94:[151, 245], Operations: ['57+94=151', '7*35=245'] Exploring Operation: 245-151=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[57, 7, 94, 35], Operations: [] Exploring Operation: 35/7=5, Resulting Numbers: [57, 94, 5] Generated Node #0,0: 94:[57, 94, 5] Operation: 35/7=5 Exploring Operation: 57+35=92, Resulting Numbers: [7, 94, 92] Generated Node #0,1: 94:[7, 94, 92] Operation: 57+35=92 Exploring Operation: 7+35=42, Resulting Numbers: [57, 94, 42] Generated Node #0,2: 94:[57, 94, 42] Operation: 7+35=42 Exploring Operation: 57-7=50, Resulting Numbers: [94, 35, 50] Generated Node #0,3: 94:[94, 35, 50] Operation: 57-7=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[7, 94, 92], Operations: ['57+35=92'] Exploring Operation: 94-92=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 94:[7, 2] Operation: 94-92=2 Exploring Operation: 94-7=87, Resulting Numbers: [92, 87] Generated Node #0,1,1: 94:[92, 87] Operation: 94-7=87 Exploring Operation: 7+92=99, Resulting Numbers: [94, 99] Generated Node #0,1,2: 94:[94, 99] Operation: 7+92=99 Exploring Operation: 7+94=101, Resulting Numbers: [92, 101] Generated Node #0,1,3: 94:[92, 101] Operation: 7+94=101 Moving to Node #0,1,0 Current State: 94:[7, 2], Operations: ['57+35=92', '94-92=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[94, 99], Operations: ['57+35=92', '7+92=99'] Exploring Operation: 94+99=193, Resulting Numbers: [193] 193,94 unequal: No Solution Exploring Operation: 94*99=9306, Resulting Numbers: [9306] 9306,94 unequal: No Solution Exploring Operation: 99-94=5, Resulting Numbers: [5] 5,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[92, 101], Operations: ['57+35=92', '7+94=101'] Exploring Operation: 101-92=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 92*101=9292, Resulting Numbers: [9292] 9292,94 unequal: No Solution Exploring Operation: 92+101=193, Resulting Numbers: [193] 193,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[92, 87], Operations: ['57+35=92', '94-7=87'] Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 92+87=179, Resulting Numbers: [179] 179,94 unequal: No Solution Exploring Operation: 92*87=8004, Resulting Numbers: [8004] 8004,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[57, 94, 5], Operations: ['35/7=5'] Exploring Operation: 57+5=62, Resulting Numbers: [94, 62] Generated Node #0,0,0: 94:[94, 62] Operation: 57+5=62 Exploring Operation: 57-5=52, Resulting Numbers: [94, 52] Generated Node #0,0,1: 94:[94, 52] Operation: 57-5=52 Exploring Operation: 94-57=37, Resulting Numbers: [5, 37] Generated Node #0,0,2: 94:[5, 37] Operation: 94-57=37 Exploring Operation: 94+5=99, Resulting Numbers: [57, 99] Generated Node #0,0,3: 94:[57, 99] Operation: 94+5=99 Moving to Node #0,0,1 Current State: 94:[94, 52], Operations: ['35/7=5', '57-5=52'] Exploring Operation: 94+52=146, Resulting Numbers: [146] 146,94 unequal: No Solution Exploring Operation: 94*52=4888, Resulting Numbers: [4888] 4888,94 unequal: No Solution Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[5, 37], Operations: ['35/7=5', '94-57=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,94 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[57, 99], Operations: ['35/7=5', '94+5=99'] Exploring Operation: 57*99=5643, Resulting Numbers: [5643] 5643,94 unequal: No Solution Exploring Operation: 57+99=156, Resulting Numbers: [156] 156,94 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[94, 62], Operations: ['35/7=5', '57+5=62'] Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 94+62=156, Resulting Numbers: [156] 156,94 unequal: No Solution Exploring Operation: 94*62=5828, Resulting Numbers: [5828] 5828,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,2 Current State: 94:[57, 94, 42], Operations: ['7+35=42'] Exploring Operation: 57-42=15, Resulting Numbers: [94, 15] Generated Node #0,2,0: 94:[94, 15] Operation: 57-42=15 Exploring Operation: 57+42=99, Resulting Numbers: [94, 99] Generated Node #0,2,1: 94:[94, 99] Operation: 57+42=99 Exploring Operation: 94-57=37, Resulting Numbers: [42, 37] Generated Node #0,2,2: 94:[42, 37] Operation: 94-57=37 Exploring Operation: 94-42=52, Resulting Numbers: [57, 52] Generated Node #0,2,3: 94:[57, 52] Operation: 94-42=52 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 94:[94, 99], Operations: ['7+35=42', '57+42=99'] Exploring Operation: 94+99=193, Resulting Numbers: [193] 193,94 unequal: No Solution Exploring Operation: 94*99=9306, Resulting Numbers: [9306] 9306,94 unequal: No Solution Exploring Operation: 99-94=5, Resulting Numbers: [5] 5,94 unequal: No Solution No 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: 94:[94, 15], Operations: ['7+35=42', '57-42=15'] Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,94 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,94 unequal: No Solution No 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: 94:[42, 37], Operations: ['7+35=42', '94-57=37'] Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 42+37=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 42*37=1554, Resulting Numbers: [1554] 1554,94 unequal: No Solution No 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: 94:[57, 52], Operations: ['7+35=42', '94-42=52'] Exploring Operation: 57+52=109, Resulting Numbers: [109] 109,94 unequal: No Solution Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 57*52=2964, Resulting Numbers: [2964] 2964,94 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: 94:[94, 35, 50], Operations: ['57-7=50'] Exploring Operation: 94-50=44, Resulting Numbers: [35, 44] Generated Node #0,3,0: 94:[35, 44] Operation: 94-50=44 Exploring Operation: 50-35=15, Resulting Numbers: [94, 15] Generated Node #0,3,1: 94:[94, 15] Operation: 50-35=15 Exploring Operation: 94-35=59, Resulting Numbers: [50, 59] Generated Node #0,3,2: 94:[50, 59] Operation: 94-35=59 Exploring Operation: 35+50=85, Resulting Numbers: [94, 85] Generated Node #0,3,3: 94:[94, 85] Operation: 35+50=85 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 94:[94, 85], Operations: ['57-7=50', '35+50=85'] Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 94*85=7990, Resulting Numbers: [7990] 7990,94 unequal: No Solution Exploring Operation: 94+85=179, Resulting Numbers: [179] 179,94 unequal: No Solution No 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: 94:[94, 15], Operations: ['57-7=50', '50-35=15'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,94 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,94 unequal: No Solution No 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: 94:[35, 44], Operations: ['57-7=50', '94-50=44'] Exploring Operation: 35*44=1540, Resulting Numbers: [1540] 1540,94 unequal: No Solution Exploring Operation: 35+44=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,94 unequal: No Solution No 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: 94:[50, 59], Operations: ['57-7=50', '94-35=59'] Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,94 unequal: No Solution Exploring Operation: 50*59=2950, Resulting Numbers: [2950] 2950,94 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
[ 54, 54, 21, 2 ]
19
[ "54-54=0", "21-2=19", "0+19=19" ]
Current State: 19:[54, 54, 21, 2], Operations: [] Exploring Operation: 54-54=0, Resulting Numbers: [21, 2, 0] Generated Node #2: [21, 2, 0] from Operation: 54-54=0 Current State: 19:[21, 2, 0], Operations: ['54-54=0'] Exploring Operation: 21-2=19, Resulting Numbers: [0, 19] Generated Node #3: [0, 19] from Operation: 21-2=19 Current State: 19:[0, 19], Operations: ['54-54=0', '21-2=19'] Exploring Operation: 0+19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[54, 54, 21, 2], Operations: [] Exploring Operation: 54-21=33, Resulting Numbers: [54, 2, 33] Generated Node #0,0: 19:[54, 2, 33] Operation: 54-21=33 Exploring Operation: 54/54=1, Resulting Numbers: [21, 2, 1] Generated Node #0,1: 19:[21, 2, 1] Operation: 54/54=1 Exploring Operation: 54-54=0, Resulting Numbers: [21, 2, 0] Generated Node #0,2: 19:[21, 2, 0] Operation: 54-54=0 Exploring Operation: 54/2=27, Resulting Numbers: [54, 21, 27] Generated Node #0,3: 19:[54, 21, 27] Operation: 54/2=27 Exploring Operation: 54/2=27, Resulting Numbers: [54, 21, 27] Generated Node #0,4: 19:[54, 21, 27] Operation: 54/2=27 Moving to Node #0,1 Current State: 19:[21, 2, 1], Operations: ['54/54=1'] Exploring Operation: 21-1=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 19:[2, 20] Operation: 21-1=20 Exploring Operation: 21-2=19, Resulting Numbers: [1, 19] Generated Node #0,1,1: 19:[1, 19] Operation: 21-2=19 Exploring Operation: 21/1=21, Resulting Numbers: [2, 21] Generated Node #0,1,2: 19:[2, 21] Operation: 21/1=21 Exploring Operation: 2+1=3, Resulting Numbers: [21, 3] Generated Node #0,1,3: 19:[21, 3] Operation: 2+1=3 Exploring Operation: 21*1=21, Resulting Numbers: [2, 21] Generated Node #0,1,4: 19:[2, 21] Operation: 21*1=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[2, 20], Operations: ['54/54=1', '21-1=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[1, 19], Operations: ['54/54=1', '21-2=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[54, 54, 21, 2], Operations: [] Exploring Operation: 54/54=1, Resulting Numbers: [21, 2, 1] Generated Node #0,1: 19:[21, 2, 1] Operation: 54/54=1 Moving to Node #0,1 Current State: 19:[21, 2, 1], Operations: ['54/54=1'] Exploring Operation: 21-2=19, Resulting Numbers: [1, 19] Generated Node #0,1,1: 19:[1, 19] Operation: 21-2=19 Moving to Node #0,1,1 Current State: 19:[1, 19], Operations: ['54/54=1', '21-2=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 53, 49, 50, 30 ]
59
[ "53-50=3", "30/3=10", "49+10=59" ]
Current State: 59:[53, 49, 50, 30], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [49, 30, 3] Generated Node #2: [49, 30, 3] from Operation: 53-50=3 Current State: 59:[49, 30, 3], Operations: ['53-50=3'] Exploring Operation: 30/3=10, Resulting Numbers: [49, 10] Generated Node #3: [49, 10] from Operation: 30/3=10 Current State: 59:[49, 10], Operations: ['53-50=3', '30/3=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[53, 49, 50, 30], Operations: [] Exploring Operation: 49+30=79, Resulting Numbers: [53, 50, 79] Generated Node #0,0: 59:[53, 50, 79] Operation: 49+30=79 Exploring Operation: 50+30=80, Resulting Numbers: [53, 49, 80] Generated Node #0,1: 59:[53, 49, 80] Operation: 50+30=80 Exploring Operation: 53+30=83, Resulting Numbers: [49, 50, 83] Generated Node #0,2: 59:[49, 50, 83] Operation: 53+30=83 Exploring Operation: 53-30=23, Resulting Numbers: [49, 50, 23] Generated Node #0,3: 59:[49, 50, 23] Operation: 53-30=23 Moving to Node #0,0 Current State: 59:[53, 50, 79], Operations: ['49+30=79'] Exploring Operation: 53+50=103, Resulting Numbers: [79, 103] Generated Node #0,0,0: 59:[79, 103] Operation: 53+50=103 Exploring Operation: 53-50=3, Resulting Numbers: [79, 3] Generated Node #0,0,1: 59:[79, 3] Operation: 53-50=3 Exploring Operation: 79-50=29, Resulting Numbers: [53, 29] Generated Node #0,0,2: 59:[53, 29] Operation: 79-50=29 Exploring Operation: 79-53=26, Resulting Numbers: [50, 26] Generated Node #0,0,3: 59:[50, 26] Operation: 79-53=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[53, 29], Operations: ['49+30=79', '79-50=29'] Exploring Operation: 53*29=1537, Resulting Numbers: [1537] 1537,59 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[50, 26], Operations: ['49+30=79', '79-53=26'] Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[79, 103], Operations: ['49+30=79', '53+50=103'] Exploring Operation: 103-79=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 79*103=8137, Resulting Numbers: [8137] 8137,59 unequal: No Solution Exploring Operation: 79+103=182, Resulting Numbers: [182] 182,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[79, 3], Operations: ['49+30=79', '53-50=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,59 unequal: No Solution Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,59 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: 59:[53, 49, 80], Operations: ['50+30=80'] Exploring Operation: 53+49=102, Resulting Numbers: [80, 102] Generated Node #0,1,0: 59:[80, 102] Operation: 53+49=102 Exploring Operation: 53-49=4, Resulting Numbers: [80, 4] Generated Node #0,1,1: 59:[80, 4] Operation: 53-49=4 Exploring Operation: 80-49=31, Resulting Numbers: [53, 31] Generated Node #0,1,2: 59:[53, 31] Operation: 80-49=31 Exploring Operation: 80-53=27, Resulting Numbers: [49, 27] Generated Node #0,1,3: 59:[49, 27] Operation: 80-53=27 Moving to Node #0,2 Current State: 59:[49, 50, 83], Operations: ['53+30=83'] Exploring Operation: 83-49=34, Resulting Numbers: [50, 34] Generated Node #0,2,0: 59:[50, 34] Operation: 83-49=34 Exploring Operation: 49+50=99, Resulting Numbers: [83, 99] Generated Node #0,2,1: 59:[83, 99] Operation: 49+50=99 Exploring Operation: 83-50=33, Resulting Numbers: [49, 33] Generated Node #0,2,2: 59:[49, 33] Operation: 83-50=33 Exploring Operation: 50-49=1, Resulting Numbers: [83, 1] Generated Node #0,2,3: 59:[83, 1] Operation: 50-49=1 Moving to Node #0,3 Current State: 59:[49, 50, 23], Operations: ['53-30=23'] Exploring Operation: 49+23=72, Resulting Numbers: [50, 72] Generated Node #0,3,0: 59:[50, 72] Operation: 49+23=72 Exploring Operation: 50-23=27, Resulting Numbers: [49, 27] Generated Node #0,3,1: 59:[49, 27] Operation: 50-23=27 Exploring Operation: 50+23=73, Resulting Numbers: [49, 73] Generated Node #0,3,2: 59:[49, 73] Operation: 50+23=73 Exploring Operation: 49-23=26, Resulting Numbers: [50, 26] Generated Node #0,3,3: 59:[50, 26] Operation: 49-23=26 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[50, 72], Operations: ['53-30=23', '49+23=72'] Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 50+72=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 50*72=3600, Resulting Numbers: [3600] 3600,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[49, 73], Operations: ['53-30=23', '50+23=73'] Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[49, 27], Operations: ['53-30=23', '50-23=27'] Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[50, 26], Operations: ['53-30=23', '49-23=26'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,59 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,59 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: 59:[53, 31], Operations: ['50+30=80', '80-49=31'] Exploring Operation: 53+31=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 53*31=1643, Resulting Numbers: [1643] 1643,59 unequal: No Solution Exploring Operation: 53-31=22, Resulting Numbers: [22] 22,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[50, 34], Operations: ['53+30=83', '83-49=34'] Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[49, 33], Operations: ['53+30=83', '83-50=33'] Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,59 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[49, 27], Operations: ['50+30=80', '80-53=27'] Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,59 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[80, 102], Operations: ['50+30=80', '53+49=102'] Exploring Operation: 102-80=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 80+102=182, Resulting Numbers: [182] 182,59 unequal: No Solution Exploring Operation: 80*102=8160, Resulting Numbers: [8160] 8160,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[83, 99], Operations: ['53+30=83', '49+50=99'] Exploring Operation: 99-83=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 83*99=8217, Resulting Numbers: [8217] 8217,59 unequal: No Solution Exploring Operation: 83+99=182, Resulting Numbers: [182] 182,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[80, 4], Operations: ['50+30=80', '53-49=4'] Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 80*4=320, Resulting Numbers: [320] 320,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[83, 1], Operations: ['53+30=83', '50-49=1'] Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,59 unequal: No Solution Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,59 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,59 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 40, 68, 99, 84 ]
77
[ "40+68=108", "99*84=8316", "8316/108=77" ]
Current State: 77:[40, 68, 99, 84], Operations: [] Exploring Operation: 40+68=108, Resulting Numbers: [99, 84, 108] Generated Node #2: [99, 84, 108] from Operation: 40+68=108 Current State: 77:[99, 84, 108], Operations: ['40+68=108'] Exploring Operation: 99*84=8316, Resulting Numbers: [108, 8316] Generated Node #3: [108, 8316] from Operation: 99*84=8316 Current State: 77:[108, 8316], Operations: ['40+68=108', '99*84=8316'] Exploring Operation: 8316/108=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[40, 68, 99, 84], Operations: [] Exploring Operation: 68-40=28, Resulting Numbers: [99, 84, 28] Generated Node #0,0: 77:[99, 84, 28] Operation: 68-40=28 Exploring Operation: 99-84=15, Resulting Numbers: [40, 68, 15] Generated Node #0,1: 77:[40, 68, 15] Operation: 99-84=15 Exploring Operation: 99-40=59, Resulting Numbers: [68, 84, 59] Generated Node #0,2: 77:[68, 84, 59] Operation: 99-40=59 Exploring Operation: 99-68=31, Resulting Numbers: [40, 84, 31] Generated Node #0,3: 77:[40, 84, 31] Operation: 99-68=31 Moving to Node #0,2 Current State: 77:[68, 84, 59], Operations: ['99-40=59'] Exploring Operation: 84-59=25, Resulting Numbers: [68, 25] Generated Node #0,2,0: 77:[68, 25] Operation: 84-59=25 Exploring Operation: 68-59=9, Resulting Numbers: [84, 9] Generated Node #0,2,1: 77:[84, 9] Operation: 68-59=9 Exploring Operation: 84-68=16, Resulting Numbers: [59, 16] Generated Node #0,2,2: 77:[59, 16] Operation: 84-68=16 Exploring Operation: 68+59=127, Resulting Numbers: [84, 127] Generated Node #0,2,3: 77:[84, 127] Operation: 68+59=127 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[84, 9], Operations: ['99-40=59', '68-59=9'] Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,77 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[68, 25], Operations: ['99-40=59', '84-59=25'] Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,77 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[59, 16], Operations: ['99-40=59', '84-68=16'] Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,77 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[84, 127], Operations: ['99-40=59', '68+59=127'] Exploring Operation: 127-84=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 84+127=211, Resulting Numbers: [211] 211,77 unequal: No Solution Exploring Operation: 84*127=10668, Resulting Numbers: [10668] 10668,77 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: 77:[40, 68, 15], Operations: ['99-84=15'] Exploring Operation: 40-15=25, Resulting Numbers: [68, 25] Generated Node #0,1,0: 77:[68, 25] Operation: 40-15=25 Exploring Operation: 40+68=108, Resulting Numbers: [15, 108] Generated Node #0,1,1: 77:[15, 108] Operation: 40+68=108 Exploring Operation: 68-40=28, Resulting Numbers: [15, 28] Generated Node #0,1,2: 77:[15, 28] Operation: 68-40=28 Exploring Operation: 40+15=55, Resulting Numbers: [68, 55] Generated Node #0,1,3: 77:[68, 55] Operation: 40+15=55 Moving to Node #0,0 Current State: 77:[99, 84, 28], Operations: ['68-40=28'] Exploring Operation: 84/28=3, Resulting Numbers: [99, 3] Generated Node #0,0,0: 77:[99, 3] Operation: 84/28=3 Exploring Operation: 99-28=71, Resulting Numbers: [84, 71] Generated Node #0,0,1: 77:[84, 71] Operation: 99-28=71 Exploring Operation: 99-84=15, Resulting Numbers: [28, 15] Generated Node #0,0,2: 77:[28, 15] Operation: 99-84=15 Exploring Operation: 84-28=56, Resulting Numbers: [99, 56] Generated Node #0,0,3: 77:[99, 56] Operation: 84-28=56 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[84, 71], Operations: ['68-40=28', '99-28=71'] Exploring Operation: 84*71=5964, Resulting Numbers: [5964] 5964,77 unequal: No Solution Exploring Operation: 84-71=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 84+71=155, Resulting Numbers: [155] 155,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[28, 15], Operations: ['68-40=28', '99-84=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,77 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[99, 3], Operations: ['68-40=28', '84/28=3'] Exploring Operation: 99*3=297, Resulting Numbers: [297] 297,77 unequal: No Solution Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 99+3=102, Resulting Numbers: [102] 102,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[99, 56], Operations: ['68-40=28', '84-28=56'] Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 99*56=5544, Resulting Numbers: [5544] 5544,77 unequal: No Solution Exploring Operation: 99+56=155, Resulting Numbers: [155] 155,77 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: 77:[40, 84, 31], Operations: ['99-68=31'] Exploring Operation: 40-31=9, Resulting Numbers: [84, 9] Generated Node #0,3,0: 77:[84, 9] Operation: 40-31=9 Exploring Operation: 84-40=44, Resulting Numbers: [31, 44] Generated Node #0,3,1: 77:[31, 44] Operation: 84-40=44 Exploring Operation: 84-31=53, Resulting Numbers: [40, 53] Generated Node #0,3,2: 77:[40, 53] Operation: 84-31=53 Exploring Operation: 40+31=71, Resulting Numbers: [84, 71] Generated Node #0,3,3: 77:[84, 71] Operation: 40+31=71 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 77:[84, 9], Operations: ['99-68=31', '40-31=9'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,77 unequal: No Solution Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 77:[84, 71], Operations: ['99-68=31', '40+31=71'] Exploring Operation: 84-71=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 84+71=155, Resulting Numbers: [155] 155,77 unequal: No Solution Exploring Operation: 84*71=5964, Resulting Numbers: [5964] 5964,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[31, 44], Operations: ['99-68=31', '84-40=44'] Exploring Operation: 31*44=1364, Resulting Numbers: [1364] 1364,77 unequal: No Solution Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 31+44=75, Resulting Numbers: [75] 75,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[40, 53], Operations: ['99-68=31', '84-31=53'] Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,77 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: 77:[15, 28], Operations: ['99-84=15', '68-40=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,77 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[68, 25], Operations: ['99-84=15', '40-15=25'] Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,77 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[68, 55], Operations: ['99-84=15', '40+15=55'] Exploring Operation: 68*55=3740, Resulting Numbers: [3740] 3740,77 unequal: No Solution Exploring Operation: 68+55=123, Resulting Numbers: [123] 123,77 unequal: No Solution Exploring Operation: 68-55=13, Resulting Numbers: [13] 13,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[15, 108], Operations: ['99-84=15', '40+68=108'] Exploring Operation: 15*108=1620, Resulting Numbers: [1620] 1620,77 unequal: No Solution Exploring Operation: 15+108=123, Resulting Numbers: [123] 123,77 unequal: No Solution Exploring Operation: 108-15=93, Resulting Numbers: [93] 93,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 70, 14, 6, 53 ]
25
[ "70+14=84", "6+53=59", "84-59=25" ]
Current State: 25:[70, 14, 6, 53], Operations: [] Exploring Operation: 70+14=84, Resulting Numbers: [6, 53, 84] Generated Node #2: [6, 53, 84] from Operation: 70+14=84 Current State: 25:[6, 53, 84], Operations: ['70+14=84'] Exploring Operation: 6+53=59, Resulting Numbers: [84, 59] Generated Node #3: [84, 59] from Operation: 6+53=59 Current State: 25:[84, 59], Operations: ['70+14=84', '6+53=59'] Exploring Operation: 84-59=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[70, 14, 6, 53], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [6, 53, 5] Generated Node #0,0: 25:[6, 53, 5] Operation: 70/14=5 Exploring Operation: 70-53=17, Resulting Numbers: [14, 6, 17] Generated Node #0,1: 25:[14, 6, 17] Operation: 70-53=17 Moving to Node #0,1 Current State: 25:[14, 6, 17], Operations: ['70-53=17'] Exploring Operation: 14+17=31, Resulting Numbers: [6, 31] Generated Node #0,1,0: 25:[6, 31] Operation: 14+17=31 Exploring Operation: 17-14=3, Resulting Numbers: [6, 3] Generated Node #0,1,1: 25:[6, 3] Operation: 17-14=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[6, 3], Operations: ['70-53=17', '17-14=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[6, 31], Operations: ['70-53=17', '14+17=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[70, 14, 6, 53], Operations: [] Exploring Operation: 70-53=17, Resulting Numbers: [14, 6, 17] Generated Node #0,1: 25:[14, 6, 17] Operation: 70-53=17 Moving to Node #0,1 Current State: 25:[14, 6, 17], Operations: ['70-53=17'] Exploring Operation: 14+17=31, Resulting Numbers: [6, 31] Generated Node #0,1,0: 25:[6, 31] Operation: 14+17=31 Moving to Node #0,1,0 Current State: 25:[6, 31], Operations: ['70-53=17', '14+17=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 95, 73, 20, 97 ]
91
[ "95+73=168", "97-20=77", "168-77=91" ]
Current State: 91:[95, 73, 20, 97], Operations: [] Exploring Operation: 95+73=168, Resulting Numbers: [20, 97, 168] Generated Node #2: [20, 97, 168] from Operation: 95+73=168 Current State: 91:[20, 97, 168], Operations: ['95+73=168'] Exploring Operation: 97-20=77, Resulting Numbers: [168, 77] Generated Node #3: [168, 77] from Operation: 97-20=77 Current State: 91:[168, 77], Operations: ['95+73=168', '97-20=77'] Exploring Operation: 168-77=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[95, 73, 20, 97], Operations: [] Exploring Operation: 97-20=77, Resulting Numbers: [95, 73, 77] Generated Node #0,0: 91:[95, 73, 77] Operation: 97-20=77 Exploring Operation: 73+20=93, Resulting Numbers: [95, 97, 93] Generated Node #0,1: 91:[95, 97, 93] Operation: 73+20=93 Exploring Operation: 95-73=22, Resulting Numbers: [20, 97, 22] Generated Node #0,2: 91:[20, 97, 22] Operation: 95-73=22 Exploring Operation: 97-95=2, Resulting Numbers: [73, 20, 2] Generated Node #0,3: 91:[73, 20, 2] Operation: 97-95=2 Exploring Operation: 97-73=24, Resulting Numbers: [95, 20, 24] Generated Node #0,4: 91:[95, 20, 24] Operation: 97-73=24 Moving to Node #0,1 Current State: 91:[95, 97, 93], Operations: ['73+20=93'] Exploring Operation: 95-93=2, Resulting Numbers: [97, 2] Generated Node #0,1,0: 91:[97, 2] Operation: 95-93=2 Exploring Operation: 97-95=2, Resulting Numbers: [93, 2] Generated Node #0,1,1: 91:[93, 2] Operation: 97-95=2 Exploring Operation: 95+93=188, Resulting Numbers: [97, 188] Generated Node #0,1,2: 91:[97, 188] Operation: 95+93=188 Exploring Operation: 97-93=4, Resulting Numbers: [95, 4] Generated Node #0,1,3: 91:[95, 4] Operation: 97-93=4 Exploring Operation: 95+97=192, Resulting Numbers: [93, 192] Generated Node #0,1,4: 91:[93, 192] Operation: 95+97=192 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[93, 2], Operations: ['73+20=93', '97-95=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[95, 73, 20, 97], Operations: [] Exploring Operation: 73+20=93, Resulting Numbers: [95, 97, 93] Generated Node #0,1: 91:[95, 97, 93] Operation: 73+20=93 Moving to Node #0,1 Current State: 91:[95, 97, 93], Operations: ['73+20=93'] Exploring Operation: 97-95=2, Resulting Numbers: [93, 2] Generated Node #0,1,1: 91:[93, 2] Operation: 97-95=2 Moving to Node #0,1,1 Current State: 91:[93, 2], Operations: ['73+20=93', '97-95=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 35, 82, 63, 69 ]
85
[ "82-35=47", "63+69=132", "132-47=85" ]
Current State: 85:[35, 82, 63, 69], Operations: [] Exploring Operation: 82-35=47, Resulting Numbers: [63, 69, 47] Generated Node #2: [63, 69, 47] from Operation: 82-35=47 Current State: 85:[63, 69, 47], Operations: ['82-35=47'] Exploring Operation: 63+69=132, Resulting Numbers: [47, 132] Generated Node #3: [47, 132] from Operation: 63+69=132 Current State: 85:[47, 132], Operations: ['82-35=47', '63+69=132'] Exploring Operation: 132-47=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[35, 82, 63, 69], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [35, 82, 6] Generated Node #0,0: 85:[35, 82, 6] Operation: 69-63=6 Exploring Operation: 35+63=98, Resulting Numbers: [82, 69, 98] Generated Node #0,1: 85:[82, 69, 98] Operation: 35+63=98 Exploring Operation: 63-35=28, Resulting Numbers: [82, 69, 28] Generated Node #0,2: 85:[82, 69, 28] Operation: 63-35=28 Exploring Operation: 82-63=19, Resulting Numbers: [35, 69, 19] Generated Node #0,3: 85:[35, 69, 19] Operation: 82-63=19 Exploring Operation: 69-35=34, Resulting Numbers: [82, 63, 34] Generated Node #0,4: 85:[82, 63, 34] Operation: 69-35=34 Moving to Node #0,0 Current State: 85:[35, 82, 6], Operations: ['69-63=6'] Exploring Operation: 82-35=47, Resulting Numbers: [6, 47] Generated Node #0,0,0: 85:[6, 47] Operation: 82-35=47 Exploring Operation: 35+6=41, Resulting Numbers: [82, 41] Generated Node #0,0,1: 85:[82, 41] Operation: 35+6=41 Exploring Operation: 35-6=29, Resulting Numbers: [82, 29] Generated Node #0,0,2: 85:[82, 29] Operation: 35-6=29 Exploring Operation: 82-6=76, Resulting Numbers: [35, 76] Generated Node #0,0,3: 85:[35, 76] Operation: 82-6=76 Exploring Operation: 82+6=88, Resulting Numbers: [35, 88] Generated Node #0,0,4: 85:[35, 88] Operation: 82+6=88 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[82, 29], Operations: ['69-63=6', '35-6=29'] Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 82*29=2378, Resulting Numbers: [2378] 2378,85 unequal: No Solution Exploring Operation: 82+29=111, Resulting Numbers: [111] 111,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 85:[35, 88], Operations: ['69-63=6', '82+6=88'] Exploring Operation: 35+88=123, Resulting Numbers: [123] 123,85 unequal: No Solution Exploring Operation: 35*88=3080, Resulting Numbers: [3080] 3080,85 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[82, 41], Operations: ['69-63=6', '35+6=41'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 82+41=123, Resulting Numbers: [123] 123,85 unequal: No Solution Exploring Operation: 82*41=3362, Resulting Numbers: [3362] 3362,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 85:[35, 76], Operations: ['69-63=6', '82-6=76'] Exploring Operation: 35*76=2660, Resulting Numbers: [2660] 2660,85 unequal: No Solution Exploring Operation: 35+76=111, Resulting Numbers: [111] 111,85 unequal: No Solution Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[6, 47], Operations: ['69-63=6', '82-35=47'] Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,85 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 85:[82, 69, 28], Operations: ['63-35=28'] Exploring Operation: 82+28=110, Resulting Numbers: [69, 110] Generated Node #0,2,0: 85:[69, 110] Operation: 82+28=110 Exploring Operation: 69+28=97, Resulting Numbers: [82, 97] Generated Node #0,2,1: 85:[82, 97] Operation: 69+28=97 Exploring Operation: 82-28=54, Resulting Numbers: [69, 54] Generated Node #0,2,2: 85:[69, 54] Operation: 82-28=54 Exploring Operation: 69-28=41, Resulting Numbers: [82, 41] Generated Node #0,2,3: 85:[82, 41] Operation: 69-28=41 Exploring Operation: 82-69=13, Resulting Numbers: [28, 13] Generated Node #0,2,4: 85:[28, 13] Operation: 82-69=13 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 85:[82, 97], Operations: ['63-35=28', '69+28=97'] Exploring Operation: 82+97=179, Resulting Numbers: [179] 179,85 unequal: No Solution Exploring Operation: 82*97=7954, Resulting Numbers: [7954] 7954,85 unequal: No Solution Exploring Operation: 97-82=15, Resulting Numbers: [15] 15,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 85:[28, 13], Operations: ['63-35=28', '82-69=13'] Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,85 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 85:[82, 41], Operations: ['63-35=28', '69-28=41'] Exploring Operation: 82+41=123, Resulting Numbers: [123] 123,85 unequal: No Solution Exploring Operation: 82*41=3362, Resulting Numbers: [3362] 3362,85 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 85:[69, 110], Operations: ['63-35=28', '82+28=110'] Exploring Operation: 110-69=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 69+110=179, Resulting Numbers: [179] 179,85 unequal: No Solution Exploring Operation: 69*110=7590, Resulting Numbers: [7590] 7590,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 85:[69, 54], Operations: ['63-35=28', '82-28=54'] Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,85 unequal: No Solution Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,85 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 85:[82, 69, 98], Operations: ['35+63=98'] Exploring Operation: 82-69=13, Resulting Numbers: [98, 13] Generated Node #0,1,0: 85:[98, 13] Operation: 82-69=13 Exploring Operation: 98-82=16, Resulting Numbers: [69, 16] Generated Node #0,1,1: 85:[69, 16] Operation: 98-82=16 Exploring Operation: 69+98=167, Resulting Numbers: [82, 167] Generated Node #0,1,2: 85:[82, 167] Operation: 69+98=167 Exploring Operation: 82+69=151, Resulting Numbers: [98, 151] Generated Node #0,1,3: 85:[98, 151] Operation: 82+69=151 Exploring Operation: 98-69=29, Resulting Numbers: [82, 29] Generated Node #0,1,4: 85:[82, 29] Operation: 98-69=29 Moving to Node #0,3 Current State: 85:[35, 69, 19], Operations: ['82-63=19'] Exploring Operation: 69-35=34, Resulting Numbers: [19, 34] Generated Node #0,3,0: 85:[19, 34] Operation: 69-35=34 Exploring Operation: 35+19=54, Resulting Numbers: [69, 54] Generated Node #0,3,1: 85:[69, 54] Operation: 35+19=54 Exploring Operation: 35+69=104, Resulting Numbers: [19, 104] Generated Node #0,3,2: 85:[19, 104] Operation: 35+69=104 Exploring Operation: 35-19=16, Resulting Numbers: [69, 16] Generated Node #0,3,3: 85:[69, 16] Operation: 35-19=16 Exploring Operation: 69+19=88, Resulting Numbers: [35, 88] Generated Node #0,3,4: 85:[35, 88] Operation: 69+19=88 Moving to Node #0,4 Current State: 85:[82, 63, 34], Operations: ['69-35=34'] Exploring Operation: 82+34=116, Resulting Numbers: [63, 116] Generated Node #0,4,0: 85:[63, 116] Operation: 82+34=116 Exploring Operation: 82-34=48, Resulting Numbers: [63, 48] Generated Node #0,4,1: 85:[63, 48] Operation: 82-34=48 Exploring Operation: 63+34=97, Resulting Numbers: [82, 97] Generated Node #0,4,2: 85:[82, 97] Operation: 63+34=97 Exploring Operation: 82-63=19, Resulting Numbers: [34, 19] Generated Node #0,4,3: 85:[34, 19] Operation: 82-63=19 Exploring Operation: 63-34=29, Resulting Numbers: [82, 29] Generated Node #0,4,4: 85:[82, 29] Operation: 63-34=29 Moving to Node #0,1,4 Current State: 85:[82, 29], Operations: ['35+63=98', '98-69=29'] Exploring Operation: 82+29=111, Resulting Numbers: [111] 111,85 unequal: No Solution Exploring Operation: 82*29=2378, Resulting Numbers: [2378] 2378,85 unequal: No Solution Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,85 unequal: No Solution Moving to Node #0,4,4 Current State: 85:[82, 29], Operations: ['69-35=34', '63-34=29'] Exploring Operation: 82*29=2378, Resulting Numbers: [2378] 2378,85 unequal: No Solution Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 82+29=111, Resulting Numbers: [111] 111,85 unequal: No Solution Moving to Node #0,4,2 Current State: 85:[82, 97], Operations: ['69-35=34', '63+34=97'] Exploring Operation: 82+97=179, Resulting Numbers: [179] 179,85 unequal: No Solution Exploring Operation: 82*97=7954, Resulting Numbers: [7954] 7954,85 unequal: No Solution Exploring Operation: 97-82=15, Resulting Numbers: [15] 15,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[69, 16], Operations: ['35+63=98', '98-82=16'] Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,85 unequal: No Solution Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[35, 82, 63, 69], Operations: [] Exploring Operation: 35+63=98, Resulting Numbers: [82, 69, 98] Generated Node #0,1: 85:[82, 69, 98] Operation: 35+63=98 Moving to Node #0,1 Current State: 85:[82, 69, 98], Operations: ['35+63=98'] Exploring Operation: 98-82=16, Resulting Numbers: [69, 16] Generated Node #0,1,1: 85:[69, 16] Operation: 98-82=16 Moving to Node #0,1,1 Current State: 85:[69, 16], Operations: ['35+63=98', '98-82=16'] Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.93316
hs_5
mult_heuristic
[ 73, 83, 11, 25 ]
85
[ "83-73=10", "11*10=110", "110-25=85" ]
Current State: 85:[73, 83, 11, 25], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [11, 25, 10] Generated Node #2: [11, 25, 10] from Operation: 83-73=10 Current State: 85:[11, 25, 10], Operations: ['83-73=10'] Exploring Operation: 11*10=110, Resulting Numbers: [25, 110] Generated Node #3: [25, 110] from Operation: 11*10=110 Current State: 85:[25, 110], Operations: ['83-73=10', '11*10=110'] Exploring Operation: 110-25=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[73, 83, 11, 25], Operations: [] Exploring Operation: 73+11=84, Resulting Numbers: [83, 25, 84] Generated Node #0,0: 85:[83, 25, 84] Operation: 73+11=84 Exploring Operation: 73+25=98, Resulting Numbers: [83, 11, 98] Generated Node #0,1: 85:[83, 11, 98] Operation: 73+25=98 Exploring Operation: 25-11=14, Resulting Numbers: [73, 83, 14] Generated Node #0,2: 85:[73, 83, 14] Operation: 25-11=14 Exploring Operation: 83+11=94, Resulting Numbers: [73, 25, 94] Generated Node #0,3: 85:[73, 25, 94] Operation: 83+11=94 Exploring Operation: 83-73=10, Resulting Numbers: [11, 25, 10] Generated Node #0,4: 85:[11, 25, 10] Operation: 83-73=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[83, 25, 84], Operations: ['73+11=84'] Exploring Operation: 84-83=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 85:[25, 1] Operation: 84-83=1 Exploring Operation: 83-25=58, Resulting Numbers: [84, 58] Generated Node #0,0,1: 85:[84, 58] Operation: 83-25=58 Exploring Operation: 83+25=108, Resulting Numbers: [84, 108] Generated Node #0,0,2: 85:[84, 108] Operation: 83+25=108 Exploring Operation: 84-25=59, Resulting Numbers: [83, 59] Generated Node #0,0,3: 85:[83, 59] Operation: 84-25=59 Exploring Operation: 25+84=109, Resulting Numbers: [83, 109] Generated Node #0,0,4: 85:[83, 109] Operation: 25+84=109 Moving to Node #0,0,0 Current State: 85:[25, 1], Operations: ['73+11=84', '84-83=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[84, 108], Operations: ['73+11=84', '83+25=108'] Exploring Operation: 108-84=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 84+108=192, Resulting Numbers: [192] 192,85 unequal: No Solution Exploring Operation: 84*108=9072, Resulting Numbers: [9072] 9072,85 unequal: No Solution Moving to Node #0,0,4 Current State: 85:[83, 109], Operations: ['73+11=84', '25+84=109'] Exploring Operation: 83+109=192, Resulting Numbers: [192] 192,85 unequal: No Solution Exploring Operation: 83*109=9047, Resulting Numbers: [9047] 9047,85 unequal: No Solution Exploring Operation: 109-83=26, Resulting Numbers: [26] 26,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[84, 58], Operations: ['73+11=84', '83-25=58'] Exploring Operation: 84-58=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 84+58=142, Resulting Numbers: [142] 142,85 unequal: No Solution Exploring Operation: 84*58=4872, Resulting Numbers: [4872] 4872,85 unequal: No Solution Moving to Node #0,0,3 Current State: 85:[83, 59], Operations: ['73+11=84', '84-25=59'] Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 83*59=4897, Resulting Numbers: [4897] 4897,85 unequal: No Solution Exploring Operation: 83+59=142, Resulting Numbers: [142] 142,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[73, 83, 14], Operations: ['25-11=14'] Exploring Operation: 73-14=59, Resulting Numbers: [83, 59] Generated Node #0,2,0: 85:[83, 59] Operation: 73-14=59 Exploring Operation: 83-73=10, Resulting Numbers: [14, 10] Generated Node #0,2,1: 85:[14, 10] Operation: 83-73=10 Exploring Operation: 73+14=87, Resulting Numbers: [83, 87] Generated Node #0,2,2: 85:[83, 87] Operation: 73+14=87 Exploring Operation: 83-14=69, Resulting Numbers: [73, 69] Generated Node #0,2,3: 85:[73, 69] Operation: 83-14=69 Exploring Operation: 83+14=97, Resulting Numbers: [73, 97] Generated Node #0,2,4: 85:[73, 97] Operation: 83+14=97 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[83, 87], Operations: ['25-11=14', '73+14=87'] Exploring Operation: 83*87=7221, Resulting Numbers: [7221] 7221,85 unequal: No Solution Exploring Operation: 87-83=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 83+87=170, Resulting Numbers: [170] 170,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:[14, 10], Operations: ['25-11=14', '83-73=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,85 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,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,4 Current State: 85:[73, 97], Operations: ['25-11=14', '83+14=97'] Exploring Operation: 97-73=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 73+97=170, Resulting Numbers: [170] 170,85 unequal: No Solution Exploring Operation: 73*97=7081, Resulting Numbers: [7081] 7081,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:[83, 59], Operations: ['25-11=14', '73-14=59'] Exploring Operation: 83+59=142, Resulting Numbers: [142] 142,85 unequal: No Solution Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 83*59=4897, Resulting Numbers: [4897] 4897,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,3 Current State: 85:[73, 69], Operations: ['25-11=14', '83-14=69'] Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,85 unequal: No Solution Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,85 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,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,4 Current State: 85:[11, 25, 10], Operations: ['83-73=10'] Exploring Operation: 11-10=1, Resulting Numbers: [25, 1] Generated Node #0,4,0: 85:[25, 1] Operation: 11-10=1 Exploring Operation: 25-11=14, Resulting Numbers: [10, 14] Generated Node #0,4,1: 85:[10, 14] Operation: 25-11=14 Exploring Operation: 11+25=36, Resulting Numbers: [10, 36] Generated Node #0,4,2: 85:[10, 36] Operation: 11+25=36 Exploring Operation: 25-10=15, Resulting Numbers: [11, 15] Generated Node #0,4,3: 85:[11, 15] Operation: 25-10=15 Exploring Operation: 11+10=21, Resulting Numbers: [25, 21] Generated Node #0,4,4: 85:[25, 21] Operation: 11+10=21 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 85:[10, 14], Operations: ['83-73=10', '25-11=14'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,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,4,3 Current State: 85:[11, 15], Operations: ['83-73=10', '25-10=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,85 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,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,4,0 Current State: 85:[25, 1], Operations: ['83-73=10', '11-10=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,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,4,4 Current State: 85:[25, 21], Operations: ['83-73=10', '11+10=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,85 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,85 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,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,4,2 Current State: 85:[10, 36], Operations: ['83-73=10', '11+25=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,85 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,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,1 Current State: 85:[83, 11, 98], Operations: ['73+25=98'] Exploring Operation: 11+98=109, Resulting Numbers: [83, 109] Generated Node #0,1,0: 85:[83, 109] Operation: 11+98=109 Exploring Operation: 83-11=72, Resulting Numbers: [98, 72] Generated Node #0,1,1: 85:[98, 72] Operation: 83-11=72 Exploring Operation: 98-83=15, Resulting Numbers: [11, 15] Generated Node #0,1,2: 85:[11, 15] Operation: 98-83=15 Exploring Operation: 98-11=87, Resulting Numbers: [83, 87] Generated Node #0,1,3: 85:[83, 87] Operation: 98-11=87 Exploring Operation: 83+11=94, Resulting Numbers: [98, 94] Generated Node #0,1,4: 85:[98, 94] Operation: 83+11=94 Moving to Node #0,1,3 Current State: 85:[83, 87], Operations: ['73+25=98', '98-11=87'] Exploring Operation: 83*87=7221, Resulting Numbers: [7221] 7221,85 unequal: No Solution Exploring Operation: 87-83=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 83+87=170, Resulting Numbers: [170] 170,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[11, 15], Operations: ['73+25=98', '98-83=15'] Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,85 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,85 unequal: No Solution Moving to Node #0,1,4 Current State: 85:[98, 94], Operations: ['73+25=98', '83+11=94'] Exploring Operation: 98+94=192, Resulting Numbers: [192] 192,85 unequal: No Solution Exploring Operation: 98*94=9212, Resulting Numbers: [9212] 9212,85 unequal: No Solution Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[83, 109], Operations: ['73+25=98', '11+98=109'] Exploring Operation: 83*109=9047, Resulting Numbers: [9047] 9047,85 unequal: No Solution Exploring Operation: 109-83=26, Resulting Numbers: [26] 26,85 unequal: No Solution Exploring Operation: 83+109=192, Resulting Numbers: [192] 192,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[98, 72], Operations: ['73+25=98', '83-11=72'] Exploring Operation: 98*72=7056, Resulting Numbers: [7056] 7056,85 unequal: No Solution Exploring Operation: 98+72=170, Resulting Numbers: [170] 170,85 unequal: No Solution Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,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,3 Current State: 85:[73, 25, 94], Operations: ['83+11=94'] Exploring Operation: 73-25=48, Resulting Numbers: [94, 48] Generated Node #0,3,0: 85:[94, 48] Operation: 73-25=48 Exploring Operation: 73+25=98, Resulting Numbers: [94, 98] Generated Node #0,3,1: 85:[94, 98] Operation: 73+25=98 Exploring Operation: 25+94=119, Resulting Numbers: [73, 119] Generated Node #0,3,2: 85:[73, 119] Operation: 25+94=119 Exploring Operation: 94-25=69, Resulting Numbers: [73, 69] Generated Node #0,3,3: 85:[73, 69] Operation: 94-25=69 Exploring Operation: 94-73=21, Resulting Numbers: [25, 21] Generated Node #0,3,4: 85:[25, 21] Operation: 94-73=21 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 85:[25, 21], Operations: ['83+11=94', '94-73=21'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,85 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 85:[94, 98], Operations: ['83+11=94', '73+25=98'] Exploring Operation: 94*98=9212, Resulting Numbers: [9212] 9212,85 unequal: No Solution Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 94+98=192, Resulting Numbers: [192] 192,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 85:[73, 69], Operations: ['83+11=94', '94-25=69'] Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,85 unequal: No Solution Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,85 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 85:[94, 48], Operations: ['83+11=94', '73-25=48'] Exploring Operation: 94*48=4512, Resulting Numbers: [4512] 4512,85 unequal: No Solution Exploring Operation: 94+48=142, Resulting Numbers: [142] 142,85 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 85:[73, 119], Operations: ['83+11=94', '25+94=119'] Exploring Operation: 119-73=46, Resulting Numbers: [46] 46,85 unequal: No Solution Exploring Operation: 73*119=8687, Resulting Numbers: [8687] 8687,85 unequal: No Solution Exploring Operation: 73+119=192, Resulting Numbers: [192] 192,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_5
sum_heuristic
[ 13, 49, 46, 60 ]
70
[ "49-13=36", "46+60=106", "106-36=70" ]
Current State: 70:[13, 49, 46, 60], Operations: [] Exploring Operation: 49-13=36, Resulting Numbers: [46, 60, 36] Generated Node #2: [46, 60, 36] from Operation: 49-13=36 Current State: 70:[46, 60, 36], Operations: ['49-13=36'] Exploring Operation: 46+60=106, Resulting Numbers: [36, 106] Generated Node #3: [36, 106] from Operation: 46+60=106 Current State: 70:[36, 106], Operations: ['49-13=36', '46+60=106'] Exploring Operation: 106-36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[13, 49, 46, 60], Operations: [] Exploring Operation: 60-49=11, Resulting Numbers: [13, 46, 11] Generated Node #0,0: 70:[13, 46, 11] Operation: 60-49=11 Exploring Operation: 60-46=14, Resulting Numbers: [13, 49, 14] Generated Node #0,1: 70:[13, 49, 14] Operation: 60-46=14 Exploring Operation: 49-13=36, Resulting Numbers: [46, 60, 36] Generated Node #0,2: 70:[46, 60, 36] Operation: 49-13=36 Exploring Operation: 49-46=3, Resulting Numbers: [13, 60, 3] Generated Node #0,3: 70:[13, 60, 3] Operation: 49-46=3 Exploring Operation: 46-13=33, Resulting Numbers: [49, 60, 33] Generated Node #0,4: 70:[49, 60, 33] Operation: 46-13=33 Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[13, 60, 3], Operations: ['49-46=3'] Exploring Operation: 13+60=73, Resulting Numbers: [3, 73] Generated Node #0,3,0: 70:[3, 73] Operation: 13+60=73 Exploring Operation: 60+3=63, Resulting Numbers: [13, 63] Generated Node #0,3,1: 70:[13, 63] Operation: 60+3=63 Exploring Operation: 13-3=10, Resulting Numbers: [60, 10] Generated Node #0,3,2: 70:[60, 10] Operation: 13-3=10 Exploring Operation: 60/3=20, Resulting Numbers: [13, 20] Generated Node #0,3,3: 70:[13, 20] Operation: 60/3=20 Exploring Operation: 13+3=16, Resulting Numbers: [60, 16] Generated Node #0,3,4: 70:[60, 16] Operation: 13+3=16 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 70:[3, 73], Operations: ['49-46=3', '13+60=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[13, 49, 46, 60], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [13, 60, 3] Generated Node #0,3: 70:[13, 60, 3] Operation: 49-46=3 Moving to Node #0,3 Current State: 70:[13, 60, 3], Operations: ['49-46=3'] Exploring Operation: 13+60=73, Resulting Numbers: [3, 73] Generated Node #0,3,0: 70:[3, 73] Operation: 13+60=73 Moving to Node #0,3,0 Current State: 70:[3, 73], Operations: ['49-46=3', '13+60=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 3, 6, 22, 87 ]
27
[ "3*22=66", "6+87=93", "93-66=27" ]
Current State: 27:[3, 6, 22, 87], Operations: [] Exploring Operation: 3*22=66, Resulting Numbers: [6, 87, 66] Generated Node #2: [6, 87, 66] from Operation: 3*22=66 Current State: 27:[6, 87, 66], Operations: ['3*22=66'] Exploring Operation: 6+87=93, Resulting Numbers: [66, 93] Generated Node #3: [66, 93] from Operation: 6+87=93 Current State: 27:[66, 93], Operations: ['3*22=66', '6+87=93'] Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[3, 6, 22, 87], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [6, 22, 29] Generated Node #0,0: 27:[6, 22, 29] Operation: 87/3=29 Exploring Operation: 87-22=65, Resulting Numbers: [3, 6, 65] Generated Node #0,1: 27:[3, 6, 65] Operation: 87-22=65 Exploring Operation: 87-6=81, Resulting Numbers: [3, 22, 81] Generated Node #0,2: 27:[3, 22, 81] Operation: 87-6=81 Moving to Node #0,0 Current State: 27:[6, 22, 29], Operations: ['87/3=29'] Exploring Operation: 6+22=28, Resulting Numbers: [29, 28] Generated Node #0,0,0: 27:[29, 28] Operation: 6+22=28 Exploring Operation: 29-22=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 27:[6, 7] Operation: 29-22=7 Exploring Operation: 22-6=16, Resulting Numbers: [29, 16] Generated Node #0,0,2: 27:[29, 16] Operation: 22-6=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[29, 28], Operations: ['87/3=29', '6+22=28'] Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,27 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,27 unequal: No Solution No 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: 27:[6, 7], Operations: ['87/3=29', '29-22=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,27 unequal: No Solution No 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: 27:[29, 16], Operations: ['87/3=29', '22-6=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,27 unequal: No Solution Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,27 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,27 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: 27:[3, 6, 65], Operations: ['87-22=65'] Exploring Operation: 6-3=3, Resulting Numbers: [65, 3] Generated Node #0,1,0: 27:[65, 3] Operation: 6-3=3 Exploring Operation: 65-6=59, Resulting Numbers: [3, 59] Generated Node #0,1,1: 27:[3, 59] Operation: 65-6=59 Exploring Operation: 3+6=9, Resulting Numbers: [65, 9] Generated Node #0,1,2: 27:[65, 9] Operation: 3+6=9 Moving to Node #0,2 Current State: 27:[3, 22, 81], Operations: ['87-6=81'] Exploring Operation: 81-22=59, Resulting Numbers: [3, 59] Generated Node #0,2,0: 27:[3, 59] Operation: 81-22=59 Exploring Operation: 81/3=27, Resulting Numbers: [22, 27] Generated Node #0,2,1: 27:[22, 27] Operation: 81/3=27 Exploring Operation: 3+22=25, Resulting Numbers: [81, 25] Generated Node #0,2,2: 27:[81, 25] Operation: 3+22=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[22, 27], Operations: ['87-6=81', '81/3=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,27 unequal: No Solution No 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: 27:[3, 59], Operations: ['87-6=81', '81-22=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,27 unequal: No Solution No 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: 27:[81, 25], Operations: ['87-6=81', '3+22=25'] Exploring Operation: 81+25=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 81*25=2025, Resulting Numbers: [2025] 2025,27 unequal: No Solution Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,27 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: 27:[3, 59], Operations: ['87-22=65', '65-6=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,27 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[65, 3], Operations: ['87-22=65', '6-3=3'] Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,27 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,27 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[65, 9], Operations: ['87-22=65', '3+6=9'] Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,27 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,27 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 51, 37, 81, 3 ]
21
[ "51+37=88", "88-81=7", "3*7=21" ]
Current State: 21:[51, 37, 81, 3], Operations: [] Exploring Operation: 51+37=88, Resulting Numbers: [81, 3, 88] Generated Node #2: [81, 3, 88] from Operation: 51+37=88 Current State: 21:[81, 3, 88], Operations: ['51+37=88'] Exploring Operation: 88-81=7, Resulting Numbers: [3, 7] Generated Node #3: [3, 7] from Operation: 88-81=7 Current State: 21:[3, 7], Operations: ['51+37=88', '88-81=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[51, 37, 81, 3], Operations: [] Exploring Operation: 81/3=27, Resulting Numbers: [51, 37, 27] Generated Node #0,0: 21:[51, 37, 27] Operation: 81/3=27 Exploring Operation: 51-37=14, Resulting Numbers: [81, 3, 14] Generated Node #0,1: 21:[81, 3, 14] Operation: 51-37=14 Exploring Operation: 51/3=17, Resulting Numbers: [37, 81, 17] Generated Node #0,2: 21:[37, 81, 17] Operation: 51/3=17 Exploring Operation: 81-37=44, Resulting Numbers: [51, 3, 44] Generated Node #0,3: 21:[51, 3, 44] Operation: 81-37=44 Exploring Operation: 81-51=30, Resulting Numbers: [37, 3, 30] Generated Node #0,4: 21:[37, 3, 30] Operation: 81-51=30 Start Sub Search at level 1: Moving to Node #0,4 Current State: 21:[37, 3, 30], Operations: ['81-51=30'] Exploring Operation: 37+3=40, Resulting Numbers: [30, 40] Generated Node #0,4,0: 21:[30, 40] Operation: 37+3=40 Exploring Operation: 30-3=27, Resulting Numbers: [37, 27] Generated Node #0,4,1: 21:[37, 27] Operation: 30-3=27 Exploring Operation: 37-30=7, Resulting Numbers: [3, 7] Generated Node #0,4,2: 21:[3, 7] Operation: 37-30=7 Exploring Operation: 30/3=10, Resulting Numbers: [37, 10] Generated Node #0,4,3: 21:[37, 10] Operation: 30/3=10 Exploring Operation: 37-3=34, Resulting Numbers: [30, 34] Generated Node #0,4,4: 21:[30, 34] Operation: 37-3=34 Moving to Node #0,4,2 Current State: 21:[3, 7], Operations: ['81-51=30', '37-30=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[51, 37, 81, 3], Operations: [] Exploring Operation: 81-51=30, Resulting Numbers: [37, 3, 30] Generated Node #0,4: 21:[37, 3, 30] Operation: 81-51=30 Moving to Node #0,4 Current State: 21:[37, 3, 30], Operations: ['81-51=30'] Exploring Operation: 37-30=7, Resulting Numbers: [3, 7] Generated Node #0,4,2: 21:[3, 7] Operation: 37-30=7 Moving to Node #0,4,2 Current State: 21:[3, 7], Operations: ['81-51=30', '37-30=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 28, 42, 11, 82 ]
23
[ "28+42=70", "11+82=93", "93-70=23" ]
Current State: 23:[28, 42, 11, 82], Operations: [] Exploring Operation: 28+42=70, Resulting Numbers: [11, 82, 70] Generated Node #2: [11, 82, 70] from Operation: 28+42=70 Current State: 23:[11, 82, 70], Operations: ['28+42=70'] Exploring Operation: 11+82=93, Resulting Numbers: [70, 93] Generated Node #3: [70, 93] from Operation: 11+82=93 Current State: 23:[70, 93], Operations: ['28+42=70', '11+82=93'] Exploring Operation: 93-70=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[28, 42, 11, 82], Operations: [] Exploring Operation: 42-11=31, Resulting Numbers: [28, 82, 31] Generated Node #0,0: 23:[28, 82, 31] Operation: 42-11=31 Exploring Operation: 82-28=54, Resulting Numbers: [42, 11, 54] Generated Node #0,1: 23:[42, 11, 54] Operation: 82-28=54 Exploring Operation: 82-42=40, Resulting Numbers: [28, 11, 40] Generated Node #0,2: 23:[28, 11, 40] Operation: 82-42=40 Exploring Operation: 82-11=71, Resulting Numbers: [28, 42, 71] Generated Node #0,3: 23:[28, 42, 71] Operation: 82-11=71 Moving to Node #0,2 Current State: 23:[28, 11, 40], Operations: ['82-42=40'] Exploring Operation: 28-11=17, Resulting Numbers: [40, 17] Generated Node #0,2,0: 23:[40, 17] Operation: 28-11=17 Exploring Operation: 28+11=39, Resulting Numbers: [40, 39] Generated Node #0,2,1: 23:[40, 39] Operation: 28+11=39 Exploring Operation: 40-28=12, Resulting Numbers: [11, 12] Generated Node #0,2,2: 23:[11, 12] Operation: 40-28=12 Exploring Operation: 40-11=29, Resulting Numbers: [28, 29] Generated Node #0,2,3: 23:[28, 29] Operation: 40-11=29 Moving to Node #0,1 Current State: 23:[42, 11, 54], Operations: ['82-28=54'] Exploring Operation: 54-42=12, Resulting Numbers: [11, 12] Generated Node #0,1,0: 23:[11, 12] Operation: 54-42=12 Exploring Operation: 42-11=31, Resulting Numbers: [54, 31] Generated Node #0,1,1: 23:[54, 31] Operation: 42-11=31 Exploring Operation: 54-11=43, Resulting Numbers: [42, 43] Generated Node #0,1,2: 23:[42, 43] Operation: 54-11=43 Exploring Operation: 42+11=53, Resulting Numbers: [54, 53] Generated Node #0,1,3: 23:[54, 53] Operation: 42+11=53 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[11, 12], Operations: ['82-28=54', '54-42=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[28, 42, 11, 82], Operations: [] Exploring Operation: 82-28=54, Resulting Numbers: [42, 11, 54] Generated Node #0,1: 23:[42, 11, 54] Operation: 82-28=54 Moving to Node #0,1 Current State: 23:[42, 11, 54], Operations: ['82-28=54'] Exploring Operation: 54-42=12, Resulting Numbers: [11, 12] Generated Node #0,1,0: 23:[11, 12] Operation: 54-42=12 Moving to Node #0,1,0 Current State: 23:[11, 12], Operations: ['82-28=54', '54-42=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 57, 85, 98, 58 ]
13
[ "58-57=1", "98-85=13", "1*13=13" ]
Current State: 13:[57, 85, 98, 58], Operations: [] Exploring Operation: 58-57=1, Resulting Numbers: [85, 98, 1] Generated Node #2: [85, 98, 1] from Operation: 58-57=1 Current State: 13:[85, 98, 1], Operations: ['58-57=1'] Exploring Operation: 98-85=13, Resulting Numbers: [1, 13] Generated Node #3: [1, 13] from Operation: 98-85=13 Current State: 13:[1, 13], Operations: ['58-57=1', '98-85=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[57, 85, 98, 58], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [57, 58, 13] Generated Node #0,0: 13:[57, 58, 13] Operation: 98-85=13 Exploring Operation: 85-57=28, Resulting Numbers: [98, 58, 28] Generated Node #0,1: 13:[98, 58, 28] Operation: 85-57=28 Exploring Operation: 98-58=40, Resulting Numbers: [57, 85, 40] Generated Node #0,2: 13:[57, 85, 40] Operation: 98-58=40 Exploring Operation: 98-57=41, Resulting Numbers: [85, 58, 41] Generated Node #0,3: 13:[85, 58, 41] Operation: 98-57=41 Exploring Operation: 85-58=27, Resulting Numbers: [57, 98, 27] Generated Node #0,4: 13:[57, 98, 27] Operation: 85-58=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[57, 58, 13], Operations: ['98-85=13'] Exploring Operation: 57-13=44, Resulting Numbers: [58, 44] Generated Node #0,0,0: 13:[58, 44] Operation: 57-13=44 Exploring Operation: 58-57=1, Resulting Numbers: [13, 1] Generated Node #0,0,1: 13:[13, 1] Operation: 58-57=1 Exploring Operation: 57+13=70, Resulting Numbers: [58, 70] Generated Node #0,0,2: 13:[58, 70] Operation: 57+13=70 Exploring Operation: 57+58=115, Resulting Numbers: [13, 115] Generated Node #0,0,3: 13:[13, 115] Operation: 57+58=115 Exploring Operation: 58-13=45, Resulting Numbers: [57, 45] Generated Node #0,0,4: 13:[57, 45] Operation: 58-13=45 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[13, 1], Operations: ['98-85=13', '58-57=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[57, 85, 98, 58], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [57, 58, 13] Generated Node #0,0: 13:[57, 58, 13] Operation: 98-85=13 Moving to Node #0,0 Current State: 13:[57, 58, 13], Operations: ['98-85=13'] Exploring Operation: 58-57=1, Resulting Numbers: [13, 1] Generated Node #0,0,1: 13:[13, 1] Operation: 58-57=1 Moving to Node #0,0,1 Current State: 13:[13, 1], Operations: ['98-85=13', '58-57=1'] Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 3, 48, 2, 46 ]
94
[ "3-2=1", "48+46=94", "1*94=94" ]
Current State: 94:[3, 48, 2, 46], Operations: [] Exploring Operation: 3-2=1, Resulting Numbers: [48, 46, 1] Generated Node #2: [48, 46, 1] from Operation: 3-2=1 Current State: 94:[48, 46, 1], Operations: ['3-2=1'] Exploring Operation: 48+46=94, Resulting Numbers: [1, 94] Generated Node #3: [1, 94] from Operation: 48+46=94 Current State: 94:[1, 94], Operations: ['3-2=1', '48+46=94'] Exploring Operation: 1*94=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[3, 48, 2, 46], Operations: [] Exploring Operation: 48+46=94, Resulting Numbers: [3, 2, 94] Generated Node #0,0: 94:[3, 2, 94] Operation: 48+46=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[3, 2, 94], Operations: ['48+46=94'] Exploring Operation: 3-2=1, Resulting Numbers: [94, 1] Generated Node #0,0,0: 94:[94, 1] Operation: 3-2=1 Moving to Node #0,0,0 Current State: 94:[94, 1], Operations: ['48+46=94', '3-2=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[3, 48, 2, 46], Operations: [] Exploring Operation: 48+46=94, Resulting Numbers: [3, 2, 94] Generated Node #0,0: 94:[3, 2, 94] Operation: 48+46=94 Moving to Node #0,0 Current State: 94:[3, 2, 94], Operations: ['48+46=94'] Exploring Operation: 3-2=1, Resulting Numbers: [94, 1] Generated Node #0,0,0: 94:[94, 1] Operation: 3-2=1 Moving to Node #0,0,0 Current State: 94:[94, 1], Operations: ['48+46=94', '3-2=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 65, 92, 76, 44 ]
37
[ "65+92=157", "76+44=120", "157-120=37" ]
Current State: 37:[65, 92, 76, 44], Operations: [] Exploring Operation: 65+92=157, Resulting Numbers: [76, 44, 157] Generated Node #2: [76, 44, 157] from Operation: 65+92=157 Current State: 37:[76, 44, 157], Operations: ['65+92=157'] Exploring Operation: 76+44=120, Resulting Numbers: [157, 120] Generated Node #3: [157, 120] from Operation: 76+44=120 Current State: 37:[157, 120], Operations: ['65+92=157', '76+44=120'] Exploring Operation: 157-120=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[65, 92, 76, 44], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [65, 44, 16] Generated Node #0,0: 37:[65, 44, 16] Operation: 92-76=16 Exploring Operation: 76-65=11, Resulting Numbers: [92, 44, 11] Generated Node #0,1: 37:[92, 44, 11] Operation: 76-65=11 Exploring Operation: 92-44=48, Resulting Numbers: [65, 76, 48] Generated Node #0,2: 37:[65, 76, 48] Operation: 92-44=48 Exploring Operation: 92-65=27, Resulting Numbers: [76, 44, 27] Generated Node #0,3: 37:[76, 44, 27] Operation: 92-65=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[65, 44, 16], Operations: ['92-76=16'] Exploring Operation: 44-16=28, Resulting Numbers: [65, 28] Generated Node #0,0,0: 37:[65, 28] Operation: 44-16=28 Exploring Operation: 65-44=21, Resulting Numbers: [16, 21] Generated Node #0,0,1: 37:[16, 21] Operation: 65-44=21 Exploring Operation: 65-16=49, Resulting Numbers: [44, 49] Generated Node #0,0,2: 37:[44, 49] Operation: 65-16=49 Exploring Operation: 65+16=81, Resulting Numbers: [44, 81] Generated Node #0,0,3: 37:[44, 81] Operation: 65+16=81 Moving to Node #0,0,2 Current State: 37:[44, 49], Operations: ['92-76=16', '65-16=49'] Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 44*49=2156, Resulting Numbers: [2156] 2156,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[16, 21], Operations: ['92-76=16', '65-44=21'] Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[65, 92, 76, 44], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [65, 44, 16] Generated Node #0,0: 37:[65, 44, 16] Operation: 92-76=16 Moving to Node #0,0 Current State: 37:[65, 44, 16], Operations: ['92-76=16'] Exploring Operation: 65-44=21, Resulting Numbers: [16, 21] Generated Node #0,0,1: 37:[16, 21] Operation: 65-44=21 Moving to Node #0,0,1 Current State: 37:[16, 21], Operations: ['92-76=16', '65-44=21'] Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 19, 17, 55, 52 ]
81
[ "19-17=2", "52/2=26", "55+26=81" ]
Current State: 81:[19, 17, 55, 52], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [55, 52, 2] Generated Node #2: [55, 52, 2] from Operation: 19-17=2 Current State: 81:[55, 52, 2], Operations: ['19-17=2'] Exploring Operation: 52/2=26, Resulting Numbers: [55, 26] Generated Node #3: [55, 26] from Operation: 52/2=26 Current State: 81:[55, 26], Operations: ['19-17=2', '52/2=26'] Exploring Operation: 55+26=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[19, 17, 55, 52], Operations: [] Exploring Operation: 55-19=36, Resulting Numbers: [17, 52, 36] Generated Node #0,0: 81:[17, 52, 36] Operation: 55-19=36 Exploring Operation: 55-52=3, Resulting Numbers: [19, 17, 3] Generated Node #0,1: 81:[19, 17, 3] Operation: 55-52=3 Exploring Operation: 19+55=74, Resulting Numbers: [17, 52, 74] Generated Node #0,2: 81:[17, 52, 74] Operation: 19+55=74 Exploring Operation: 52-19=33, Resulting Numbers: [17, 55, 33] Generated Node #0,3: 81:[17, 55, 33] Operation: 52-19=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[19, 17, 3], Operations: ['55-52=3'] Exploring Operation: 17-3=14, Resulting Numbers: [19, 14] Generated Node #0,1,0: 81:[19, 14] Operation: 17-3=14 Exploring Operation: 19-17=2, Resulting Numbers: [3, 2] Generated Node #0,1,1: 81:[3, 2] Operation: 19-17=2 Exploring Operation: 19+17=36, Resulting Numbers: [3, 36] Generated Node #0,1,2: 81:[3, 36] Operation: 19+17=36 Exploring Operation: 19+3=22, Resulting Numbers: [17, 22] Generated Node #0,1,3: 81:[17, 22] Operation: 19+3=22 Moving to Node #0,1,1 Current State: 81:[3, 2], Operations: ['55-52=3', '19-17=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[3, 36], Operations: ['55-52=3', '19+17=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,81 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[17, 22], Operations: ['55-52=3', '19+3=22'] Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,81 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,81 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[19, 14], Operations: ['55-52=3', '17-3=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,81 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,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:[17, 52, 74], Operations: ['19+55=74'] Exploring Operation: 74-52=22, Resulting Numbers: [17, 22] Generated Node #0,2,0: 81:[17, 22] Operation: 74-52=22 Exploring Operation: 52-17=35, Resulting Numbers: [74, 35] Generated Node #0,2,1: 81:[74, 35] Operation: 52-17=35 Exploring Operation: 17+74=91, Resulting Numbers: [52, 91] Generated Node #0,2,2: 81:[52, 91] Operation: 17+74=91 Exploring Operation: 17+52=69, Resulting Numbers: [74, 69] Generated Node #0,2,3: 81:[74, 69] Operation: 17+52=69 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[17, 22], Operations: ['19+55=74', '74-52=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,81 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,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:[74, 35], Operations: ['19+55=74', '52-17=35'] Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,81 unequal: No Solution Exploring Operation: 74*35=2590, Resulting Numbers: [2590] 2590,81 unequal: No Solution Exploring Operation: 74+35=109, Resulting Numbers: [109] 109,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:[74, 69], Operations: ['19+55=74', '17+52=69'] Exploring Operation: 74*69=5106, Resulting Numbers: [5106] 5106,81 unequal: No Solution Exploring Operation: 74+69=143, Resulting Numbers: [143] 143,81 unequal: No Solution Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,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,2 Current State: 81:[52, 91], Operations: ['19+55=74', '17+74=91'] Exploring Operation: 52*91=4732, Resulting Numbers: [4732] 4732,81 unequal: No Solution Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,81 unequal: No Solution Exploring Operation: 52+91=143, Resulting Numbers: [143] 143,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:[17, 55, 33], Operations: ['52-19=33'] Exploring Operation: 55-33=22, Resulting Numbers: [17, 22] Generated Node #0,3,0: 81:[17, 22] Operation: 55-33=22 Exploring Operation: 17+55=72, Resulting Numbers: [33, 72] Generated Node #0,3,1: 81:[33, 72] Operation: 17+55=72 Exploring Operation: 55-17=38, Resulting Numbers: [33, 38] Generated Node #0,3,2: 81:[33, 38] Operation: 55-17=38 Exploring Operation: 55+33=88, Resulting Numbers: [17, 88] Generated Node #0,3,3: 81:[17, 88] Operation: 55+33=88 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 81:[17, 22], Operations: ['52-19=33', '55-33=22'] Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,81 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,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,3,1 Current State: 81:[33, 72], Operations: ['52-19=33', '17+55=72'] Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,81 unequal: No Solution Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,81 unequal: No Solution Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,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,3,3 Current State: 81:[17, 88], Operations: ['52-19=33', '55+33=88'] Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 17+88=105, Resulting Numbers: [105] 105,81 unequal: No Solution Exploring Operation: 17*88=1496, Resulting Numbers: [1496] 1496,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,3,2 Current State: 81:[33, 38], Operations: ['52-19=33', '55-17=38'] Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,81 unequal: No Solution Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,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,0 Current State: 81:[17, 52, 36], Operations: ['55-19=36'] Exploring Operation: 52+36=88, Resulting Numbers: [17, 88] Generated Node #0,0,0: 81:[17, 88] Operation: 52+36=88 Exploring Operation: 52-17=35, Resulting Numbers: [36, 35] Generated Node #0,0,1: 81:[36, 35] Operation: 52-17=35 Exploring Operation: 52-36=16, Resulting Numbers: [17, 16] Generated Node #0,0,2: 81:[17, 16] Operation: 52-36=16 Exploring Operation: 17+52=69, Resulting Numbers: [36, 69] Generated Node #0,0,3: 81:[36, 69] Operation: 17+52=69 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[17, 88], Operations: ['55-19=36', '52+36=88'] Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 17*88=1496, Resulting Numbers: [1496] 1496,81 unequal: No Solution Exploring Operation: 17+88=105, Resulting Numbers: [105] 105,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:[17, 16], Operations: ['55-19=36', '52-36=16'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,81 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,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:[36, 35], Operations: ['55-19=36', '52-17=35'] Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 36*35=1260, Resulting Numbers: [1260] 1260,81 unequal: No Solution Exploring Operation: 36+35=71, Resulting Numbers: [71] 71,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,3 Current State: 81:[36, 69], Operations: ['55-19=36', '17+52=69'] Exploring Operation: 36*69=2484, Resulting Numbers: [2484] 2484,81 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 36+69=105, Resulting Numbers: [105] 105,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_4
mult_heuristic
[ 48, 45, 18, 72 ]
89
[ "48+45=93", "72/18=4", "93-4=89" ]
Current State: 89:[48, 45, 18, 72], Operations: [] Exploring Operation: 48+45=93, Resulting Numbers: [18, 72, 93] Generated Node #2: [18, 72, 93] from Operation: 48+45=93 Current State: 89:[18, 72, 93], Operations: ['48+45=93'] Exploring Operation: 72/18=4, Resulting Numbers: [93, 4] Generated Node #3: [93, 4] from Operation: 72/18=4 Current State: 89:[93, 4], Operations: ['48+45=93', '72/18=4'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[48, 45, 18, 72], Operations: [] Exploring Operation: 48-18=30, Resulting Numbers: [45, 72, 30] Generated Node #0,0: 89:[45, 72, 30] Operation: 48-18=30 Exploring Operation: 18+72=90, Resulting Numbers: [48, 45, 90] Generated Node #0,1: 89:[48, 45, 90] Operation: 18+72=90 Exploring Operation: 45+18=63, Resulting Numbers: [48, 72, 63] Generated Node #0,2: 89:[48, 72, 63] Operation: 45+18=63 Exploring Operation: 48+45=93, Resulting Numbers: [18, 72, 93] Generated Node #0,3: 89:[18, 72, 93] Operation: 48+45=93 Exploring Operation: 48+18=66, Resulting Numbers: [45, 72, 66] Generated Node #0,4: 89:[45, 72, 66] Operation: 48+18=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[48, 72, 63], Operations: ['45+18=63'] Exploring Operation: 72-48=24, Resulting Numbers: [63, 24] Generated Node #0,2,0: 89:[63, 24] Operation: 72-48=24 Exploring Operation: 48+72=120, Resulting Numbers: [63, 120] Generated Node #0,2,1: 89:[63, 120] Operation: 48+72=120 Exploring Operation: 72+63=135, Resulting Numbers: [48, 135] Generated Node #0,2,2: 89:[48, 135] Operation: 72+63=135 Exploring Operation: 63-48=15, Resulting Numbers: [72, 15] Generated Node #0,2,3: 89:[72, 15] Operation: 63-48=15 Exploring Operation: 48+63=111, Resulting Numbers: [72, 111] Generated Node #0,2,4: 89:[72, 111] Operation: 48+63=111 Moving to Node #0,2,4 Current State: 89:[72, 111], Operations: ['45+18=63', '48+63=111'] Exploring Operation: 72*111=7992, Resulting Numbers: [7992] 7992,89 unequal: No Solution Exploring Operation: 72+111=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 111-72=39, Resulting Numbers: [39] 39,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[63, 120], Operations: ['45+18=63', '48+72=120'] Exploring Operation: 120-63=57, Resulting Numbers: [57] 57,89 unequal: No Solution Exploring Operation: 63+120=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 63*120=7560, Resulting Numbers: [7560] 7560,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[48, 135], Operations: ['45+18=63', '72+63=135'] Exploring Operation: 48+135=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 135-48=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 48*135=6480, Resulting Numbers: [6480] 6480,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[63, 24], Operations: ['45+18=63', '72-48=24'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[72, 15], Operations: ['45+18=63', '63-48=15'] Exploring Operation: 72*15=1080, Resulting Numbers: [1080] 1080,89 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,89 unequal: No Solution Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,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,4 Current State: 89:[45, 72, 66], Operations: ['48+18=66'] Exploring Operation: 45+72=117, Resulting Numbers: [66, 117] Generated Node #0,4,0: 89:[66, 117] Operation: 45+72=117 Exploring Operation: 45+66=111, Resulting Numbers: [72, 111] Generated Node #0,4,1: 89:[72, 111] Operation: 45+66=111 Exploring Operation: 72-45=27, Resulting Numbers: [66, 27] Generated Node #0,4,2: 89:[66, 27] Operation: 72-45=27 Exploring Operation: 72+66=138, Resulting Numbers: [45, 138] Generated Node #0,4,3: 89:[45, 138] Operation: 72+66=138 Exploring Operation: 66-45=21, Resulting Numbers: [72, 21] Generated Node #0,4,4: 89:[72, 21] Operation: 66-45=21 Moving to Node #0,4,1 Current State: 89:[72, 111], Operations: ['48+18=66', '45+66=111'] Exploring Operation: 111-72=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 72+111=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 72*111=7992, Resulting Numbers: [7992] 7992,89 unequal: No Solution Moving to Node #0,4,0 Current State: 89:[66, 117], Operations: ['48+18=66', '45+72=117'] Exploring Operation: 66+117=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 66*117=7722, Resulting Numbers: [7722] 7722,89 unequal: No Solution Exploring Operation: 117-66=51, Resulting Numbers: [51] 51,89 unequal: No Solution Moving to Node #0,4,2 Current State: 89:[66, 27], Operations: ['48+18=66', '72-45=27'] Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,89 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,89 unequal: No Solution Moving to Node #0,4,4 Current State: 89:[72, 21], Operations: ['48+18=66', '66-45=21'] Exploring Operation: 72+21=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 72*21=1512, Resulting Numbers: [1512] 1512,89 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,89 unequal: No Solution Moving to Node #0,4,3 Current State: 89:[45, 138], Operations: ['48+18=66', '72+66=138'] Exploring Operation: 45*138=6210, Resulting Numbers: [6210] 6210,89 unequal: No Solution Exploring Operation: 138-45=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 45+138=183, Resulting Numbers: [183] 183,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[48, 45, 90], Operations: ['18+72=90'] Exploring Operation: 45+90=135, Resulting Numbers: [48, 135] Generated Node #0,1,0: 89:[48, 135] Operation: 45+90=135 Exploring Operation: 48+45=93, Resulting Numbers: [90, 93] Generated Node #0,1,1: 89:[90, 93] Operation: 48+45=93 Exploring Operation: 90-45=45, Resulting Numbers: [48, 45] Generated Node #0,1,2: 89:[48, 45] Operation: 90-45=45 Exploring Operation: 48-45=3, Resulting Numbers: [90, 3] Generated Node #0,1,3: 89:[90, 3] Operation: 48-45=3 Exploring Operation: 90-48=42, Resulting Numbers: [45, 42] Generated Node #0,1,4: 89:[45, 42] Operation: 90-48=42 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[90, 93], Operations: ['18+72=90', '48+45=93'] Exploring Operation: 90+93=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 90*93=8370, Resulting Numbers: [8370] 8370,89 unequal: No Solution Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[48, 45], Operations: ['18+72=90', '90-45=45'] Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 48*45=2160, Resulting Numbers: [2160] 2160,89 unequal: No Solution Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[48, 135], Operations: ['18+72=90', '45+90=135'] Exploring Operation: 48+135=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 135-48=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 48*135=6480, Resulting Numbers: [6480] 6480,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 89:[90, 3], Operations: ['18+72=90', '48-45=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 90*3=270, Resulting Numbers: [270] 270,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 89:[45, 42], Operations: ['18+72=90', '90-48=42'] Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,89 unequal: No Solution Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[18, 72, 93], Operations: ['48+45=93'] Exploring Operation: 93-18=75, Resulting Numbers: [72, 75] Generated Node #0,3,0: 89:[72, 75] Operation: 93-18=75 Exploring Operation: 72-18=54, Resulting Numbers: [93, 54] Generated Node #0,3,1: 89:[93, 54] Operation: 72-18=54 Exploring Operation: 18+93=111, Resulting Numbers: [72, 111] Generated Node #0,3,2: 89:[72, 111] Operation: 18+93=111 Exploring Operation: 72/18=4, Resulting Numbers: [93, 4] Generated Node #0,3,3: 89:[93, 4] Operation: 72/18=4 Exploring Operation: 18+72=90, Resulting Numbers: [93, 90] Generated Node #0,3,4: 89:[93, 90] Operation: 18+72=90 Moving to Node #0,3,4 Current State: 89:[93, 90], Operations: ['48+45=93', '18+72=90'] Exploring Operation: 93*90=8370, Resulting Numbers: [8370] 8370,89 unequal: No Solution Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 93+90=183, Resulting Numbers: [183] 183,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[72, 75], Operations: ['48+45=93', '93-18=75'] Exploring Operation: 72+75=147, Resulting Numbers: [147] 147,89 unequal: No Solution Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 72*75=5400, Resulting Numbers: [5400] 5400,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[93, 54], Operations: ['48+45=93', '72-18=54'] Exploring Operation: 93*54=5022, Resulting Numbers: [5022] 5022,89 unequal: No Solution Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 93+54=147, Resulting Numbers: [147] 147,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[72, 111], Operations: ['48+45=93', '18+93=111'] Exploring Operation: 72+111=183, Resulting Numbers: [183] 183,89 unequal: No Solution Exploring Operation: 111-72=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 72*111=7992, Resulting Numbers: [7992] 7992,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[93, 4], Operations: ['48+45=93', '72/18=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,89 unequal: No Solution Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,89 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[48, 45, 18, 72], Operations: [] Exploring Operation: 48+45=93, Resulting Numbers: [18, 72, 93] Generated Node #0,3: 89:[18, 72, 93] Operation: 48+45=93 Moving to Node #0,3 Current State: 89:[18, 72, 93], Operations: ['48+45=93'] Exploring Operation: 72/18=4, Resulting Numbers: [93, 4] Generated Node #0,3,3: 89:[93, 4] Operation: 72/18=4 Moving to Node #0,3,3 Current State: 89:[93, 4], Operations: ['48+45=93', '72/18=4'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.921875
hs_5
sum_heuristic
[ 98, 40, 50, 42 ]
74
[ "98+50=148", "42-40=2", "148/2=74" ]
Current State: 74:[98, 40, 50, 42], Operations: [] Exploring Operation: 98+50=148, Resulting Numbers: [40, 42, 148] Generated Node #2: [40, 42, 148] from Operation: 98+50=148 Current State: 74:[40, 42, 148], Operations: ['98+50=148'] Exploring Operation: 42-40=2, Resulting Numbers: [148, 2] Generated Node #3: [148, 2] from Operation: 42-40=2 Current State: 74:[148, 2], Operations: ['98+50=148', '42-40=2'] Exploring Operation: 148/2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[98, 40, 50, 42], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [40, 42, 48] Generated Node #0,0: 74:[40, 42, 48] Operation: 98-50=48 Exploring Operation: 98-40=58, Resulting Numbers: [50, 42, 58] Generated Node #0,1: 74:[50, 42, 58] Operation: 98-40=58 Exploring Operation: 50-42=8, Resulting Numbers: [98, 40, 8] Generated Node #0,2: 74:[98, 40, 8] Operation: 50-42=8 Exploring Operation: 98-42=56, Resulting Numbers: [40, 50, 56] Generated Node #0,3: 74:[40, 50, 56] Operation: 98-42=56 Moving to Node #0,0 Current State: 74:[40, 42, 48], Operations: ['98-50=48'] Exploring Operation: 40+42=82, Resulting Numbers: [48, 82] Generated Node #0,0,0: 74:[48, 82] Operation: 40+42=82 Exploring Operation: 48-40=8, Resulting Numbers: [42, 8] Generated Node #0,0,1: 74:[42, 8] Operation: 48-40=8 Exploring Operation: 42-40=2, Resulting Numbers: [48, 2] Generated Node #0,0,2: 74:[48, 2] Operation: 42-40=2 Exploring Operation: 48-42=6, Resulting Numbers: [40, 6] Generated Node #0,0,3: 74:[40, 6] Operation: 48-42=6 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[40, 6], Operations: ['98-50=48', '48-42=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,74 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[42, 8], Operations: ['98-50=48', '48-40=8'] Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,74 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[48, 2], Operations: ['98-50=48', '42-40=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,74 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[48, 82], Operations: ['98-50=48', '40+42=82'] Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 48+82=130, Resulting Numbers: [130] 130,74 unequal: No Solution Exploring Operation: 48*82=3936, Resulting Numbers: [3936] 3936,74 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: 74:[98, 40, 8], Operations: ['50-42=8'] Exploring Operation: 40/8=5, Resulting Numbers: [98, 5] Generated Node #0,2,0: 74:[98, 5] Operation: 40/8=5 Exploring Operation: 98-8=90, Resulting Numbers: [40, 90] Generated Node #0,2,1: 74:[40, 90] Operation: 98-8=90 Exploring Operation: 98-40=58, Resulting Numbers: [8, 58] Generated Node #0,2,2: 74:[8, 58] Operation: 98-40=58 Exploring Operation: 40-8=32, Resulting Numbers: [98, 32] Generated Node #0,2,3: 74:[98, 32] Operation: 40-8=32 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[40, 90], Operations: ['50-42=8', '98-8=90'] Exploring Operation: 40*90=3600, Resulting Numbers: [3600] 3600,74 unequal: No Solution Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,74 unequal: No Solution Exploring Operation: 40+90=130, Resulting Numbers: [130] 130,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[8, 58], Operations: ['50-42=8', '98-40=58'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,74 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,74 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[98, 5], Operations: ['50-42=8', '40/8=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,74 unequal: No Solution Exploring Operation: 98+5=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 98*5=490, Resulting Numbers: [490] 490,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[98, 32], Operations: ['50-42=8', '40-8=32'] Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,74 unequal: No Solution Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,74 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: 74:[40, 50, 56], Operations: ['98-42=56'] Exploring Operation: 56-50=6, Resulting Numbers: [40, 6] Generated Node #0,3,0: 74:[40, 6] Operation: 56-50=6 Exploring Operation: 56-40=16, Resulting Numbers: [50, 16] Generated Node #0,3,1: 74:[50, 16] Operation: 56-40=16 Exploring Operation: 40+50=90, Resulting Numbers: [56, 90] Generated Node #0,3,2: 74:[56, 90] Operation: 40+50=90 Exploring Operation: 50-40=10, Resulting Numbers: [56, 10] Generated Node #0,3,3: 74:[56, 10] Operation: 50-40=10 Moving to Node #0,1 Current State: 74:[50, 42, 58], Operations: ['98-40=58'] Exploring Operation: 58-42=16, Resulting Numbers: [50, 16] Generated Node #0,1,0: 74:[50, 16] Operation: 58-42=16 Exploring Operation: 50-42=8, Resulting Numbers: [58, 8] Generated Node #0,1,1: 74:[58, 8] Operation: 50-42=8 Exploring Operation: 58-50=8, Resulting Numbers: [42, 8] Generated Node #0,1,2: 74:[42, 8] Operation: 58-50=8 Exploring Operation: 50+42=92, Resulting Numbers: [58, 92] Generated Node #0,1,3: 74:[58, 92] Operation: 50+42=92 Moving to Node #0,3,0 Current State: 74:[40, 6], Operations: ['98-42=56', '56-50=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,74 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[42, 8], Operations: ['98-40=58', '58-50=8'] Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,74 unequal: No Solution Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,74 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[58, 8], Operations: ['98-40=58', '50-42=8'] Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,74 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[56, 10], Operations: ['98-42=56', '50-40=10'] Exploring Operation: 56+10=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 56*10=560, Resulting Numbers: [560] 560,74 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[50, 16], Operations: ['98-42=56', '56-40=16'] Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[50, 16], Operations: ['98-40=58', '58-42=16'] Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,74 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[56, 90], Operations: ['98-42=56', '40+50=90'] Exploring Operation: 56*90=5040, Resulting Numbers: [5040] 5040,74 unequal: No Solution Exploring Operation: 56+90=146, Resulting Numbers: [146] 146,74 unequal: No Solution Exploring Operation: 90-56=34, Resulting Numbers: [34] 34,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[58, 92], Operations: ['98-40=58', '50+42=92'] Exploring Operation: 58+92=150, Resulting Numbers: [150] 150,74 unequal: No Solution Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 58*92=5336, Resulting Numbers: [5336] 5336,74 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 52, 48, 4, 72 ]
58
[ "48/4=12", "72/12=6", "52+6=58" ]
Current State: 58:[52, 48, 4, 72], Operations: [] Exploring Operation: 48/4=12, Resulting Numbers: [52, 72, 12] Generated Node #2: [52, 72, 12] from Operation: 48/4=12 Current State: 58:[52, 72, 12], Operations: ['48/4=12'] Exploring Operation: 72/12=6, Resulting Numbers: [52, 6] Generated Node #3: [52, 6] from Operation: 72/12=6 Current State: 58:[52, 6], Operations: ['48/4=12', '72/12=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[52, 48, 4, 72], Operations: [] Exploring Operation: 72-48=24, Resulting Numbers: [52, 4, 24] Generated Node #0,0: 58:[52, 4, 24] Operation: 72-48=24 Moving to Node #0,0 Current State: 58:[52, 4, 24], Operations: ['72-48=24'] Exploring Operation: 52-24=28, Resulting Numbers: [4, 28] Generated Node #0,0,0: 58:[4, 28] Operation: 52-24=28 Moving to Node #0,0,0 Current State: 58:[4, 28], Operations: ['72-48=24', '52-24=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,58 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 59, 24, 38, 35 ]
51
[ "38-35=3", "24/3=8", "59-8=51" ]
Current State: 51:[59, 24, 38, 35], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [59, 24, 3] Generated Node #2: [59, 24, 3] from Operation: 38-35=3 Current State: 51:[59, 24, 3], Operations: ['38-35=3'] Exploring Operation: 24/3=8, Resulting Numbers: [59, 8] Generated Node #3: [59, 8] from Operation: 24/3=8 Current State: 51:[59, 8], Operations: ['38-35=3', '24/3=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[59, 24, 38, 35], Operations: [] Exploring Operation: 59-35=24, Resulting Numbers: [24, 38, 24] Generated Node #0,0: 51:[24, 38, 24] Operation: 59-35=24 Exploring Operation: 38-24=14, Resulting Numbers: [59, 35, 14] Generated Node #0,1: 51:[59, 35, 14] Operation: 38-24=14 Exploring Operation: 59-38=21, Resulting Numbers: [24, 35, 21] Generated Node #0,2: 51:[24, 35, 21] Operation: 59-38=21 Exploring Operation: 35-24=11, Resulting Numbers: [59, 38, 11] Generated Node #0,3: 51:[59, 38, 11] Operation: 35-24=11 Exploring Operation: 38-35=3, Resulting Numbers: [59, 24, 3] Generated Node #0,4: 51:[59, 24, 3] Operation: 38-35=3 Moving to Node #0,4 Current State: 51:[59, 24, 3], Operations: ['38-35=3'] Exploring Operation: 24/3=8, Resulting Numbers: [59, 8] Generated Node #0,4,0: 51:[59, 8] Operation: 24/3=8 Exploring Operation: 59+3=62, Resulting Numbers: [24, 62] Generated Node #0,4,1: 51:[24, 62] Operation: 59+3=62 Exploring Operation: 59-24=35, Resulting Numbers: [3, 35] Generated Node #0,4,2: 51:[3, 35] Operation: 59-24=35 Exploring Operation: 59-3=56, Resulting Numbers: [24, 56] Generated Node #0,4,3: 51:[24, 56] Operation: 59-3=56 Exploring Operation: 24-3=21, Resulting Numbers: [59, 21] Generated Node #0,4,4: 51:[59, 21] Operation: 24-3=21 Moving to Node #0,1 Current State: 51:[59, 35, 14], Operations: ['38-24=14'] Exploring Operation: 35-14=21, Resulting Numbers: [59, 21] Generated Node #0,1,0: 51:[59, 21] Operation: 35-14=21 Exploring Operation: 59-35=24, Resulting Numbers: [14, 24] Generated Node #0,1,1: 51:[14, 24] Operation: 59-35=24 Exploring Operation: 59+14=73, Resulting Numbers: [35, 73] Generated Node #0,1,2: 51:[35, 73] Operation: 59+14=73 Exploring Operation: 59-14=45, Resulting Numbers: [35, 45] Generated Node #0,1,3: 51:[35, 45] Operation: 59-14=45 Exploring Operation: 35+14=49, Resulting Numbers: [59, 49] Generated Node #0,1,4: 51:[59, 49] Operation: 35+14=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[14, 24], Operations: ['38-24=14', '59-35=24'] Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,51 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 51:[59, 49], Operations: ['38-24=14', '35+14=49'] Exploring Operation: 59*49=2891, Resulting Numbers: [2891] 2891,51 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[59, 21], Operations: ['38-24=14', '35-14=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 51:[35, 45], Operations: ['38-24=14', '59-14=45'] Exploring Operation: 35*45=1575, Resulting Numbers: [1575] 1575,51 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 35+45=80, Resulting Numbers: [80] 80,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 51:[35, 73], Operations: ['38-24=14', '59+14=73'] Exploring Operation: 35+73=108, Resulting Numbers: [108] 108,51 unequal: No Solution Exploring Operation: 35*73=2555, Resulting Numbers: [2555] 2555,51 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,51 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: 51:[59, 38, 11], Operations: ['35-24=11'] Exploring Operation: 59-38=21, Resulting Numbers: [11, 21] Generated Node #0,3,0: 51:[11, 21] Operation: 59-38=21 Exploring Operation: 59+11=70, Resulting Numbers: [38, 70] Generated Node #0,3,1: 51:[38, 70] Operation: 59+11=70 Exploring Operation: 59-11=48, Resulting Numbers: [38, 48] Generated Node #0,3,2: 51:[38, 48] Operation: 59-11=48 Exploring Operation: 38-11=27, Resulting Numbers: [59, 27] Generated Node #0,3,3: 51:[59, 27] Operation: 38-11=27 Exploring Operation: 38+11=49, Resulting Numbers: [59, 49] Generated Node #0,3,4: 51:[59, 49] Operation: 38+11=49 Moving to Node #0,0 Current State: 51:[24, 38, 24], Operations: ['59-35=24'] Exploring Operation: 38-24=14, Resulting Numbers: [24, 14] Generated Node #0,0,0: 51:[24, 14] Operation: 38-24=14 Exploring Operation: 38-24=14, Resulting Numbers: [24, 14] Generated Node #0,0,1: 51:[24, 14] Operation: 38-24=14 Exploring Operation: 24-24=0, Resulting Numbers: [38, 0] Generated Node #0,0,2: 51:[38, 0] Operation: 24-24=0 Exploring Operation: 24+24=48, Resulting Numbers: [38, 48] Generated Node #0,0,3: 51:[38, 48] Operation: 24+24=48 Exploring Operation: 24/24=1, Resulting Numbers: [38, 1] Generated Node #0,0,4: 51:[38, 1] Operation: 24/24=1 Moving to Node #0,2 Current State: 51:[24, 35, 21], Operations: ['59-38=21'] Exploring Operation: 24-21=3, Resulting Numbers: [35, 3] Generated Node #0,2,0: 51:[35, 3] Operation: 24-21=3 Exploring Operation: 35-24=11, Resulting Numbers: [21, 11] Generated Node #0,2,1: 51:[21, 11] Operation: 35-24=11 Exploring Operation: 35+21=56, Resulting Numbers: [24, 56] Generated Node #0,2,2: 51:[24, 56] Operation: 35+21=56 Exploring Operation: 24+35=59, Resulting Numbers: [21, 59] Generated Node #0,2,3: 51:[21, 59] Operation: 24+35=59 Exploring Operation: 35-21=14, Resulting Numbers: [24, 14] Generated Node #0,2,4: 51:[24, 14] Operation: 35-21=14 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[21, 11], Operations: ['59-38=21', '35-24=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,51 unequal: No Solution Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 51:[24, 14], Operations: ['59-38=21', '35-21=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[24, 56], Operations: ['59-38=21', '35+21=56'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 24*56=1344, Resulting Numbers: [1344] 1344,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 51:[21, 59], Operations: ['59-38=21', '24+35=59'] Exploring Operation: 21*59=1239, Resulting Numbers: [1239] 1239,51 unequal: No Solution Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 21+59=80, Resulting Numbers: [80] 80,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[35, 3], Operations: ['59-38=21', '24-21=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,51 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,51 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: 51:[11, 21], Operations: ['35-24=11', '59-38=21'] Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 11*21=231, Resulting Numbers: [231] 231,51 unequal: No Solution Moving to Node #0,3,4 Current State: 51:[59, 49], Operations: ['35-24=11', '38+11=49'] Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,51 unequal: No Solution Exploring Operation: 59*49=2891, Resulting Numbers: [2891] 2891,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[24, 14], Operations: ['59-35=24', '38-24=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,51 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[24, 14], Operations: ['59-35=24', '38-24=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[24, 56], Operations: ['38-35=3', '59-3=56'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 24*56=1344, Resulting Numbers: [1344] 1344,51 unequal: No Solution Moving to Node #0,4,4 Current State: 51:[59, 21], Operations: ['38-35=3', '24-3=21'] Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,51 unequal: No Solution Moving to Node #0,4,0 Current State: 51:[59, 8], Operations: ['38-35=3', '24/3=8'] Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,51 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[59, 24, 38, 35], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [59, 24, 3] Generated Node #0,4: 51:[59, 24, 3] Operation: 38-35=3 Moving to Node #0,4 Current State: 51:[59, 24, 3], Operations: ['38-35=3'] Exploring Operation: 24/3=8, Resulting Numbers: [59, 8] Generated Node #0,4,0: 51:[59, 8] Operation: 24/3=8 Moving to Node #0,4,0 Current State: 51:[59, 8], Operations: ['38-35=3', '24/3=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.926215
hs_5
mult_heuristic
[ 30, 97, 55, 97 ]
86
[ "30+55=85", "97/97=1", "85+1=86" ]
Current State: 86:[30, 97, 55, 97], Operations: [] Exploring Operation: 30+55=85, Resulting Numbers: [97, 97, 85] Generated Node #2: [97, 97, 85] from Operation: 30+55=85 Current State: 86:[97, 97, 85], Operations: ['30+55=85'] Exploring Operation: 97/97=1, Resulting Numbers: [85, 1] Generated Node #3: [85, 1] from Operation: 97/97=1 Current State: 86:[85, 1], Operations: ['30+55=85', '97/97=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[30, 97, 55, 97], Operations: [] Exploring Operation: 30+55=85, Resulting Numbers: [97, 97, 85] Generated Node #0,0: 86:[97, 97, 85] Operation: 30+55=85 Exploring Operation: 97-55=42, Resulting Numbers: [30, 97, 42] Generated Node #0,1: 86:[30, 97, 42] Operation: 97-55=42 Exploring Operation: 97-55=42, Resulting Numbers: [30, 97, 42] Generated Node #0,2: 86:[30, 97, 42] Operation: 97-55=42 Moving to Node #0,0 Current State: 86:[97, 97, 85], Operations: ['30+55=85'] Exploring Operation: 97-85=12, Resulting Numbers: [97, 12] Generated Node #0,0,0: 86:[97, 12] Operation: 97-85=12 Exploring Operation: 97-97=0, Resulting Numbers: [85, 0] Generated Node #0,0,1: 86:[85, 0] Operation: 97-97=0 Exploring Operation: 97/97=1, Resulting Numbers: [85, 1] Generated Node #0,0,2: 86:[85, 1] Operation: 97/97=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[85, 1], Operations: ['30+55=85', '97/97=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[30, 97, 55, 97], Operations: [] Exploring Operation: 30+55=85, Resulting Numbers: [97, 97, 85] Generated Node #0,0: 86:[97, 97, 85] Operation: 30+55=85 Moving to Node #0,0 Current State: 86:[97, 97, 85], Operations: ['30+55=85'] Exploring Operation: 97/97=1, Resulting Numbers: [85, 1] Generated Node #0,0,2: 86:[85, 1] Operation: 97/97=1 Moving to Node #0,0,2 Current State: 86:[85, 1], Operations: ['30+55=85', '97/97=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 8, 75, 90, 30 ]
70
[ "8*75=600", "600/30=20", "90-20=70" ]
Current State: 70:[8, 75, 90, 30], Operations: [] Exploring Operation: 8*75=600, Resulting Numbers: [90, 30, 600] Generated Node #2: [90, 30, 600] from Operation: 8*75=600 Current State: 70:[90, 30, 600], Operations: ['8*75=600'] Exploring Operation: 600/30=20, Resulting Numbers: [90, 20] Generated Node #3: [90, 20] from Operation: 600/30=20 Current State: 70:[90, 20], Operations: ['8*75=600', '600/30=20'] Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[8, 75, 90, 30], Operations: [] Exploring Operation: 90-8=82, Resulting Numbers: [75, 30, 82] Generated Node #0,0: 70:[75, 30, 82] Operation: 90-8=82 Exploring Operation: 90-30=60, Resulting Numbers: [8, 75, 60] Generated Node #0,1: 70:[8, 75, 60] Operation: 90-30=60 Exploring Operation: 75-8=67, Resulting Numbers: [90, 30, 67] Generated Node #0,2: 70:[90, 30, 67] Operation: 75-8=67 Exploring Operation: 90/30=3, Resulting Numbers: [8, 75, 3] Generated Node #0,3: 70:[8, 75, 3] Operation: 90/30=3 Exploring Operation: 90-75=15, Resulting Numbers: [8, 30, 15] Generated Node #0,4: 70:[8, 30, 15] Operation: 90-75=15 Moving to Node #0,3 Current State: 70:[8, 75, 3], Operations: ['90/30=3'] Exploring Operation: 75+3=78, Resulting Numbers: [8, 78] Generated Node #0,3,0: 70:[8, 78] Operation: 75+3=78 Exploring Operation: 75-3=72, Resulting Numbers: [8, 72] Generated Node #0,3,1: 70:[8, 72] Operation: 75-3=72 Exploring Operation: 75-8=67, Resulting Numbers: [3, 67] Generated Node #0,3,2: 70:[3, 67] Operation: 75-8=67 Exploring Operation: 8+3=11, Resulting Numbers: [75, 11] Generated Node #0,3,3: 70:[75, 11] Operation: 8+3=11 Exploring Operation: 8-3=5, Resulting Numbers: [75, 5] Generated Node #0,3,4: 70:[75, 5] Operation: 8-3=5 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[8, 72], Operations: ['90/30=3', '75-3=72'] Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 8+72=80, Resulting Numbers: [80] 80,70 unequal: No Solution Exploring Operation: 8*72=576, Resulting Numbers: [576] 576,70 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[3, 67], Operations: ['90/30=3', '75-8=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[8, 75, 90, 30], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [8, 75, 3] Generated Node #0,3: 70:[8, 75, 3] Operation: 90/30=3 Moving to Node #0,3 Current State: 70:[8, 75, 3], Operations: ['90/30=3'] Exploring Operation: 75-8=67, Resulting Numbers: [3, 67] Generated Node #0,3,2: 70:[3, 67] Operation: 75-8=67 Moving to Node #0,3,2 Current State: 70:[3, 67], Operations: ['90/30=3', '75-8=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 86, 56, 51, 80 ]
96
[ "86*56=4816", "80+4816=4896", "4896/51=96" ]
Current State: 96:[86, 56, 51, 80], Operations: [] Exploring Operation: 86*56=4816, Resulting Numbers: [51, 80, 4816] Generated Node #2: [51, 80, 4816] from Operation: 86*56=4816 Current State: 96:[51, 80, 4816], Operations: ['86*56=4816'] Exploring Operation: 80+4816=4896, Resulting Numbers: [51, 4896] Generated Node #3: [51, 4896] from Operation: 80+4816=4896 Current State: 96:[51, 4896], Operations: ['86*56=4816', '80+4816=4896'] Exploring Operation: 4896/51=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[86, 56, 51, 80], Operations: [] Exploring Operation: 86-56=30, Resulting Numbers: [51, 80, 30] Generated Node #0,0: 96:[51, 80, 30] Operation: 86-56=30 Exploring Operation: 86-80=6, Resulting Numbers: [56, 51, 6] Generated Node #0,1: 96:[56, 51, 6] Operation: 86-80=6 Exploring Operation: 80-56=24, Resulting Numbers: [86, 51, 24] Generated Node #0,2: 96:[86, 51, 24] Operation: 80-56=24 Moving to Node #0,1 Current State: 96:[56, 51, 6], Operations: ['86-80=6'] Exploring Operation: 56+51=107, Resulting Numbers: [6, 107] Generated Node #0,1,0: 96:[6, 107] Operation: 56+51=107 Exploring Operation: 56-51=5, Resulting Numbers: [6, 5] Generated Node #0,1,1: 96:[6, 5] Operation: 56-51=5 Exploring Operation: 56-6=50, Resulting Numbers: [51, 50] Generated Node #0,1,2: 96:[51, 50] Operation: 56-6=50 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[6, 5], Operations: ['86-80=6', '56-51=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[51, 50], Operations: ['86-80=6', '56-6=50'] Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,96 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[6, 107], Operations: ['86-80=6', '56+51=107'] Exploring Operation: 6*107=642, Resulting Numbers: [642] 642,96 unequal: No Solution Exploring Operation: 6+107=113, Resulting Numbers: [113] 113,96 unequal: No Solution Exploring Operation: 107-6=101, Resulting Numbers: [101] 101,96 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: 96:[86, 51, 24], Operations: ['80-56=24'] Exploring Operation: 51-24=27, Resulting Numbers: [86, 27] Generated Node #0,2,0: 96:[86, 27] Operation: 51-24=27 Exploring Operation: 86-51=35, Resulting Numbers: [24, 35] Generated Node #0,2,1: 96:[24, 35] Operation: 86-51=35 Exploring Operation: 86+24=110, Resulting Numbers: [51, 110] Generated Node #0,2,2: 96:[51, 110] Operation: 86+24=110 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[24, 35], Operations: ['80-56=24', '86-51=35'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 24*35=840, Resulting Numbers: [840] 840,96 unequal: No Solution Exploring Operation: 24+35=59, Resulting Numbers: [59] 59,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[86, 27], Operations: ['80-56=24', '51-24=27'] Exploring Operation: 86*27=2322, Resulting Numbers: [2322] 2322,96 unequal: No Solution Exploring Operation: 86+27=113, Resulting Numbers: [113] 113,96 unequal: No Solution Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[51, 110], Operations: ['80-56=24', '86+24=110'] Exploring Operation: 51*110=5610, Resulting Numbers: [5610] 5610,96 unequal: No Solution Exploring Operation: 51+110=161, Resulting Numbers: [161] 161,96 unequal: No Solution Exploring Operation: 110-51=59, Resulting Numbers: [59] 59,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 96:[51, 80, 30], Operations: ['86-56=30'] Exploring Operation: 80-51=29, Resulting Numbers: [30, 29] Generated Node #0,0,0: 96:[30, 29] Operation: 80-51=29 Exploring Operation: 80+30=110, Resulting Numbers: [51, 110] Generated Node #0,0,1: 96:[51, 110] Operation: 80+30=110 Exploring Operation: 80-30=50, Resulting Numbers: [51, 50] Generated Node #0,0,2: 96:[51, 50] Operation: 80-30=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[30, 29], Operations: ['86-56=30', '80-51=29'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,96 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[51, 50], Operations: ['86-56=30', '80-30=50'] Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,96 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[51, 110], Operations: ['86-56=30', '80+30=110'] Exploring Operation: 51*110=5610, Resulting Numbers: [5610] 5610,96 unequal: No Solution Exploring Operation: 51+110=161, Resulting Numbers: [161] 161,96 unequal: No Solution Exploring Operation: 110-51=59, Resulting Numbers: [59] 59,96 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
[ 84, 14, 6, 84 ]
15
[ "84/14=6", "6+84=90", "90/6=15" ]
Current State: 15:[84, 14, 6, 84], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [6, 6] Generated Node #2: [6, 6] from Operation: 84/14=6 Current State: 15:[6, 6], Operations: ['84/14=6'] Exploring Operation: 6+84=90, Resulting Numbers: [90] 90,15 equal: Goal Reached Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[84, 14, 6, 84], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [14, 6, 0] Generated Node #0,0: 15:[14, 6, 0] Operation: 84-84=0 Exploring Operation: 84/14=6, Resulting Numbers: [6, 84, 6] Generated Node #0,1: 15:[6, 84, 6] Operation: 84/14=6 Exploring Operation: 84/14=6, Resulting Numbers: [84, 6, 6] Generated Node #0,2: 15:[84, 6, 6] Operation: 84/14=6 Exploring Operation: 84/84=1, Resulting Numbers: [14, 6, 1] Generated Node #0,3: 15:[14, 6, 1] Operation: 84/84=1 Exploring Operation: 84/6=14, Resulting Numbers: [14, 84, 14] Generated Node #0,4: 15:[14, 84, 14] Operation: 84/6=14 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[14, 6, 1], Operations: ['84/84=1'] Exploring Operation: 14+1=15, Resulting Numbers: [6, 15] Generated Node #0,3,0: 15:[6, 15] Operation: 14+1=15 Exploring Operation: 14*1=14, Resulting Numbers: [6, 14] Generated Node #0,3,1: 15:[6, 14] Operation: 14*1=14 Exploring Operation: 6*1=6, Resulting Numbers: [14, 6] Generated Node #0,3,2: 15:[14, 6] Operation: 6*1=6 Exploring Operation: 14/1=14, Resulting Numbers: [6, 14] Generated Node #0,3,3: 15:[6, 14] Operation: 14/1=14 Exploring Operation: 6-1=5, Resulting Numbers: [14, 5] Generated Node #0,3,4: 15:[14, 5] Operation: 6-1=5 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[6, 15], Operations: ['84/84=1', '14+1=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 15:[14, 5], Operations: ['84/84=1', '6-1=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 15:[6, 14], Operations: ['84/84=1', '14*1=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 15:[14, 6], Operations: ['84/84=1', '6*1=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 15:[6, 14], Operations: ['84/84=1', '14/1=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[14, 6, 0], Operations: ['84-84=0'] Exploring Operation: 6+0=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 15:[14, 6] Operation: 6+0=6 Exploring Operation: 14+0=14, Resulting Numbers: [6, 14] Generated Node #0,0,1: 15:[6, 14] Operation: 14+0=14 Exploring Operation: 14*0=0, Resulting Numbers: [6, 0] Generated Node #0,0,2: 15:[6, 0] Operation: 14*0=0 Exploring Operation: 14-0=14, Resulting Numbers: [6, 14] Generated Node #0,0,3: 15:[6, 14] Operation: 14-0=14 Exploring Operation: 6-0=6, Resulting Numbers: [14, 6] Generated Node #0,0,4: 15:[14, 6] Operation: 6-0=6 Moving to Node #0,0,0 Current State: 15:[14, 6], Operations: ['84-84=0', '6+0=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[6, 14], Operations: ['84-84=0', '14-0=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[6, 14], Operations: ['84-84=0', '14+0=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Moving to Node #0,0,4 Current State: 15:[14, 6], Operations: ['84-84=0', '6-0=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[6, 0], Operations: ['84-84=0', '14*0=0'] Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 6*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 6+0=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[6, 84, 6], Operations: ['84/14=6'] Exploring Operation: 84-6=78, Resulting Numbers: [6, 78] Generated Node #0,1,0: 15:[6, 78] Operation: 84-6=78 Exploring Operation: 84/6=14, Resulting Numbers: [6, 14] Generated Node #0,1,1: 15:[6, 14] Operation: 84/6=14 Exploring Operation: 84/6=14, Resulting Numbers: [6, 14] Generated Node #0,1,2: 15:[6, 14] Operation: 84/6=14 Exploring Operation: 6/6=1, Resulting Numbers: [84, 1] Generated Node #0,1,3: 15:[84, 1] Operation: 6/6=1 Exploring Operation: 84-6=78, Resulting Numbers: [6, 78] Generated Node #0,1,4: 15:[6, 78] Operation: 84-6=78 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[6, 14], Operations: ['84/14=6', '84/6=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[6, 14], Operations: ['84/14=6', '84/6=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[6, 78], Operations: ['84/14=6', '84-6=78'] Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,15 unequal: No Solution Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 15:[6, 78], Operations: ['84/14=6', '84-6=78'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,15 unequal: No Solution Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[84, 1], Operations: ['84/14=6', '6/6=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,15 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,15 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[84, 6, 6], Operations: ['84/14=6'] Exploring Operation: 84/6=14, Resulting Numbers: [6, 14] Generated Node #0,2,0: 15:[6, 14] Operation: 84/6=14 Exploring Operation: 84-6=78, Resulting Numbers: [6, 78] Generated Node #0,2,1: 15:[6, 78] Operation: 84-6=78 Exploring Operation: 84/6=14, Resulting Numbers: [6, 14] Generated Node #0,2,2: 15:[6, 14] Operation: 84/6=14 Exploring Operation: 6/6=1, Resulting Numbers: [84, 1] Generated Node #0,2,3: 15:[84, 1] Operation: 6/6=1 Exploring Operation: 84-6=78, Resulting Numbers: [6, 78] Generated Node #0,2,4: 15:[6, 78] Operation: 84-6=78 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[6, 14], Operations: ['84/14=6', '84/6=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[6, 14], Operations: ['84/14=6', '84/6=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[6, 78], Operations: ['84/14=6', '84-6=78'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,15 unequal: No Solution Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 15:[6, 78], Operations: ['84/14=6', '84-6=78'] Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,15 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 15:[84, 1], Operations: ['84/14=6', '6/6=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,15 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,15 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 15:[14, 84, 14], Operations: ['84/6=14'] Exploring Operation: 84-14=70, Resulting Numbers: [14, 70] Generated Node #0,4,0: 15:[14, 70] Operation: 84-14=70 Exploring Operation: 14/14=1, Resulting Numbers: [84, 1] Generated Node #0,4,1: 15:[84, 1] Operation: 14/14=1 Exploring Operation: 84-14=70, Resulting Numbers: [14, 70] Generated Node #0,4,2: 15:[14, 70] Operation: 84-14=70 Exploring Operation: 84/14=6, Resulting Numbers: [14, 6] Generated Node #0,4,3: 15:[14, 6] Operation: 84/14=6 Exploring Operation: 84/14=6, Resulting Numbers: [14, 6] Generated Node #0,4,4: 15:[14, 6] Operation: 84/14=6 Moving to Node #0,4,3 Current State: 15:[14, 6], Operations: ['84/6=14', '84/14=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,15 unequal: No Solution Moving to Node #0,4,4 Current State: 15:[14, 6], Operations: ['84/6=14', '84/14=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,15 unequal: No Solution Moving to Node #0,4,0 Current State: 15:[14, 70], Operations: ['84/6=14', '84-14=70'] Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 14*70=980, Resulting Numbers: [980] 980,15 unequal: No Solution Exploring Operation: 14+70=84, Resulting Numbers: [84] 84,15 unequal: No Solution Moving to Node #0,4,2 Current State: 15:[14, 70], Operations: ['84/6=14', '84-14=70'] Exploring Operation: 14+70=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 14*70=980, Resulting Numbers: [980] 980,15 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,4,1 Current State: 15:[84, 1], Operations: ['84/6=14', '14/14=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,15 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,15 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 15, 11, 27, 8 ]
21
[ "27*8=216", "15+216=231", "231/11=21" ]
Current State: 21:[15, 11, 27, 8], Operations: [] Exploring Operation: 27*8=216, Resulting Numbers: [15, 11, 216] Generated Node #2: [15, 11, 216] from Operation: 27*8=216 Current State: 21:[15, 11, 216], Operations: ['27*8=216'] Exploring Operation: 15+216=231, Resulting Numbers: [11, 231] Generated Node #3: [11, 231] from Operation: 15+216=231 Current State: 21:[11, 231], Operations: ['27*8=216', '15+216=231'] Exploring Operation: 231/11=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[15, 11, 27, 8], Operations: [] Exploring Operation: 27-15=12, Resulting Numbers: [11, 8, 12] Generated Node #0,0: 21:[11, 8, 12] Operation: 27-15=12 Exploring Operation: 15-11=4, Resulting Numbers: [27, 8, 4] Generated Node #0,1: 21:[27, 8, 4] Operation: 15-11=4 Moving to Node #0,1 Current State: 21:[27, 8, 4], Operations: ['15-11=4'] Exploring Operation: 27-8=19, Resulting Numbers: [4, 19] Generated Node #0,1,0: 21:[4, 19] Operation: 27-8=19 Exploring Operation: 27-4=23, Resulting Numbers: [8, 23] Generated Node #0,1,1: 21:[8, 23] Operation: 27-4=23 Moving to Node #0,0 Current State: 21:[11, 8, 12], Operations: ['27-15=12'] Exploring Operation: 12-11=1, Resulting Numbers: [8, 1] Generated Node #0,0,0: 21:[8, 1] Operation: 12-11=1 Exploring Operation: 11+12=23, Resulting Numbers: [8, 23] Generated Node #0,0,1: 21:[8, 23] Operation: 11+12=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[8, 1], Operations: ['27-15=12', '12-11=1'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[8, 23], Operations: ['27-15=12', '11+12=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 21:[4, 19], Operations: ['15-11=4', '27-8=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[8, 23], Operations: ['15-11=4', '27-4=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,21 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 15, 63, 24, 10 ]
82
[ "63-15=48", "24+10=34", "48+34=82" ]
Current State: 82:[15, 63, 24, 10], Operations: [] Exploring Operation: 63-15=48, Resulting Numbers: [24, 10, 48] Generated Node #2: [24, 10, 48] from Operation: 63-15=48 Current State: 82:[24, 10, 48], Operations: ['63-15=48'] Exploring Operation: 24+10=34, Resulting Numbers: [48, 34] Generated Node #3: [48, 34] from Operation: 24+10=34 Current State: 82:[48, 34], Operations: ['63-15=48', '24+10=34'] Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[15, 63, 24, 10], Operations: [] Exploring Operation: 63-24=39, Resulting Numbers: [15, 10, 39] Generated Node #0,0: 82:[15, 10, 39] Operation: 63-24=39 Exploring Operation: 15+24=39, Resulting Numbers: [63, 10, 39] Generated Node #0,1: 82:[63, 10, 39] Operation: 15+24=39 Exploring Operation: 15+63=78, Resulting Numbers: [24, 10, 78] Generated Node #0,2: 82:[24, 10, 78] Operation: 15+63=78 Exploring Operation: 63+24=87, Resulting Numbers: [15, 10, 87] Generated Node #0,3: 82:[15, 10, 87] Operation: 63+24=87 Moving to Node #0,0 Current State: 82:[15, 10, 39], Operations: ['63-24=39'] Exploring Operation: 10+39=49, Resulting Numbers: [15, 49] Generated Node #0,0,0: 82:[15, 49] Operation: 10+39=49 Exploring Operation: 15+10=25, Resulting Numbers: [39, 25] Generated Node #0,0,1: 82:[39, 25] Operation: 15+10=25 Exploring Operation: 15+39=54, Resulting Numbers: [10, 54] Generated Node #0,0,2: 82:[10, 54] Operation: 15+39=54 Exploring Operation: 15-10=5, Resulting Numbers: [39, 5] Generated Node #0,0,3: 82:[39, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 82:[39, 5], Operations: ['63-24=39', '15-10=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,82 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,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:[39, 25], Operations: ['63-24=39', '15+10=25'] Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,82 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,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:[15, 49], Operations: ['63-24=39', '10+39=49'] Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,82 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,82 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,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:[10, 54], Operations: ['63-24=39', '15+39=54'] Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,82 unequal: No Solution Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,82 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,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:[15, 10, 87], Operations: ['63+24=87'] Exploring Operation: 87-15=72, Resulting Numbers: [10, 72] Generated Node #0,3,0: 82:[10, 72] Operation: 87-15=72 Exploring Operation: 15+10=25, Resulting Numbers: [87, 25] Generated Node #0,3,1: 82:[87, 25] Operation: 15+10=25 Exploring Operation: 87-10=77, Resulting Numbers: [15, 77] Generated Node #0,3,2: 82:[15, 77] Operation: 87-10=77 Exploring Operation: 15-10=5, Resulting Numbers: [87, 5] Generated Node #0,3,3: 82:[87, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[87, 5], Operations: ['63+24=87', '15-10=5'] Exploring Operation: 87+5=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[15, 63, 24, 10], Operations: [] Exploring Operation: 63+24=87, Resulting Numbers: [15, 10, 87] Generated Node #0,3: 82:[15, 10, 87] Operation: 63+24=87 Moving to Node #0,3 Current State: 82:[15, 10, 87], Operations: ['63+24=87'] Exploring Operation: 15-10=5, Resulting Numbers: [87, 5] Generated Node #0,3,3: 82:[87, 5] Operation: 15-10=5 Moving to Node #0,3,3 Current State: 82:[87, 5], Operations: ['63+24=87', '15-10=5'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 57, 1, 10, 94 ]
27
[ "57*1=57", "94-10=84", "84-57=27" ]
Current State: 27:[57, 1, 10, 94], Operations: [] Exploring Operation: 57*1=57, Resulting Numbers: [10, 94, 57] Generated Node #2: [10, 94, 57] from Operation: 57*1=57 Current State: 27:[10, 94, 57], Operations: ['57*1=57'] Exploring Operation: 94-10=84, Resulting Numbers: [57, 84] Generated Node #3: [57, 84] from Operation: 94-10=84 Current State: 27:[57, 84], Operations: ['57*1=57', '94-10=84'] Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[57, 1, 10, 94], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [1, 10, 37] Generated Node #0,0: 27:[1, 10, 37] Operation: 94-57=37 Moving to Node #0,0 Current State: 27:[1, 10, 37], Operations: ['94-57=37'] Exploring Operation: 37-10=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 27:[1, 27] Operation: 37-10=27 Moving to Node #0,0,0 Current State: 27:[1, 27], Operations: ['94-57=37', '37-10=27'] Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[57, 1, 10, 94], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [1, 10, 37] Generated Node #0,0: 27:[1, 10, 37] Operation: 94-57=37 Moving to Node #0,0 Current State: 27:[1, 10, 37], Operations: ['94-57=37'] Exploring Operation: 37-10=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 27:[1, 27] Operation: 37-10=27 Moving to Node #0,0,0 Current State: 27:[1, 27], Operations: ['94-57=37', '37-10=27'] Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 49, 55, 2, 93 ]
89
[ "55-49=6", "2+93=95", "95-6=89" ]
Current State: 89:[49, 55, 2, 93], Operations: [] Exploring Operation: 55-49=6, Resulting Numbers: [2, 93, 6] Generated Node #2: [2, 93, 6] from Operation: 55-49=6 Current State: 89:[2, 93, 6], Operations: ['55-49=6'] Exploring Operation: 2+93=95, Resulting Numbers: [6, 95] Generated Node #3: [6, 95] from Operation: 2+93=95 Current State: 89:[6, 95], Operations: ['55-49=6', '2+93=95'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[49, 55, 2, 93], Operations: [] Exploring Operation: 49+2=51, Resulting Numbers: [55, 93, 51] Generated Node #0,0: 89:[55, 93, 51] Operation: 49+2=51 Exploring Operation: 55*2=110, Resulting Numbers: [49, 93, 110] Generated Node #0,1: 89:[49, 93, 110] Operation: 55*2=110 Exploring Operation: 49*2=98, Resulting Numbers: [55, 93, 98] Generated Node #0,2: 89:[55, 93, 98] Operation: 49*2=98 Moving to Node #0,2 Current State: 89:[55, 93, 98], Operations: ['49*2=98'] Exploring Operation: 55+93=148, Resulting Numbers: [98, 148] Generated Node #0,2,0: 89:[98, 148] Operation: 55+93=148 Exploring Operation: 93-55=38, Resulting Numbers: [98, 38] Generated Node #0,2,1: 89:[98, 38] Operation: 93-55=38 Exploring Operation: 98-55=43, Resulting Numbers: [93, 43] Generated Node #0,2,2: 89:[93, 43] Operation: 98-55=43 Moving to Node #0,1 Current State: 89:[49, 93, 110], Operations: ['55*2=110'] Exploring Operation: 93-49=44, Resulting Numbers: [110, 44] Generated Node #0,1,0: 89:[110, 44] Operation: 93-49=44 Exploring Operation: 49+93=142, Resulting Numbers: [110, 142] Generated Node #0,1,1: 89:[110, 142] Operation: 49+93=142 Exploring Operation: 110-49=61, Resulting Numbers: [93, 61] Generated Node #0,1,2: 89:[93, 61] Operation: 110-49=61 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[93, 61], Operations: ['55*2=110', '110-49=61'] Exploring Operation: 93+61=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 93*61=5673, Resulting Numbers: [5673] 5673,89 unequal: No Solution Exploring Operation: 93-61=32, Resulting Numbers: [32] 32,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[110, 44], Operations: ['55*2=110', '93-49=44'] Exploring Operation: 110-44=66, Resulting Numbers: [66] 66,89 unequal: No Solution Exploring Operation: 110+44=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 110*44=4840, Resulting Numbers: [4840] 4840,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[110, 142], Operations: ['55*2=110', '49+93=142'] Exploring Operation: 110+142=252, Resulting Numbers: [252] 252,89 unequal: No Solution Exploring Operation: 110*142=15620, Resulting Numbers: [15620] 15620,89 unequal: No Solution Exploring Operation: 142-110=32, Resulting Numbers: [32] 32,89 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: 89:[55, 93, 51], Operations: ['49+2=51'] Exploring Operation: 93-55=38, Resulting Numbers: [51, 38] Generated Node #0,0,0: 89:[51, 38] Operation: 93-55=38 Exploring Operation: 55+51=106, Resulting Numbers: [93, 106] Generated Node #0,0,1: 89:[93, 106] Operation: 55+51=106 Exploring Operation: 93-51=42, Resulting Numbers: [55, 42] Generated Node #0,0,2: 89:[55, 42] Operation: 93-51=42 Moving to Node #0,0,1 Current State: 89:[93, 106], Operations: ['49+2=51', '55+51=106'] Exploring Operation: 93+106=199, Resulting Numbers: [199] 199,89 unequal: No Solution Exploring Operation: 106-93=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 93*106=9858, Resulting Numbers: [9858] 9858,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[93, 43], Operations: ['49*2=98', '98-55=43'] Exploring Operation: 93*43=3999, Resulting Numbers: [3999] 3999,89 unequal: No Solution Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 93+43=136, Resulting Numbers: [136] 136,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[98, 38], Operations: ['49*2=98', '93-55=38'] Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 98*38=3724, Resulting Numbers: [3724] 3724,89 unequal: No Solution Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[98, 148], Operations: ['49*2=98', '55+93=148'] Exploring Operation: 98*148=14504, Resulting Numbers: [14504] 14504,89 unequal: No Solution Exploring Operation: 98+148=246, Resulting Numbers: [246] 246,89 unequal: No Solution Exploring Operation: 148-98=50, Resulting Numbers: [50] 50,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[55, 42], Operations: ['49+2=51', '93-51=42'] Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,89 unequal: No Solution Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[51, 38], Operations: ['49+2=51', '93-55=38'] Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,89 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[49, 55, 2, 93], Operations: [] Exploring Operation: 49+2=51, Resulting Numbers: [55, 93, 51] Generated Node #0,0: 89:[55, 93, 51] Operation: 49+2=51 Moving to Node #0,0 Current State: 89:[55, 93, 51], Operations: ['49+2=51'] Exploring Operation: 93-55=38, Resulting Numbers: [51, 38] Generated Node #0,0,0: 89:[51, 38] Operation: 93-55=38 Moving to Node #0,0,0 Current State: 89:[51, 38], Operations: ['49+2=51', '93-55=38'] Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.962674
hs_3
sum_heuristic
[ 92, 76, 18, 66 ]
13
[ "92+76=168", "66+168=234", "234/18=13" ]
Current State: 13:[92, 76, 18, 66], Operations: [] Exploring Operation: 92+76=168, Resulting Numbers: [18, 66, 168] Generated Node #2: [18, 66, 168] from Operation: 92+76=168 Current State: 13:[18, 66, 168], Operations: ['92+76=168'] Exploring Operation: 66+168=234, Resulting Numbers: [18, 234] Generated Node #3: [18, 234] from Operation: 66+168=234 Current State: 13:[18, 234], Operations: ['92+76=168', '66+168=234'] Exploring Operation: 234/18=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[92, 76, 18, 66], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [18, 66, 16] Generated Node #0,0: 13:[18, 66, 16] Operation: 92-76=16 Exploring Operation: 92-66=26, Resulting Numbers: [76, 18, 26] Generated Node #0,1: 13:[76, 18, 26] Operation: 92-66=26 Moving to Node #0,0 Current State: 13:[18, 66, 16], Operations: ['92-76=16'] Exploring Operation: 66-16=50, Resulting Numbers: [18, 50] Generated Node #0,0,0: 13:[18, 50] Operation: 66-16=50 Exploring Operation: 66-18=48, Resulting Numbers: [16, 48] Generated Node #0,0,1: 13:[16, 48] Operation: 66-18=48 Moving to Node #0,1 Current State: 13:[76, 18, 26], Operations: ['92-66=26'] Exploring Operation: 76-26=50, Resulting Numbers: [18, 50] Generated Node #0,1,0: 13:[18, 50] Operation: 76-26=50 Exploring Operation: 76-18=58, Resulting Numbers: [26, 58] Generated Node #0,1,1: 13:[26, 58] Operation: 76-18=58 Moving to Node #0,0,1 Current State: 13:[16, 48], Operations: ['92-76=16', '66-18=48'] Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[18, 50], Operations: ['92-66=26', '76-26=50'] Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 18+50=68, Resulting Numbers: [68] 68,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[18, 50], Operations: ['92-76=16', '66-16=50'] Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 18+50=68, Resulting Numbers: [68] 68,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[26, 58], Operations: ['92-66=26', '76-18=58'] Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,13 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 35, 70, 53, 13 ]
14
[ "53-35=18", "18-13=5", "70/5=14" ]
Current State: 14:[35, 70, 53, 13], Operations: [] Exploring Operation: 53-35=18, Resulting Numbers: [70, 13, 18] Generated Node #2: [70, 13, 18] from Operation: 53-35=18 Current State: 14:[70, 13, 18], Operations: ['53-35=18'] Exploring Operation: 18-13=5, Resulting Numbers: [70, 5] Generated Node #3: [70, 5] from Operation: 18-13=5 Current State: 14:[70, 5], Operations: ['53-35=18', '18-13=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[35, 70, 53, 13], Operations: [] Exploring Operation: 70-53=17, Resulting Numbers: [35, 13, 17] Generated Node #0,0: 14:[35, 13, 17] Operation: 70-53=17 Exploring Operation: 70/35=2, Resulting Numbers: [53, 13, 2] Generated Node #0,1: 14:[53, 13, 2] Operation: 70/35=2 Exploring Operation: 70-35=35, Resulting Numbers: [53, 13, 35] Generated Node #0,2: 14:[53, 13, 35] Operation: 70-35=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[35, 13, 17], Operations: ['70-53=17'] Exploring Operation: 35-17=18, Resulting Numbers: [13, 18] Generated Node #0,0,0: 14:[13, 18] Operation: 35-17=18 Exploring Operation: 35-13=22, Resulting Numbers: [17, 22] Generated Node #0,0,1: 14:[17, 22] Operation: 35-13=22 Exploring Operation: 17-13=4, Resulting Numbers: [35, 4] Generated Node #0,0,2: 14:[35, 4] Operation: 17-13=4 Moving to Node #0,0,0 Current State: 14:[13, 18], Operations: ['70-53=17', '35-17=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[17, 22], Operations: ['70-53=17', '35-13=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,14 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[35, 4], Operations: ['70-53=17', '17-13=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[53, 13, 2], Operations: ['70/35=2'] Exploring Operation: 13+2=15, Resulting Numbers: [53, 15] Generated Node #0,1,0: 14:[53, 15] Operation: 13+2=15 Exploring Operation: 53-2=51, Resulting Numbers: [13, 51] Generated Node #0,1,1: 14:[13, 51] Operation: 53-2=51 Exploring Operation: 53-13=40, Resulting Numbers: [2, 40] Generated Node #0,1,2: 14:[2, 40] Operation: 53-13=40 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 14:[2, 40], Operations: ['70/35=2', '53-13=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,14 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[13, 51], Operations: ['70/35=2', '53-2=51'] Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,14 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 13*51=663, Resulting Numbers: [663] 663,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[53, 15], Operations: ['70/35=2', '13+2=15'] Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,14 unequal: No Solution Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[53, 13, 35], Operations: ['70-35=35'] Exploring Operation: 35-13=22, Resulting Numbers: [53, 22] Generated Node #0,2,0: 14:[53, 22] Operation: 35-13=22 Exploring Operation: 53-35=18, Resulting Numbers: [13, 18] Generated Node #0,2,1: 14:[13, 18] Operation: 53-35=18 Exploring Operation: 53-13=40, Resulting Numbers: [35, 40] Generated Node #0,2,2: 14:[35, 40] Operation: 53-13=40 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 14:[13, 18], Operations: ['70-35=35', '53-35=18'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,14 unequal: No Solution Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[53, 22], Operations: ['70-35=35', '35-13=22'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 53+22=75, Resulting Numbers: [75] 75,14 unequal: No Solution Exploring Operation: 53*22=1166, Resulting Numbers: [1166] 1166,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[35, 40], Operations: ['70-35=35', '53-13=40'] Exploring Operation: 35*40=1400, Resulting Numbers: [1400] 1400,14 unequal: No Solution Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 51, 13, 19, 11 ]
46
[ "51-13=38", "19-11=8", "38+8=46" ]
Current State: 46:[51, 13, 19, 11], Operations: [] Exploring Operation: 51-13=38, Resulting Numbers: [19, 11, 38] Generated Node #2: [19, 11, 38] from Operation: 51-13=38 Current State: 46:[19, 11, 38], Operations: ['51-13=38'] Exploring Operation: 19-11=8, Resulting Numbers: [38, 8] Generated Node #3: [38, 8] from Operation: 19-11=8 Current State: 46:[38, 8], Operations: ['51-13=38', '19-11=8'] Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[51, 13, 19, 11], Operations: [] Exploring Operation: 19-13=6, Resulting Numbers: [51, 11, 6] Generated Node #0,0: 46:[51, 11, 6] Operation: 19-13=6 Exploring Operation: 51-13=38, Resulting Numbers: [19, 11, 38] Generated Node #0,1: 46:[19, 11, 38] Operation: 51-13=38 Exploring Operation: 13+11=24, Resulting Numbers: [51, 19, 24] Generated Node #0,2: 46:[51, 19, 24] Operation: 13+11=24 Exploring Operation: 51-11=40, Resulting Numbers: [13, 19, 40] Generated Node #0,3: 46:[13, 19, 40] Operation: 51-11=40 Exploring Operation: 13-11=2, Resulting Numbers: [51, 19, 2] Generated Node #0,4: 46:[51, 19, 2] Operation: 13-11=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[51, 19, 2], Operations: ['13-11=2'] Exploring Operation: 51+2=53, Resulting Numbers: [19, 53] Generated Node #0,4,0: 46:[19, 53] Operation: 51+2=53 Exploring Operation: 51-2=49, Resulting Numbers: [19, 49] Generated Node #0,4,1: 46:[19, 49] Operation: 51-2=49 Exploring Operation: 19+2=21, Resulting Numbers: [51, 21] Generated Node #0,4,2: 46:[51, 21] Operation: 19+2=21 Exploring Operation: 19-2=17, Resulting Numbers: [51, 17] Generated Node #0,4,3: 46:[51, 17] Operation: 19-2=17 Exploring Operation: 51-19=32, Resulting Numbers: [2, 32] Generated Node #0,4,4: 46:[2, 32] Operation: 51-19=32 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 46:[19, 49], Operations: ['13-11=2', '51-2=49'] Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,46 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 46:[51, 21], Operations: ['13-11=2', '19+2=21'] Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,46 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 46:[2, 32], Operations: ['13-11=2', '51-19=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 46:[19, 53], Operations: ['13-11=2', '51+2=53'] Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,46 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 46:[51, 17], Operations: ['13-11=2', '19-2=17'] Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,46 unequal: No Solution Exploring Operation: 51*17=867, Resulting Numbers: [867] 867,46 unequal: No Solution Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[51, 19, 24], Operations: ['13+11=24'] Exploring Operation: 24-19=5, Resulting Numbers: [51, 5] Generated Node #0,2,0: 46:[51, 5] Operation: 24-19=5 Exploring Operation: 51-24=27, Resulting Numbers: [19, 27] Generated Node #0,2,1: 46:[19, 27] Operation: 51-24=27 Exploring Operation: 51-19=32, Resulting Numbers: [24, 32] Generated Node #0,2,2: 46:[24, 32] Operation: 51-19=32 Exploring Operation: 51+19=70, Resulting Numbers: [24, 70] Generated Node #0,2,3: 46:[24, 70] Operation: 51+19=70 Exploring Operation: 19+24=43, Resulting Numbers: [51, 43] Generated Node #0,2,4: 46:[51, 43] Operation: 19+24=43 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[51, 5], Operations: ['13+11=24', '24-19=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[51, 13, 19, 11], Operations: [] Exploring Operation: 13+11=24, Resulting Numbers: [51, 19, 24] Generated Node #0,2: 46:[51, 19, 24] Operation: 13+11=24 Moving to Node #0,2 Current State: 46:[51, 19, 24], Operations: ['13+11=24'] Exploring Operation: 24-19=5, Resulting Numbers: [51, 5] Generated Node #0,2,0: 46:[51, 5] Operation: 24-19=5 Moving to Node #0,2,0 Current State: 46:[51, 5], Operations: ['13+11=24', '24-19=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 65, 72, 5, 92 ]
61
[ "92-72=20", "20/5=4", "65-4=61" ]
Current State: 61:[65, 72, 5, 92], Operations: [] Exploring Operation: 92-72=20, Resulting Numbers: [65, 5, 20] Generated Node #2: [65, 5, 20] from Operation: 92-72=20 Current State: 61:[65, 5, 20], Operations: ['92-72=20'] Exploring Operation: 20/5=4, Resulting Numbers: [65, 4] Generated Node #3: [65, 4] from Operation: 20/5=4 Current State: 61:[65, 4], Operations: ['92-72=20', '20/5=4'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[65, 72, 5, 92], Operations: [] Exploring Operation: 65-5=60, Resulting Numbers: [72, 92, 60] Generated Node #0,0: 61:[72, 92, 60] Operation: 65-5=60 Exploring Operation: 92-5=87, Resulting Numbers: [65, 72, 87] Generated Node #0,1: 61:[65, 72, 87] Operation: 92-5=87 Exploring Operation: 72-5=67, Resulting Numbers: [65, 92, 67] Generated Node #0,2: 61:[65, 92, 67] Operation: 72-5=67 Moving to Node #0,1 Current State: 61:[65, 72, 87], Operations: ['92-5=87'] Exploring Operation: 72-65=7, Resulting Numbers: [87, 7] Generated Node #0,1,0: 61:[87, 7] Operation: 72-65=7 Exploring Operation: 87-72=15, Resulting Numbers: [65, 15] Generated Node #0,1,1: 61:[65, 15] Operation: 87-72=15 Exploring Operation: 87-65=22, Resulting Numbers: [72, 22] Generated Node #0,1,2: 61:[72, 22] Operation: 87-65=22 Moving to Node #0,2 Current State: 61:[65, 92, 67], Operations: ['72-5=67'] Exploring Operation: 92-65=27, Resulting Numbers: [67, 27] Generated Node #0,2,0: 61:[67, 27] Operation: 92-65=27 Exploring Operation: 67-65=2, Resulting Numbers: [92, 2] Generated Node #0,2,1: 61:[92, 2] Operation: 67-65=2 Exploring Operation: 92-67=25, Resulting Numbers: [65, 25] Generated Node #0,2,2: 61:[65, 25] Operation: 92-67=25 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[67, 27], Operations: ['72-5=67', '92-65=27'] Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,61 unequal: No Solution Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 67*27=1809, Resulting Numbers: [1809] 1809,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,2,2 Current State: 61:[65, 25], Operations: ['72-5=67', '92-67=25'] Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,61 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,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,2,1 Current State: 61:[92, 2], Operations: ['72-5=67', '67-65=2'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,61 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: 61:[72, 92, 60], Operations: ['65-5=60'] Exploring Operation: 92-60=32, Resulting Numbers: [72, 32] Generated Node #0,0,0: 61:[72, 32] Operation: 92-60=32 Exploring Operation: 92-72=20, Resulting Numbers: [60, 20] Generated Node #0,0,1: 61:[60, 20] Operation: 92-72=20 Exploring Operation: 72-60=12, Resulting Numbers: [92, 12] Generated Node #0,0,2: 61:[92, 12] Operation: 72-60=12 Moving to Node #0,0,0 Current State: 61:[72, 32], Operations: ['65-5=60', '92-60=32'] Exploring Operation: 72+32=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 72*32=2304, Resulting Numbers: [2304] 2304,61 unequal: No Solution Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[60, 20], Operations: ['65-5=60', '92-72=20'] Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,61 unequal: No Solution Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[65, 15], Operations: ['92-5=87', '87-72=15'] Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,61 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[72, 22], Operations: ['92-5=87', '87-65=22'] Exploring Operation: 72*22=1584, Resulting Numbers: [1584] 1584,61 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 72+22=94, Resulting Numbers: [94] 94,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[92, 12], Operations: ['65-5=60', '72-60=12'] Exploring Operation: 92+12=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 92*12=1104, Resulting Numbers: [1104] 1104,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[87, 7], Operations: ['92-5=87', '72-65=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,61 unequal: No Solution Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,61 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 56, 22, 78, 14 ]
71
[ "22-14=8", "56/8=7", "78-7=71" ]
Current State: 71:[56, 22, 78, 14], Operations: [] Exploring Operation: 22-14=8, Resulting Numbers: [56, 78, 8] Generated Node #2: [56, 78, 8] from Operation: 22-14=8 Current State: 71:[56, 78, 8], Operations: ['22-14=8'] Exploring Operation: 56/8=7, Resulting Numbers: [78, 7] Generated Node #3: [78, 7] from Operation: 56/8=7 Current State: 71:[78, 7], Operations: ['22-14=8', '56/8=7'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[56, 22, 78, 14], Operations: [] Exploring Operation: 22+14=36, Resulting Numbers: [56, 78, 36] Generated Node #0,0: 71:[56, 78, 36] Operation: 22+14=36 Exploring Operation: 56+14=70, Resulting Numbers: [22, 78, 70] Generated Node #0,1: 71:[22, 78, 70] Operation: 56+14=70 Exploring Operation: 56+22=78, Resulting Numbers: [78, 14, 78] Generated Node #0,2: 71:[78, 14, 78] Operation: 56+22=78 Moving to Node #0,0 Current State: 71:[56, 78, 36], Operations: ['22+14=36'] Exploring Operation: 56+36=92, Resulting Numbers: [78, 92] Generated Node #0,0,0: 71:[78, 92] Operation: 56+36=92 Exploring Operation: 78-36=42, Resulting Numbers: [56, 42] Generated Node #0,0,1: 71:[56, 42] Operation: 78-36=42 Exploring Operation: 56-36=20, Resulting Numbers: [78, 20] Generated Node #0,0,2: 71:[78, 20] Operation: 56-36=20 Moving to Node #0,1 Current State: 71:[22, 78, 70], Operations: ['56+14=70'] Exploring Operation: 22+78=100, Resulting Numbers: [70, 100] Generated Node #0,1,0: 71:[70, 100] Operation: 22+78=100 Exploring Operation: 22+70=92, Resulting Numbers: [78, 92] Generated Node #0,1,1: 71:[78, 92] Operation: 22+70=92 Exploring Operation: 78-22=56, Resulting Numbers: [70, 56] Generated Node #0,1,2: 71:[70, 56] Operation: 78-22=56 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[70, 56], Operations: ['56+14=70', '78-22=56'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,71 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,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,1,1 Current State: 71:[78, 92], Operations: ['56+14=70', '22+70=92'] Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,71 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,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,1,0 Current State: 71:[70, 100], Operations: ['56+14=70', '22+78=100'] Exploring Operation: 70*100=7000, Resulting Numbers: [7000] 7000,71 unequal: No Solution Exploring Operation: 70+100=170, Resulting Numbers: [170] 170,71 unequal: No Solution Exploring Operation: 100-70=30, Resulting Numbers: [30] 30,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:[78, 14, 78], Operations: ['56+22=78'] Exploring Operation: 78+14=92, Resulting Numbers: [78, 92] Generated Node #0,2,0: 71:[78, 92] Operation: 78+14=92 Exploring Operation: 78-14=64, Resulting Numbers: [78, 64] Generated Node #0,2,1: 71:[78, 64] Operation: 78-14=64 Exploring Operation: 78-14=64, Resulting Numbers: [78, 64] Generated Node #0,2,2: 71:[78, 64] Operation: 78-14=64 Moving to Node #0,2,1 Current State: 71:[78, 64], Operations: ['56+22=78', '78-14=64'] Exploring Operation: 78*64=4992, Resulting Numbers: [4992] 4992,71 unequal: No Solution Exploring Operation: 78+64=142, Resulting Numbers: [142] 142,71 unequal: No Solution Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[78, 64], Operations: ['56+22=78', '78-14=64'] Exploring Operation: 78+64=142, Resulting Numbers: [142] 142,71 unequal: No Solution Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 78*64=4992, Resulting Numbers: [4992] 4992,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[78, 92], Operations: ['56+22=78', '78+14=92'] Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,71 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[78, 92], Operations: ['22+14=36', '56+36=92'] Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,71 unequal: No Solution Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,71 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[56, 42], Operations: ['22+14=36', '78-36=42'] Exploring Operation: 56+42=98, Resulting Numbers: [98] 98,71 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 56*42=2352, Resulting Numbers: [2352] 2352,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[78, 20], Operations: ['22+14=36', '56-36=20'] Exploring Operation: 78+20=98, Resulting Numbers: [98] 98,71 unequal: No Solution Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 78*20=1560, Resulting Numbers: [1560] 1560,71 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 63, 21, 24, 84 ]
76
[ "63/21=3", "24/3=8", "84-8=76" ]
Current State: 76:[63, 21, 24, 84], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [24, 84, 3] Generated Node #2: [24, 84, 3] from Operation: 63/21=3 Current State: 76:[24, 84, 3], Operations: ['63/21=3'] Exploring Operation: 24/3=8, Resulting Numbers: [84, 8] Generated Node #3: [84, 8] from Operation: 24/3=8 Current State: 76:[84, 8], Operations: ['63/21=3', '24/3=8'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[63, 21, 24, 84], Operations: [] Exploring Operation: 63-24=39, Resulting Numbers: [21, 84, 39] Generated Node #0,0: 76:[21, 84, 39] Operation: 63-24=39 Exploring Operation: 63/21=3, Resulting Numbers: [24, 84, 3] Generated Node #0,1: 76:[24, 84, 3] Operation: 63/21=3 Exploring Operation: 84/21=4, Resulting Numbers: [63, 24, 4] Generated Node #0,2: 76:[63, 24, 4] Operation: 84/21=4 Exploring Operation: 84-63=21, Resulting Numbers: [21, 24, 21] Generated Node #0,3: 76:[21, 24, 21] Operation: 84-63=21 Exploring Operation: 63-21=42, Resulting Numbers: [24, 84, 42] Generated Node #0,4: 76:[24, 84, 42] Operation: 63-21=42 Moving to Node #0,3 Current State: 76:[21, 24, 21], Operations: ['84-63=21'] Exploring Operation: 21-21=0, Resulting Numbers: [24, 0] Generated Node #0,3,0: 76:[24, 0] Operation: 21-21=0 Exploring Operation: 24-21=3, Resulting Numbers: [21, 3] Generated Node #0,3,1: 76:[21, 3] Operation: 24-21=3 Exploring Operation: 21+24=45, Resulting Numbers: [21, 45] Generated Node #0,3,2: 76:[21, 45] Operation: 21+24=45 Exploring Operation: 24-21=3, Resulting Numbers: [21, 3] Generated Node #0,3,3: 76:[21, 3] Operation: 24-21=3 Exploring Operation: 21/21=1, Resulting Numbers: [24, 1] Generated Node #0,3,4: 76:[24, 1] Operation: 21/21=1 Moving to Node #0,0 Current State: 76:[21, 84, 39], Operations: ['63-24=39'] Exploring Operation: 21+39=60, Resulting Numbers: [84, 60] Generated Node #0,0,0: 76:[84, 60] Operation: 21+39=60 Exploring Operation: 84-39=45, Resulting Numbers: [21, 45] Generated Node #0,0,1: 76:[21, 45] Operation: 84-39=45 Exploring Operation: 84-21=63, Resulting Numbers: [39, 63] Generated Node #0,0,2: 76:[39, 63] Operation: 84-21=63 Exploring Operation: 84/21=4, Resulting Numbers: [39, 4] Generated Node #0,0,3: 76:[39, 4] Operation: 84/21=4 Exploring Operation: 39-21=18, Resulting Numbers: [84, 18] Generated Node #0,0,4: 76:[84, 18] Operation: 39-21=18 Moving to Node #0,1 Current State: 76:[24, 84, 3], Operations: ['63/21=3'] Exploring Operation: 84/3=28, Resulting Numbers: [24, 28] Generated Node #0,1,0: 76:[24, 28] Operation: 84/3=28 Exploring Operation: 24*3=72, Resulting Numbers: [84, 72] Generated Node #0,1,1: 76:[84, 72] Operation: 24*3=72 Exploring Operation: 84-3=81, Resulting Numbers: [24, 81] Generated Node #0,1,2: 76:[24, 81] Operation: 84-3=81 Exploring Operation: 24/3=8, Resulting Numbers: [84, 8] Generated Node #0,1,3: 76:[84, 8] Operation: 24/3=8 Exploring Operation: 24-3=21, Resulting Numbers: [84, 21] Generated Node #0,1,4: 76:[84, 21] Operation: 24-3=21 Moving to Node #0,4 Current State: 76:[24, 84, 42], Operations: ['63-21=42'] Exploring Operation: 84/42=2, Resulting Numbers: [24, 2] Generated Node #0,4,0: 76:[24, 2] Operation: 84/42=2 Exploring Operation: 84-24=60, Resulting Numbers: [42, 60] Generated Node #0,4,1: 76:[42, 60] Operation: 84-24=60 Exploring Operation: 24+42=66, Resulting Numbers: [84, 66] Generated Node #0,4,2: 76:[84, 66] Operation: 24+42=66 Exploring Operation: 42-24=18, Resulting Numbers: [84, 18] Generated Node #0,4,3: 76:[84, 18] Operation: 42-24=18 Exploring Operation: 84-42=42, Resulting Numbers: [24, 42] Generated Node #0,4,4: 76:[24, 42] Operation: 84-42=42 Moving to Node #0,2 Current State: 76:[63, 24, 4], Operations: ['84/21=4'] Exploring Operation: 24/4=6, Resulting Numbers: [63, 6] Generated Node #0,2,0: 76:[63, 6] Operation: 24/4=6 Exploring Operation: 24-4=20, Resulting Numbers: [63, 20] Generated Node #0,2,1: 76:[63, 20] Operation: 24-4=20 Exploring Operation: 63+24=87, Resulting Numbers: [4, 87] Generated Node #0,2,2: 76:[4, 87] Operation: 63+24=87 Exploring Operation: 63-24=39, Resulting Numbers: [4, 39] Generated Node #0,2,3: 76:[4, 39] Operation: 63-24=39 Exploring Operation: 63+4=67, Resulting Numbers: [24, 67] Generated Node #0,2,4: 76:[24, 67] Operation: 63+4=67 Moving to Node #0,0,3 Current State: 76:[39, 4], Operations: ['63-24=39', '84/21=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[4, 39], Operations: ['84/21=4', '63-24=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,76 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[21, 3], Operations: ['84-63=21', '24-21=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[21, 3], Operations: ['84-63=21', '24-21=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,76 unequal: No Solution Moving to Node #0,4,0 Current State: 76:[24, 2], Operations: ['63-21=42', '84/42=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,76 unequal: No Solution Moving to Node #0,3,4 Current State: 76:[24, 1], Operations: ['84-63=21', '21/21=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[24, 0], Operations: ['84-63=21', '21-21=0'] Exploring Operation: 24+0=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 24-0=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 24*0=0, Resulting Numbers: [0] 0,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[21, 45], Operations: ['63-24=39', '84-39=45'] Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,76 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[21, 45], Operations: ['84-63=21', '21+24=45'] Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,76 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,76 unequal: No Solution Moving to Node #0,4,4 Current State: 76:[24, 42], Operations: ['63-21=42', '84-42=42'] Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,76 unequal: No Solution Moving to Node #0,4,3 Current State: 76:[84, 18], Operations: ['63-21=42', '42-24=18'] Exploring Operation: 84+18=102, Resulting Numbers: [102] 102,76 unequal: No Solution Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 84*18=1512, Resulting Numbers: [1512] 1512,76 unequal: No Solution Moving to Node #0,0,4 Current State: 76:[84, 18], Operations: ['63-24=39', '39-21=18'] Exploring Operation: 84*18=1512, Resulting Numbers: [1512] 1512,76 unequal: No Solution Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 84+18=102, Resulting Numbers: [102] 102,76 unequal: No Solution Moving to Node #0,1,4 Current State: 76:[84, 21], Operations: ['63/21=3', '24-3=21'] Exploring Operation: 84*21=1764, Resulting Numbers: [1764] 1764,76 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 84+21=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[24, 81], Operations: ['63/21=3', '84-3=81'] Exploring Operation: 24*81=1944, Resulting Numbers: [1944] 1944,76 unequal: No Solution Exploring Operation: 81-24=57, Resulting Numbers: [57] 57,76 unequal: No Solution Exploring Operation: 24+81=105, Resulting Numbers: [105] 105,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[4, 87], Operations: ['84/21=4', '63+24=87'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,76 unequal: No Solution Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[84, 8], Operations: ['63/21=3', '24/3=8'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[63, 21, 24, 84], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [24, 84, 3] Generated Node #0,1: 76:[24, 84, 3] Operation: 63/21=3 Moving to Node #0,1 Current State: 76:[24, 84, 3], Operations: ['63/21=3'] Exploring Operation: 24/3=8, Resulting Numbers: [84, 8] Generated Node #0,1,3: 76:[84, 8] Operation: 24/3=8 Moving to Node #0,1,3 Current State: 76:[84, 8], Operations: ['63/21=3', '24/3=8'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.926215
hs_5
sum_heuristic
[ 96, 91, 7, 94 ]
96
[ "96-91=5", "7+94=101", "101-5=96" ]
Current State: 96:[96, 91, 7, 94], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [7, 94, 5] Generated Node #2: [7, 94, 5] from Operation: 96-91=5 Current State: 96:[7, 94, 5], Operations: ['96-91=5'] Exploring Operation: 7+94=101, Resulting Numbers: [5, 101] Generated Node #3: [5, 101] from Operation: 7+94=101 Current State: 96:[5, 101], Operations: ['96-91=5', '7+94=101'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[96, 91, 7, 94], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [96, 94, 13] Generated Node #0,0: 96:[96, 94, 13] Operation: 91/7=13 Exploring Operation: 96-94=2, Resulting Numbers: [91, 7, 2] Generated Node #0,1: 96:[91, 7, 2] Operation: 96-94=2 Exploring Operation: 91+7=98, Resulting Numbers: [96, 94, 98] Generated Node #0,2: 96:[96, 94, 98] Operation: 91+7=98 Exploring Operation: 96-91=5, Resulting Numbers: [7, 94, 5] Generated Node #0,3: 96:[7, 94, 5] Operation: 96-91=5 Exploring Operation: 94-91=3, Resulting Numbers: [96, 7, 3] Generated Node #0,4: 96:[96, 7, 3] Operation: 94-91=3 Moving to Node #0,4 Current State: 96:[96, 7, 3], Operations: ['94-91=3'] Exploring Operation: 96/3=32, Resulting Numbers: [7, 32] Generated Node #0,4,0: 96:[7, 32] Operation: 96/3=32 Exploring Operation: 7*3=21, Resulting Numbers: [96, 21] Generated Node #0,4,1: 96:[96, 21] Operation: 7*3=21 Exploring Operation: 7+3=10, Resulting Numbers: [96, 10] Generated Node #0,4,2: 96:[96, 10] Operation: 7+3=10 Exploring Operation: 96+3=99, Resulting Numbers: [7, 99] Generated Node #0,4,3: 96:[7, 99] Operation: 96+3=99 Exploring Operation: 7-3=4, Resulting Numbers: [96, 4] Generated Node #0,4,4: 96:[96, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 96:[96, 4], Operations: ['94-91=3', '7-3=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,96 unequal: No Solution Exploring Operation: 96*4=384, Resulting Numbers: [384] 384,96 unequal: No Solution Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 96:[7, 32], Operations: ['94-91=3', '96/3=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 96:[96, 10], Operations: ['94-91=3', '7+3=10'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,96 unequal: No Solution Exploring Operation: 96+10=106, Resulting Numbers: [106] 106,96 unequal: No Solution Exploring Operation: 96*10=960, Resulting Numbers: [960] 960,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 96:[96, 21], Operations: ['94-91=3', '7*3=21'] Exploring Operation: 96+21=117, Resulting Numbers: [117] 117,96 unequal: No Solution Exploring Operation: 96*21=2016, Resulting Numbers: [2016] 2016,96 unequal: No Solution Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 96:[7, 99], Operations: ['94-91=3', '96+3=99'] Exploring Operation: 7*99=693, Resulting Numbers: [693] 693,96 unequal: No Solution Exploring Operation: 99-7=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 7+99=106, Resulting Numbers: [106] 106,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 96:[96, 94, 13], Operations: ['91/7=13'] Exploring Operation: 96-13=83, Resulting Numbers: [94, 83] Generated Node #0,0,0: 96:[94, 83] Operation: 96-13=83 Exploring Operation: 94+13=107, Resulting Numbers: [96, 107] Generated Node #0,0,1: 96:[96, 107] Operation: 94+13=107 Exploring Operation: 96+13=109, Resulting Numbers: [94, 109] Generated Node #0,0,2: 96:[94, 109] Operation: 96+13=109 Exploring Operation: 94-13=81, Resulting Numbers: [96, 81] Generated Node #0,0,3: 96:[96, 81] Operation: 94-13=81 Exploring Operation: 96-94=2, Resulting Numbers: [13, 2] Generated Node #0,0,4: 96:[13, 2] Operation: 96-94=2 Moving to Node #0,2 Current State: 96:[96, 94, 98], Operations: ['91+7=98'] Exploring Operation: 96-94=2, Resulting Numbers: [98, 2] Generated Node #0,2,0: 96:[98, 2] Operation: 96-94=2 Exploring Operation: 98-94=4, Resulting Numbers: [96, 4] Generated Node #0,2,1: 96:[96, 4] Operation: 98-94=4 Exploring Operation: 96+94=190, Resulting Numbers: [98, 190] Generated Node #0,2,2: 96:[98, 190] Operation: 96+94=190 Exploring Operation: 98-96=2, Resulting Numbers: [94, 2] Generated Node #0,2,3: 96:[94, 2] Operation: 98-96=2 Exploring Operation: 94+98=192, Resulting Numbers: [96, 192] Generated Node #0,2,4: 96:[96, 192] Operation: 94+98=192 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[96, 4], Operations: ['91+7=98', '98-94=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,96 unequal: No Solution Exploring Operation: 96*4=384, Resulting Numbers: [384] 384,96 unequal: No Solution Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[98, 2], Operations: ['91+7=98', '96-94=2'] Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,96 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[96, 91, 7, 94], Operations: [] Exploring Operation: 91+7=98, Resulting Numbers: [96, 94, 98] Generated Node #0,2: 96:[96, 94, 98] Operation: 91+7=98 Moving to Node #0,2 Current State: 96:[96, 94, 98], Operations: ['91+7=98'] Exploring Operation: 96-94=2, Resulting Numbers: [98, 2] Generated Node #0,2,0: 96:[98, 2] Operation: 96-94=2 Moving to Node #0,2,0 Current State: 96:[98, 2], Operations: ['91+7=98', '96-94=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
sum_heuristic
[ 90, 28, 63, 84 ]
80
[ "84-28=56", "90*56=5040", "5040/63=80" ]
Current State: 80:[90, 28, 63, 84], Operations: [] Exploring Operation: 84-28=56, Resulting Numbers: [90, 63, 56] Generated Node #2: [90, 63, 56] from Operation: 84-28=56 Current State: 80:[90, 63, 56], Operations: ['84-28=56'] Exploring Operation: 90*56=5040, Resulting Numbers: [63, 5040] Generated Node #3: [63, 5040] from Operation: 90*56=5040 Current State: 80:[63, 5040], Operations: ['84-28=56', '90*56=5040'] Exploring Operation: 5040/63=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[90, 28, 63, 84], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [28, 84, 27] Generated Node #0,0: 80:[28, 84, 27] Operation: 90-63=27 Exploring Operation: 84-63=21, Resulting Numbers: [90, 28, 21] Generated Node #0,1: 80:[90, 28, 21] Operation: 84-63=21 Exploring Operation: 63-28=35, Resulting Numbers: [90, 84, 35] Generated Node #0,2: 80:[90, 84, 35] Operation: 63-28=35 Exploring Operation: 28+63=91, Resulting Numbers: [90, 84, 91] Generated Node #0,3: 80:[90, 84, 91] Operation: 28+63=91 Moving to Node #0,0 Current State: 80:[28, 84, 27], Operations: ['90-63=27'] Exploring Operation: 28-27=1, Resulting Numbers: [84, 1] Generated Node #0,0,0: 80:[84, 1] Operation: 28-27=1 Exploring Operation: 28+27=55, Resulting Numbers: [84, 55] Generated Node #0,0,1: 80:[84, 55] Operation: 28+27=55 Exploring Operation: 84-28=56, Resulting Numbers: [27, 56] Generated Node #0,0,2: 80:[27, 56] Operation: 84-28=56 Exploring Operation: 84/28=3, Resulting Numbers: [27, 3] Generated Node #0,0,3: 80:[27, 3] Operation: 84/28=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[84, 1], Operations: ['90-63=27', '28-27=1'] Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 84-1=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,0,3 Current State: 80:[27, 3], Operations: ['90-63=27', '84/28=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[84, 55], Operations: ['90-63=27', '28+27=55'] Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,80 unequal: No Solution Exploring Operation: 84*55=4620, Resulting Numbers: [4620] 4620,80 unequal: No Solution Exploring Operation: 84+55=139, Resulting Numbers: [139] 139,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[27, 56], Operations: ['90-63=27', '84-28=56'] Exploring Operation: 27+56=83, Resulting Numbers: [83] 83,80 unequal: No Solution Exploring Operation: 27*56=1512, Resulting Numbers: [1512] 1512,80 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,80 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: 80:[90, 84, 35], Operations: ['63-28=35'] Exploring Operation: 84-35=49, Resulting Numbers: [90, 49] Generated Node #0,2,0: 80:[90, 49] Operation: 84-35=49 Exploring Operation: 90+35=125, Resulting Numbers: [84, 125] Generated Node #0,2,1: 80:[84, 125] Operation: 90+35=125 Exploring Operation: 90-35=55, Resulting Numbers: [84, 55] Generated Node #0,2,2: 80:[84, 55] Operation: 90-35=55 Exploring Operation: 90-84=6, Resulting Numbers: [35, 6] Generated Node #0,2,3: 80:[35, 6] Operation: 90-84=6 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 80:[35, 6], Operations: ['63-28=35', '90-84=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,80 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[90, 49], Operations: ['63-28=35', '84-35=49'] Exploring Operation: 90*49=4410, Resulting Numbers: [4410] 4410,80 unequal: No Solution Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 90+49=139, Resulting Numbers: [139] 139,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[84, 55], Operations: ['63-28=35', '90-35=55'] Exploring Operation: 84+55=139, Resulting Numbers: [139] 139,80 unequal: No Solution Exploring Operation: 84*55=4620, Resulting Numbers: [4620] 4620,80 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[84, 125], Operations: ['63-28=35', '90+35=125'] Exploring Operation: 84+125=209, Resulting Numbers: [209] 209,80 unequal: No Solution Exploring Operation: 125-84=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 84*125=10500, Resulting Numbers: [10500] 10500,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 80:[90, 28, 21], Operations: ['84-63=21'] Exploring Operation: 90-28=62, Resulting Numbers: [21, 62] Generated Node #0,1,0: 80:[21, 62] Operation: 90-28=62 Exploring Operation: 90-21=69, Resulting Numbers: [28, 69] Generated Node #0,1,1: 80:[28, 69] Operation: 90-21=69 Exploring Operation: 28-21=7, Resulting Numbers: [90, 7] Generated Node #0,1,2: 80:[90, 7] Operation: 28-21=7 Exploring Operation: 28+21=49, Resulting Numbers: [90, 49] Generated Node #0,1,3: 80:[90, 49] Operation: 28+21=49 Moving to Node #0,3 Current State: 80:[90, 84, 91], Operations: ['28+63=91'] Exploring Operation: 90-84=6, Resulting Numbers: [91, 6] Generated Node #0,3,0: 80:[91, 6] Operation: 90-84=6 Exploring Operation: 91-90=1, Resulting Numbers: [84, 1] Generated Node #0,3,1: 80:[84, 1] Operation: 91-90=1 Exploring Operation: 91-84=7, Resulting Numbers: [90, 7] Generated Node #0,3,2: 80:[90, 7] Operation: 91-84=7 Exploring Operation: 90+84=174, Resulting Numbers: [91, 174] Generated Node #0,3,3: 80:[91, 174] Operation: 90+84=174 Moving to Node #0,3,1 Current State: 80:[84, 1], Operations: ['28+63=91', '91-90=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[90, 7], Operations: ['28+63=91', '91-84=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,80 unequal: No Solution Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[90, 7], Operations: ['84-63=21', '28-21=7'] Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,80 unequal: No Solution Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[91, 6], Operations: ['28+63=91', '90-84=6'] Exploring Operation: 91*6=546, Resulting Numbers: [546] 546,80 unequal: No Solution Exploring Operation: 91+6=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[28, 69], Operations: ['84-63=21', '90-21=69'] Exploring Operation: 28*69=1932, Resulting Numbers: [1932] 1932,80 unequal: No Solution Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 28+69=97, Resulting Numbers: [97] 97,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[21, 62], Operations: ['84-63=21', '90-28=62'] Exploring Operation: 21+62=83, Resulting Numbers: [83] 83,80 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 21*62=1302, Resulting Numbers: [1302] 1302,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[90, 49], Operations: ['84-63=21', '28+21=49'] Exploring Operation: 90*49=4410, Resulting Numbers: [4410] 4410,80 unequal: No Solution Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 90+49=139, Resulting Numbers: [139] 139,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[91, 174], Operations: ['28+63=91', '90+84=174'] Exploring Operation: 91+174=265, Resulting Numbers: [265] 265,80 unequal: No Solution Exploring Operation: 174-91=83, Resulting Numbers: [83] 83,80 unequal: No Solution Exploring Operation: 91*174=15834, Resulting Numbers: [15834] 15834,80 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 13, 5, 19, 82 ]
78
[ "13+19=32", "5*32=160", "160-82=78" ]
Current State: 78:[13, 5, 19, 82], Operations: [] Exploring Operation: 13+19=32, Resulting Numbers: [5, 82, 32] Generated Node #2: [5, 82, 32] from Operation: 13+19=32 Current State: 78:[5, 82, 32], Operations: ['13+19=32'] Exploring Operation: 5*32=160, Resulting Numbers: [82, 160] Generated Node #3: [82, 160] from Operation: 5*32=160 Current State: 78:[82, 160], Operations: ['13+19=32', '5*32=160'] Exploring Operation: 160-82=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[13, 5, 19, 82], Operations: [] Exploring Operation: 13+19=32, Resulting Numbers: [5, 82, 32] Generated Node #0,0: 78:[5, 82, 32] Operation: 13+19=32 Exploring Operation: 5+19=24, Resulting Numbers: [13, 82, 24] Generated Node #0,1: 78:[13, 82, 24] Operation: 5+19=24 Exploring Operation: 19-5=14, Resulting Numbers: [13, 82, 14] Generated Node #0,2: 78:[13, 82, 14] Operation: 19-5=14 Exploring Operation: 82-5=77, Resulting Numbers: [13, 19, 77] Generated Node #0,3: 78:[13, 19, 77] Operation: 82-5=77 Exploring Operation: 19-13=6, Resulting Numbers: [5, 82, 6] Generated Node #0,4: 78:[5, 82, 6] Operation: 19-13=6 Moving to Node #0,2 Current State: 78:[13, 82, 14], Operations: ['19-5=14'] Exploring Operation: 13+82=95, Resulting Numbers: [14, 95] Generated Node #0,2,0: 78:[14, 95] Operation: 13+82=95 Exploring Operation: 82-13=69, Resulting Numbers: [14, 69] Generated Node #0,2,1: 78:[14, 69] Operation: 82-13=69 Exploring Operation: 14-13=1, Resulting Numbers: [82, 1] Generated Node #0,2,2: 78:[82, 1] Operation: 14-13=1 Exploring Operation: 13+14=27, Resulting Numbers: [82, 27] Generated Node #0,2,3: 78:[82, 27] Operation: 13+14=27 Exploring Operation: 82-14=68, Resulting Numbers: [13, 68] Generated Node #0,2,4: 78:[13, 68] Operation: 82-14=68 Moving to Node #0,4 Current State: 78:[5, 82, 6], Operations: ['19-13=6'] Exploring Operation: 5+6=11, Resulting Numbers: [82, 11] Generated Node #0,4,0: 78:[82, 11] Operation: 5+6=11 Exploring Operation: 5*6=30, Resulting Numbers: [82, 30] Generated Node #0,4,1: 78:[82, 30] Operation: 5*6=30 Exploring Operation: 82-5=77, Resulting Numbers: [6, 77] Generated Node #0,4,2: 78:[6, 77] Operation: 82-5=77 Exploring Operation: 6-5=1, Resulting Numbers: [82, 1] Generated Node #0,4,3: 78:[82, 1] Operation: 6-5=1 Exploring Operation: 82-6=76, Resulting Numbers: [5, 76] Generated Node #0,4,4: 78:[5, 76] Operation: 82-6=76 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 78:[6, 77], Operations: ['19-13=6', '82-5=77'] Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,78 unequal: No Solution Exploring Operation: 6*77=462, Resulting Numbers: [462] 462,78 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 78:[5, 76], Operations: ['19-13=6', '82-6=76'] Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,78 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 78:[82, 1], Operations: ['19-13=6', '6-5=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,78 unequal: No Solution Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 78:[82, 11], Operations: ['19-13=6', '5+6=11'] Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,78 unequal: No Solution Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 78:[82, 30], Operations: ['19-13=6', '5*6=30'] Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,78 unequal: No Solution Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,78 unequal: No Solution Exploring Operation: 82*30=2460, Resulting Numbers: [2460] 2460,78 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: 78:[13, 82, 24], Operations: ['5+19=24'] Exploring Operation: 24-13=11, Resulting Numbers: [82, 11] Generated Node #0,1,0: 78:[82, 11] Operation: 24-13=11 Exploring Operation: 13+24=37, Resulting Numbers: [82, 37] Generated Node #0,1,1: 78:[82, 37] Operation: 13+24=37 Exploring Operation: 13+82=95, Resulting Numbers: [24, 95] Generated Node #0,1,2: 78:[24, 95] Operation: 13+82=95 Exploring Operation: 82-13=69, Resulting Numbers: [24, 69] Generated Node #0,1,3: 78:[24, 69] Operation: 82-13=69 Exploring Operation: 82-24=58, Resulting Numbers: [13, 58] Generated Node #0,1,4: 78:[13, 58] Operation: 82-24=58 Moving to Node #0,3 Current State: 78:[13, 19, 77], Operations: ['82-5=77'] Exploring Operation: 13+77=90, Resulting Numbers: [19, 90] Generated Node #0,3,0: 78:[19, 90] Operation: 13+77=90 Exploring Operation: 19+77=96, Resulting Numbers: [13, 96] Generated Node #0,3,1: 78:[13, 96] Operation: 19+77=96 Exploring Operation: 77-19=58, Resulting Numbers: [13, 58] Generated Node #0,3,2: 78:[13, 58] Operation: 77-19=58 Exploring Operation: 13+19=32, Resulting Numbers: [77, 32] Generated Node #0,3,3: 78:[77, 32] Operation: 13+19=32 Exploring Operation: 19-13=6, Resulting Numbers: [77, 6] Generated Node #0,3,4: 78:[77, 6] Operation: 19-13=6 Moving to Node #0,0 Current State: 78:[5, 82, 32], Operations: ['13+19=32'] Exploring Operation: 82-5=77, Resulting Numbers: [32, 77] Generated Node #0,0,0: 78:[32, 77] Operation: 82-5=77 Exploring Operation: 5+82=87, Resulting Numbers: [32, 87] Generated Node #0,0,1: 78:[32, 87] Operation: 5+82=87 Exploring Operation: 32-5=27, Resulting Numbers: [82, 27] Generated Node #0,0,2: 78:[82, 27] Operation: 32-5=27 Exploring Operation: 5+32=37, Resulting Numbers: [82, 37] Generated Node #0,0,3: 78:[82, 37] Operation: 5+32=37 Exploring Operation: 82-32=50, Resulting Numbers: [5, 50] Generated Node #0,0,4: 78:[5, 50] Operation: 82-32=50 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[82, 27], Operations: ['13+19=32', '32-5=27'] Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,78 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 78:[82, 37], Operations: ['13+19=32', '5+32=37'] Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,78 unequal: No Solution Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,78 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[32, 77], Operations: ['13+19=32', '82-5=77'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 32+77=109, Resulting Numbers: [109] 109,78 unequal: No Solution Exploring Operation: 32*77=2464, Resulting Numbers: [2464] 2464,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 78:[5, 50], Operations: ['13+19=32', '82-32=50'] Exploring Operation: 5*50=250, Resulting Numbers: [250] 250,78 unequal: No Solution Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[32, 87], Operations: ['13+19=32', '5+82=87'] Exploring Operation: 32+87=119, Resulting Numbers: [119] 119,78 unequal: No Solution Exploring Operation: 32*87=2784, Resulting Numbers: [2784] 2784,78 unequal: No Solution Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,78 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: 78:[77, 6], Operations: ['82-5=77', '19-13=6'] Exploring Operation: 77*6=462, Resulting Numbers: [462] 462,78 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[82, 1], Operations: ['19-5=14', '14-13=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,78 unequal: No Solution Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[82, 27], Operations: ['19-5=14', '13+14=27'] Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,78 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[82, 11], Operations: ['5+19=24', '24-13=11'] Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,78 unequal: No Solution Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[82, 37], Operations: ['5+19=24', '13+24=37'] Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,78 unequal: No Solution Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,78 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[77, 32], Operations: ['82-5=77', '13+19=32'] Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,78 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 77*32=2464, Resulting Numbers: [2464] 2464,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[14, 69], Operations: ['19-5=14', '82-13=69'] Exploring Operation: 14*69=966, Resulting Numbers: [966] 966,78 unequal: No Solution Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 14+69=83, Resulting Numbers: [83] 83,78 unequal: No Solution Moving to Node #0,2,4 Current State: 78:[13, 68], Operations: ['19-5=14', '82-14=68'] Exploring Operation: 13+68=81, Resulting Numbers: [81] 81,78 unequal: No Solution Exploring Operation: 13*68=884, Resulting Numbers: [884] 884,78 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[24, 69], Operations: ['5+19=24', '82-13=69'] Exploring Operation: 24*69=1656, Resulting Numbers: [1656] 1656,78 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 24+69=93, Resulting Numbers: [93] 93,78 unequal: No Solution Moving to Node #0,3,0 Current State: 78:[19, 90], Operations: ['82-5=77', '13+77=90'] Exploring Operation: 19*90=1710, Resulting Numbers: [1710] 1710,78 unequal: No Solution Exploring Operation: 19+90=109, Resulting Numbers: [109] 109,78 unequal: No Solution Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[14, 95], Operations: ['19-5=14', '13+82=95'] Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,78 unequal: No Solution Exploring Operation: 14*95=1330, Resulting Numbers: [1330] 1330,78 unequal: No Solution Exploring Operation: 14+95=109, Resulting Numbers: [109] 109,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[13, 96], Operations: ['82-5=77', '19+77=96'] Exploring Operation: 13*96=1248, Resulting Numbers: [1248] 1248,78 unequal: No Solution Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,78 unequal: No Solution Exploring Operation: 13+96=109, Resulting Numbers: [109] 109,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[13, 58], Operations: ['82-5=77', '77-19=58'] Exploring Operation: 13+58=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 13*58=754, Resulting Numbers: [754] 754,78 unequal: No Solution Moving to Node #0,1,4 Current State: 78:[13, 58], Operations: ['5+19=24', '82-24=58'] Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 13*58=754, Resulting Numbers: [754] 754,78 unequal: No Solution Exploring Operation: 13+58=71, Resulting Numbers: [71] 71,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[24, 95], Operations: ['5+19=24', '13+82=95'] Exploring Operation: 24*95=2280, Resulting Numbers: [2280] 2280,78 unequal: No Solution Exploring Operation: 24+95=119, Resulting Numbers: [119] 119,78 unequal: No Solution Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,78 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 11, 44, 91, 63 ]
99
[ "11+44=55", "91+63=154", "154-55=99" ]
Current State: 99:[11, 44, 91, 63], Operations: [] Exploring Operation: 11+44=55, Resulting Numbers: [91, 63, 55] Generated Node #2: [91, 63, 55] from Operation: 11+44=55 Current State: 99:[91, 63, 55], Operations: ['11+44=55'] Exploring Operation: 91+63=154, Resulting Numbers: [55, 154] Generated Node #3: [55, 154] from Operation: 91+63=154 Current State: 99:[55, 154], Operations: ['11+44=55', '91+63=154'] Exploring Operation: 154-55=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[11, 44, 91, 63], Operations: [] Exploring Operation: 44+63=107, Resulting Numbers: [11, 91, 107] Generated Node #0,0: 99:[11, 91, 107] Operation: 44+63=107 Moving to Node #0,0 Current State: 99:[11, 91, 107], Operations: ['44+63=107'] Exploring Operation: 107-91=16, Resulting Numbers: [11, 16] Generated Node #0,0,0: 99:[11, 16] Operation: 107-91=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[11, 16], Operations: ['44+63=107', '107-91=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 56, 41, 7, 96 ]
47
[ "56/7=8", "96-41=55", "55-8=47" ]
Current State: 47:[56, 41, 7, 96], Operations: [] Exploring Operation: 56/7=8, Resulting Numbers: [41, 96, 8] Generated Node #2: [41, 96, 8] from Operation: 56/7=8 Current State: 47:[41, 96, 8], Operations: ['56/7=8'] Exploring Operation: 96-41=55, Resulting Numbers: [8, 55] Generated Node #3: [8, 55] from Operation: 96-41=55 Current State: 47:[8, 55], Operations: ['56/7=8', '96-41=55'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[56, 41, 7, 96], Operations: [] Exploring Operation: 96-7=89, Resulting Numbers: [56, 41, 89] Generated Node #0,0: 47:[56, 41, 89] Operation: 96-7=89 Exploring Operation: 41+7=48, Resulting Numbers: [56, 96, 48] Generated Node #0,1: 47:[56, 96, 48] Operation: 41+7=48 Exploring Operation: 96-41=55, Resulting Numbers: [56, 7, 55] Generated Node #0,2: 47:[56, 7, 55] Operation: 96-41=55 Exploring Operation: 96-56=40, Resulting Numbers: [41, 7, 40] Generated Node #0,3: 47:[41, 7, 40] Operation: 96-56=40 Exploring Operation: 56-7=49, Resulting Numbers: [41, 96, 49] Generated Node #0,4: 47:[41, 96, 49] Operation: 56-7=49 Moving to Node #0,3 Current State: 47:[41, 7, 40], Operations: ['96-56=40'] Exploring Operation: 40-7=33, Resulting Numbers: [41, 33] Generated Node #0,3,0: 47:[41, 33] Operation: 40-7=33 Exploring Operation: 41+40=81, Resulting Numbers: [7, 81] Generated Node #0,3,1: 47:[7, 81] Operation: 41+40=81 Exploring Operation: 41-7=34, Resulting Numbers: [40, 34] Generated Node #0,3,2: 47:[40, 34] Operation: 41-7=34 Exploring Operation: 7+40=47, Resulting Numbers: [41, 47] Generated Node #0,3,3: 47:[41, 47] Operation: 7+40=47 Exploring Operation: 41+7=48, Resulting Numbers: [40, 48] Generated Node #0,3,4: 47:[40, 48] Operation: 41+7=48 Moving to Node #0,2 Current State: 47:[56, 7, 55], Operations: ['96-41=55'] Exploring Operation: 7+55=62, Resulting Numbers: [56, 62] Generated Node #0,2,0: 47:[56, 62] Operation: 7+55=62 Exploring Operation: 56+7=63, Resulting Numbers: [55, 63] Generated Node #0,2,1: 47:[55, 63] Operation: 56+7=63 Exploring Operation: 55-7=48, Resulting Numbers: [56, 48] Generated Node #0,2,2: 47:[56, 48] Operation: 55-7=48 Exploring Operation: 56/7=8, Resulting Numbers: [55, 8] Generated Node #0,2,3: 47:[55, 8] Operation: 56/7=8 Exploring Operation: 56-7=49, Resulting Numbers: [55, 49] Generated Node #0,2,4: 47:[55, 49] Operation: 56-7=49 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[56, 48], Operations: ['96-41=55', '55-7=48'] Exploring Operation: 56*48=2688, Resulting Numbers: [2688] 2688,47 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 47:[55, 49], Operations: ['96-41=55', '56-7=49'] Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,47 unequal: No Solution Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[56, 62], Operations: ['96-41=55', '7+55=62'] Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,47 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[55, 63], Operations: ['96-41=55', '56+7=63'] Exploring Operation: 55+63=118, Resulting Numbers: [118] 118,47 unequal: No Solution Exploring Operation: 55*63=3465, Resulting Numbers: [3465] 3465,47 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 47:[55, 8], Operations: ['96-41=55', '56/7=8'] Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,47 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[56, 41, 7, 96], Operations: [] Exploring Operation: 96-41=55, Resulting Numbers: [56, 7, 55] Generated Node #0,2: 47:[56, 7, 55] Operation: 96-41=55 Moving to Node #0,2 Current State: 47:[56, 7, 55], Operations: ['96-41=55'] Exploring Operation: 56/7=8, Resulting Numbers: [55, 8] Generated Node #0,2,3: 47:[55, 8] Operation: 56/7=8 Moving to Node #0,2,3 Current State: 47:[55, 8], Operations: ['96-41=55', '56/7=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_5
mult_heuristic
[ 79, 68, 49, 8 ]
11
[ "79+68=147", "147/49=3", "8+3=11" ]
Current State: 11:[79, 68, 49, 8], Operations: [] Exploring Operation: 79+68=147, Resulting Numbers: [49, 8, 147] Generated Node #2: [49, 8, 147] from Operation: 79+68=147 Current State: 11:[49, 8, 147], Operations: ['79+68=147'] Exploring Operation: 147/49=3, Resulting Numbers: [8, 3] Generated Node #3: [8, 3] from Operation: 147/49=3 Current State: 11:[8, 3], Operations: ['79+68=147', '147/49=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[79, 68, 49, 8], Operations: [] Exploring Operation: 68-49=19, Resulting Numbers: [79, 8, 19] Generated Node #0,0: 11:[79, 8, 19] Operation: 68-49=19 Exploring Operation: 79-68=11, Resulting Numbers: [49, 8, 11] Generated Node #0,1: 11:[49, 8, 11] Operation: 79-68=11 Exploring Operation: 79-49=30, Resulting Numbers: [68, 8, 30] Generated Node #0,2: 11:[68, 8, 30] Operation: 79-49=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[49, 8, 11], Operations: ['79-68=11'] Exploring Operation: 49+8=57, Resulting Numbers: [11, 57] Generated Node #0,1,0: 11:[11, 57] Operation: 49+8=57 Exploring Operation: 49-11=38, Resulting Numbers: [8, 38] Generated Node #0,1,1: 11:[8, 38] Operation: 49-11=38 Exploring Operation: 49-8=41, Resulting Numbers: [11, 41] Generated Node #0,1,2: 11:[11, 41] Operation: 49-8=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[8, 38], Operations: ['79-68=11', '49-11=38'] Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[11, 41], Operations: ['79-68=11', '49-8=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[11, 57], Operations: ['79-68=11', '49+8=57'] Exploring Operation: 11+57=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 11*57=627, Resulting Numbers: [627] 627,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[79, 8, 19], Operations: ['68-49=19'] Exploring Operation: 79-19=60, Resulting Numbers: [8, 60] Generated Node #0,0,0: 11:[8, 60] Operation: 79-19=60 Exploring Operation: 19-8=11, Resulting Numbers: [79, 11] Generated Node #0,0,1: 11:[79, 11] Operation: 19-8=11 Exploring Operation: 79-8=71, Resulting Numbers: [19, 71] Generated Node #0,0,2: 11:[19, 71] Operation: 79-8=71 Moving to Node #0,0,0 Current State: 11:[8, 60], Operations: ['68-49=19', '79-19=60'] Exploring Operation: 8+60=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 8*60=480, Resulting Numbers: [480] 480,11 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[79, 11], Operations: ['68-49=19', '19-8=11'] Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,11 unequal: No Solution Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[19, 71], Operations: ['68-49=19', '79-8=71'] Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 19*71=1349, Resulting Numbers: [1349] 1349,11 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[68, 8, 30], Operations: ['79-49=30'] Exploring Operation: 68-8=60, Resulting Numbers: [30, 60] Generated Node #0,2,0: 11:[30, 60] Operation: 68-8=60 Exploring Operation: 30-8=22, Resulting Numbers: [68, 22] Generated Node #0,2,1: 11:[68, 22] Operation: 30-8=22 Exploring Operation: 68-30=38, Resulting Numbers: [8, 38] Generated Node #0,2,2: 11:[8, 38] Operation: 68-30=38 Moving to Node #0,2,2 Current State: 11:[8, 38], Operations: ['79-49=30', '68-30=38'] Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[30, 60], Operations: ['79-49=30', '68-8=60'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 30+60=90, Resulting Numbers: [90] 90,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[68, 22], Operations: ['79-49=30', '30-8=22'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,11 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,11 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,11 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
[ 55, 2, 85, 30 ]
45
[ "85-55=30", "30/2=15", "30+15=45" ]
Current State: 45:[55, 2, 85, 30], Operations: [] Exploring Operation: 85-55=30, Resulting Numbers: [2, 30, 30] Generated Node #2: [2, 30, 30] from Operation: 85-55=30 Current State: 45:[2, 30, 30], Operations: ['85-55=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,45 equal: Goal Reached Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[55, 2, 85, 30], Operations: [] Exploring Operation: 85-30=55, Resulting Numbers: [55, 2, 55] Generated Node #0,0: 45:[55, 2, 55] Operation: 85-30=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[55, 2, 55], Operations: ['85-30=55'] Exploring Operation: 55/55=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 45:[2, 1] Operation: 55/55=1 Moving to Node #0,0,0 Current State: 45:[2, 1], Operations: ['85-30=55', '55/55=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 49, 39, 2, 90 ]
61
[ "49+90=139", "39*2=78", "139-78=61" ]
Current State: 61:[49, 39, 2, 90], Operations: [] Exploring Operation: 49+90=139, Resulting Numbers: [39, 2, 139] Generated Node #2: [39, 2, 139] from Operation: 49+90=139 Current State: 61:[39, 2, 139], Operations: ['49+90=139'] Exploring Operation: 39*2=78, Resulting Numbers: [139, 78] Generated Node #3: [139, 78] from Operation: 39*2=78 Current State: 61:[139, 78], Operations: ['49+90=139', '39*2=78'] Exploring Operation: 139-78=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[49, 39, 2, 90], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [49, 39, 45] Generated Node #0,0: 61:[49, 39, 45] Operation: 90/2=45 Moving to Node #0,0 Current State: 61:[49, 39, 45], Operations: ['90/2=45'] Exploring Operation: 39+45=84, Resulting Numbers: [49, 84] Generated Node #0,0,0: 61:[49, 84] Operation: 39+45=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[49, 84], Operations: ['90/2=45', '39+45=84'] Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,61 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
[ 13, 46, 70, 60 ]
84
[ "70-60=10", "13*10=130", "130-46=84" ]
Current State: 84:[13, 46, 70, 60], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [13, 46, 10] Generated Node #2: [13, 46, 10] from Operation: 70-60=10 Current State: 84:[13, 46, 10], Operations: ['70-60=10'] Exploring Operation: 13*10=130, Resulting Numbers: [46, 130] Generated Node #3: [46, 130] from Operation: 13*10=130 Current State: 84:[46, 130], Operations: ['70-60=10', '13*10=130'] Exploring Operation: 130-46=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[13, 46, 70, 60], Operations: [] Exploring Operation: 70-60=10, Resulting Numbers: [13, 46, 10] Generated Node #0,0: 84:[13, 46, 10] Operation: 70-60=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[13, 46, 10], Operations: ['70-60=10'] Exploring Operation: 13-10=3, Resulting Numbers: [46, 3] Generated Node #0,0,0: 84:[46, 3] Operation: 13-10=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[46, 3], Operations: ['70-60=10', '13-10=3'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,84 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
[ 15, 51, 4, 51 ]
45
[ "51/51=1", "4-1=3", "15*3=45" ]
Current State: 45:[15, 51, 4, 51], Operations: [] Exploring Operation: 51/51=1, Resulting Numbers: [15, 4, 1] Generated Node #2: [15, 4, 1] from Operation: 51/51=1 Current State: 45:[15, 4, 1], Operations: ['51/51=1'] Exploring Operation: 4-1=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 4-1=3 Current State: 45:[15, 3], Operations: ['51/51=1', '4-1=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[15, 51, 4, 51], Operations: [] Exploring Operation: 15-4=11, Resulting Numbers: [51, 51, 11] Generated Node #0,0: 45:[51, 51, 11] Operation: 15-4=11 Exploring Operation: 51-4=47, Resulting Numbers: [15, 51, 47] Generated Node #0,1: 45:[15, 51, 47] Operation: 51-4=47 Exploring Operation: 51-51=0, Resulting Numbers: [15, 4, 0] Generated Node #0,2: 45:[15, 4, 0] Operation: 51-51=0 Exploring Operation: 51/51=1, Resulting Numbers: [15, 4, 1] Generated Node #0,3: 45:[15, 4, 1] Operation: 51/51=1 Exploring Operation: 51-4=47, Resulting Numbers: [15, 51, 47] Generated Node #0,4: 45:[15, 51, 47] Operation: 51-4=47 Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[15, 4, 1], Operations: ['51/51=1'] Exploring Operation: 4-1=3, Resulting Numbers: [15, 3] Generated Node #0,3,0: 45:[15, 3] Operation: 4-1=3 Exploring Operation: 15*1=15, Resulting Numbers: [4, 15] Generated Node #0,3,1: 45:[4, 15] Operation: 15*1=15 Exploring Operation: 15/1=15, Resulting Numbers: [4, 15] Generated Node #0,3,2: 45:[4, 15] Operation: 15/1=15 Exploring Operation: 4*1=4, Resulting Numbers: [15, 4] Generated Node #0,3,3: 45:[15, 4] Operation: 4*1=4 Exploring Operation: 4+1=5, Resulting Numbers: [15, 5] Generated Node #0,3,4: 45:[15, 5] Operation: 4+1=5 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 45:[15, 3], Operations: ['51/51=1', '4-1=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[15, 51, 4, 51], Operations: [] Exploring Operation: 51/51=1, Resulting Numbers: [15, 4, 1] Generated Node #0,3: 45:[15, 4, 1] Operation: 51/51=1 Moving to Node #0,3 Current State: 45:[15, 4, 1], Operations: ['51/51=1'] Exploring Operation: 4-1=3, Resulting Numbers: [15, 3] Generated Node #0,3,0: 45:[15, 3] Operation: 4-1=3 Moving to Node #0,3,0 Current State: 45:[15, 3], Operations: ['51/51=1', '4-1=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 14, 59, 75, 15 ]
68
[ "14+59=73", "75/15=5", "73-5=68" ]
Current State: 68:[14, 59, 75, 15], Operations: [] Exploring Operation: 14+59=73, Resulting Numbers: [75, 15, 73] Generated Node #2: [75, 15, 73] from Operation: 14+59=73 Current State: 68:[75, 15, 73], Operations: ['14+59=73'] Exploring Operation: 75/15=5, Resulting Numbers: [73, 5] Generated Node #3: [73, 5] from Operation: 75/15=5 Current State: 68:[73, 5], Operations: ['14+59=73', '75/15=5'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[14, 59, 75, 15], Operations: [] Exploring Operation: 75-59=16, Resulting Numbers: [14, 15, 16] Generated Node #0,0: 68:[14, 15, 16] Operation: 75-59=16 Exploring Operation: 75/15=5, Resulting Numbers: [14, 59, 5] Generated Node #0,1: 68:[14, 59, 5] Operation: 75/15=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[14, 15, 16], Operations: ['75-59=16'] Exploring Operation: 15-14=1, Resulting Numbers: [16, 1] Generated Node #0,0,0: 68:[16, 1] Operation: 15-14=1 Exploring Operation: 16-14=2, Resulting Numbers: [15, 2] Generated Node #0,0,1: 68:[15, 2] Operation: 16-14=2 Moving to Node #0,0,0 Current State: 68:[16, 1], Operations: ['75-59=16', '15-14=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[15, 2], Operations: ['75-59=16', '16-14=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[14, 59, 5], Operations: ['75/15=5'] Exploring Operation: 14+59=73, Resulting Numbers: [5, 73] Generated Node #0,1,0: 68:[5, 73] Operation: 14+59=73 Exploring Operation: 59+5=64, Resulting Numbers: [14, 64] Generated Node #0,1,1: 68:[14, 64] Operation: 59+5=64 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[5, 73], Operations: ['75/15=5', '14+59=73'] Exploring Operation: 5+73=78, Resulting Numbers: [78] 78,68 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[14, 59, 75, 15], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [14, 59, 5] Generated Node #0,1: 68:[14, 59, 5] Operation: 75/15=5 Moving to Node #0,1 Current State: 68:[14, 59, 5], Operations: ['75/15=5'] Exploring Operation: 14+59=73, Resulting Numbers: [5, 73] Generated Node #0,1,0: 68:[5, 73] Operation: 14+59=73 Moving to Node #0,1,0 Current State: 68:[5, 73], Operations: ['75/15=5', '14+59=73'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 2, 34, 96, 35 ]
97
[ "2+34=36", "96-35=61", "36+61=97" ]
Current State: 97:[2, 34, 96, 35], Operations: [] Exploring Operation: 2+34=36, Resulting Numbers: [96, 35, 36] Generated Node #2: [96, 35, 36] from Operation: 2+34=36 Current State: 97:[96, 35, 36], Operations: ['2+34=36'] Exploring Operation: 96-35=61, Resulting Numbers: [36, 61] Generated Node #3: [36, 61] from Operation: 96-35=61 Current State: 97:[36, 61], Operations: ['2+34=36', '96-35=61'] Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[2, 34, 96, 35], Operations: [] Exploring Operation: 2+34=36, Resulting Numbers: [96, 35, 36] Generated Node #0,0: 97:[96, 35, 36] Operation: 2+34=36 Exploring Operation: 2*35=70, Resulting Numbers: [34, 96, 70] Generated Node #0,1: 97:[34, 96, 70] Operation: 2*35=70 Exploring Operation: 2+35=37, Resulting Numbers: [34, 96, 37] Generated Node #0,2: 97:[34, 96, 37] Operation: 2+35=37 Exploring Operation: 34+35=69, Resulting Numbers: [2, 96, 69] Generated Node #0,3: 97:[2, 96, 69] Operation: 34+35=69 Exploring Operation: 2*34=68, Resulting Numbers: [96, 35, 68] Generated Node #0,4: 97:[96, 35, 68] Operation: 2*34=68 Moving to Node #0,1 Current State: 97:[34, 96, 70], Operations: ['2*35=70'] Exploring Operation: 96+70=166, Resulting Numbers: [34, 166] Generated Node #0,1,0: 97:[34, 166] Operation: 96+70=166 Exploring Operation: 34+70=104, Resulting Numbers: [96, 104] Generated Node #0,1,1: 97:[96, 104] Operation: 34+70=104 Exploring Operation: 96-34=62, Resulting Numbers: [70, 62] Generated Node #0,1,2: 97:[70, 62] Operation: 96-34=62 Exploring Operation: 70-34=36, Resulting Numbers: [96, 36] Generated Node #0,1,3: 97:[96, 36] Operation: 70-34=36 Exploring Operation: 34+96=130, Resulting Numbers: [70, 130] Generated Node #0,1,4: 97:[70, 130] Operation: 34+96=130 Moving to Node #0,4 Current State: 97:[96, 35, 68], Operations: ['2*34=68'] Exploring Operation: 96+68=164, Resulting Numbers: [35, 164] Generated Node #0,4,0: 97:[35, 164] Operation: 96+68=164 Exploring Operation: 96-35=61, Resulting Numbers: [68, 61] Generated Node #0,4,1: 97:[68, 61] Operation: 96-35=61 Exploring Operation: 35+68=103, Resulting Numbers: [96, 103] Generated Node #0,4,2: 97:[96, 103] Operation: 35+68=103 Exploring Operation: 96+35=131, Resulting Numbers: [68, 131] Generated Node #0,4,3: 97:[68, 131] Operation: 96+35=131 Exploring Operation: 68-35=33, Resulting Numbers: [96, 33] Generated Node #0,4,4: 97:[96, 33] Operation: 68-35=33 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 97:[96, 103], Operations: ['2*34=68', '35+68=103'] Exploring Operation: 103-96=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 96*103=9888, Resulting Numbers: [9888] 9888,97 unequal: No Solution Exploring Operation: 96+103=199, Resulting Numbers: [199] 199,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 97:[68, 131], Operations: ['2*34=68', '96+35=131'] Exploring Operation: 131-68=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 68+131=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 68*131=8908, Resulting Numbers: [8908] 8908,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 97:[68, 61], Operations: ['2*34=68', '96-35=61'] Exploring Operation: 68*61=4148, Resulting Numbers: [4148] 4148,97 unequal: No Solution Exploring Operation: 68+61=129, Resulting Numbers: [129] 129,97 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 97:[96, 33], Operations: ['2*34=68', '68-35=33'] Exploring Operation: 96-33=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 96+33=129, Resulting Numbers: [129] 129,97 unequal: No Solution Exploring Operation: 96*33=3168, Resulting Numbers: [3168] 3168,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 97:[35, 164], Operations: ['2*34=68', '96+68=164'] Exploring Operation: 164-35=129, Resulting Numbers: [129] 129,97 unequal: No Solution Exploring Operation: 35*164=5740, Resulting Numbers: [5740] 5740,97 unequal: No Solution Exploring Operation: 35+164=199, Resulting Numbers: [199] 199,97 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: 97:[96, 35, 36], Operations: ['2+34=36'] Exploring Operation: 35+36=71, Resulting Numbers: [96, 71] Generated Node #0,0,0: 97:[96, 71] Operation: 35+36=71 Exploring Operation: 96+36=132, Resulting Numbers: [35, 132] Generated Node #0,0,1: 97:[35, 132] Operation: 96+36=132 Exploring Operation: 96-35=61, Resulting Numbers: [36, 61] Generated Node #0,0,2: 97:[36, 61] Operation: 96-35=61 Exploring Operation: 96+35=131, Resulting Numbers: [36, 131] Generated Node #0,0,3: 97:[36, 131] Operation: 96+35=131 Exploring Operation: 36-35=1, Resulting Numbers: [96, 1] Generated Node #0,0,4: 97:[96, 1] Operation: 36-35=1 Moving to Node #0,2 Current State: 97:[34, 96, 37], Operations: ['2+35=37'] Exploring Operation: 34+37=71, Resulting Numbers: [96, 71] Generated Node #0,2,0: 97:[96, 71] Operation: 34+37=71 Exploring Operation: 37-34=3, Resulting Numbers: [96, 3] Generated Node #0,2,1: 97:[96, 3] Operation: 37-34=3 Exploring Operation: 96+37=133, Resulting Numbers: [34, 133] Generated Node #0,2,2: 97:[34, 133] Operation: 96+37=133 Exploring Operation: 96-34=62, Resulting Numbers: [37, 62] Generated Node #0,2,3: 97:[37, 62] Operation: 96-34=62 Exploring Operation: 34+96=130, Resulting Numbers: [37, 130] Generated Node #0,2,4: 97:[37, 130] Operation: 34+96=130 Moving to Node #0,3 Current State: 97:[2, 96, 69], Operations: ['34+35=69'] Exploring Operation: 2+96=98, Resulting Numbers: [69, 98] Generated Node #0,3,0: 97:[69, 98] Operation: 2+96=98 Exploring Operation: 69-2=67, Resulting Numbers: [96, 67] Generated Node #0,3,1: 97:[96, 67] Operation: 69-2=67 Exploring Operation: 2*69=138, Resulting Numbers: [96, 138] Generated Node #0,3,2: 97:[96, 138] Operation: 2*69=138 Exploring Operation: 2+69=71, Resulting Numbers: [96, 71] Generated Node #0,3,3: 97:[96, 71] Operation: 2+69=71 Exploring Operation: 96-2=94, Resulting Numbers: [69, 94] Generated Node #0,3,4: 97:[69, 94] Operation: 96-2=94 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[96, 71], Operations: ['34+35=69', '2+69=71'] Exploring Operation: 96*71=6816, Resulting Numbers: [6816] 6816,97 unequal: No Solution Exploring Operation: 96+71=167, Resulting Numbers: [167] 167,97 unequal: No Solution Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[69, 98], Operations: ['34+35=69', '2+96=98'] Exploring Operation: 98-69=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 69*98=6762, Resulting Numbers: [6762] 6762,97 unequal: No Solution Exploring Operation: 69+98=167, Resulting Numbers: [167] 167,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[96, 67], Operations: ['34+35=69', '69-2=67'] Exploring Operation: 96+67=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,97 unequal: No Solution Exploring Operation: 96*67=6432, Resulting Numbers: [6432] 6432,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 97:[69, 94], Operations: ['34+35=69', '96-2=94'] Exploring Operation: 69+94=163, Resulting Numbers: [163] 163,97 unequal: No Solution Exploring Operation: 94-69=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 69*94=6486, Resulting Numbers: [6486] 6486,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[96, 138], Operations: ['34+35=69', '2*69=138'] Exploring Operation: 96+138=234, Resulting Numbers: [234] 234,97 unequal: No Solution Exploring Operation: 138-96=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 96*138=13248, Resulting Numbers: [13248] 13248,97 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: 97:[96, 104], Operations: ['2*35=70', '34+70=104'] Exploring Operation: 104-96=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 96+104=200, Resulting Numbers: [200] 200,97 unequal: No Solution Exploring Operation: 96*104=9984, Resulting Numbers: [9984] 9984,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[96, 71], Operations: ['2+34=36', '35+36=71'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 96*71=6816, Resulting Numbers: [6816] 6816,97 unequal: No Solution Exploring Operation: 96+71=167, Resulting Numbers: [167] 167,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[96, 71], Operations: ['2+35=37', '34+37=71'] Exploring Operation: 96+71=167, Resulting Numbers: [167] 167,97 unequal: No Solution Exploring Operation: 96*71=6816, Resulting Numbers: [6816] 6816,97 unequal: No Solution Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[70, 130], Operations: ['2*35=70', '34+96=130'] Exploring Operation: 130-70=60, Resulting Numbers: [60] 60,97 unequal: No Solution Exploring Operation: 70*130=9100, Resulting Numbers: [9100] 9100,97 unequal: No Solution Exploring Operation: 70+130=200, Resulting Numbers: [200] 200,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[70, 62], Operations: ['2*35=70', '96-34=62'] Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,97 unequal: No Solution Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[96, 36], Operations: ['2*35=70', '70-34=36'] Exploring Operation: 96-36=60, Resulting Numbers: [60] 60,97 unequal: No Solution Exploring Operation: 96*36=3456, Resulting Numbers: [3456] 3456,97 unequal: No Solution Exploring Operation: 96+36=132, Resulting Numbers: [132] 132,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[37, 130], Operations: ['2+35=37', '34+96=130'] Exploring Operation: 130-37=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 37*130=4810, Resulting Numbers: [4810] 4810,97 unequal: No Solution Exploring Operation: 37+130=167, Resulting Numbers: [167] 167,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[36, 131], Operations: ['2+34=36', '96+35=131'] Exploring Operation: 36*131=4716, Resulting Numbers: [4716] 4716,97 unequal: No Solution Exploring Operation: 131-36=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 36+131=167, Resulting Numbers: [167] 167,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[37, 62], Operations: ['2+35=37', '96-34=62'] Exploring Operation: 37+62=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 37*62=2294, Resulting Numbers: [2294] 2294,97 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[96, 3], Operations: ['2+35=37', '37-34=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 96*3=288, Resulting Numbers: [288] 288,97 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[36, 61], Operations: ['2+34=36', '96-35=61'] Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,97 unequal: No Solution Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[2, 34, 96, 35], Operations: [] Exploring Operation: 2+34=36, Resulting Numbers: [96, 35, 36] Generated Node #0,0: 97:[96, 35, 36] Operation: 2+34=36 Moving to Node #0,0 Current State: 97:[96, 35, 36], Operations: ['2+34=36'] Exploring Operation: 96-35=61, Resulting Numbers: [36, 61] Generated Node #0,0,2: 97:[36, 61] Operation: 96-35=61 Moving to Node #0,0,2 Current State: 97:[36, 61], Operations: ['2+34=36', '96-35=61'] Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.914931
hs_5
mult_heuristic
[ 51, 58, 88, 97 ]
100
[ "51+58=109", "97-88=9", "109-9=100" ]
Current State: 100:[51, 58, 88, 97], Operations: [] Exploring Operation: 51+58=109, Resulting Numbers: [88, 97, 109] Generated Node #2: [88, 97, 109] from Operation: 51+58=109 Current State: 100:[88, 97, 109], Operations: ['51+58=109'] Exploring Operation: 97-88=9, Resulting Numbers: [109, 9] Generated Node #3: [109, 9] from Operation: 97-88=9 Current State: 100:[109, 9], Operations: ['51+58=109', '97-88=9'] Exploring Operation: 109-9=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[51, 58, 88, 97], Operations: [] Exploring Operation: 97-88=9, Resulting Numbers: [51, 58, 9] Generated Node #0,0: 100:[51, 58, 9] Operation: 97-88=9 Exploring Operation: 88-58=30, Resulting Numbers: [51, 97, 30] Generated Node #0,1: 100:[51, 97, 30] Operation: 88-58=30 Moving to Node #0,1 Current State: 100:[51, 97, 30], Operations: ['88-58=30'] Exploring Operation: 51-30=21, Resulting Numbers: [97, 21] Generated Node #0,1,0: 100:[97, 21] Operation: 51-30=21 Exploring Operation: 97-51=46, Resulting Numbers: [30, 46] Generated Node #0,1,1: 100:[30, 46] Operation: 97-51=46 Moving to Node #0,0 Current State: 100:[51, 58, 9], Operations: ['97-88=9'] Exploring Operation: 58-9=49, Resulting Numbers: [51, 49] Generated Node #0,0,0: 100:[51, 49] Operation: 58-9=49 Exploring Operation: 58-51=7, Resulting Numbers: [9, 7] Generated Node #0,0,1: 100:[9, 7] Operation: 58-51=7 Moving to Node #0,0,0 Current State: 100:[51, 49], Operations: ['97-88=9', '58-9=49'] Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[51, 58, 88, 97], Operations: [] Exploring Operation: 97-88=9, Resulting Numbers: [51, 58, 9] Generated Node #0,0: 100:[51, 58, 9] Operation: 97-88=9 Moving to Node #0,0 Current State: 100:[51, 58, 9], Operations: ['97-88=9'] Exploring Operation: 58-9=49, Resulting Numbers: [51, 49] Generated Node #0,0,0: 100:[51, 49] Operation: 58-9=49 Moving to Node #0,0,0 Current State: 100:[51, 49], Operations: ['97-88=9', '58-9=49'] Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 7, 21, 29, 95 ]
39
[ "29-21=8", "7*8=56", "95-56=39" ]
Current State: 39:[7, 21, 29, 95], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [7, 95, 8] Generated Node #2: [7, 95, 8] from Operation: 29-21=8 Current State: 39:[7, 95, 8], Operations: ['29-21=8'] Exploring Operation: 7*8=56, Resulting Numbers: [95, 56] Generated Node #3: [95, 56] from Operation: 7*8=56 Current State: 39:[95, 56], Operations: ['29-21=8', '7*8=56'] Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[7, 21, 29, 95], Operations: [] Exploring Operation: 21/7=3, Resulting Numbers: [29, 95, 3] Generated Node #0,0: 39:[29, 95, 3] Operation: 21/7=3 Exploring Operation: 95-29=66, Resulting Numbers: [7, 21, 66] Generated Node #0,1: 39:[7, 21, 66] Operation: 95-29=66 Exploring Operation: 29-21=8, Resulting Numbers: [7, 95, 8] Generated Node #0,2: 39:[7, 95, 8] Operation: 29-21=8 Exploring Operation: 95-21=74, Resulting Numbers: [7, 29, 74] Generated Node #0,3: 39:[7, 29, 74] Operation: 95-21=74 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[7, 21, 66], Operations: ['95-29=66'] Exploring Operation: 66-7=59, Resulting Numbers: [21, 59] Generated Node #0,1,0: 39:[21, 59] Operation: 66-7=59 Exploring Operation: 21/7=3, Resulting Numbers: [66, 3] Generated Node #0,1,1: 39:[66, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [66, 14] Generated Node #0,1,2: 39:[66, 14] Operation: 21-7=14 Exploring Operation: 66-21=45, Resulting Numbers: [7, 45] Generated Node #0,1,3: 39:[7, 45] Operation: 66-21=45 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 39:[7, 45], Operations: ['95-29=66', '66-21=45'] Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[66, 3], Operations: ['95-29=66', '21/7=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,39 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[21, 59], Operations: ['95-29=66', '66-7=59'] Exploring Operation: 21*59=1239, Resulting Numbers: [1239] 1239,39 unequal: No Solution Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 21+59=80, Resulting Numbers: [80] 80,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 39:[66, 14], Operations: ['95-29=66', '21-7=14'] Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[7, 29, 74], Operations: ['95-21=74'] Exploring Operation: 29-7=22, Resulting Numbers: [74, 22] Generated Node #0,3,0: 39:[74, 22] Operation: 29-7=22 Exploring Operation: 7+29=36, Resulting Numbers: [74, 36] Generated Node #0,3,1: 39:[74, 36] Operation: 7+29=36 Exploring Operation: 74-29=45, Resulting Numbers: [7, 45] Generated Node #0,3,2: 39:[7, 45] Operation: 74-29=45 Exploring Operation: 74-7=67, Resulting Numbers: [29, 67] Generated Node #0,3,3: 39:[29, 67] Operation: 74-7=67 Moving to Node #0,3,2 Current State: 39:[7, 45], Operations: ['95-21=74', '74-29=45'] Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,39 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[29, 67], Operations: ['95-21=74', '74-7=67'] Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 29*67=1943, Resulting Numbers: [1943] 1943,39 unequal: No Solution Exploring Operation: 29+67=96, Resulting Numbers: [96] 96,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[74, 36], Operations: ['95-21=74', '7+29=36'] Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,39 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[74, 22], Operations: ['95-21=74', '29-7=22'] Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,39 unequal: No Solution Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[7, 95, 8], Operations: ['29-21=8'] Exploring Operation: 95-8=87, Resulting Numbers: [7, 87] Generated Node #0,2,0: 39:[7, 87] Operation: 95-8=87 Exploring Operation: 95-7=88, Resulting Numbers: [8, 88] Generated Node #0,2,1: 39:[8, 88] Operation: 95-7=88 Exploring Operation: 7+8=15, Resulting Numbers: [95, 15] Generated Node #0,2,2: 39:[95, 15] Operation: 7+8=15 Exploring Operation: 8-7=1, Resulting Numbers: [95, 1] Generated Node #0,2,3: 39:[95, 1] Operation: 8-7=1 Moving to Node #0,2,0 Current State: 39:[7, 87], Operations: ['29-21=8', '95-8=87'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 7+87=94, Resulting Numbers: [94] 94,39 unequal: No Solution Exploring Operation: 7*87=609, Resulting Numbers: [609] 609,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[8, 88], Operations: ['29-21=8', '95-7=88'] Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 8*88=704, Resulting Numbers: [704] 704,39 unequal: No Solution Exploring Operation: 8+88=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[95, 1], Operations: ['29-21=8', '8-7=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,39 unequal: No Solution Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,39 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[95, 15], Operations: ['29-21=8', '7+8=15'] Exploring Operation: 95*15=1425, Resulting Numbers: [1425] 1425,39 unequal: No Solution Exploring Operation: 95+15=110, Resulting Numbers: [110] 110,39 unequal: No Solution Exploring Operation: 95-15=80, Resulting Numbers: [80] 80,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[29, 95, 3], Operations: ['21/7=3'] Exploring Operation: 29-3=26, Resulting Numbers: [95, 26] Generated Node #0,0,0: 39:[95, 26] Operation: 29-3=26 Exploring Operation: 29+3=32, Resulting Numbers: [95, 32] Generated Node #0,0,1: 39:[95, 32] Operation: 29+3=32 Exploring Operation: 95-29=66, Resulting Numbers: [3, 66] Generated Node #0,0,2: 39:[3, 66] Operation: 95-29=66 Exploring Operation: 95-3=92, Resulting Numbers: [29, 92] Generated Node #0,0,3: 39:[29, 92] Operation: 95-3=92 Moving to Node #0,0,2 Current State: 39:[3, 66], Operations: ['21/7=3', '95-29=66'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 3*66=198, Resulting Numbers: [198] 198,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[29, 92], Operations: ['21/7=3', '95-3=92'] Exploring Operation: 29+92=121, Resulting Numbers: [121] 121,39 unequal: No Solution Exploring Operation: 29*92=2668, Resulting Numbers: [2668] 2668,39 unequal: No Solution Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[95, 32], Operations: ['21/7=3', '29+3=32'] Exploring Operation: 95-32=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 95*32=3040, Resulting Numbers: [3040] 3040,39 unequal: No Solution Exploring Operation: 95+32=127, Resulting Numbers: [127] 127,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[95, 26], Operations: ['21/7=3', '29-3=26'] Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,39 unequal: No Solution Exploring Operation: 95+26=121, Resulting Numbers: [121] 121,39 unequal: No Solution Exploring Operation: 95*26=2470, Resulting Numbers: [2470] 2470,39 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
[ 84, 64, 9, 11 ]
40
[ "84-64=20", "9+11=20", "20+20=40" ]
Current State: 40:[84, 64, 9, 11], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [9, 11, 20] Generated Node #2: [9, 11, 20] from Operation: 84-64=20 Current State: 40:[9, 11, 20], Operations: ['84-64=20'] Exploring Operation: 9+11=20, Resulting Numbers: [20, 20] Generated Node #3: [20, 20] from Operation: 9+11=20 Current State: 40:[20, 20], Operations: ['84-64=20', '9+11=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[84, 64, 9, 11], Operations: [] Exploring Operation: 84-11=73, Resulting Numbers: [64, 9, 73] Generated Node #0,0: 40:[64, 9, 73] Operation: 84-11=73 Exploring Operation: 64-9=55, Resulting Numbers: [84, 11, 55] Generated Node #0,1: 40:[84, 11, 55] Operation: 64-9=55 Exploring Operation: 64-11=53, Resulting Numbers: [84, 9, 53] Generated Node #0,2: 40:[84, 9, 53] Operation: 64-11=53 Exploring Operation: 84-9=75, Resulting Numbers: [64, 11, 75] Generated Node #0,3: 40:[64, 11, 75] Operation: 84-9=75 Exploring Operation: 84-64=20, Resulting Numbers: [9, 11, 20] Generated Node #0,4: 40:[9, 11, 20] Operation: 84-64=20 Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[9, 11, 20], Operations: ['84-64=20'] Exploring Operation: 20-11=9, Resulting Numbers: [9, 9] Generated Node #0,4,0: 40:[9, 9] Operation: 20-11=9 Exploring Operation: 9+11=20, Resulting Numbers: [20, 20] Generated Node #0,4,1: 40:[20, 20] Operation: 9+11=20 Exploring Operation: 20-9=11, Resulting Numbers: [11, 11] Generated Node #0,4,2: 40:[11, 11] Operation: 20-9=11 Exploring Operation: 11-9=2, Resulting Numbers: [20, 2] Generated Node #0,4,3: 40:[20, 2] Operation: 11-9=2 Exploring Operation: 9+20=29, Resulting Numbers: [11, 29] Generated Node #0,4,4: 40:[11, 29] Operation: 9+20=29 Moving to Node #0,4,1 Current State: 40:[20, 20], Operations: ['84-64=20', '9+11=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[84, 64, 9, 11], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [9, 11, 20] Generated Node #0,4: 40:[9, 11, 20] Operation: 84-64=20 Moving to Node #0,4 Current State: 40:[9, 11, 20], Operations: ['84-64=20'] Exploring Operation: 9+11=20, Resulting Numbers: [20, 20] Generated Node #0,4,1: 40:[20, 20] Operation: 9+11=20 Moving to Node #0,4,1 Current State: 40:[20, 20], Operations: ['84-64=20', '9+11=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 48, 27, 87, 19 ]
42
[ "27+87=114", "114/19=6", "48-6=42" ]
Current State: 42:[48, 27, 87, 19], Operations: [] Exploring Operation: 27+87=114, Resulting Numbers: [48, 19, 114] Generated Node #2: [48, 19, 114] from Operation: 27+87=114 Current State: 42:[48, 19, 114], Operations: ['27+87=114'] Exploring Operation: 114/19=6, Resulting Numbers: [48, 6] Generated Node #3: [48, 6] from Operation: 114/19=6 Current State: 42:[48, 6], Operations: ['27+87=114', '114/19=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[48, 27, 87, 19], Operations: [] Exploring Operation: 87-19=68, Resulting Numbers: [48, 27, 68] Generated Node #0,0: 42:[48, 27, 68] Operation: 87-19=68 Exploring Operation: 87-27=60, Resulting Numbers: [48, 19, 60] Generated Node #0,1: 42:[48, 19, 60] Operation: 87-27=60 Exploring Operation: 87-48=39, Resulting Numbers: [27, 19, 39] Generated Node #0,2: 42:[27, 19, 39] Operation: 87-48=39 Moving to Node #0,2 Current State: 42:[27, 19, 39], Operations: ['87-48=39'] Exploring Operation: 39-27=12, Resulting Numbers: [19, 12] Generated Node #0,2,0: 42:[19, 12] Operation: 39-27=12 Exploring Operation: 27-19=8, Resulting Numbers: [39, 8] Generated Node #0,2,1: 42:[39, 8] Operation: 27-19=8 Exploring Operation: 27+19=46, Resulting Numbers: [39, 46] Generated Node #0,2,2: 42:[39, 46] Operation: 27+19=46 Moving to Node #0,1 Current State: 42:[48, 19, 60], Operations: ['87-27=60'] Exploring Operation: 60-19=41, Resulting Numbers: [48, 41] Generated Node #0,1,0: 42:[48, 41] Operation: 60-19=41 Exploring Operation: 48-19=29, Resulting Numbers: [60, 29] Generated Node #0,1,1: 42:[60, 29] Operation: 48-19=29 Exploring Operation: 60-48=12, Resulting Numbers: [19, 12] Generated Node #0,1,2: 42:[19, 12] Operation: 60-48=12 Moving to Node #0,0 Current State: 42:[48, 27, 68], Operations: ['87-19=68'] Exploring Operation: 68-27=41, Resulting Numbers: [48, 41] Generated Node #0,0,0: 42:[48, 41] Operation: 68-27=41 Exploring Operation: 68-48=20, Resulting Numbers: [27, 20] Generated Node #0,0,1: 42:[27, 20] Operation: 68-48=20 Exploring Operation: 48-27=21, Resulting Numbers: [68, 21] Generated Node #0,0,2: 42:[68, 21] Operation: 48-27=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[48, 41], Operations: ['87-19=68', '68-27=41'] Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 48*41=1968, Resulting Numbers: [1968] 1968,42 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[27, 20], Operations: ['87-19=68', '68-48=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,42 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[68, 21], Operations: ['87-19=68', '48-27=21'] Exploring Operation: 68*21=1428, Resulting Numbers: [1428] 1428,42 unequal: No Solution Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 42:[19, 12], Operations: ['87-48=39', '39-27=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,42 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[39, 8], Operations: ['87-48=39', '27-19=8'] Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,42 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[19, 12], Operations: ['87-27=60', '60-48=12'] Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,42 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[39, 46], Operations: ['87-48=39', '27+19=46'] Exploring Operation: 39+46=85, Resulting Numbers: [85] 85,42 unequal: No Solution Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 39*46=1794, Resulting Numbers: [1794] 1794,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[48, 41], Operations: ['87-27=60', '60-19=41'] Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 48*41=1968, Resulting Numbers: [1968] 1968,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[60, 29], Operations: ['87-27=60', '48-19=29'] Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,42 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 15, 63, 90, 6 ]
10
[ "15+90=105", "6*105=630", "630/63=10" ]
Current State: 10:[15, 63, 90, 6], Operations: [] Exploring Operation: 15+90=105, Resulting Numbers: [63, 6, 105] Generated Node #2: [63, 6, 105] from Operation: 15+90=105 Current State: 10:[63, 6, 105], Operations: ['15+90=105'] Exploring Operation: 6*105=630, Resulting Numbers: [63, 630] Generated Node #3: [63, 630] from Operation: 6*105=630 Current State: 10:[63, 630], Operations: ['15+90=105', '6*105=630'] Exploring Operation: 630/63=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 63, 90, 6], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [15, 6, 27] Generated Node #0,0: 10:[15, 6, 27] Operation: 90-63=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[15, 6, 27], Operations: ['90-63=27'] Exploring Operation: 27-15=12, Resulting Numbers: [6, 12] Generated Node #0,0,0: 10:[6, 12] Operation: 27-15=12 Moving to Node #0,0,0 Current State: 10:[6, 12], Operations: ['90-63=27', '27-15=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,10 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
[ 88, 44, 12, 69 ]
13
[ "88-44=44", "69-12=57", "57-44=13" ]
Current State: 13:[88, 44, 12, 69], Operations: [] Exploring Operation: 88-44=44, Resulting Numbers: [12, 69, 44] Generated Node #2: [12, 69, 44] from Operation: 88-44=44 Current State: 13:[12, 69, 44], Operations: ['88-44=44'] Exploring Operation: 69-12=57, Resulting Numbers: [44, 57] Generated Node #3: [44, 57] from Operation: 69-12=57 Current State: 13:[44, 57], Operations: ['88-44=44', '69-12=57'] Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[88, 44, 12, 69], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [44, 12, 19] Generated Node #0,0: 13:[44, 12, 19] Operation: 88-69=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[44, 12, 19], Operations: ['88-69=19'] Exploring Operation: 44-19=25, Resulting Numbers: [12, 25] Generated Node #0,0,0: 13:[12, 25] Operation: 44-19=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[12, 25], Operations: ['88-69=19', '44-19=25'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[88, 44, 12, 69], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [44, 12, 19] Generated Node #0,0: 13:[44, 12, 19] Operation: 88-69=19 Moving to Node #0,0 Current State: 13:[44, 12, 19], Operations: ['88-69=19'] Exploring Operation: 44-19=25, Resulting Numbers: [12, 25] Generated Node #0,0,0: 13:[12, 25] Operation: 44-19=25 Moving to Node #0,0,0 Current State: 13:[12, 25], Operations: ['88-69=19', '44-19=25'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 20, 5, 86, 40 ]
38
[ "20*86=1720", "1720/40=43", "43-5=38" ]
Current State: 38:[20, 5, 86, 40], Operations: [] Exploring Operation: 20*86=1720, Resulting Numbers: [5, 40, 1720] Generated Node #2: [5, 40, 1720] from Operation: 20*86=1720 Current State: 38:[5, 40, 1720], Operations: ['20*86=1720'] Exploring Operation: 1720/40=43, Resulting Numbers: [5, 43] Generated Node #3: [5, 43] from Operation: 1720/40=43 Current State: 38:[5, 43], Operations: ['20*86=1720', '1720/40=43'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[20, 5, 86, 40], Operations: [] Exploring Operation: 86-40=46, Resulting Numbers: [20, 5, 46] Generated Node #0,0: 38:[20, 5, 46] Operation: 86-40=46 Moving to Node #0,0 Current State: 38:[20, 5, 46], Operations: ['86-40=46'] Exploring Operation: 46-5=41, Resulting Numbers: [20, 41] Generated Node #0,0,0: 38:[20, 41] Operation: 46-5=41 Moving to Node #0,0,0 Current State: 38:[20, 41], Operations: ['86-40=46', '46-5=41'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,38 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 31, 88, 99, 9 ]
95
[ "31-9=22", "88/22=4", "99-4=95" ]
Current State: 95:[31, 88, 99, 9], Operations: [] Exploring Operation: 31-9=22, Resulting Numbers: [88, 99, 22] Generated Node #2: [88, 99, 22] from Operation: 31-9=22 Current State: 95:[88, 99, 22], Operations: ['31-9=22'] Exploring Operation: 88/22=4, Resulting Numbers: [99, 4] Generated Node #3: [99, 4] from Operation: 88/22=4 Current State: 95:[99, 4], Operations: ['31-9=22', '88/22=4'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[31, 88, 99, 9], Operations: [] Exploring Operation: 31-9=22, Resulting Numbers: [88, 99, 22] Generated Node #0,0: 95:[88, 99, 22] Operation: 31-9=22 Exploring Operation: 99-88=11, Resulting Numbers: [31, 9, 11] Generated Node #0,1: 95:[31, 9, 11] Operation: 99-88=11 Exploring Operation: 88+9=97, Resulting Numbers: [31, 99, 97] Generated Node #0,2: 95:[31, 99, 97] Operation: 88+9=97 Moving to Node #0,0 Current State: 95:[88, 99, 22], Operations: ['31-9=22'] Exploring Operation: 88+22=110, Resulting Numbers: [99, 110] Generated Node #0,0,0: 95:[99, 110] Operation: 88+22=110 Exploring Operation: 99-88=11, Resulting Numbers: [22, 11] Generated Node #0,0,1: 95:[22, 11] Operation: 99-88=11 Exploring Operation: 88/22=4, Resulting Numbers: [99, 4] Generated Node #0,0,2: 95:[99, 4] Operation: 88/22=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[99, 4], Operations: ['31-9=22', '88/22=4'] Exploring Operation: 99*4=396, Resulting Numbers: [396] 396,95 unequal: No Solution Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,95 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[31, 88, 99, 9], Operations: [] Exploring Operation: 31-9=22, Resulting Numbers: [88, 99, 22] Generated Node #0,0: 95:[88, 99, 22] Operation: 31-9=22 Moving to Node #0,0 Current State: 95:[88, 99, 22], Operations: ['31-9=22'] Exploring Operation: 88/22=4, Resulting Numbers: [99, 4] Generated Node #0,0,2: 95:[99, 4] Operation: 88/22=4 Moving to Node #0,0,2 Current State: 95:[99, 4], Operations: ['31-9=22', '88/22=4'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 62, 3, 29, 96 ]
43
[ "62-29=33", "96+33=129", "129/3=43" ]
Current State: 43:[62, 3, 29, 96], Operations: [] Exploring Operation: 62-29=33, Resulting Numbers: [3, 96, 33] Generated Node #2: [3, 96, 33] from Operation: 62-29=33 Current State: 43:[3, 96, 33], Operations: ['62-29=33'] Exploring Operation: 96+33=129, Resulting Numbers: [3, 129] Generated Node #3: [3, 129] from Operation: 96+33=129 Current State: 43:[3, 129], Operations: ['62-29=33', '96+33=129'] Exploring Operation: 129/3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[62, 3, 29, 96], Operations: [] Exploring Operation: 62-3=59, Resulting Numbers: [29, 96, 59] Generated Node #0,0: 43:[29, 96, 59] Operation: 62-3=59 Exploring Operation: 96-62=34, Resulting Numbers: [3, 29, 34] Generated Node #0,1: 43:[3, 29, 34] Operation: 96-62=34 Exploring Operation: 96/3=32, Resulting Numbers: [62, 29, 32] Generated Node #0,2: 43:[62, 29, 32] Operation: 96/3=32 Moving to Node #0,2 Current State: 43:[62, 29, 32], Operations: ['96/3=32'] Exploring Operation: 62-32=30, Resulting Numbers: [29, 30] Generated Node #0,2,0: 43:[29, 30] Operation: 62-32=30 Exploring Operation: 29+32=61, Resulting Numbers: [62, 61] Generated Node #0,2,1: 43:[62, 61] Operation: 29+32=61 Exploring Operation: 62-29=33, Resulting Numbers: [32, 33] Generated Node #0,2,2: 43:[32, 33] Operation: 62-29=33 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[32, 33], Operations: ['96/3=32', '62-29=33'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,43 unequal: No Solution Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[29, 30], Operations: ['96/3=32', '62-32=30'] Exploring Operation: 29*30=870, Resulting Numbers: [870] 870,43 unequal: No Solution Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[62, 61], Operations: ['96/3=32', '29+32=61'] Exploring Operation: 62+61=123, Resulting Numbers: [123] 123,43 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 62*61=3782, Resulting Numbers: [3782] 3782,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 43:[3, 29, 34], Operations: ['96-62=34'] Exploring Operation: 29-3=26, Resulting Numbers: [34, 26] Generated Node #0,1,0: 43:[34, 26] Operation: 29-3=26 Exploring Operation: 3+34=37, Resulting Numbers: [29, 37] Generated Node #0,1,1: 43:[29, 37] Operation: 3+34=37 Exploring Operation: 3+29=32, Resulting Numbers: [34, 32] Generated Node #0,1,2: 43:[34, 32] Operation: 3+29=32 Moving to Node #0,0 Current State: 43:[29, 96, 59], Operations: ['62-3=59'] Exploring Operation: 59-29=30, Resulting Numbers: [96, 30] Generated Node #0,0,0: 43:[96, 30] Operation: 59-29=30 Exploring Operation: 96-59=37, Resulting Numbers: [29, 37] Generated Node #0,0,1: 43:[29, 37] Operation: 96-59=37 Exploring Operation: 96-29=67, Resulting Numbers: [59, 67] Generated Node #0,0,2: 43:[59, 67] Operation: 96-29=67 Moving to Node #0,1,1 Current State: 43:[29, 37], Operations: ['96-62=34', '3+34=37'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[34, 32], Operations: ['96-62=34', '3+29=32'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,43 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[29, 37], Operations: ['62-3=59', '96-59=37'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 29*37=1073, Resulting Numbers: [1073] 1073,43 unequal: No Solution Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[34, 26], Operations: ['96-62=34', '29-3=26'] Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,43 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[59, 67], Operations: ['62-3=59', '96-29=67'] Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 59*67=3953, Resulting Numbers: [3953] 3953,43 unequal: No Solution Exploring Operation: 59+67=126, Resulting Numbers: [126] 126,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[96, 30], Operations: ['62-3=59', '59-29=30'] Exploring Operation: 96*30=2880, Resulting Numbers: [2880] 2880,43 unequal: No Solution Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 96+30=126, Resulting Numbers: [126] 126,43 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 10, 47, 58, 7 ]
88
[ "47-10=37", "58-7=51", "37+51=88" ]
Current State: 88:[10, 47, 58, 7], Operations: [] Exploring Operation: 47-10=37, Resulting Numbers: [58, 7, 37] Generated Node #2: [58, 7, 37] from Operation: 47-10=37 Current State: 88:[58, 7, 37], Operations: ['47-10=37'] Exploring Operation: 58-7=51, Resulting Numbers: [37, 51] Generated Node #3: [37, 51] from Operation: 58-7=51 Current State: 88:[37, 51], Operations: ['47-10=37', '58-7=51'] Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[10, 47, 58, 7], Operations: [] Exploring Operation: 58-10=48, Resulting Numbers: [47, 7, 48] Generated Node #0,0: 88:[47, 7, 48] Operation: 58-10=48 Exploring Operation: 58-47=11, Resulting Numbers: [10, 7, 11] Generated Node #0,1: 88:[10, 7, 11] Operation: 58-47=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[10, 7, 11], Operations: ['58-47=11'] Exploring Operation: 10-7=3, Resulting Numbers: [11, 3] Generated Node #0,1,0: 88:[11, 3] Operation: 10-7=3 Exploring Operation: 11-7=4, Resulting Numbers: [10, 4] Generated Node #0,1,1: 88:[10, 4] Operation: 11-7=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[11, 3], Operations: ['58-47=11', '10-7=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,88 unequal: No Solution No 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: 88:[10, 4], Operations: ['58-47=11', '11-7=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,88 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: 88:[47, 7, 48], Operations: ['58-10=48'] Exploring Operation: 48-7=41, Resulting Numbers: [47, 41] Generated Node #0,0,0: 88:[47, 41] Operation: 48-7=41 Exploring Operation: 48-47=1, Resulting Numbers: [7, 1] Generated Node #0,0,1: 88:[7, 1] Operation: 48-47=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[7, 1], Operations: ['58-10=48', '48-47=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,88 unequal: No Solution No 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: 88:[47, 41], Operations: ['58-10=48', '48-7=41'] Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[10, 47, 58, 7], Operations: [] Exploring Operation: 58-10=48, Resulting Numbers: [47, 7, 48] Generated Node #0,0: 88:[47, 7, 48] Operation: 58-10=48 Moving to Node #0,0 Current State: 88:[47, 7, 48], Operations: ['58-10=48'] Exploring Operation: 48-7=41, Resulting Numbers: [47, 41] Generated Node #0,0,0: 88:[47, 41] Operation: 48-7=41 Moving to Node #0,0,0 Current State: 88:[47, 41], Operations: ['58-10=48', '48-7=41'] Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 88, 43, 47, 51 ]
58
[ "51-43=8", "88/8=11", "47+11=58" ]
Current State: 58:[88, 43, 47, 51], Operations: [] Exploring Operation: 51-43=8, Resulting Numbers: [88, 47, 8] Generated Node #2: [88, 47, 8] from Operation: 51-43=8 Current State: 58:[88, 47, 8], Operations: ['51-43=8'] Exploring Operation: 88/8=11, Resulting Numbers: [47, 11] Generated Node #3: [47, 11] from Operation: 88/8=11 Current State: 58:[47, 11], Operations: ['51-43=8', '88/8=11'] Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[88, 43, 47, 51], Operations: [] Exploring Operation: 88-51=37, Resulting Numbers: [43, 47, 37] Generated Node #0,0: 58:[43, 47, 37] Operation: 88-51=37 Exploring Operation: 88-43=45, Resulting Numbers: [47, 51, 45] Generated Node #0,1: 58:[47, 51, 45] Operation: 88-43=45 Exploring Operation: 88-47=41, Resulting Numbers: [43, 51, 41] Generated Node #0,2: 58:[43, 51, 41] Operation: 88-47=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[47, 51, 45], Operations: ['88-43=45'] Exploring Operation: 51-47=4, Resulting Numbers: [45, 4] Generated Node #0,1,0: 58:[45, 4] Operation: 51-47=4 Exploring Operation: 47-45=2, Resulting Numbers: [51, 2] Generated Node #0,1,1: 58:[51, 2] Operation: 47-45=2 Exploring Operation: 51-45=6, Resulting Numbers: [47, 6] Generated Node #0,1,2: 58:[47, 6] Operation: 51-45=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[51, 2], Operations: ['88-43=45', '47-45=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,58 unequal: No Solution No 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: 58:[45, 4], Operations: ['88-43=45', '51-47=4'] Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,58 unequal: No Solution Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,58 unequal: No Solution No 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: 58:[47, 6], Operations: ['88-43=45', '51-45=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,58 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,58 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: 58:[43, 47, 37], Operations: ['88-51=37'] Exploring Operation: 43-37=6, Resulting Numbers: [47, 6] Generated Node #0,0,0: 58:[47, 6] Operation: 43-37=6 Exploring Operation: 47-37=10, Resulting Numbers: [43, 10] Generated Node #0,0,1: 58:[43, 10] Operation: 47-37=10 Exploring Operation: 47-43=4, Resulting Numbers: [37, 4] Generated Node #0,0,2: 58:[37, 4] Operation: 47-43=4 Moving to Node #0,0,2 Current State: 58:[37, 4], Operations: ['88-51=37', '47-43=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[47, 6], Operations: ['88-51=37', '43-37=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[43, 10], Operations: ['88-51=37', '47-37=10'] Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,58 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[43, 51, 41], Operations: ['88-47=41'] Exploring Operation: 43-41=2, Resulting Numbers: [51, 2] Generated Node #0,2,0: 58:[51, 2] Operation: 43-41=2 Exploring Operation: 51-43=8, Resulting Numbers: [41, 8] Generated Node #0,2,1: 58:[41, 8] Operation: 51-43=8 Exploring Operation: 51-41=10, Resulting Numbers: [43, 10] Generated Node #0,2,2: 58:[43, 10] Operation: 51-41=10 Moving to Node #0,2,0 Current State: 58:[51, 2], Operations: ['88-47=41', '43-41=2'] Exploring Operation: 51*2=102, Resulting Numbers: [102] 102,58 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[41, 8], Operations: ['88-47=41', '51-43=8'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[43, 10], Operations: ['88-47=41', '51-41=10'] Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 7, 94, 5, 97 ]
14
[ "94+5=99", "99-97=2", "7*2=14" ]
Current State: 14:[7, 94, 5, 97], Operations: [] Exploring Operation: 94+5=99, Resulting Numbers: [7, 97, 99] Generated Node #2: [7, 97, 99] from Operation: 94+5=99 Current State: 14:[7, 97, 99], Operations: ['94+5=99'] Exploring Operation: 99-97=2, Resulting Numbers: [7, 2] Generated Node #3: [7, 2] from Operation: 99-97=2 Current State: 14:[7, 2], Operations: ['94+5=99', '99-97=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[7, 94, 5, 97], Operations: [] Exploring Operation: 94-5=89, Resulting Numbers: [7, 97, 89] Generated Node #0,0: 14:[7, 97, 89] Operation: 94-5=89 Exploring Operation: 97-94=3, Resulting Numbers: [7, 5, 3] Generated Node #0,1: 14:[7, 5, 3] Operation: 97-94=3 Exploring Operation: 97-5=92, Resulting Numbers: [7, 94, 92] Generated Node #0,2: 14:[7, 94, 92] Operation: 97-5=92 Exploring Operation: 94-7=87, Resulting Numbers: [5, 97, 87] Generated Node #0,3: 14:[5, 97, 87] Operation: 94-7=87 Exploring Operation: 97-7=90, Resulting Numbers: [94, 5, 90] Generated Node #0,4: 14:[94, 5, 90] Operation: 97-7=90 Moving to Node #0,1 Current State: 14:[7, 5, 3], Operations: ['97-94=3'] Exploring Operation: 5*3=15, Resulting Numbers: [7, 15] Generated Node #0,1,0: 14:[7, 15] Operation: 5*3=15 Exploring Operation: 5-3=2, Resulting Numbers: [7, 2] Generated Node #0,1,1: 14:[7, 2] Operation: 5-3=2 Exploring Operation: 5+3=8, Resulting Numbers: [7, 8] Generated Node #0,1,2: 14:[7, 8] Operation: 5+3=8 Exploring Operation: 7-5=2, Resulting Numbers: [3, 2] Generated Node #0,1,3: 14:[3, 2] Operation: 7-5=2 Exploring Operation: 7+5=12, Resulting Numbers: [3, 12] Generated Node #0,1,4: 14:[3, 12] Operation: 7+5=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[7, 2], Operations: ['97-94=3', '5-3=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,14 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[7, 94, 5, 97], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [7, 5, 3] Generated Node #0,1: 14:[7, 5, 3] Operation: 97-94=3 Moving to Node #0,1 Current State: 14:[7, 5, 3], Operations: ['97-94=3'] Exploring Operation: 5-3=2, Resulting Numbers: [7, 2] Generated Node #0,1,1: 14:[7, 2] Operation: 5-3=2 Moving to Node #0,1,1 Current State: 14:[7, 2], Operations: ['97-94=3', '5-3=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 54, 77, 46, 86 ]
64
[ "77*46=3542", "3542-86=3456", "3456/54=64" ]
Current State: 64:[54, 77, 46, 86], Operations: [] Exploring Operation: 77*46=3542, Resulting Numbers: [54, 86, 3542] Generated Node #2: [54, 86, 3542] from Operation: 77*46=3542 Current State: 64:[54, 86, 3542], Operations: ['77*46=3542'] Exploring Operation: 3542-86=3456, Resulting Numbers: [54, 3456] Generated Node #3: [54, 3456] from Operation: 3542-86=3456 Current State: 64:[54, 3456], Operations: ['77*46=3542', '3542-86=3456'] Exploring Operation: 3456/54=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[54, 77, 46, 86], Operations: [] Exploring Operation: 77-46=31, Resulting Numbers: [54, 86, 31] Generated Node #0,0: 64:[54, 86, 31] Operation: 77-46=31 Exploring Operation: 86-77=9, Resulting Numbers: [54, 46, 9] Generated Node #0,1: 64:[54, 46, 9] Operation: 86-77=9 Exploring Operation: 86-54=32, Resulting Numbers: [77, 46, 32] Generated Node #0,2: 64:[77, 46, 32] Operation: 86-54=32 Exploring Operation: 86-46=40, Resulting Numbers: [54, 77, 40] Generated Node #0,3: 64:[54, 77, 40] Operation: 86-46=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[54, 46, 9], Operations: ['86-77=9'] Exploring Operation: 54-46=8, Resulting Numbers: [9, 8] Generated Node #0,1,0: 64:[9, 8] Operation: 54-46=8 Exploring Operation: 46-9=37, Resulting Numbers: [54, 37] Generated Node #0,1,1: 64:[54, 37] Operation: 46-9=37 Exploring Operation: 54+9=63, Resulting Numbers: [46, 63] Generated Node #0,1,2: 64:[46, 63] Operation: 54+9=63 Exploring Operation: 54/9=6, Resulting Numbers: [46, 6] Generated Node #0,1,3: 64:[46, 6] Operation: 54/9=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[9, 8], Operations: ['86-77=9', '54-46=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 9+8=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,1,1 Current State: 64:[54, 37], Operations: ['86-77=9', '46-9=37'] Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,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,1,2 Current State: 64:[46, 63], Operations: ['86-77=9', '54+9=63'] Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 46+63=109, Resulting Numbers: [109] 109,64 unequal: No Solution Exploring Operation: 46*63=2898, Resulting Numbers: [2898] 2898,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,1,3 Current State: 64:[46, 6], Operations: ['86-77=9', '54/9=6'] Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,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:[77, 46, 32], Operations: ['86-54=32'] Exploring Operation: 46+32=78, Resulting Numbers: [77, 78] Generated Node #0,2,0: 64:[77, 78] Operation: 46+32=78 Exploring Operation: 46-32=14, Resulting Numbers: [77, 14] Generated Node #0,2,1: 64:[77, 14] Operation: 46-32=14 Exploring Operation: 77-46=31, Resulting Numbers: [32, 31] Generated Node #0,2,2: 64:[32, 31] Operation: 77-46=31 Exploring Operation: 77-32=45, Resulting Numbers: [46, 45] Generated Node #0,2,3: 64:[46, 45] Operation: 77-32=45 Moving to Node #0,2,2 Current State: 64:[32, 31], Operations: ['86-54=32', '77-46=31'] Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[77, 14], Operations: ['86-54=32', '46-32=14'] Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,64 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[46, 45], Operations: ['86-54=32', '77-32=45'] Exploring Operation: 46*45=2070, Resulting Numbers: [2070] 2070,64 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 46+45=91, Resulting Numbers: [91] 91,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[77, 78], Operations: ['86-54=32', '46+32=78'] Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 77*78=6006, Resulting Numbers: [6006] 6006,64 unequal: No Solution Exploring Operation: 77+78=155, Resulting Numbers: [155] 155,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[54, 77, 40], Operations: ['86-46=40'] Exploring Operation: 54-40=14, Resulting Numbers: [77, 14] Generated Node #0,3,0: 64:[77, 14] Operation: 54-40=14 Exploring Operation: 77-54=23, Resulting Numbers: [40, 23] Generated Node #0,3,1: 64:[40, 23] Operation: 77-54=23 Exploring Operation: 77-40=37, Resulting Numbers: [54, 37] Generated Node #0,3,2: 64:[54, 37] Operation: 77-40=37 Exploring Operation: 54+40=94, Resulting Numbers: [77, 94] Generated Node #0,3,3: 64:[77, 94] Operation: 54+40=94 Moving to Node #0,3,0 Current State: 64:[77, 14], Operations: ['86-46=40', '54-40=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[54, 37], Operations: ['86-46=40', '77-40=37'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,64 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[40, 23], Operations: ['86-46=40', '77-54=23'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[77, 94], Operations: ['86-46=40', '54+40=94'] Exploring Operation: 77*94=7238, Resulting Numbers: [7238] 7238,64 unequal: No Solution Exploring Operation: 94-77=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 77+94=171, Resulting Numbers: [171] 171,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 Current State: 64:[54, 86, 31], Operations: ['77-46=31'] Exploring Operation: 54+31=85, Resulting Numbers: [86, 85] Generated Node #0,0,0: 64:[86, 85] Operation: 54+31=85 Exploring Operation: 86-54=32, Resulting Numbers: [31, 32] Generated Node #0,0,1: 64:[31, 32] Operation: 86-54=32 Exploring Operation: 54-31=23, Resulting Numbers: [86, 23] Generated Node #0,0,2: 64:[86, 23] Operation: 54-31=23 Exploring Operation: 86-31=55, Resulting Numbers: [54, 55] Generated Node #0,0,3: 64:[54, 55] Operation: 86-31=55 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[31, 32], Operations: ['77-46=31', '86-54=32'] Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,64 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,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:[54, 55], Operations: ['77-46=31', '86-31=55'] Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,64 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 54*55=2970, Resulting Numbers: [2970] 2970,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:[86, 23], Operations: ['77-46=31', '54-31=23'] Exploring Operation: 86+23=109, Resulting Numbers: [109] 109,64 unequal: No Solution Exploring Operation: 86*23=1978, Resulting Numbers: [1978] 1978,64 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,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,0 Current State: 64:[86, 85], Operations: ['77-46=31', '54+31=85'] Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 86*85=7310, Resulting Numbers: [7310] 7310,64 unequal: No Solution Exploring Operation: 86+85=171, Resulting Numbers: [171] 171,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 No solution found.
0
hs_4
mult_heuristic
[ 2, 79, 48, 42 ]
71
[ "79-2=77", "48-42=6", "77-6=71" ]
Current State: 71:[2, 79, 48, 42], Operations: [] Exploring Operation: 79-2=77, Resulting Numbers: [48, 42, 77] Generated Node #2: [48, 42, 77] from Operation: 79-2=77 Current State: 71:[48, 42, 77], Operations: ['79-2=77'] Exploring Operation: 48-42=6, Resulting Numbers: [77, 6] Generated Node #3: [77, 6] from Operation: 48-42=6 Current State: 71:[77, 6], Operations: ['79-2=77', '48-42=6'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[2, 79, 48, 42], Operations: [] Exploring Operation: 2*42=84, Resulting Numbers: [79, 48, 84] Generated Node #0,0: 71:[79, 48, 84] Operation: 2*42=84 Moving to Node #0,0 Current State: 71:[79, 48, 84], Operations: ['2*42=84'] Exploring Operation: 84-48=36, Resulting Numbers: [79, 36] Generated Node #0,0,0: 71:[79, 36] Operation: 84-48=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[79, 36], Operations: ['2*42=84', '84-48=36'] Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 14, 83, 77, 20 ]
27
[ "77*20=1540", "1540/14=110", "110-83=27" ]
Current State: 27:[14, 83, 77, 20], Operations: [] Exploring Operation: 77*20=1540, Resulting Numbers: [14, 83, 1540] Generated Node #2: [14, 83, 1540] from Operation: 77*20=1540 Current State: 27:[14, 83, 1540], Operations: ['77*20=1540'] Exploring Operation: 1540/14=110, Resulting Numbers: [83, 110] Generated Node #3: [83, 110] from Operation: 1540/14=110 Current State: 27:[83, 110], Operations: ['77*20=1540', '1540/14=110'] Exploring Operation: 110-83=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[14, 83, 77, 20], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [14, 20, 6] Generated Node #0,0: 27:[14, 20, 6] Operation: 83-77=6 Exploring Operation: 83-20=63, Resulting Numbers: [14, 77, 63] Generated Node #0,1: 27:[14, 77, 63] Operation: 83-20=63 Moving to Node #0,0 Current State: 27:[14, 20, 6], Operations: ['83-77=6'] Exploring Operation: 20-14=6, Resulting Numbers: [6, 6] Generated Node #0,0,0: 27:[6, 6] Operation: 20-14=6 Exploring Operation: 20+6=26, Resulting Numbers: [14, 26] Generated Node #0,0,1: 27:[14, 26] Operation: 20+6=26 Moving to Node #0,1 Current State: 27:[14, 77, 63], Operations: ['83-20=63'] Exploring Operation: 77-14=63, Resulting Numbers: [63, 63] Generated Node #0,1,0: 27:[63, 63] Operation: 77-14=63 Exploring Operation: 77-63=14, Resulting Numbers: [14, 14] Generated Node #0,1,1: 27:[14, 14] Operation: 77-63=14 Moving to Node #0,0,0 Current State: 27:[6, 6], Operations: ['83-77=6', '20-14=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[14, 26], Operations: ['83-77=6', '20+6=26'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[14, 14], Operations: ['83-20=63', '77-63=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[63, 63], Operations: ['83-20=63', '77-14=63'] Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,27 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,27 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 53, 30, 28, 64 ]
69
[ "53-30=23", "28+64=92", "92-23=69" ]
Current State: 69:[53, 30, 28, 64], Operations: [] Exploring Operation: 53-30=23, Resulting Numbers: [28, 64, 23] Generated Node #2: [28, 64, 23] from Operation: 53-30=23 Current State: 69:[28, 64, 23], Operations: ['53-30=23'] Exploring Operation: 28+64=92, Resulting Numbers: [23, 92] Generated Node #3: [23, 92] from Operation: 28+64=92 Current State: 69:[23, 92], Operations: ['53-30=23', '28+64=92'] Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[53, 30, 28, 64], Operations: [] Exploring Operation: 53-30=23, Resulting Numbers: [28, 64, 23] Generated Node #0,0: 69:[28, 64, 23] Operation: 53-30=23 Moving to Node #0,0 Current State: 69:[28, 64, 23], Operations: ['53-30=23'] Exploring Operation: 28-23=5, Resulting Numbers: [64, 5] Generated Node #0,0,0: 69:[64, 5] Operation: 28-23=5 Moving to Node #0,0,0 Current State: 69:[64, 5], Operations: ['53-30=23', '28-23=5'] Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[53, 30, 28, 64], Operations: [] Exploring Operation: 53-30=23, Resulting Numbers: [28, 64, 23] Generated Node #0,0: 69:[28, 64, 23] Operation: 53-30=23 Moving to Node #0,0 Current State: 69:[28, 64, 23], Operations: ['53-30=23'] Exploring Operation: 28-23=5, Resulting Numbers: [64, 5] Generated Node #0,0,0: 69:[64, 5] Operation: 28-23=5 Moving to Node #0,0,0 Current State: 69:[64, 5], Operations: ['53-30=23', '28-23=5'] Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 29, 46, 39, 67 ]
89
[ "46-29=17", "39+67=106", "106-17=89" ]
Current State: 89:[29, 46, 39, 67], Operations: [] Exploring Operation: 46-29=17, Resulting Numbers: [39, 67, 17] Generated Node #2: [39, 67, 17] from Operation: 46-29=17 Current State: 89:[39, 67, 17], Operations: ['46-29=17'] Exploring Operation: 39+67=106, Resulting Numbers: [17, 106] Generated Node #3: [17, 106] from Operation: 39+67=106 Current State: 89:[17, 106], Operations: ['46-29=17', '39+67=106'] Exploring Operation: 106-17=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[29, 46, 39, 67], Operations: [] Exploring Operation: 29+46=75, Resulting Numbers: [39, 67, 75] Generated Node #0,0: 89:[39, 67, 75] Operation: 29+46=75 Exploring Operation: 46+39=85, Resulting Numbers: [29, 67, 85] Generated Node #0,1: 89:[29, 67, 85] Operation: 46+39=85 Exploring Operation: 29+67=96, Resulting Numbers: [46, 39, 96] Generated Node #0,2: 89:[46, 39, 96] Operation: 29+67=96 Exploring Operation: 29+39=68, Resulting Numbers: [46, 67, 68] Generated Node #0,3: 89:[46, 67, 68] Operation: 29+39=68 Moving to Node #0,0 Current State: 89:[39, 67, 75], Operations: ['29+46=75'] Exploring Operation: 75-39=36, Resulting Numbers: [67, 36] Generated Node #0,0,0: 89:[67, 36] Operation: 75-39=36 Exploring Operation: 39+67=106, Resulting Numbers: [75, 106] Generated Node #0,0,1: 89:[75, 106] Operation: 39+67=106 Exploring Operation: 67-39=28, Resulting Numbers: [75, 28] Generated Node #0,0,2: 89:[75, 28] Operation: 67-39=28 Exploring Operation: 39+75=114, Resulting Numbers: [67, 114] Generated Node #0,0,3: 89:[67, 114] Operation: 39+75=114 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[75, 106], Operations: ['29+46=75', '39+67=106'] Exploring Operation: 106-75=31, Resulting Numbers: [31] 31,89 unequal: No Solution Exploring Operation: 75*106=7950, Resulting Numbers: [7950] 7950,89 unequal: No Solution Exploring Operation: 75+106=181, Resulting Numbers: [181] 181,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:[67, 114], Operations: ['29+46=75', '39+75=114'] Exploring Operation: 114-67=47, Resulting Numbers: [47] 47,89 unequal: No Solution Exploring Operation: 67+114=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 67*114=7638, Resulting Numbers: [7638] 7638,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:[67, 36], Operations: ['29+46=75', '75-39=36'] Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,89 unequal: No Solution Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,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,2 Current State: 89:[75, 28], Operations: ['29+46=75', '67-39=28'] Exploring Operation: 75*28=2100, Resulting Numbers: [2100] 2100,89 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,89 unequal: No Solution Exploring Operation: 75+28=103, Resulting Numbers: [103] 103,89 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: 89:[46, 67, 68], Operations: ['29+39=68'] Exploring Operation: 67-46=21, Resulting Numbers: [68, 21] Generated Node #0,3,0: 89:[68, 21] Operation: 67-46=21 Exploring Operation: 68-46=22, Resulting Numbers: [67, 22] Generated Node #0,3,1: 89:[67, 22] Operation: 68-46=22 Exploring Operation: 46+68=114, Resulting Numbers: [67, 114] Generated Node #0,3,2: 89:[67, 114] Operation: 46+68=114 Exploring Operation: 46+67=113, Resulting Numbers: [68, 113] Generated Node #0,3,3: 89:[68, 113] Operation: 46+67=113 Moving to Node #0,1 Current State: 89:[29, 67, 85], Operations: ['46+39=85'] Exploring Operation: 29+85=114, Resulting Numbers: [67, 114] Generated Node #0,1,0: 89:[67, 114] Operation: 29+85=114 Exploring Operation: 85-29=56, Resulting Numbers: [67, 56] Generated Node #0,1,1: 89:[67, 56] Operation: 85-29=56 Exploring Operation: 67-29=38, Resulting Numbers: [85, 38] Generated Node #0,1,2: 89:[85, 38] Operation: 67-29=38 Exploring Operation: 29+67=96, Resulting Numbers: [85, 96] Generated Node #0,1,3: 89:[85, 96] Operation: 29+67=96 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[85, 96], Operations: ['46+39=85', '29+67=96'] Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 85+96=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 85*96=8160, Resulting Numbers: [8160] 8160,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[67, 114], Operations: ['46+39=85', '29+85=114'] Exploring Operation: 67+114=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 67*114=7638, Resulting Numbers: [7638] 7638,89 unequal: No Solution Exploring Operation: 114-67=47, Resulting Numbers: [47] 47,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[67, 56], Operations: ['46+39=85', '85-29=56'] Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 67*56=3752, Resulting Numbers: [3752] 3752,89 unequal: No Solution Exploring Operation: 67+56=123, Resulting Numbers: [123] 123,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[85, 38], Operations: ['46+39=85', '67-29=38'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,89 unequal: No Solution Exploring Operation: 85*38=3230, Resulting Numbers: [3230] 3230,89 unequal: No Solution Exploring Operation: 85+38=123, Resulting Numbers: [123] 123,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:[46, 39, 96], Operations: ['29+67=96'] Exploring Operation: 46+39=85, Resulting Numbers: [96, 85] Generated Node #0,2,0: 89:[96, 85] Operation: 46+39=85 Exploring Operation: 96-39=57, Resulting Numbers: [46, 57] Generated Node #0,2,1: 89:[46, 57] Operation: 96-39=57 Exploring Operation: 96-46=50, Resulting Numbers: [39, 50] Generated Node #0,2,2: 89:[39, 50] Operation: 96-46=50 Exploring Operation: 46-39=7, Resulting Numbers: [96, 7] Generated Node #0,2,3: 89:[96, 7] Operation: 46-39=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[96, 85], Operations: ['29+67=96', '46+39=85'] Exploring Operation: 96+85=181, Resulting Numbers: [181] 181,89 unequal: No Solution Exploring Operation: 96*85=8160, Resulting Numbers: [8160] 8160,89 unequal: No Solution Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,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:[46, 57], Operations: ['29+67=96', '96-39=57'] Exploring Operation: 46*57=2622, Resulting Numbers: [2622] 2622,89 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,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:[39, 50], Operations: ['29+67=96', '96-46=50'] Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 39+50=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[29, 46, 39, 67], Operations: [] Exploring Operation: 29+67=96, Resulting Numbers: [46, 39, 96] Generated Node #0,2: 89:[46, 39, 96] Operation: 29+67=96 Moving to Node #0,2 Current State: 89:[46, 39, 96], Operations: ['29+67=96'] Exploring Operation: 96-46=50, Resulting Numbers: [39, 50] Generated Node #0,2,2: 89:[39, 50] Operation: 96-46=50 Moving to Node #0,2,2 Current State: 89:[39, 50], Operations: ['29+67=96', '96-46=50'] Exploring Operation: 39+50=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_4
mult_heuristic
[ 5, 52, 9, 96 ]
37
[ "9-5=4", "52+96=148", "148/4=37" ]
Current State: 37:[5, 52, 9, 96], Operations: [] Exploring Operation: 9-5=4, Resulting Numbers: [52, 96, 4] Generated Node #2: [52, 96, 4] from Operation: 9-5=4 Current State: 37:[52, 96, 4], Operations: ['9-5=4'] Exploring Operation: 52+96=148, Resulting Numbers: [4, 148] Generated Node #3: [4, 148] from Operation: 52+96=148 Current State: 37:[4, 148], Operations: ['9-5=4', '52+96=148'] Exploring Operation: 148/4=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[5, 52, 9, 96], Operations: [] Exploring Operation: 96-52=44, Resulting Numbers: [5, 9, 44] Generated Node #0,0: 37:[5, 9, 44] Operation: 96-52=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[5, 9, 44], Operations: ['96-52=44'] Exploring Operation: 5*9=45, Resulting Numbers: [44, 45] Generated Node #0,0,0: 37:[44, 45] Operation: 5*9=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[44, 45], Operations: ['96-52=44', '5*9=45'] Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,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_1
mult_heuristic
[ 5, 91, 54, 20 ]
22
[ "5+91=96", "54+20=74", "96-74=22" ]
Current State: 22:[5, 91, 54, 20], Operations: [] Exploring Operation: 5+91=96, Resulting Numbers: [54, 20, 96] Generated Node #2: [54, 20, 96] from Operation: 5+91=96 Current State: 22:[54, 20, 96], Operations: ['5+91=96'] Exploring Operation: 54+20=74, Resulting Numbers: [96, 74] Generated Node #3: [96, 74] from Operation: 54+20=74 Current State: 22:[96, 74], Operations: ['5+91=96', '54+20=74'] Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[5, 91, 54, 20], Operations: [] Exploring Operation: 91-54=37, Resulting Numbers: [5, 20, 37] Generated Node #0,0: 22:[5, 20, 37] Operation: 91-54=37 Moving to Node #0,0 Current State: 22:[5, 20, 37], Operations: ['91-54=37'] Exploring Operation: 37-20=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 22:[5, 17] Operation: 37-20=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[5, 17], Operations: ['91-54=37', '37-20=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[5, 91, 54, 20], Operations: [] Exploring Operation: 91-54=37, Resulting Numbers: [5, 20, 37] Generated Node #0,0: 22:[5, 20, 37] Operation: 91-54=37 Moving to Node #0,0 Current State: 22:[5, 20, 37], Operations: ['91-54=37'] Exploring Operation: 37-20=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 22:[5, 17] Operation: 37-20=17 Moving to Node #0,0,0 Current State: 22:[5, 17], Operations: ['91-54=37', '37-20=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 93, 50, 88, 4 ]
40
[ "93-88=5", "50*4=200", "200/5=40" ]
Current State: 40:[93, 50, 88, 4], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [50, 4, 5] Generated Node #2: [50, 4, 5] from Operation: 93-88=5 Current State: 40:[50, 4, 5], Operations: ['93-88=5'] Exploring Operation: 50*4=200, Resulting Numbers: [5, 200] Generated Node #3: [5, 200] from Operation: 50*4=200 Current State: 40:[5, 200], Operations: ['93-88=5', '50*4=200'] Exploring Operation: 200/5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[93, 50, 88, 4], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [50, 4, 5] Generated Node #0,0: 40:[50, 4, 5] Operation: 93-88=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[50, 4, 5], Operations: ['93-88=5'] Exploring Operation: 50/5=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 40:[4, 10] Operation: 50/5=10 Moving to Node #0,0,0 Current State: 40:[4, 10], Operations: ['93-88=5', '50/5=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[93, 50, 88, 4], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [50, 4, 5] Generated Node #0,0: 40:[50, 4, 5] Operation: 93-88=5 Moving to Node #0,0 Current State: 40:[50, 4, 5], Operations: ['93-88=5'] Exploring Operation: 50/5=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 40:[4, 10] Operation: 50/5=10 Moving to Node #0,0,0 Current State: 40:[4, 10], Operations: ['93-88=5', '50/5=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 36, 34, 6, 9 ]
19
[ "36/6=6", "34-9=25", "25-6=19" ]
Current State: 19:[36, 34, 6, 9], Operations: [] Exploring Operation: 36/6=6, Resulting Numbers: [34, 9, 6] Generated Node #2: [34, 9, 6] from Operation: 36/6=6 Current State: 19:[34, 9, 6], Operations: ['36/6=6'] Exploring Operation: 34-9=25, Resulting Numbers: [6, 25] Generated Node #3: [6, 25] from Operation: 34-9=25 Current State: 19:[6, 25], Operations: ['36/6=6', '34-9=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[36, 34, 6, 9], Operations: [] Exploring Operation: 34-6=28, Resulting Numbers: [36, 9, 28] Generated Node #0,0: 19:[36, 9, 28] Operation: 34-6=28 Exploring Operation: 36-9=27, Resulting Numbers: [34, 6, 27] Generated Node #0,1: 19:[34, 6, 27] Operation: 36-9=27 Exploring Operation: 34-9=25, Resulting Numbers: [36, 6, 25] Generated Node #0,2: 19:[36, 6, 25] Operation: 34-9=25 Exploring Operation: 36-6=30, Resulting Numbers: [34, 9, 30] Generated Node #0,3: 19:[34, 9, 30] Operation: 36-6=30 Moving to Node #0,0 Current State: 19:[36, 9, 28], Operations: ['34-6=28'] Exploring Operation: 28-9=19, Resulting Numbers: [36, 19] Generated Node #0,0,0: 19:[36, 19] Operation: 28-9=19 Exploring Operation: 36/9=4, Resulting Numbers: [28, 4] Generated Node #0,0,1: 19:[28, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [28, 27] Generated Node #0,0,2: 19:[28, 27] Operation: 36-9=27 Exploring Operation: 36-28=8, Resulting Numbers: [9, 8] Generated Node #0,0,3: 19:[9, 8] Operation: 36-28=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[36, 19], Operations: ['34-6=28', '28-9=19'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,19 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[28, 27], Operations: ['34-6=28', '36-9=27'] Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,19 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 19:[9, 8], Operations: ['34-6=28', '36-28=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,19 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[28, 4], Operations: ['34-6=28', '36/9=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,19 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 19:[36, 6, 25], Operations: ['34-9=25'] Exploring Operation: 36-25=11, Resulting Numbers: [6, 11] Generated Node #0,2,0: 19:[6, 11] Operation: 36-25=11 Exploring Operation: 36-6=30, Resulting Numbers: [25, 30] Generated Node #0,2,1: 19:[25, 30] Operation: 36-6=30 Exploring Operation: 36/6=6, Resulting Numbers: [25, 6] Generated Node #0,2,2: 19:[25, 6] Operation: 36/6=6 Exploring Operation: 25-6=19, Resulting Numbers: [36, 19] Generated Node #0,2,3: 19:[36, 19] Operation: 25-6=19 Moving to Node #0,1 Current State: 19:[34, 6, 27], Operations: ['36-9=27'] Exploring Operation: 34-27=7, Resulting Numbers: [6, 7] Generated Node #0,1,0: 19:[6, 7] Operation: 34-27=7 Exploring Operation: 34-6=28, Resulting Numbers: [27, 28] Generated Node #0,1,1: 19:[27, 28] Operation: 34-6=28 Exploring Operation: 27-6=21, Resulting Numbers: [34, 21] Generated Node #0,1,2: 19:[34, 21] Operation: 27-6=21 Exploring Operation: 34+6=40, Resulting Numbers: [27, 40] Generated Node #0,1,3: 19:[27, 40] Operation: 34+6=40 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[27, 28], Operations: ['36-9=27', '34-6=28'] Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,19 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[34, 21], Operations: ['36-9=27', '27-6=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[6, 7], Operations: ['36-9=27', '34-27=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 19:[27, 40], Operations: ['36-9=27', '34+6=40'] Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,19 unequal: No Solution Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,19 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,19 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: 19:[34, 9, 30], Operations: ['36-6=30'] Exploring Operation: 34+9=43, Resulting Numbers: [30, 43] Generated Node #0,3,0: 19:[30, 43] Operation: 34+9=43 Exploring Operation: 30-9=21, Resulting Numbers: [34, 21] Generated Node #0,3,1: 19:[34, 21] Operation: 30-9=21 Exploring Operation: 34-9=25, Resulting Numbers: [30, 25] Generated Node #0,3,2: 19:[30, 25] Operation: 34-9=25 Exploring Operation: 34-30=4, Resulting Numbers: [9, 4] Generated Node #0,3,3: 19:[9, 4] Operation: 34-30=4 Moving to Node #0,2,1 Current State: 19:[25, 30], Operations: ['34-9=25', '36-6=30'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,19 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[30, 25], Operations: ['36-6=30', '34-9=25'] Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,19 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[36, 19], Operations: ['34-9=25', '25-6=19'] Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,19 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[34, 21], Operations: ['36-6=30', '30-9=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,19 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[25, 6], Operations: ['34-9=25', '36/6=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,19 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[36, 34, 6, 9], Operations: [] Exploring Operation: 34-9=25, Resulting Numbers: [36, 6, 25] Generated Node #0,2: 19:[36, 6, 25] Operation: 34-9=25 Moving to Node #0,2 Current State: 19:[36, 6, 25], Operations: ['34-9=25'] Exploring Operation: 36/6=6, Resulting Numbers: [25, 6] Generated Node #0,2,2: 19:[25, 6] Operation: 36/6=6 Moving to Node #0,2,2 Current State: 19:[25, 6], Operations: ['34-9=25', '36/6=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.945313
hs_4
mult_heuristic
[ 11, 2, 39, 42 ]
43
[ "2+42=44", "44/11=4", "39+4=43" ]
Current State: 43:[11, 2, 39, 42], Operations: [] Exploring Operation: 2+42=44, Resulting Numbers: [11, 39, 44] Generated Node #2: [11, 39, 44] from Operation: 2+42=44 Current State: 43:[11, 39, 44], Operations: ['2+42=44'] Exploring Operation: 44/11=4, Resulting Numbers: [39, 4] Generated Node #3: [39, 4] from Operation: 44/11=4 Current State: 43:[39, 4], Operations: ['2+42=44', '44/11=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[11, 2, 39, 42], Operations: [] Exploring Operation: 11+2=13, Resulting Numbers: [39, 42, 13] Generated Node #0,0: 43:[39, 42, 13] Operation: 11+2=13 Exploring Operation: 11*2=22, Resulting Numbers: [39, 42, 22] Generated Node #0,1: 43:[39, 42, 22] Operation: 11*2=22 Exploring Operation: 2+39=41, Resulting Numbers: [11, 42, 41] Generated Node #0,2: 43:[11, 42, 41] Operation: 2+39=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[39, 42, 22], Operations: ['11*2=22'] Exploring Operation: 39+22=61, Resulting Numbers: [42, 61] Generated Node #0,1,0: 43:[42, 61] Operation: 39+22=61 Exploring Operation: 39-22=17, Resulting Numbers: [42, 17] Generated Node #0,1,1: 43:[42, 17] Operation: 39-22=17 Exploring Operation: 42+22=64, Resulting Numbers: [39, 64] Generated Node #0,1,2: 43:[39, 64] Operation: 42+22=64 Moving to Node #0,1,0 Current State: 43:[42, 61], Operations: ['11*2=22', '39+22=61'] Exploring Operation: 42*61=2562, Resulting Numbers: [2562] 2562,43 unequal: No Solution Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 42+61=103, Resulting Numbers: [103] 103,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[39, 64], Operations: ['11*2=22', '42+22=64'] Exploring Operation: 39*64=2496, Resulting Numbers: [2496] 2496,43 unequal: No Solution Exploring Operation: 39+64=103, Resulting Numbers: [103] 103,43 unequal: No Solution Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[42, 17], Operations: ['11*2=22', '39-22=17'] Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[39, 42, 13], Operations: ['11+2=13'] Exploring Operation: 42+13=55, Resulting Numbers: [39, 55] Generated Node #0,0,0: 43:[39, 55] Operation: 42+13=55 Exploring Operation: 39-13=26, Resulting Numbers: [42, 26] Generated Node #0,0,1: 43:[42, 26] Operation: 39-13=26 Exploring Operation: 39+13=52, Resulting Numbers: [42, 52] Generated Node #0,0,2: 43:[42, 52] Operation: 39+13=52 Moving to Node #0,0,2 Current State: 43:[42, 52], Operations: ['11+2=13', '39+13=52'] Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 42*52=2184, Resulting Numbers: [2184] 2184,43 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[39, 55], Operations: ['11+2=13', '42+13=55'] Exploring Operation: 39+55=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 39*55=2145, Resulting Numbers: [2145] 2145,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[42, 26], Operations: ['11+2=13', '39-13=26'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 42*26=1092, Resulting Numbers: [1092] 1092,43 unequal: No Solution Exploring Operation: 42+26=68, Resulting Numbers: [68] 68,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[11, 42, 41], Operations: ['2+39=41'] Exploring Operation: 11+42=53, Resulting Numbers: [41, 53] Generated Node #0,2,0: 43:[41, 53] Operation: 11+42=53 Exploring Operation: 42-11=31, Resulting Numbers: [41, 31] Generated Node #0,2,1: 43:[41, 31] Operation: 42-11=31 Exploring Operation: 11+41=52, Resulting Numbers: [42, 52] Generated Node #0,2,2: 43:[42, 52] Operation: 11+41=52 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 43:[42, 52], Operations: ['2+39=41', '11+41=52'] Exploring Operation: 42*52=2184, Resulting Numbers: [2184] 2184,43 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 43:[41, 53], Operations: ['2+39=41', '11+42=53'] Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,43 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,43 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 43:[41, 31], Operations: ['2+39=41', '42-11=31'] Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 41*31=1271, Resulting Numbers: [1271] 1271,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 6, 37, 86, 40 ]
89
[ "6+37=43", "86-40=46", "43+46=89" ]
Current State: 89:[6, 37, 86, 40], Operations: [] Exploring Operation: 6+37=43, Resulting Numbers: [86, 40, 43] Generated Node #2: [86, 40, 43] from Operation: 6+37=43 Current State: 89:[86, 40, 43], Operations: ['6+37=43'] Exploring Operation: 86-40=46, Resulting Numbers: [43, 46] Generated Node #3: [43, 46] from Operation: 86-40=46 Current State: 89:[43, 46], Operations: ['6+37=43', '86-40=46'] Exploring Operation: 43+46=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[6, 37, 86, 40], Operations: [] Exploring Operation: 6+86=92, Resulting Numbers: [37, 40, 92] Generated Node #0,0: 89:[37, 40, 92] Operation: 6+86=92 Exploring Operation: 37-6=31, Resulting Numbers: [86, 40, 31] Generated Node #0,1: 89:[86, 40, 31] Operation: 37-6=31 Exploring Operation: 6+40=46, Resulting Numbers: [37, 86, 46] Generated Node #0,2: 89:[37, 86, 46] Operation: 6+40=46 Exploring Operation: 37+40=77, Resulting Numbers: [6, 86, 77] Generated Node #0,3: 89:[6, 86, 77] Operation: 37+40=77 Exploring Operation: 6+37=43, Resulting Numbers: [86, 40, 43] Generated Node #0,4: 89:[86, 40, 43] Operation: 6+37=43 Moving to Node #0,2 Current State: 89:[37, 86, 46], Operations: ['6+40=46'] Exploring Operation: 46-37=9, Resulting Numbers: [86, 9] Generated Node #0,2,0: 89:[86, 9] Operation: 46-37=9 Exploring Operation: 37+86=123, Resulting Numbers: [46, 123] Generated Node #0,2,1: 89:[46, 123] Operation: 37+86=123 Exploring Operation: 86-37=49, Resulting Numbers: [46, 49] Generated Node #0,2,2: 89:[46, 49] Operation: 86-37=49 Exploring Operation: 86+46=132, Resulting Numbers: [37, 132] Generated Node #0,2,3: 89:[37, 132] Operation: 86+46=132 Exploring Operation: 37+46=83, Resulting Numbers: [86, 83] Generated Node #0,2,4: 89:[86, 83] Operation: 37+46=83 Moving to Node #0,4 Current State: 89:[86, 40, 43], Operations: ['6+37=43'] Exploring Operation: 40+43=83, Resulting Numbers: [86, 83] Generated Node #0,4,0: 89:[86, 83] Operation: 40+43=83 Exploring Operation: 43-40=3, Resulting Numbers: [86, 3] Generated Node #0,4,1: 89:[86, 3] Operation: 43-40=3 Exploring Operation: 86+40=126, Resulting Numbers: [43, 126] Generated Node #0,4,2: 89:[43, 126] Operation: 86+40=126 Exploring Operation: 86-40=46, Resulting Numbers: [43, 46] Generated Node #0,4,3: 89:[43, 46] Operation: 86-40=46 Exploring Operation: 86+43=129, Resulting Numbers: [40, 129] Generated Node #0,4,4: 89:[40, 129] Operation: 86+43=129 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 89:[86, 83], Operations: ['6+37=43', '40+43=83'] Exploring Operation: 86+83=169, Resulting Numbers: [169] 169,89 unequal: No Solution Exploring Operation: 86*83=7138, Resulting Numbers: [7138] 7138,89 unequal: No Solution Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,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,4,2 Current State: 89:[43, 126], Operations: ['6+37=43', '86+40=126'] Exploring Operation: 43*126=5418, Resulting Numbers: [5418] 5418,89 unequal: No Solution Exploring Operation: 126-43=83, Resulting Numbers: [83] 83,89 unequal: No Solution Exploring Operation: 43+126=169, Resulting Numbers: [169] 169,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,4,1 Current State: 89:[86, 3], Operations: ['6+37=43', '43-40=3'] Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,89 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[6, 37, 86, 40], Operations: [] Exploring Operation: 6+37=43, Resulting Numbers: [86, 40, 43] Generated Node #0,4: 89:[86, 40, 43] Operation: 6+37=43 Moving to Node #0,4 Current State: 89:[86, 40, 43], Operations: ['6+37=43'] Exploring Operation: 43-40=3, Resulting Numbers: [86, 3] Generated Node #0,4,1: 89:[86, 3] Operation: 43-40=3 Moving to Node #0,4,1 Current State: 89:[86, 3], Operations: ['6+37=43', '43-40=3'] Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 91, 66, 77, 26 ]
26
[ "91-66=25", "77-26=51", "51-25=26" ]
Current State: 26:[91, 66, 77, 26], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [77, 26, 25] Generated Node #2: [77, 26, 25] from Operation: 91-66=25 Current State: 26:[77, 26, 25], Operations: ['91-66=25'] Exploring Operation: 77-26=51, Resulting Numbers: [25, 51] Generated Node #3: [25, 51] from Operation: 77-26=51 Current State: 26:[25, 51], Operations: ['91-66=25', '77-26=51'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[91, 66, 77, 26], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [66, 26, 14] Generated Node #0,0: 26:[66, 26, 14] Operation: 91-77=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[66, 26, 14], Operations: ['91-77=14'] Exploring Operation: 66-26=40, Resulting Numbers: [14, 40] Generated Node #0,0,0: 26:[14, 40] Operation: 66-26=40 Moving to Node #0,0,0 Current State: 26:[14, 40], Operations: ['91-77=14', '66-26=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[91, 66, 77, 26], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [66, 26, 14] Generated Node #0,0: 26:[66, 26, 14] Operation: 91-77=14 Moving to Node #0,0 Current State: 26:[66, 26, 14], Operations: ['91-77=14'] Exploring Operation: 66-26=40, Resulting Numbers: [14, 40] Generated Node #0,0,0: 26:[14, 40] Operation: 66-26=40 Moving to Node #0,0,0 Current State: 26:[14, 40], Operations: ['91-77=14', '66-26=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 96, 19, 66, 75 ]
86
[ "96-19=77", "75-66=9", "77+9=86" ]
Current State: 86:[96, 19, 66, 75], Operations: [] Exploring Operation: 96-19=77, Resulting Numbers: [66, 75, 77] Generated Node #2: [66, 75, 77] from Operation: 96-19=77 Current State: 86:[66, 75, 77], Operations: ['96-19=77'] Exploring Operation: 75-66=9, Resulting Numbers: [77, 9] Generated Node #3: [77, 9] from Operation: 75-66=9 Current State: 86:[77, 9], Operations: ['96-19=77', '75-66=9'] Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[96, 19, 66, 75], Operations: [] Exploring Operation: 66-19=47, Resulting Numbers: [96, 75, 47] Generated Node #0,0: 86:[96, 75, 47] Operation: 66-19=47 Exploring Operation: 19+66=85, Resulting Numbers: [96, 75, 85] Generated Node #0,1: 86:[96, 75, 85] Operation: 19+66=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[96, 75, 85], Operations: ['19+66=85'] Exploring Operation: 85-75=10, Resulting Numbers: [96, 10] Generated Node #0,1,0: 86:[96, 10] Operation: 85-75=10 Exploring Operation: 96-75=21, Resulting Numbers: [85, 21] Generated Node #0,1,1: 86:[85, 21] Operation: 96-75=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[96, 10], Operations: ['19+66=85', '85-75=10'] Exploring Operation: 96+10=106, Resulting Numbers: [106] 106,86 unequal: No Solution Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[96, 19, 66, 75], Operations: [] Exploring Operation: 19+66=85, Resulting Numbers: [96, 75, 85] Generated Node #0,1: 86:[96, 75, 85] Operation: 19+66=85 Moving to Node #0,1 Current State: 86:[96, 75, 85], Operations: ['19+66=85'] Exploring Operation: 85-75=10, Resulting Numbers: [96, 10] Generated Node #0,1,0: 86:[96, 10] Operation: 85-75=10 Moving to Node #0,1,0 Current State: 86:[96, 10], Operations: ['19+66=85', '85-75=10'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 61, 21, 9, 20 ]
69
[ "61-21=40", "9+20=29", "40+29=69" ]
Current State: 69:[61, 21, 9, 20], Operations: [] Exploring Operation: 61-21=40, Resulting Numbers: [9, 20, 40] Generated Node #2: [9, 20, 40] from Operation: 61-21=40 Current State: 69:[9, 20, 40], Operations: ['61-21=40'] Exploring Operation: 9+20=29, Resulting Numbers: [40, 29] Generated Node #3: [40, 29] from Operation: 9+20=29 Current State: 69:[40, 29], Operations: ['61-21=40', '9+20=29'] Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[61, 21, 9, 20], Operations: [] Exploring Operation: 61+9=70, Resulting Numbers: [21, 20, 70] Generated Node #0,0: 69:[21, 20, 70] Operation: 61+9=70 Exploring Operation: 21+9=30, Resulting Numbers: [61, 20, 30] Generated Node #0,1: 69:[61, 20, 30] Operation: 21+9=30 Exploring Operation: 9+20=29, Resulting Numbers: [61, 21, 29] Generated Node #0,2: 69:[61, 21, 29] Operation: 9+20=29 Exploring Operation: 20-9=11, Resulting Numbers: [61, 21, 11] Generated Node #0,3: 69:[61, 21, 11] Operation: 20-9=11 Exploring Operation: 21-20=1, Resulting Numbers: [61, 9, 1] Generated Node #0,4: 69:[61, 9, 1] Operation: 21-20=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[21, 20, 70], Operations: ['61+9=70'] Exploring Operation: 21+20=41, Resulting Numbers: [70, 41] Generated Node #0,0,0: 69:[70, 41] Operation: 21+20=41 Exploring Operation: 70-20=50, Resulting Numbers: [21, 50] Generated Node #0,0,1: 69:[21, 50] Operation: 70-20=50 Exploring Operation: 70-21=49, Resulting Numbers: [20, 49] Generated Node #0,0,2: 69:[20, 49] Operation: 70-21=49 Exploring Operation: 21-20=1, Resulting Numbers: [70, 1] Generated Node #0,0,3: 69:[70, 1] Operation: 21-20=1 Exploring Operation: 20+70=90, Resulting Numbers: [21, 90] Generated Node #0,0,4: 69:[21, 90] Operation: 20+70=90 Moving to Node #0,0,3 Current State: 69:[70, 1], Operations: ['61+9=70', '21-20=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[61, 21, 9, 20], Operations: [] Exploring Operation: 61+9=70, Resulting Numbers: [21, 20, 70] Generated Node #0,0: 69:[21, 20, 70] Operation: 61+9=70 Moving to Node #0,0 Current State: 69:[21, 20, 70], Operations: ['61+9=70'] Exploring Operation: 21-20=1, Resulting Numbers: [70, 1] Generated Node #0,0,3: 69:[70, 1] Operation: 21-20=1 Moving to Node #0,0,3 Current State: 69:[70, 1], Operations: ['61+9=70', '21-20=1'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 15, 68, 54, 77 ]
21
[ "77-68=9", "54/9=6", "15+6=21" ]
Current State: 21:[15, 68, 54, 77], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [15, 54, 9] Generated Node #2: [15, 54, 9] from Operation: 77-68=9 Current State: 21:[15, 54, 9], Operations: ['77-68=9'] Exploring Operation: 54/9=6, Resulting Numbers: [15, 6] Generated Node #3: [15, 6] from Operation: 54/9=6 Current State: 21:[15, 6], Operations: ['77-68=9', '54/9=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[15, 68, 54, 77], Operations: [] Exploring Operation: 54-15=39, Resulting Numbers: [68, 77, 39] Generated Node #0,0: 21:[68, 77, 39] Operation: 54-15=39 Exploring Operation: 77-54=23, Resulting Numbers: [15, 68, 23] Generated Node #0,1: 21:[15, 68, 23] Operation: 77-54=23 Exploring Operation: 68-15=53, Resulting Numbers: [54, 77, 53] Generated Node #0,2: 21:[54, 77, 53] Operation: 68-15=53 Exploring Operation: 77-68=9, Resulting Numbers: [15, 54, 9] Generated Node #0,3: 21:[15, 54, 9] Operation: 77-68=9 Exploring Operation: 68-54=14, Resulting Numbers: [15, 77, 14] Generated Node #0,4: 21:[15, 77, 14] Operation: 68-54=14 Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[15, 54, 9], Operations: ['77-68=9'] Exploring Operation: 54/9=6, Resulting Numbers: [15, 6] Generated Node #0,3,0: 21:[15, 6] Operation: 54/9=6 Exploring Operation: 54-9=45, Resulting Numbers: [15, 45] Generated Node #0,3,1: 21:[15, 45] Operation: 54-9=45 Exploring Operation: 15-9=6, Resulting Numbers: [54, 6] Generated Node #0,3,2: 21:[54, 6] Operation: 15-9=6 Exploring Operation: 15+9=24, Resulting Numbers: [54, 24] Generated Node #0,3,3: 21:[54, 24] Operation: 15+9=24 Exploring Operation: 54-15=39, Resulting Numbers: [9, 39] Generated Node #0,3,4: 21:[9, 39] Operation: 54-15=39 Moving to Node #0,3,0 Current State: 21:[15, 6], Operations: ['77-68=9', '54/9=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[15, 68, 54, 77], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [15, 54, 9] Generated Node #0,3: 21:[15, 54, 9] Operation: 77-68=9 Moving to Node #0,3 Current State: 21:[15, 54, 9], Operations: ['77-68=9'] Exploring Operation: 54/9=6, Resulting Numbers: [15, 6] Generated Node #0,3,0: 21:[15, 6] Operation: 54/9=6 Moving to Node #0,3,0 Current State: 21:[15, 6], Operations: ['77-68=9', '54/9=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 11, 17, 47, 35 ]
76
[ "17-11=6", "47+35=82", "82-6=76" ]
Current State: 76:[11, 17, 47, 35], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [47, 35, 6] Generated Node #2: [47, 35, 6] from Operation: 17-11=6 Current State: 76:[47, 35, 6], Operations: ['17-11=6'] Exploring Operation: 47+35=82, Resulting Numbers: [6, 82] Generated Node #3: [6, 82] from Operation: 47+35=82 Current State: 76:[6, 82], Operations: ['17-11=6', '47+35=82'] Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[11, 17, 47, 35], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [47, 35, 6] Generated Node #0,0: 76:[47, 35, 6] Operation: 17-11=6 Exploring Operation: 47-11=36, Resulting Numbers: [17, 35, 36] Generated Node #0,1: 76:[17, 35, 36] Operation: 47-11=36 Exploring Operation: 35-11=24, Resulting Numbers: [17, 47, 24] Generated Node #0,2: 76:[17, 47, 24] Operation: 35-11=24 Exploring Operation: 47+35=82, Resulting Numbers: [11, 17, 82] Generated Node #0,3: 76:[11, 17, 82] Operation: 47+35=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[17, 35, 36], Operations: ['47-11=36'] Exploring Operation: 36-17=19, Resulting Numbers: [35, 19] Generated Node #0,1,0: 76:[35, 19] Operation: 36-17=19 Exploring Operation: 35+36=71, Resulting Numbers: [17, 71] Generated Node #0,1,1: 76:[17, 71] Operation: 35+36=71 Exploring Operation: 36-35=1, Resulting Numbers: [17, 1] Generated Node #0,1,2: 76:[17, 1] Operation: 36-35=1 Exploring Operation: 35-17=18, Resulting Numbers: [36, 18] Generated Node #0,1,3: 76:[36, 18] Operation: 35-17=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[35, 19], Operations: ['47-11=36', '36-17=19'] Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,76 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 76:[17, 1], Operations: ['47-11=36', '36-35=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 76:[36, 18], Operations: ['47-11=36', '35-17=18'] Exploring Operation: 36*18=648, Resulting Numbers: [648] 648,76 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[17, 71], Operations: ['47-11=36', '35+36=71'] Exploring Operation: 17+71=88, Resulting Numbers: [88] 88,76 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 17*71=1207, Resulting Numbers: [1207] 1207,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[47, 35, 6], Operations: ['17-11=6'] Exploring Operation: 47-6=41, Resulting Numbers: [35, 41] Generated Node #0,0,0: 76:[35, 41] Operation: 47-6=41 Exploring Operation: 47+35=82, Resulting Numbers: [6, 82] Generated Node #0,0,1: 76:[6, 82] Operation: 47+35=82 Exploring Operation: 35+6=41, Resulting Numbers: [47, 41] Generated Node #0,0,2: 76:[47, 41] Operation: 35+6=41 Exploring Operation: 47-35=12, Resulting Numbers: [6, 12] Generated Node #0,0,3: 76:[6, 12] Operation: 47-35=12 Moving to Node #0,0,0 Current State: 76:[35, 41], Operations: ['17-11=6', '47-6=41'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[11, 17, 47, 35], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [47, 35, 6] Generated Node #0,0: 76:[47, 35, 6] Operation: 17-11=6 Moving to Node #0,0 Current State: 76:[47, 35, 6], Operations: ['17-11=6'] Exploring Operation: 47-6=41, Resulting Numbers: [35, 41] Generated Node #0,0,0: 76:[35, 41] Operation: 47-6=41 Moving to Node #0,0,0 Current State: 76:[35, 41], Operations: ['17-11=6', '47-6=41'] Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 7, 3, 7, 16 ]
51
[ "7/7=1", "16+1=17", "3*17=51" ]
Current State: 51:[7, 3, 7, 16], Operations: [] Exploring Operation: 7/7=1, Resulting Numbers: [3, 16, 1] Generated Node #2: [3, 16, 1] from Operation: 7/7=1 Current State: 51:[3, 16, 1], Operations: ['7/7=1'] Exploring Operation: 16+1=17, Resulting Numbers: [3, 17] Generated Node #3: [3, 17] from Operation: 16+1=17 Current State: 51:[3, 17], Operations: ['7/7=1', '16+1=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[7, 3, 7, 16], Operations: [] Exploring Operation: 7-3=4, Resulting Numbers: [7, 16, 4] Generated Node #0,0: 51:[7, 16, 4] Operation: 7-3=4 Exploring Operation: 7/7=1, Resulting Numbers: [3, 16, 1] Generated Node #0,1: 51:[3, 16, 1] Operation: 7/7=1 Exploring Operation: 7-7=0, Resulting Numbers: [3, 16, 0] Generated Node #0,2: 51:[3, 16, 0] Operation: 7-7=0 Exploring Operation: 7*7=49, Resulting Numbers: [3, 16, 49] Generated Node #0,3: 51:[3, 16, 49] Operation: 7*7=49 Exploring Operation: 7+7=14, Resulting Numbers: [3, 16, 14] Generated Node #0,4: 51:[3, 16, 14] Operation: 7+7=14 Moving to Node #0,1 Current State: 51:[3, 16, 1], Operations: ['7/7=1'] Exploring Operation: 16+1=17, Resulting Numbers: [3, 17] Generated Node #0,1,0: 51:[3, 17] Operation: 16+1=17 Exploring Operation: 16*1=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 51:[3, 16] Operation: 16*1=16 Exploring Operation: 3/1=3, Resulting Numbers: [16, 3] Generated Node #0,1,2: 51:[16, 3] Operation: 3/1=3 Exploring Operation: 16/1=16, Resulting Numbers: [3, 16] Generated Node #0,1,3: 51:[3, 16] Operation: 16/1=16 Exploring Operation: 3*1=3, Resulting Numbers: [16, 3] Generated Node #0,1,4: 51:[16, 3] Operation: 3*1=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[3, 17], Operations: ['7/7=1', '16+1=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[7, 3, 7, 16], Operations: [] Exploring Operation: 7/7=1, Resulting Numbers: [3, 16, 1] Generated Node #0,1: 51:[3, 16, 1] Operation: 7/7=1 Moving to Node #0,1 Current State: 51:[3, 16, 1], Operations: ['7/7=1'] Exploring Operation: 16+1=17, Resulting Numbers: [3, 17] Generated Node #0,1,0: 51:[3, 17] Operation: 16+1=17 Moving to Node #0,1,0 Current State: 51:[3, 17], Operations: ['7/7=1', '16+1=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 23, 71, 78, 8 ]
84
[ "71-23=48", "48/8=6", "78+6=84" ]
Current State: 84:[23, 71, 78, 8], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [78, 8, 48] Generated Node #2: [78, 8, 48] from Operation: 71-23=48 Current State: 84:[78, 8, 48], Operations: ['71-23=48'] Exploring Operation: 48/8=6, Resulting Numbers: [78, 6] Generated Node #3: [78, 6] from Operation: 48/8=6 Current State: 84:[78, 6], Operations: ['71-23=48', '48/8=6'] Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[23, 71, 78, 8], Operations: [] Exploring Operation: 78-71=7, Resulting Numbers: [23, 8, 7] Generated Node #0,0: 84:[23, 8, 7] Operation: 78-71=7 Exploring Operation: 71+8=79, Resulting Numbers: [23, 78, 79] Generated Node #0,1: 84:[23, 78, 79] Operation: 71+8=79 Exploring Operation: 71-23=48, Resulting Numbers: [78, 8, 48] Generated Node #0,2: 84:[78, 8, 48] Operation: 71-23=48 Exploring Operation: 23+71=94, Resulting Numbers: [78, 8, 94] Generated Node #0,3: 84:[78, 8, 94] Operation: 23+71=94 Moving to Node #0,0 Current State: 84:[23, 8, 7], Operations: ['78-71=7'] Exploring Operation: 23-8=15, Resulting Numbers: [7, 15] Generated Node #0,0,0: 84:[7, 15] Operation: 23-8=15 Exploring Operation: 23-7=16, Resulting Numbers: [8, 16] Generated Node #0,0,1: 84:[8, 16] Operation: 23-7=16 Exploring Operation: 23+8=31, Resulting Numbers: [7, 31] Generated Node #0,0,2: 84:[7, 31] Operation: 23+8=31 Exploring Operation: 23+7=30, Resulting Numbers: [8, 30] Generated Node #0,0,3: 84:[8, 30] Operation: 23+7=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[7, 15], Operations: ['78-71=7', '23-8=15'] Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,84 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,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:[8, 16], Operations: ['78-71=7', '23-7=16'] Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,84 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,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:[7, 31], Operations: ['78-71=7', '23+8=31'] Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,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:[8, 30], Operations: ['78-71=7', '23+7=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,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:[78, 8, 48], Operations: ['71-23=48'] Exploring Operation: 78-48=30, Resulting Numbers: [8, 30] Generated Node #0,2,0: 84:[8, 30] Operation: 78-48=30 Exploring Operation: 78+8=86, Resulting Numbers: [48, 86] Generated Node #0,2,1: 84:[48, 86] Operation: 78+8=86 Exploring Operation: 48/8=6, Resulting Numbers: [78, 6] Generated Node #0,2,2: 84:[78, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [78, 40] Generated Node #0,2,3: 84:[78, 40] Operation: 48-8=40 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[8, 30], Operations: ['71-23=48', '78-48=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,84 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,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,2 Current State: 84:[78, 6], Operations: ['71-23=48', '48/8=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,84 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,84 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[23, 71, 78, 8], Operations: [] Exploring Operation: 71-23=48, Resulting Numbers: [78, 8, 48] Generated Node #0,2: 84:[78, 8, 48] Operation: 71-23=48 Moving to Node #0,2 Current State: 84:[78, 8, 48], Operations: ['71-23=48'] Exploring Operation: 48/8=6, Resulting Numbers: [78, 6] Generated Node #0,2,2: 84:[78, 6] Operation: 48/8=6 Moving to Node #0,2,2 Current State: 84:[78, 6], Operations: ['71-23=48', '48/8=6'] Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 24, 50, 91, 55 ]
72
[ "24+50=74", "91+55=146", "146-74=72" ]
Current State: 72:[24, 50, 91, 55], Operations: [] Exploring Operation: 24+50=74, Resulting Numbers: [91, 55, 74] Generated Node #2: [91, 55, 74] from Operation: 24+50=74 Current State: 72:[91, 55, 74], Operations: ['24+50=74'] Exploring Operation: 91+55=146, Resulting Numbers: [74, 146] Generated Node #3: [74, 146] from Operation: 91+55=146 Current State: 72:[74, 146], Operations: ['24+50=74', '91+55=146'] Exploring Operation: 146-74=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[24, 50, 91, 55], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [24, 91, 5] Generated Node #0,0: 72:[24, 91, 5] Operation: 55-50=5 Exploring Operation: 91-55=36, Resulting Numbers: [24, 50, 36] Generated Node #0,1: 72:[24, 50, 36] Operation: 91-55=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[24, 50, 36], Operations: ['91-55=36'] Exploring Operation: 50-24=26, Resulting Numbers: [36, 26] Generated Node #0,1,0: 72:[36, 26] Operation: 50-24=26 Exploring Operation: 24+50=74, Resulting Numbers: [36, 74] Generated Node #0,1,1: 72:[36, 74] Operation: 24+50=74 Moving to Node #0,1,0 Current State: 72:[36, 26], Operations: ['91-55=36', '50-24=26'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[36, 74], Operations: ['91-55=36', '24+50=74'] Exploring Operation: 36+74=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[24, 91, 5], Operations: ['55-50=5'] Exploring Operation: 91-24=67, Resulting Numbers: [5, 67] Generated Node #0,0,0: 72:[5, 67] Operation: 91-24=67 Exploring Operation: 91-5=86, Resulting Numbers: [24, 86] Generated Node #0,0,1: 72:[24, 86] Operation: 91-5=86 Moving to Node #0,0,0 Current State: 72:[5, 67], Operations: ['55-50=5', '91-24=67'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,72 unequal: No Solution Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[24, 50, 91, 55], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [24, 91, 5] Generated Node #0,0: 72:[24, 91, 5] Operation: 55-50=5 Moving to Node #0,0 Current State: 72:[24, 91, 5], Operations: ['55-50=5'] Exploring Operation: 91-24=67, Resulting Numbers: [5, 67] Generated Node #0,0,0: 72:[5, 67] Operation: 91-24=67 Moving to Node #0,0,0 Current State: 72:[5, 67], Operations: ['55-50=5', '91-24=67'] Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 40, 11, 70, 88 ]
33
[ "40+11=51", "88-70=18", "51-18=33" ]
Current State: 33:[40, 11, 70, 88], Operations: [] Exploring Operation: 40+11=51, Resulting Numbers: [70, 88, 51] Generated Node #2: [70, 88, 51] from Operation: 40+11=51 Current State: 33:[70, 88, 51], Operations: ['40+11=51'] Exploring Operation: 88-70=18, Resulting Numbers: [51, 18] Generated Node #3: [51, 18] from Operation: 88-70=18 Current State: 33:[51, 18], Operations: ['40+11=51', '88-70=18'] Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[40, 11, 70, 88], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [40, 11, 18] Generated Node #0,0: 33:[40, 11, 18] Operation: 88-70=18 Exploring Operation: 88-40=48, Resulting Numbers: [11, 70, 48] Generated Node #0,1: 33:[11, 70, 48] Operation: 88-40=48 Exploring Operation: 88/11=8, Resulting Numbers: [40, 70, 8] Generated Node #0,2: 33:[40, 70, 8] Operation: 88/11=8 Moving to Node #0,0 Current State: 33:[40, 11, 18], Operations: ['88-70=18'] Exploring Operation: 40-18=22, Resulting Numbers: [11, 22] Generated Node #0,0,0: 33:[11, 22] Operation: 40-18=22 Exploring Operation: 40-11=29, Resulting Numbers: [18, 29] Generated Node #0,0,1: 33:[18, 29] Operation: 40-11=29 Exploring Operation: 11+18=29, Resulting Numbers: [40, 29] Generated Node #0,0,2: 33:[40, 29] Operation: 11+18=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[11, 22], Operations: ['88-70=18', '40-18=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[40, 11, 70, 88], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [40, 11, 18] Generated Node #0,0: 33:[40, 11, 18] Operation: 88-70=18 Moving to Node #0,0 Current State: 33:[40, 11, 18], Operations: ['88-70=18'] Exploring Operation: 40-18=22, Resulting Numbers: [11, 22] Generated Node #0,0,0: 33:[11, 22] Operation: 40-18=22 Moving to Node #0,0,0 Current State: 33:[11, 22], Operations: ['88-70=18', '40-18=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 95, 68, 67, 82 ]
14
[ "95+68=163", "67+82=149", "163-149=14" ]
Current State: 14:[95, 68, 67, 82], Operations: [] Exploring Operation: 95+68=163, Resulting Numbers: [67, 82, 163] Generated Node #2: [67, 82, 163] from Operation: 95+68=163 Current State: 14:[67, 82, 163], Operations: ['95+68=163'] Exploring Operation: 67+82=149, Resulting Numbers: [163, 149] Generated Node #3: [163, 149] from Operation: 67+82=149 Current State: 14:[163, 149], Operations: ['95+68=163', '67+82=149'] Exploring Operation: 163-149=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[95, 68, 67, 82], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [67, 82, 27] Generated Node #0,0: 14:[67, 82, 27] Operation: 95-68=27 Exploring Operation: 95-82=13, Resulting Numbers: [68, 67, 13] Generated Node #0,1: 14:[68, 67, 13] Operation: 95-82=13 Exploring Operation: 82-68=14, Resulting Numbers: [95, 67, 14] Generated Node #0,2: 14:[95, 67, 14] Operation: 82-68=14 Exploring Operation: 95-67=28, Resulting Numbers: [68, 82, 28] Generated Node #0,3: 14:[68, 82, 28] Operation: 95-67=28 Moving to Node #0,1 Current State: 14:[68, 67, 13], Operations: ['95-82=13'] Exploring Operation: 68+13=81, Resulting Numbers: [67, 81] Generated Node #0,1,0: 14:[67, 81] Operation: 68+13=81 Exploring Operation: 68-67=1, Resulting Numbers: [13, 1] Generated Node #0,1,1: 14:[13, 1] Operation: 68-67=1 Exploring Operation: 67-13=54, Resulting Numbers: [68, 54] Generated Node #0,1,2: 14:[68, 54] Operation: 67-13=54 Exploring Operation: 68-13=55, Resulting Numbers: [67, 55] Generated Node #0,1,3: 14:[67, 55] Operation: 68-13=55 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[13, 1], Operations: ['95-82=13', '68-67=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[95, 68, 67, 82], Operations: [] Exploring Operation: 95-82=13, Resulting Numbers: [68, 67, 13] Generated Node #0,1: 14:[68, 67, 13] Operation: 95-82=13 Moving to Node #0,1 Current State: 14:[68, 67, 13], Operations: ['95-82=13'] Exploring Operation: 68-67=1, Resulting Numbers: [13, 1] Generated Node #0,1,1: 14:[13, 1] Operation: 68-67=1 Moving to Node #0,1,1 Current State: 14:[13, 1], Operations: ['95-82=13', '68-67=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 99, 66, 77, 62 ]
88
[ "99-77=22", "66-62=4", "22*4=88" ]
Current State: 88:[99, 66, 77, 62], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [66, 62, 22] Generated Node #2: [66, 62, 22] from Operation: 99-77=22 Current State: 88:[66, 62, 22], Operations: ['99-77=22'] Exploring Operation: 66-62=4, Resulting Numbers: [22, 4] Generated Node #3: [22, 4] from Operation: 66-62=4 Current State: 88:[22, 4], Operations: ['99-77=22', '66-62=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[99, 66, 77, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [99, 77, 4] Generated Node #0,0: 88:[99, 77, 4] Operation: 66-62=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[99, 77, 4], Operations: ['66-62=4'] Exploring Operation: 99-77=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 88:[4, 22] Operation: 99-77=22 Moving to Node #0,0,0 Current State: 88:[4, 22], Operations: ['66-62=4', '99-77=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[99, 66, 77, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [99, 77, 4] Generated Node #0,0: 88:[99, 77, 4] Operation: 66-62=4 Moving to Node #0,0 Current State: 88:[99, 77, 4], Operations: ['66-62=4'] Exploring Operation: 99-77=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 88:[4, 22] Operation: 99-77=22 Moving to Node #0,0,0 Current State: 88:[4, 22], Operations: ['66-62=4', '99-77=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 11, 17, 90, 27 ]
35
[ "11+17=28", "90-27=63", "63-28=35" ]
Current State: 35:[11, 17, 90, 27], Operations: [] Exploring Operation: 11+17=28, Resulting Numbers: [90, 27, 28] Generated Node #2: [90, 27, 28] from Operation: 11+17=28 Current State: 35:[90, 27, 28], Operations: ['11+17=28'] Exploring Operation: 90-27=63, Resulting Numbers: [28, 63] Generated Node #3: [28, 63] from Operation: 90-27=63 Current State: 35:[28, 63], Operations: ['11+17=28', '90-27=63'] Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[11, 17, 90, 27], Operations: [] Exploring Operation: 90-27=63, Resulting Numbers: [11, 17, 63] Generated Node #0,0: 35:[11, 17, 63] Operation: 90-27=63 Exploring Operation: 27-17=10, Resulting Numbers: [11, 90, 10] Generated Node #0,1: 35:[11, 90, 10] Operation: 27-17=10 Exploring Operation: 90-11=79, Resulting Numbers: [17, 27, 79] Generated Node #0,2: 35:[17, 27, 79] Operation: 90-11=79 Exploring Operation: 90-17=73, Resulting Numbers: [11, 27, 73] Generated Node #0,3: 35:[11, 27, 73] Operation: 90-17=73 Moving to Node #0,0 Current State: 35:[11, 17, 63], Operations: ['90-27=63'] Exploring Operation: 11+17=28, Resulting Numbers: [63, 28] Generated Node #0,0,0: 35:[63, 28] Operation: 11+17=28 Exploring Operation: 63-17=46, Resulting Numbers: [11, 46] Generated Node #0,0,1: 35:[11, 46] Operation: 63-17=46 Exploring Operation: 63-11=52, Resulting Numbers: [17, 52] Generated Node #0,0,2: 35:[17, 52] Operation: 63-11=52 Exploring Operation: 17-11=6, Resulting Numbers: [63, 6] Generated Node #0,0,3: 35:[63, 6] Operation: 17-11=6 Moving to Node #0,3 Current State: 35:[11, 27, 73], Operations: ['90-17=73'] Exploring Operation: 11+27=38, Resulting Numbers: [73, 38] Generated Node #0,3,0: 35:[73, 38] Operation: 11+27=38 Exploring Operation: 27-11=16, Resulting Numbers: [73, 16] Generated Node #0,3,1: 35:[73, 16] Operation: 27-11=16 Exploring Operation: 73-27=46, Resulting Numbers: [11, 46] Generated Node #0,3,2: 35:[11, 46] Operation: 73-27=46 Exploring Operation: 73-11=62, Resulting Numbers: [27, 62] Generated Node #0,3,3: 35:[27, 62] Operation: 73-11=62 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 35:[11, 46], Operations: ['90-17=73', '73-27=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[11, 17, 90, 27], Operations: [] Exploring Operation: 90-17=73, Resulting Numbers: [11, 27, 73] Generated Node #0,3: 35:[11, 27, 73] Operation: 90-17=73 Moving to Node #0,3 Current State: 35:[11, 27, 73], Operations: ['90-17=73'] Exploring Operation: 73-27=46, Resulting Numbers: [11, 46] Generated Node #0,3,2: 35:[11, 46] Operation: 73-27=46 Moving to Node #0,3,2 Current State: 35:[11, 46], Operations: ['90-17=73', '73-27=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 9, 44, 41, 2 ]
47
[ "9+44=53", "41+53=94", "94/2=47" ]
Current State: 47:[9, 44, 41, 2], Operations: [] Exploring Operation: 9+44=53, Resulting Numbers: [41, 2, 53] Generated Node #2: [41, 2, 53] from Operation: 9+44=53 Current State: 47:[41, 2, 53], Operations: ['9+44=53'] Exploring Operation: 41+53=94, Resulting Numbers: [2, 94] Generated Node #3: [2, 94] from Operation: 41+53=94 Current State: 47:[2, 94], Operations: ['9+44=53', '41+53=94'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[9, 44, 41, 2], Operations: [] Exploring Operation: 9-2=7, Resulting Numbers: [44, 41, 7] Generated Node #0,0: 47:[44, 41, 7] Operation: 9-2=7 Exploring Operation: 44+2=46, Resulting Numbers: [9, 41, 46] Generated Node #0,1: 47:[9, 41, 46] Operation: 44+2=46 Exploring Operation: 9+2=11, Resulting Numbers: [44, 41, 11] Generated Node #0,2: 47:[44, 41, 11] Operation: 9+2=11 Exploring Operation: 9*2=18, Resulting Numbers: [44, 41, 18] Generated Node #0,3: 47:[44, 41, 18] Operation: 9*2=18 Exploring Operation: 41+2=43, Resulting Numbers: [9, 44, 43] Generated Node #0,4: 47:[9, 44, 43] Operation: 41+2=43 Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[44, 41, 18], Operations: ['9*2=18'] Exploring Operation: 44+18=62, Resulting Numbers: [41, 62] Generated Node #0,3,0: 47:[41, 62] Operation: 44+18=62 Exploring Operation: 41-18=23, Resulting Numbers: [44, 23] Generated Node #0,3,1: 47:[44, 23] Operation: 41-18=23 Exploring Operation: 44+41=85, Resulting Numbers: [18, 85] Generated Node #0,3,2: 47:[18, 85] Operation: 44+41=85 Exploring Operation: 44-18=26, Resulting Numbers: [41, 26] Generated Node #0,3,3: 47:[41, 26] Operation: 44-18=26 Exploring Operation: 41+18=59, Resulting Numbers: [44, 59] Generated Node #0,3,4: 47:[44, 59] Operation: 41+18=59 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 47:[44, 59], Operations: ['9*2=18', '41+18=59'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 44+59=103, Resulting Numbers: [103] 103,47 unequal: No Solution Exploring Operation: 44*59=2596, Resulting Numbers: [2596] 2596,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:[41, 62], Operations: ['9*2=18', '44+18=62'] Exploring Operation: 41*62=2542, Resulting Numbers: [2542] 2542,47 unequal: No Solution Exploring Operation: 41+62=103, Resulting Numbers: [103] 103,47 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,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:[44, 23], Operations: ['9*2=18', '41-18=23'] Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,47 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,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,3 Current State: 47:[41, 26], Operations: ['9*2=18', '44-18=26'] Exploring Operation: 41*26=1066, Resulting Numbers: [1066] 1066,47 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,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:[18, 85], Operations: ['9*2=18', '44+41=85'] Exploring Operation: 18*85=1530, Resulting Numbers: [1530] 1530,47 unequal: No Solution Exploring Operation: 18+85=103, Resulting Numbers: [103] 103,47 unequal: No Solution Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,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:[9, 41, 46], Operations: ['44+2=46'] Exploring Operation: 9+46=55, Resulting Numbers: [41, 55] Generated Node #0,1,0: 47:[41, 55] Operation: 9+46=55 Exploring Operation: 41-9=32, Resulting Numbers: [46, 32] Generated Node #0,1,1: 47:[46, 32] Operation: 41-9=32 Exploring Operation: 46-9=37, Resulting Numbers: [41, 37] Generated Node #0,1,2: 47:[41, 37] Operation: 46-9=37 Exploring Operation: 41+46=87, Resulting Numbers: [9, 87] Generated Node #0,1,3: 47:[9, 87] Operation: 41+46=87 Exploring Operation: 9+41=50, Resulting Numbers: [46, 50] Generated Node #0,1,4: 47:[46, 50] Operation: 9+41=50 Moving to Node #0,1,4 Current State: 47:[46, 50], Operations: ['44+2=46', '9+41=50'] Exploring Operation: 46*50=2300, Resulting Numbers: [2300] 2300,47 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 46+50=96, Resulting Numbers: [96] 96,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[41, 55], Operations: ['44+2=46', '9+46=55'] Exploring Operation: 41+55=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 41*55=2255, Resulting Numbers: [2255] 2255,47 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[46, 32], Operations: ['44+2=46', '41-9=32'] Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 46*32=1472, Resulting Numbers: [1472] 1472,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[41, 37], Operations: ['44+2=46', '46-9=37'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,47 unequal: No Solution Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[9, 87], Operations: ['44+2=46', '41+46=87'] Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 9+87=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 9*87=783, Resulting Numbers: [783] 783,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[44, 41, 11], Operations: ['9+2=11'] Exploring Operation: 41+11=52, Resulting Numbers: [44, 52] Generated Node #0,2,0: 47:[44, 52] Operation: 41+11=52 Exploring Operation: 41-11=30, Resulting Numbers: [44, 30] Generated Node #0,2,1: 47:[44, 30] Operation: 41-11=30 Exploring Operation: 44+11=55, Resulting Numbers: [41, 55] Generated Node #0,2,2: 47:[41, 55] Operation: 44+11=55 Exploring Operation: 44/11=4, Resulting Numbers: [41, 4] Generated Node #0,2,3: 47:[41, 4] Operation: 44/11=4 Exploring Operation: 44-11=33, Resulting Numbers: [41, 33] Generated Node #0,2,4: 47:[41, 33] Operation: 44-11=33 Moving to Node #0,2,0 Current State: 47:[44, 52], Operations: ['9+2=11', '41+11=52'] Exploring Operation: 44*52=2288, Resulting Numbers: [2288] 2288,47 unequal: No Solution Exploring Operation: 44+52=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[41, 55], Operations: ['9+2=11', '44+11=55'] Exploring Operation: 41*55=2255, Resulting Numbers: [2255] 2255,47 unequal: No Solution Exploring Operation: 41+55=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[44, 30], Operations: ['9+2=11', '41-11=30'] Exploring Operation: 44*30=1320, Resulting Numbers: [1320] 1320,47 unequal: No Solution Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,47 unequal: No Solution Moving to Node #0,2,4 Current State: 47:[41, 33], Operations: ['9+2=11', '44-11=33'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 41*33=1353, Resulting Numbers: [1353] 1353,47 unequal: No Solution Exploring Operation: 41+33=74, Resulting Numbers: [74] 74,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[41, 4], Operations: ['9+2=11', '44/11=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 47:[9, 44, 43], Operations: ['41+2=43'] Exploring Operation: 44-9=35, Resulting Numbers: [43, 35] Generated Node #0,4,0: 47:[43, 35] Operation: 44-9=35 Exploring Operation: 9+44=53, Resulting Numbers: [43, 53] Generated Node #0,4,1: 47:[43, 53] Operation: 9+44=53 Exploring Operation: 44+43=87, Resulting Numbers: [9, 87] Generated Node #0,4,2: 47:[9, 87] Operation: 44+43=87 Exploring Operation: 9+43=52, Resulting Numbers: [44, 52] Generated Node #0,4,3: 47:[44, 52] Operation: 9+43=52 Exploring Operation: 43-9=34, Resulting Numbers: [44, 34] Generated Node #0,4,4: 47:[44, 34] Operation: 43-9=34 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 47:[44, 52], Operations: ['41+2=43', '9+43=52'] Exploring Operation: 44*52=2288, Resulting Numbers: [2288] 2288,47 unequal: No Solution Exploring Operation: 44+52=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,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,4,1 Current State: 47:[43, 53], Operations: ['41+2=43', '9+44=53'] Exploring Operation: 43*53=2279, Resulting Numbers: [2279] 2279,47 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 43+53=96, Resulting Numbers: [96] 96,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,4,0 Current State: 47:[43, 35], Operations: ['41+2=43', '44-9=35'] Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,47 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,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,4,4 Current State: 47:[44, 34], Operations: ['41+2=43', '43-9=34'] Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,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,4,2 Current State: 47:[9, 87], Operations: ['41+2=43', '44+43=87'] Exploring Operation: 9+87=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 9*87=783, Resulting Numbers: [783] 783,47 unequal: No Solution Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,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:[44, 41, 7], Operations: ['9-2=7'] Exploring Operation: 44+41=85, Resulting Numbers: [7, 85] Generated Node #0,0,0: 47:[7, 85] Operation: 44+41=85 Exploring Operation: 44-7=37, Resulting Numbers: [41, 37] Generated Node #0,0,1: 47:[41, 37] Operation: 44-7=37 Exploring Operation: 44+7=51, Resulting Numbers: [41, 51] Generated Node #0,0,2: 47:[41, 51] Operation: 44+7=51 Exploring Operation: 41+7=48, Resulting Numbers: [44, 48] Generated Node #0,0,3: 47:[44, 48] Operation: 41+7=48 Exploring Operation: 41-7=34, Resulting Numbers: [44, 34] Generated Node #0,0,4: 47:[44, 34] Operation: 41-7=34 Moving to Node #0,0,3 Current State: 47:[44, 48], Operations: ['9-2=7', '41+7=48'] Exploring Operation: 44*48=2112, Resulting Numbers: [2112] 2112,47 unequal: No Solution Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[41, 51], Operations: ['9-2=7', '44+7=51'] Exploring Operation: 41+51=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 41*51=2091, Resulting Numbers: [2091] 2091,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[41, 37], Operations: ['9-2=7', '44-7=37'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,47 unequal: No Solution Moving to Node #0,0,4 Current State: 47:[44, 34], Operations: ['9-2=7', '41-7=34'] Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,47 unequal: No Solution Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[7, 85], Operations: ['9-2=7', '44+41=85'] Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 7+85=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 7*85=595, Resulting Numbers: [595] 595,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 91, 16, 24, 14 ]
65
[ "91-16=75", "24-14=10", "75-10=65" ]
Current State: 65:[91, 16, 24, 14], Operations: [] Exploring Operation: 91-16=75, Resulting Numbers: [24, 14, 75] Generated Node #2: [24, 14, 75] from Operation: 91-16=75 Current State: 65:[24, 14, 75], Operations: ['91-16=75'] Exploring Operation: 24-14=10, Resulting Numbers: [75, 10] Generated Node #3: [75, 10] from Operation: 24-14=10 Current State: 65:[75, 10], Operations: ['91-16=75', '24-14=10'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[91, 16, 24, 14], Operations: [] Exploring Operation: 24-16=8, Resulting Numbers: [91, 14, 8] Generated Node #0,0: 65:[91, 14, 8] Operation: 24-16=8 Exploring Operation: 91-14=77, Resulting Numbers: [16, 24, 77] Generated Node #0,1: 65:[16, 24, 77] Operation: 91-14=77 Exploring Operation: 91-16=75, Resulting Numbers: [24, 14, 75] Generated Node #0,2: 65:[24, 14, 75] Operation: 91-16=75 Exploring Operation: 24-14=10, Resulting Numbers: [91, 16, 10] Generated Node #0,3: 65:[91, 16, 10] Operation: 24-14=10 Exploring Operation: 91-24=67, Resulting Numbers: [16, 14, 67] Generated Node #0,4: 65:[16, 14, 67] Operation: 91-24=67 Moving to Node #0,4 Current State: 65:[16, 14, 67], Operations: ['91-24=67'] Exploring Operation: 67-14=53, Resulting Numbers: [16, 53] Generated Node #0,4,0: 65:[16, 53] Operation: 67-14=53 Exploring Operation: 67-16=51, Resulting Numbers: [14, 51] Generated Node #0,4,1: 65:[14, 51] Operation: 67-16=51 Exploring Operation: 16+67=83, Resulting Numbers: [14, 83] Generated Node #0,4,2: 65:[14, 83] Operation: 16+67=83 Exploring Operation: 16+14=30, Resulting Numbers: [67, 30] Generated Node #0,4,3: 65:[67, 30] Operation: 16+14=30 Exploring Operation: 16-14=2, Resulting Numbers: [67, 2] Generated Node #0,4,4: 65:[67, 2] Operation: 16-14=2 Moving to Node #0,2 Current State: 65:[24, 14, 75], Operations: ['91-16=75'] Exploring Operation: 24+75=99, Resulting Numbers: [14, 99] Generated Node #0,2,0: 65:[14, 99] Operation: 24+75=99 Exploring Operation: 24-14=10, Resulting Numbers: [75, 10] Generated Node #0,2,1: 65:[75, 10] Operation: 24-14=10 Exploring Operation: 75-24=51, Resulting Numbers: [14, 51] Generated Node #0,2,2: 65:[14, 51] Operation: 75-24=51 Exploring Operation: 75-14=61, Resulting Numbers: [24, 61] Generated Node #0,2,3: 65:[24, 61] Operation: 75-14=61 Exploring Operation: 24+14=38, Resulting Numbers: [75, 38] Generated Node #0,2,4: 65:[75, 38] Operation: 24+14=38 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[75, 10], Operations: ['91-16=75', '24-14=10'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[91, 16, 24, 14], Operations: [] Exploring Operation: 91-16=75, Resulting Numbers: [24, 14, 75] Generated Node #0,2: 65:[24, 14, 75] Operation: 91-16=75 Moving to Node #0,2 Current State: 65:[24, 14, 75], Operations: ['91-16=75'] Exploring Operation: 24-14=10, Resulting Numbers: [75, 10] Generated Node #0,2,1: 65:[75, 10] Operation: 24-14=10 Moving to Node #0,2,1 Current State: 65:[75, 10], Operations: ['91-16=75', '24-14=10'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 39, 62, 31, 30 ]
40
[ "39+62=101", "31+30=61", "101-61=40" ]
Current State: 40:[39, 62, 31, 30], Operations: [] Exploring Operation: 39+62=101, Resulting Numbers: [31, 30, 101] Generated Node #2: [31, 30, 101] from Operation: 39+62=101 Current State: 40:[31, 30, 101], Operations: ['39+62=101'] Exploring Operation: 31+30=61, Resulting Numbers: [101, 61] Generated Node #3: [101, 61] from Operation: 31+30=61 Current State: 40:[101, 61], Operations: ['39+62=101', '31+30=61'] Exploring Operation: 101-61=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[39, 62, 31, 30], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [39, 30, 2] Generated Node #0,0: 40:[39, 30, 2] Operation: 62/31=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[39, 30, 2], Operations: ['62/31=2'] Exploring Operation: 39-30=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 40:[2, 9] Operation: 39-30=9 Moving to Node #0,0,0 Current State: 40:[2, 9], Operations: ['62/31=2', '39-30=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 12, 97, 74, 36 ]
47
[ "97-12=85", "74-36=38", "85-38=47" ]
Current State: 47:[12, 97, 74, 36], Operations: [] Exploring Operation: 97-12=85, Resulting Numbers: [74, 36, 85] Generated Node #2: [74, 36, 85] from Operation: 97-12=85 Current State: 47:[74, 36, 85], Operations: ['97-12=85'] Exploring Operation: 74-36=38, Resulting Numbers: [85, 38] Generated Node #3: [85, 38] from Operation: 74-36=38 Current State: 47:[85, 38], Operations: ['97-12=85', '74-36=38'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[12, 97, 74, 36], Operations: [] Exploring Operation: 74-12=62, Resulting Numbers: [97, 36, 62] Generated Node #0,0: 47:[97, 36, 62] Operation: 74-12=62 Exploring Operation: 97-74=23, Resulting Numbers: [12, 36, 23] Generated Node #0,1: 47:[12, 36, 23] Operation: 97-74=23 Exploring Operation: 97-36=61, Resulting Numbers: [12, 74, 61] Generated Node #0,2: 47:[12, 74, 61] Operation: 97-36=61 Exploring Operation: 97-12=85, Resulting Numbers: [74, 36, 85] Generated Node #0,3: 47:[74, 36, 85] Operation: 97-12=85 Exploring Operation: 12+36=48, Resulting Numbers: [97, 74, 48] Generated Node #0,4: 47:[97, 74, 48] Operation: 12+36=48 Moving to Node #0,1 Current State: 47:[12, 36, 23], Operations: ['97-74=23'] Exploring Operation: 36-12=24, Resulting Numbers: [23, 24] Generated Node #0,1,0: 47:[23, 24] Operation: 36-12=24 Exploring Operation: 36+23=59, Resulting Numbers: [12, 59] Generated Node #0,1,1: 47:[12, 59] Operation: 36+23=59 Exploring Operation: 12+36=48, Resulting Numbers: [23, 48] Generated Node #0,1,2: 47:[23, 48] Operation: 12+36=48 Exploring Operation: 23-12=11, Resulting Numbers: [36, 11] Generated Node #0,1,3: 47:[36, 11] Operation: 23-12=11 Exploring Operation: 12+23=35, Resulting Numbers: [36, 35] Generated Node #0,1,4: 47:[36, 35] Operation: 12+23=35 Moving to Node #0,2 Current State: 47:[12, 74, 61], Operations: ['97-36=61'] Exploring Operation: 12+61=73, Resulting Numbers: [74, 73] Generated Node #0,2,0: 47:[74, 73] Operation: 12+61=73 Exploring Operation: 74-12=62, Resulting Numbers: [61, 62] Generated Node #0,2,1: 47:[61, 62] Operation: 74-12=62 Exploring Operation: 74-61=13, Resulting Numbers: [12, 13] Generated Node #0,2,2: 47:[12, 13] Operation: 74-61=13 Exploring Operation: 61-12=49, Resulting Numbers: [74, 49] Generated Node #0,2,3: 47:[74, 49] Operation: 61-12=49 Exploring Operation: 12+74=86, Resulting Numbers: [61, 86] Generated Node #0,2,4: 47:[61, 86] Operation: 12+74=86 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[61, 62], Operations: ['97-36=61', '74-12=62'] Exploring Operation: 61*62=3782, Resulting Numbers: [3782] 3782,47 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 61+62=123, Resulting Numbers: [123] 123,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 47:[74, 49], Operations: ['97-36=61', '61-12=49'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,47 unequal: No Solution Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[74, 73], Operations: ['97-36=61', '12+61=73'] Exploring Operation: 74*73=5402, Resulting Numbers: [5402] 5402,47 unequal: No Solution Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 74+73=147, Resulting Numbers: [147] 147,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 47:[61, 86], Operations: ['97-36=61', '12+74=86'] Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 61+86=147, Resulting Numbers: [147] 147,47 unequal: No Solution Exploring Operation: 61*86=5246, Resulting Numbers: [5246] 5246,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[12, 13], Operations: ['97-36=61', '74-61=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,47 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,47 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: 47:[97, 36, 62], Operations: ['74-12=62'] Exploring Operation: 62-36=26, Resulting Numbers: [97, 26] Generated Node #0,0,0: 47:[97, 26] Operation: 62-36=26 Exploring Operation: 97+36=133, Resulting Numbers: [62, 133] Generated Node #0,0,1: 47:[62, 133] Operation: 97+36=133 Exploring Operation: 97-62=35, Resulting Numbers: [36, 35] Generated Node #0,0,2: 47:[36, 35] Operation: 97-62=35 Exploring Operation: 97-36=61, Resulting Numbers: [62, 61] Generated Node #0,0,3: 47:[62, 61] Operation: 97-36=61 Exploring Operation: 36+62=98, Resulting Numbers: [97, 98] Generated Node #0,0,4: 47:[97, 98] Operation: 36+62=98 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[36, 35], Operations: ['74-12=62', '97-62=35'] Exploring Operation: 36*35=1260, Resulting Numbers: [1260] 1260,47 unequal: No Solution Exploring Operation: 36+35=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[62, 61], Operations: ['74-12=62', '97-36=61'] Exploring Operation: 62+61=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 62*61=3782, Resulting Numbers: [3782] 3782,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[97, 26], Operations: ['74-12=62', '62-36=26'] Exploring Operation: 97+26=123, Resulting Numbers: [123] 123,47 unequal: No Solution Exploring Operation: 97-26=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 97*26=2522, Resulting Numbers: [2522] 2522,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[62, 133], Operations: ['74-12=62', '97+36=133'] Exploring Operation: 133-62=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 62+133=195, Resulting Numbers: [195] 195,47 unequal: No Solution Exploring Operation: 62*133=8246, Resulting Numbers: [8246] 8246,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 47:[97, 98], Operations: ['74-12=62', '36+62=98'] Exploring Operation: 97+98=195, Resulting Numbers: [195] 195,47 unequal: No Solution Exploring Operation: 98-97=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 97*98=9506, Resulting Numbers: [9506] 9506,47 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: 47:[74, 36, 85], Operations: ['97-12=85'] Exploring Operation: 74+36=110, Resulting Numbers: [85, 110] Generated Node #0,3,0: 47:[85, 110] Operation: 74+36=110 Exploring Operation: 85-74=11, Resulting Numbers: [36, 11] Generated Node #0,3,1: 47:[36, 11] Operation: 85-74=11 Exploring Operation: 74-36=38, Resulting Numbers: [85, 38] Generated Node #0,3,2: 47:[85, 38] Operation: 74-36=38 Exploring Operation: 85-36=49, Resulting Numbers: [74, 49] Generated Node #0,3,3: 47:[74, 49] Operation: 85-36=49 Exploring Operation: 36+85=121, Resulting Numbers: [74, 121] Generated Node #0,3,4: 47:[74, 121] Operation: 36+85=121 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 47:[74, 49], Operations: ['97-12=85', '85-36=49'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,47 unequal: No Solution Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 47:[36, 11], Operations: ['97-12=85', '85-74=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[12, 97, 74, 36], Operations: [] Exploring Operation: 97-12=85, Resulting Numbers: [74, 36, 85] Generated Node #0,3: 47:[74, 36, 85] Operation: 97-12=85 Moving to Node #0,3 Current State: 47:[74, 36, 85], Operations: ['97-12=85'] Exploring Operation: 85-74=11, Resulting Numbers: [36, 11] Generated Node #0,3,1: 47:[36, 11] Operation: 85-74=11 Moving to Node #0,3,1 Current State: 47:[36, 11], Operations: ['97-12=85', '85-74=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_5
sum_heuristic
[ 94, 2, 82, 77 ]
52
[ "94/2=47", "82-77=5", "47+5=52" ]
Current State: 52:[94, 2, 82, 77], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [82, 77, 47] Generated Node #2: [82, 77, 47] from Operation: 94/2=47 Current State: 52:[82, 77, 47], Operations: ['94/2=47'] Exploring Operation: 82-77=5, Resulting Numbers: [47, 5] Generated Node #3: [47, 5] from Operation: 82-77=5 Current State: 52:[47, 5], Operations: ['94/2=47', '82-77=5'] Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[94, 2, 82, 77], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [82, 77, 47] Generated Node #0,0: 52:[82, 77, 47] Operation: 94/2=47 Exploring Operation: 94-77=17, Resulting Numbers: [2, 82, 17] Generated Node #0,1: 52:[2, 82, 17] Operation: 94-77=17 Exploring Operation: 82-77=5, Resulting Numbers: [94, 2, 5] Generated Node #0,2: 52:[94, 2, 5] Operation: 82-77=5 Exploring Operation: 94-82=12, Resulting Numbers: [2, 77, 12] Generated Node #0,3: 52:[2, 77, 12] Operation: 94-82=12 Moving to Node #0,3 Current State: 52:[2, 77, 12], Operations: ['94-82=12'] Exploring Operation: 2*12=24, Resulting Numbers: [77, 24] Generated Node #0,3,0: 52:[77, 24] Operation: 2*12=24 Exploring Operation: 2+12=14, Resulting Numbers: [77, 14] Generated Node #0,3,1: 52:[77, 14] Operation: 2+12=14 Exploring Operation: 77-2=75, Resulting Numbers: [12, 75] Generated Node #0,3,2: 52:[12, 75] Operation: 77-2=75 Exploring Operation: 77-12=65, Resulting Numbers: [2, 65] Generated Node #0,3,3: 52:[2, 65] Operation: 77-12=65 Moving to Node #0,1 Current State: 52:[2, 82, 17], Operations: ['94-77=17'] Exploring Operation: 82/2=41, Resulting Numbers: [17, 41] Generated Node #0,1,0: 52:[17, 41] Operation: 82/2=41 Exploring Operation: 82-2=80, Resulting Numbers: [17, 80] Generated Node #0,1,1: 52:[17, 80] Operation: 82-2=80 Exploring Operation: 82-17=65, Resulting Numbers: [2, 65] Generated Node #0,1,2: 52:[2, 65] Operation: 82-17=65 Exploring Operation: 17-2=15, Resulting Numbers: [82, 15] Generated Node #0,1,3: 52:[82, 15] Operation: 17-2=15 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[2, 65], Operations: ['94-77=17', '82-17=65'] Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,52 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[17, 41], Operations: ['94-77=17', '82/2=41'] Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[17, 80], Operations: ['94-77=17', '82-2=80'] Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 17*80=1360, Resulting Numbers: [1360] 1360,52 unequal: No Solution Exploring Operation: 17+80=97, Resulting Numbers: [97] 97,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[82, 15], Operations: ['94-77=17', '17-2=15'] Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,52 unequal: No Solution Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,52 unequal: No Solution Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,52 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: 52:[94, 2, 5], Operations: ['82-77=5'] Exploring Operation: 94-2=92, Resulting Numbers: [5, 92] Generated Node #0,2,0: 52:[5, 92] Operation: 94-2=92 Exploring Operation: 94/2=47, Resulting Numbers: [5, 47] Generated Node #0,2,1: 52:[5, 47] Operation: 94/2=47 Exploring Operation: 94-5=89, Resulting Numbers: [2, 89] Generated Node #0,2,2: 52:[2, 89] Operation: 94-5=89 Exploring Operation: 5-2=3, Resulting Numbers: [94, 3] Generated Node #0,2,3: 52:[94, 3] Operation: 5-2=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[5, 47], Operations: ['82-77=5', '94/2=47'] Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,52 unequal: No Solution Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[94, 2, 82, 77], Operations: [] Exploring Operation: 82-77=5, Resulting Numbers: [94, 2, 5] Generated Node #0,2: 52:[94, 2, 5] Operation: 82-77=5 Moving to Node #0,2 Current State: 52:[94, 2, 5], Operations: ['82-77=5'] Exploring Operation: 94/2=47, Resulting Numbers: [5, 47] Generated Node #0,2,1: 52:[5, 47] Operation: 94/2=47 Moving to Node #0,2,1 Current State: 52:[5, 47], Operations: ['82-77=5', '94/2=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 23, 58, 51, 21 ]
51
[ "23+58=81", "51-21=30", "81-30=51" ]
Current State: 51:[23, 58, 51, 21], Operations: [] Exploring Operation: 23+58=81, Resulting Numbers: [51, 21, 81] Generated Node #2: [51, 21, 81] from Operation: 23+58=81 Current State: 51:[51, 21, 81], Operations: ['23+58=81'] Exploring Operation: 51-21=30, Resulting Numbers: [81, 30] Generated Node #3: [81, 30] from Operation: 51-21=30 Current State: 51:[81, 30], Operations: ['23+58=81', '51-21=30'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[23, 58, 51, 21], Operations: [] Exploring Operation: 23+21=44, Resulting Numbers: [58, 51, 44] Generated Node #0,0: 51:[58, 51, 44] Operation: 23+21=44 Exploring Operation: 23-21=2, Resulting Numbers: [58, 51, 2] Generated Node #0,1: 51:[58, 51, 2] Operation: 23-21=2 Moving to Node #0,1 Current State: 51:[58, 51, 2], Operations: ['23-21=2'] Exploring Operation: 58-2=56, Resulting Numbers: [51, 56] Generated Node #0,1,0: 51:[51, 56] Operation: 58-2=56 Exploring Operation: 58-51=7, Resulting Numbers: [2, 7] Generated Node #0,1,1: 51:[2, 7] Operation: 58-51=7 Moving to Node #0,0 Current State: 51:[58, 51, 44], Operations: ['23+21=44'] Exploring Operation: 58-44=14, Resulting Numbers: [51, 14] Generated Node #0,0,0: 51:[51, 14] Operation: 58-44=14 Exploring Operation: 58-51=7, Resulting Numbers: [44, 7] Generated Node #0,0,1: 51:[44, 7] Operation: 58-51=7 Moving to Node #0,0,0 Current State: 51:[51, 14], Operations: ['23+21=44', '58-44=14'] Exploring Operation: 51+14=65, Resulting Numbers: [65] 65,51 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[51, 56], Operations: ['23-21=2', '58-2=56'] Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[2, 7], Operations: ['23-21=2', '58-51=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[44, 7], Operations: ['23+21=44', '58-51=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[23, 58, 51, 21], Operations: [] Exploring Operation: 23+21=44, Resulting Numbers: [58, 51, 44] Generated Node #0,0: 51:[58, 51, 44] Operation: 23+21=44 Moving to Node #0,0 Current State: 51:[58, 51, 44], Operations: ['23+21=44'] Exploring Operation: 58-51=7, Resulting Numbers: [44, 7] Generated Node #0,0,1: 51:[44, 7] Operation: 58-51=7 Moving to Node #0,0,1 Current State: 51:[44, 7], Operations: ['23+21=44', '58-51=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 36, 64, 32, 86 ]
88
[ "36-32=4", "86-64=22", "4*22=88" ]
Current State: 88:[36, 64, 32, 86], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [64, 86, 4] Generated Node #2: [64, 86, 4] from Operation: 36-32=4 Current State: 88:[64, 86, 4], Operations: ['36-32=4'] Exploring Operation: 86-64=22, Resulting Numbers: [4, 22] Generated Node #3: [4, 22] from Operation: 86-64=22 Current State: 88:[4, 22], Operations: ['36-32=4', '86-64=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[36, 64, 32, 86], Operations: [] Exploring Operation: 64-36=28, Resulting Numbers: [32, 86, 28] Generated Node #0,0: 88:[32, 86, 28] Operation: 64-36=28 Exploring Operation: 64/32=2, Resulting Numbers: [36, 86, 2] Generated Node #0,1: 88:[36, 86, 2] Operation: 64/32=2 Exploring Operation: 64+32=96, Resulting Numbers: [36, 86, 96] Generated Node #0,2: 88:[36, 86, 96] Operation: 64+32=96 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[36, 86, 2], Operations: ['64/32=2'] Exploring Operation: 36/2=18, Resulting Numbers: [86, 18] Generated Node #0,1,0: 88:[86, 18] Operation: 36/2=18 Exploring Operation: 86-36=50, Resulting Numbers: [2, 50] Generated Node #0,1,1: 88:[2, 50] Operation: 86-36=50 Exploring Operation: 36+2=38, Resulting Numbers: [86, 38] Generated Node #0,1,2: 88:[86, 38] Operation: 36+2=38 Moving to Node #0,1,0 Current State: 88:[86, 18], Operations: ['64/32=2', '36/2=18'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,88 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,88 unequal: No Solution Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[2, 50], Operations: ['64/32=2', '86-36=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[86, 38], Operations: ['64/32=2', '36+2=38'] Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 86*38=3268, Resulting Numbers: [3268] 3268,88 unequal: No Solution Exploring Operation: 86+38=124, Resulting Numbers: [124] 124,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,0 Current State: 88:[32, 86, 28], Operations: ['64-36=28'] Exploring Operation: 86-32=54, Resulting Numbers: [28, 54] Generated Node #0,0,0: 88:[28, 54] Operation: 86-32=54 Exploring Operation: 32+28=60, Resulting Numbers: [86, 60] Generated Node #0,0,1: 88:[86, 60] Operation: 32+28=60 Exploring Operation: 32-28=4, Resulting Numbers: [86, 4] Generated Node #0,0,2: 88:[86, 4] Operation: 32-28=4 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[86, 4], Operations: ['64-36=28', '32-28=4'] Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,88 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,88 unequal: No Solution No 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: 88:[28, 54], Operations: ['64-36=28', '86-32=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,88 unequal: No Solution No 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: 88:[86, 60], Operations: ['64-36=28', '32+28=60'] Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,88 unequal: No Solution Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 86*60=5160, Resulting Numbers: [5160] 5160,88 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: 88:[36, 86, 96], Operations: ['64+32=96'] Exploring Operation: 96-86=10, Resulting Numbers: [36, 10] Generated Node #0,2,0: 88:[36, 10] Operation: 96-86=10 Exploring Operation: 86-36=50, Resulting Numbers: [96, 50] Generated Node #0,2,1: 88:[96, 50] Operation: 86-36=50 Exploring Operation: 96-36=60, Resulting Numbers: [86, 60] Generated Node #0,2,2: 88:[86, 60] Operation: 96-36=60 Moving to Node #0,2,0 Current State: 88:[36, 10], Operations: ['64+32=96', '96-86=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[96, 50], Operations: ['64+32=96', '86-36=50'] Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 96+50=146, Resulting Numbers: [146] 146,88 unequal: No Solution Exploring Operation: 96*50=4800, Resulting Numbers: [4800] 4800,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[86, 60], Operations: ['64+32=96', '96-36=60'] Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,88 unequal: No Solution Exploring Operation: 86*60=5160, Resulting Numbers: [5160] 5160,88 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
[ 79, 71, 2, 56 ]
46
[ "79-71=8", "56-2=54", "54-8=46" ]
Current State: 46:[79, 71, 2, 56], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [2, 56, 8] Generated Node #2: [2, 56, 8] from Operation: 79-71=8 Current State: 46:[2, 56, 8], Operations: ['79-71=8'] Exploring Operation: 56-2=54, Resulting Numbers: [8, 54] Generated Node #3: [8, 54] from Operation: 56-2=54 Current State: 46:[8, 54], Operations: ['79-71=8', '56-2=54'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[79, 71, 2, 56], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [2, 56, 8] Generated Node #0,0: 46:[2, 56, 8] Operation: 79-71=8 Exploring Operation: 79-56=23, Resulting Numbers: [71, 2, 23] Generated Node #0,1: 46:[71, 2, 23] Operation: 79-56=23 Moving to Node #0,0 Current State: 46:[2, 56, 8], Operations: ['79-71=8'] Exploring Operation: 56-8=48, Resulting Numbers: [2, 48] Generated Node #0,0,0: 46:[2, 48] Operation: 56-8=48 Exploring Operation: 56/8=7, Resulting Numbers: [2, 7] Generated Node #0,0,1: 46:[2, 7] Operation: 56/8=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[2, 48], Operations: ['79-71=8', '56-8=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[79, 71, 2, 56], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [2, 56, 8] Generated Node #0,0: 46:[2, 56, 8] Operation: 79-71=8 Moving to Node #0,0 Current State: 46:[2, 56, 8], Operations: ['79-71=8'] Exploring Operation: 56-8=48, Resulting Numbers: [2, 48] Generated Node #0,0,0: 46:[2, 48] Operation: 56-8=48 Moving to Node #0,0,0 Current State: 46:[2, 48], Operations: ['79-71=8', '56-8=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 90, 85, 88, 39 ]
92
[ "90-88=2", "85-39=46", "2*46=92" ]
Current State: 92:[90, 85, 88, 39], Operations: [] Exploring Operation: 90-88=2, Resulting Numbers: [85, 39, 2] Generated Node #2: [85, 39, 2] from Operation: 90-88=2 Current State: 92:[85, 39, 2], Operations: ['90-88=2'] Exploring Operation: 85-39=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 85-39=46 Current State: 92:[2, 46], Operations: ['90-88=2', '85-39=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[90, 85, 88, 39], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [90, 39, 3] Generated Node #0,0: 92:[90, 39, 3] Operation: 88-85=3 Exploring Operation: 85-39=46, Resulting Numbers: [90, 88, 46] Generated Node #0,1: 92:[90, 88, 46] Operation: 85-39=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[90, 88, 46], Operations: ['85-39=46'] Exploring Operation: 90-88=2, Resulting Numbers: [46, 2] Generated Node #0,1,0: 92:[46, 2] Operation: 90-88=2 Exploring Operation: 90-46=44, Resulting Numbers: [88, 44] Generated Node #0,1,1: 92:[88, 44] Operation: 90-46=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[46, 2], Operations: ['85-39=46', '90-88=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,92 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[90, 85, 88, 39], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [90, 88, 46] Generated Node #0,1: 92:[90, 88, 46] Operation: 85-39=46 Moving to Node #0,1 Current State: 92:[90, 88, 46], Operations: ['85-39=46'] Exploring Operation: 90-88=2, Resulting Numbers: [46, 2] Generated Node #0,1,0: 92:[46, 2] Operation: 90-88=2 Moving to Node #0,1,0 Current State: 92:[46, 2], Operations: ['85-39=46', '90-88=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic