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
[ 9, 11, 32, 52 ]
15
[ "9*11=99", "32+52=84", "99-84=15" ]
Current State: 15:[9, 11, 32, 52], Operations: [] Exploring Operation: 9*11=99, Resulting Numbers: [32, 52, 99] Generated Node #2: [32, 52, 99] from Operation: 9*11=99 Current State: 15:[32, 52, 99], Operations: ['9*11=99'] Exploring Operation: 32+52=84, Resulting Numbers: [99, 84] Generated Node #3: [99, 84] from Operation: 32+52=84 Current State: 15:[99, 84], Operations: ['9*11=99', '32+52=84'] Exploring Operation: 99-84=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[9, 11, 32, 52], Operations: [] Exploring Operation: 32-11=21, Resulting Numbers: [9, 52, 21] Generated Node #0,0: 15:[9, 52, 21] Operation: 32-11=21 Exploring Operation: 32-9=23, Resulting Numbers: [11, 52, 23] Generated Node #0,1: 15:[11, 52, 23] Operation: 32-9=23 Exploring Operation: 52-32=20, Resulting Numbers: [9, 11, 20] Generated Node #0,2: 15:[9, 11, 20] Operation: 52-32=20 Exploring Operation: 52-11=41, Resulting Numbers: [9, 32, 41] Generated Node #0,3: 15:[9, 32, 41] Operation: 52-11=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[9, 11, 20], Operations: ['52-32=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11, 11] Generated Node #0,2,0: 15:[11, 11] Operation: 20-9=11 Exploring Operation: 20-11=9, Resulting Numbers: [9, 9] Generated Node #0,2,1: 15:[9, 9] Operation: 20-11=9 Exploring Operation: 11-9=2, Resulting Numbers: [20, 2] Generated Node #0,2,2: 15:[20, 2] Operation: 11-9=2 Exploring Operation: 9+11=20, Resulting Numbers: [20, 20] Generated Node #0,2,3: 15:[20, 20] Operation: 9+11=20 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[20, 2], Operations: ['52-32=20', '11-9=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[11, 11], Operations: ['52-32=20', '20-9=11'] Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 11*11=121, Resulting Numbers: [121] 121,15 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,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:[9, 9], Operations: ['52-32=20', '20-11=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,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:[20, 20], Operations: ['52-32=20', '9+11=20'] Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,15 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,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:[9, 52, 21], Operations: ['32-11=21'] Exploring Operation: 9+52=61, Resulting Numbers: [21, 61] Generated Node #0,0,0: 15:[21, 61] Operation: 9+52=61 Exploring Operation: 21-9=12, Resulting Numbers: [52, 12] Generated Node #0,0,1: 15:[52, 12] Operation: 21-9=12 Exploring Operation: 52-21=31, Resulting Numbers: [9, 31] Generated Node #0,0,2: 15:[9, 31] Operation: 52-21=31 Exploring Operation: 52-9=43, Resulting Numbers: [21, 43] Generated Node #0,0,3: 15:[21, 43] Operation: 52-9=43 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[9, 31], Operations: ['32-11=21', '52-21=31'] Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,15 unequal: No Solution Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,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,0,3 Current State: 15:[21, 43], Operations: ['32-11=21', '52-9=43'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,15 unequal: No Solution Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,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,0,1 Current State: 15:[52, 12], Operations: ['32-11=21', '21-9=12'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,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,0,0 Current State: 15:[21, 61], Operations: ['32-11=21', '9+52=61'] Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,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,3 Current State: 15:[9, 32, 41], Operations: ['52-11=41'] Exploring Operation: 32-9=23, Resulting Numbers: [41, 23] Generated Node #0,3,0: 15:[41, 23] Operation: 32-9=23 Exploring Operation: 9+32=41, Resulting Numbers: [41, 41] Generated Node #0,3,1: 15:[41, 41] Operation: 9+32=41 Exploring Operation: 41-9=32, Resulting Numbers: [32, 32] Generated Node #0,3,2: 15:[32, 32] Operation: 41-9=32 Exploring Operation: 41-32=9, Resulting Numbers: [9, 9] Generated Node #0,3,3: 15:[9, 9] Operation: 41-32=9 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 15:[9, 9], Operations: ['52-11=41', '41-32=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,15 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,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,0 Current State: 15:[41, 23], Operations: ['52-11=41', '32-9=23'] Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,15 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,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:[32, 32], Operations: ['52-11=41', '41-9=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,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:[41, 41], Operations: ['52-11=41', '9+32=41'] Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 41*41=1681, Resulting Numbers: [1681] 1681,15 unequal: No Solution Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[11, 52, 23], Operations: ['32-9=23'] Exploring Operation: 52-11=41, Resulting Numbers: [23, 41] Generated Node #0,1,0: 15:[23, 41] Operation: 52-11=41 Exploring Operation: 52-23=29, Resulting Numbers: [11, 29] Generated Node #0,1,1: 15:[11, 29] Operation: 52-23=29 Exploring Operation: 11+52=63, Resulting Numbers: [23, 63] Generated Node #0,1,2: 15:[23, 63] Operation: 11+52=63 Exploring Operation: 23-11=12, Resulting Numbers: [52, 12] Generated Node #0,1,3: 15:[52, 12] Operation: 23-11=12 Moving to Node #0,1,1 Current State: 15:[11, 29], Operations: ['32-9=23', '52-23=29'] Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,15 unequal: No Solution Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[23, 41], Operations: ['32-9=23', '52-11=41'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,15 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[52, 12], Operations: ['32-9=23', '23-11=12'] Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,15 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[23, 63], Operations: ['32-9=23', '11+52=63'] Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,15 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,15 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
[ 58, 97, 71, 8 ]
40
[ "97-58=39", "71+8=79", "79-39=40" ]
Current State: 40:[58, 97, 71, 8], Operations: [] Exploring Operation: 97-58=39, Resulting Numbers: [71, 8, 39] Generated Node #2: [71, 8, 39] from Operation: 97-58=39 Current State: 40:[71, 8, 39], Operations: ['97-58=39'] Exploring Operation: 71+8=79, Resulting Numbers: [39, 79] Generated Node #3: [39, 79] from Operation: 71+8=79 Current State: 40:[39, 79], Operations: ['97-58=39', '71+8=79'] Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[58, 97, 71, 8], Operations: [] Exploring Operation: 97-58=39, Resulting Numbers: [71, 8, 39] Generated Node #0,0: 40:[71, 8, 39] Operation: 97-58=39 Exploring Operation: 58-8=50, Resulting Numbers: [97, 71, 50] Generated Node #0,1: 40:[97, 71, 50] Operation: 58-8=50 Exploring Operation: 97-71=26, Resulting Numbers: [58, 8, 26] Generated Node #0,2: 40:[58, 8, 26] Operation: 97-71=26 Exploring Operation: 71-58=13, Resulting Numbers: [97, 8, 13] Generated Node #0,3: 40:[97, 8, 13] Operation: 71-58=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[58, 8, 26], Operations: ['97-71=26'] Exploring Operation: 8+26=34, Resulting Numbers: [58, 34] Generated Node #0,2,0: 40:[58, 34] Operation: 8+26=34 Exploring Operation: 58-8=50, Resulting Numbers: [26, 50] Generated Node #0,2,1: 40:[26, 50] Operation: 58-8=50 Exploring Operation: 26-8=18, Resulting Numbers: [58, 18] Generated Node #0,2,2: 40:[58, 18] Operation: 26-8=18 Exploring Operation: 58-26=32, Resulting Numbers: [8, 32] Generated Node #0,2,3: 40:[8, 32] Operation: 58-26=32 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 40:[8, 32], Operations: ['97-71=26', '58-26=32'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[58, 97, 71, 8], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [58, 8, 26] Generated Node #0,2: 40:[58, 8, 26] Operation: 97-71=26 Moving to Node #0,2 Current State: 40:[58, 8, 26], Operations: ['97-71=26'] Exploring Operation: 58-26=32, Resulting Numbers: [8, 32] Generated Node #0,2,3: 40:[8, 32] Operation: 58-26=32 Moving to Node #0,2,3 Current State: 40:[8, 32], Operations: ['97-71=26', '58-26=32'] Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 30, 32, 14, 82 ]
24
[ "30+82=112", "112/14=8", "32-8=24" ]
Current State: 24:[30, 32, 14, 82], Operations: [] Exploring Operation: 30+82=112, Resulting Numbers: [32, 14, 112] Generated Node #2: [32, 14, 112] from Operation: 30+82=112 Current State: 24:[32, 14, 112], Operations: ['30+82=112'] Exploring Operation: 112/14=8, Resulting Numbers: [32, 8] Generated Node #3: [32, 8] from Operation: 112/14=8 Current State: 24:[32, 8], Operations: ['30+82=112', '112/14=8'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[30, 32, 14, 82], Operations: [] Exploring Operation: 82-32=50, Resulting Numbers: [30, 14, 50] Generated Node #0,0: 24:[30, 14, 50] Operation: 82-32=50 Exploring Operation: 82-30=52, Resulting Numbers: [32, 14, 52] Generated Node #0,1: 24:[32, 14, 52] Operation: 82-30=52 Moving to Node #0,0 Current State: 24:[30, 14, 50], Operations: ['82-32=50'] Exploring Operation: 50-14=36, Resulting Numbers: [30, 36] Generated Node #0,0,0: 24:[30, 36] Operation: 50-14=36 Exploring Operation: 50-30=20, Resulting Numbers: [14, 20] Generated Node #0,0,1: 24:[14, 20] Operation: 50-30=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[14, 20], Operations: ['82-32=50', '50-30=20'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[30, 36], Operations: ['82-32=50', '50-14=36'] Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,24 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,24 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: 24:[32, 14, 52], Operations: ['82-30=52'] Exploring Operation: 52-14=38, Resulting Numbers: [32, 38] Generated Node #0,1,0: 24:[32, 38] Operation: 52-14=38 Exploring Operation: 52-32=20, Resulting Numbers: [14, 20] Generated Node #0,1,1: 24:[14, 20] Operation: 52-32=20 Moving to Node #0,1,1 Current State: 24:[14, 20], Operations: ['82-30=52', '52-32=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,24 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[32, 38], Operations: ['82-30=52', '52-14=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,24 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 6, 48, 69, 57 ]
58
[ "48*69=3312", "3312-6=3306", "3306/57=58" ]
Current State: 58:[6, 48, 69, 57], Operations: [] Exploring Operation: 48*69=3312, Resulting Numbers: [6, 57, 3312] Generated Node #2: [6, 57, 3312] from Operation: 48*69=3312 Current State: 58:[6, 57, 3312], Operations: ['48*69=3312'] Exploring Operation: 3312-6=3306, Resulting Numbers: [57, 3306] Generated Node #3: [57, 3306] from Operation: 3312-6=3306 Current State: 58:[57, 3306], Operations: ['48*69=3312', '3312-6=3306'] Exploring Operation: 3306/57=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[6, 48, 69, 57], Operations: [] Exploring Operation: 6+48=54, Resulting Numbers: [69, 57, 54] Generated Node #0,0: 58:[69, 57, 54] Operation: 6+48=54 Exploring Operation: 69-48=21, Resulting Numbers: [6, 57, 21] Generated Node #0,1: 58:[6, 57, 21] Operation: 69-48=21 Exploring Operation: 69-6=63, Resulting Numbers: [48, 57, 63] Generated Node #0,2: 58:[48, 57, 63] Operation: 69-6=63 Moving to Node #0,1 Current State: 58:[6, 57, 21], Operations: ['69-48=21'] Exploring Operation: 57-21=36, Resulting Numbers: [6, 36] Generated Node #0,1,0: 58:[6, 36] Operation: 57-21=36 Exploring Operation: 6+57=63, Resulting Numbers: [21, 63] Generated Node #0,1,1: 58:[21, 63] Operation: 6+57=63 Exploring Operation: 6+21=27, Resulting Numbers: [57, 27] Generated Node #0,1,2: 58:[57, 27] Operation: 6+21=27 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[57, 27], Operations: ['69-48=21', '6+21=27'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,58 unequal: No Solution Exploring Operation: 57*27=1539, Resulting Numbers: [1539] 1539,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,1,0 Current State: 58:[6, 36], Operations: ['69-48=21', '57-21=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,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,1,1 Current State: 58:[21, 63], Operations: ['69-48=21', '6+57=63'] Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,58 unequal: No Solution Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,58 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: 58:[69, 57, 54], Operations: ['6+48=54'] Exploring Operation: 69-57=12, Resulting Numbers: [54, 12] Generated Node #0,0,0: 58:[54, 12] Operation: 69-57=12 Exploring Operation: 69-54=15, Resulting Numbers: [57, 15] Generated Node #0,0,1: 58:[57, 15] Operation: 69-54=15 Exploring Operation: 57-54=3, Resulting Numbers: [69, 3] Generated Node #0,0,2: 58:[69, 3] Operation: 57-54=3 Moving to Node #0,2 Current State: 58:[48, 57, 63], Operations: ['69-6=63'] Exploring Operation: 63-48=15, Resulting Numbers: [57, 15] Generated Node #0,2,0: 58:[57, 15] Operation: 63-48=15 Exploring Operation: 63-57=6, Resulting Numbers: [48, 6] Generated Node #0,2,1: 58:[48, 6] Operation: 63-57=6 Exploring Operation: 57-48=9, Resulting Numbers: [63, 9] Generated Node #0,2,2: 58:[63, 9] Operation: 57-48=9 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[63, 9], Operations: ['69-6=63', '57-48=9'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 63+9=72, Resulting Numbers: [72] 72,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,0 Current State: 58:[57, 15], Operations: ['69-6=63', '63-48=15'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,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,1 Current State: 58:[48, 6], Operations: ['69-6=63', '63-57=6'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,58 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 58:[69, 3], Operations: ['6+48=54', '57-54=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[54, 12], Operations: ['6+48=54', '69-57=12'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[57, 15], Operations: ['6+48=54', '69-54=15'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,58 unequal: No Solution Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,58 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 20, 70, 67, 22 ]
95
[ "70-20=50", "67-22=45", "50+45=95" ]
Current State: 95:[20, 70, 67, 22], Operations: [] Exploring Operation: 70-20=50, Resulting Numbers: [67, 22, 50] Generated Node #2: [67, 22, 50] from Operation: 70-20=50 Current State: 95:[67, 22, 50], Operations: ['70-20=50'] Exploring Operation: 67-22=45, Resulting Numbers: [50, 45] Generated Node #3: [50, 45] from Operation: 67-22=45 Current State: 95:[50, 45], Operations: ['70-20=50', '67-22=45'] Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[20, 70, 67, 22], Operations: [] Exploring Operation: 70+22=92, Resulting Numbers: [20, 67, 92] Generated Node #0,0: 95:[20, 67, 92] Operation: 70+22=92 Exploring Operation: 20+70=90, Resulting Numbers: [67, 22, 90] Generated Node #0,1: 95:[67, 22, 90] Operation: 20+70=90 Exploring Operation: 67+22=89, Resulting Numbers: [20, 70, 89] Generated Node #0,2: 95:[20, 70, 89] Operation: 67+22=89 Exploring Operation: 20+67=87, Resulting Numbers: [70, 22, 87] Generated Node #0,3: 95:[70, 22, 87] Operation: 20+67=87 Exploring Operation: 70-67=3, Resulting Numbers: [20, 22, 3] Generated Node #0,4: 95:[20, 22, 3] Operation: 70-67=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 95:[20, 22, 3], Operations: ['70-67=3'] Exploring Operation: 22+3=25, Resulting Numbers: [20, 25] Generated Node #0,4,0: 95:[20, 25] Operation: 22+3=25 Exploring Operation: 22-3=19, Resulting Numbers: [20, 19] Generated Node #0,4,1: 95:[20, 19] Operation: 22-3=19 Exploring Operation: 20+3=23, Resulting Numbers: [22, 23] Generated Node #0,4,2: 95:[22, 23] Operation: 20+3=23 Exploring Operation: 20-3=17, Resulting Numbers: [22, 17] Generated Node #0,4,3: 95:[22, 17] Operation: 20-3=17 Exploring Operation: 22-20=2, Resulting Numbers: [3, 2] Generated Node #0,4,4: 95:[3, 2] Operation: 22-20=2 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 95:[20, 19], Operations: ['70-67=3', '22-3=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,95 unequal: No Solution No 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: 95:[22, 17], Operations: ['70-67=3', '20-3=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,95 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,95 unequal: No Solution No 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: 95:[3, 2], Operations: ['70-67=3', '22-20=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,95 unequal: No Solution No 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: 95:[20, 25], Operations: ['70-67=3', '22+3=25'] Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,95 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,95 unequal: No Solution No 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: 95:[22, 23], Operations: ['70-67=3', '20+3=23'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,95 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: 95:[20, 67, 92], Operations: ['70+22=92'] Exploring Operation: 92-20=72, Resulting Numbers: [67, 72] Generated Node #0,0,0: 95:[67, 72] Operation: 92-20=72 Exploring Operation: 20+67=87, Resulting Numbers: [92, 87] Generated Node #0,0,1: 95:[92, 87] Operation: 20+67=87 Exploring Operation: 67-20=47, Resulting Numbers: [92, 47] Generated Node #0,0,2: 95:[92, 47] Operation: 67-20=47 Exploring Operation: 20+92=112, Resulting Numbers: [67, 112] Generated Node #0,0,3: 95:[67, 112] Operation: 20+92=112 Exploring Operation: 92-67=25, Resulting Numbers: [20, 25] Generated Node #0,0,4: 95:[20, 25] Operation: 92-67=25 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 95:[20, 25], Operations: ['70+22=92', '92-67=25'] Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,95 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,95 unequal: No Solution No 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: 95:[92, 87], Operations: ['70+22=92', '20+67=87'] Exploring Operation: 92*87=8004, Resulting Numbers: [8004] 8004,95 unequal: No Solution Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 92+87=179, Resulting Numbers: [179] 179,95 unequal: No Solution No 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: 95:[92, 47], Operations: ['70+22=92', '67-20=47'] Exploring Operation: 92*47=4324, Resulting Numbers: [4324] 4324,95 unequal: No Solution Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 92+47=139, Resulting Numbers: [139] 139,95 unequal: No Solution No 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: 95:[67, 112], Operations: ['70+22=92', '20+92=112'] Exploring Operation: 67+112=179, Resulting Numbers: [179] 179,95 unequal: No Solution Exploring Operation: 67*112=7504, Resulting Numbers: [7504] 7504,95 unequal: No Solution Exploring Operation: 112-67=45, Resulting Numbers: [45] 45,95 unequal: No Solution No 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: 95:[67, 72], Operations: ['70+22=92', '92-20=72'] Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 67+72=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 67*72=4824, Resulting Numbers: [4824] 4824,95 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: 95:[20, 70, 89], Operations: ['67+22=89'] Exploring Operation: 20+70=90, Resulting Numbers: [89, 90] Generated Node #0,2,0: 95:[89, 90] Operation: 20+70=90 Exploring Operation: 20+89=109, Resulting Numbers: [70, 109] Generated Node #0,2,1: 95:[70, 109] Operation: 20+89=109 Exploring Operation: 89-20=69, Resulting Numbers: [70, 69] Generated Node #0,2,2: 95:[70, 69] Operation: 89-20=69 Exploring Operation: 89-70=19, Resulting Numbers: [20, 19] Generated Node #0,2,3: 95:[20, 19] Operation: 89-70=19 Exploring Operation: 70-20=50, Resulting Numbers: [89, 50] Generated Node #0,2,4: 95:[89, 50] Operation: 70-20=50 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 95:[20, 19], Operations: ['67+22=89', '89-70=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,95 unequal: No Solution No 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: 95:[89, 90], Operations: ['67+22=89', '20+70=90'] Exploring Operation: 89*90=8010, Resulting Numbers: [8010] 8010,95 unequal: No Solution Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 89+90=179, Resulting Numbers: [179] 179,95 unequal: No Solution No 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: 95:[89, 50], Operations: ['67+22=89', '70-20=50'] Exploring Operation: 89*50=4450, Resulting Numbers: [4450] 4450,95 unequal: No Solution Exploring Operation: 89+50=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,95 unequal: No Solution No 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: 95:[70, 109], Operations: ['67+22=89', '20+89=109'] Exploring Operation: 109-70=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 70+109=179, Resulting Numbers: [179] 179,95 unequal: No Solution Exploring Operation: 70*109=7630, Resulting Numbers: [7630] 7630,95 unequal: No Solution No 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: 95:[70, 69], Operations: ['67+22=89', '89-20=69'] Exploring Operation: 70*69=4830, Resulting Numbers: [4830] 4830,95 unequal: No Solution Exploring Operation: 70+69=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,95 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: 95:[67, 22, 90], Operations: ['20+70=90'] Exploring Operation: 67+22=89, Resulting Numbers: [90, 89] Generated Node #0,1,0: 95:[90, 89] Operation: 67+22=89 Exploring Operation: 90-22=68, Resulting Numbers: [67, 68] Generated Node #0,1,1: 95:[67, 68] Operation: 90-22=68 Exploring Operation: 22+90=112, Resulting Numbers: [67, 112] Generated Node #0,1,2: 95:[67, 112] Operation: 22+90=112 Exploring Operation: 67-22=45, Resulting Numbers: [90, 45] Generated Node #0,1,3: 95:[90, 45] Operation: 67-22=45 Exploring Operation: 90-67=23, Resulting Numbers: [22, 23] Generated Node #0,1,4: 95:[22, 23] Operation: 90-67=23 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 95:[22, 23], Operations: ['20+70=90', '90-67=23'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,95 unequal: No Solution Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,95 unequal: No Solution No 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: 95:[90, 89], Operations: ['20+70=90', '67+22=89'] Exploring Operation: 90+89=179, Resulting Numbers: [179] 179,95 unequal: No Solution Exploring Operation: 90*89=8010, Resulting Numbers: [8010] 8010,95 unequal: No Solution Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,95 unequal: No Solution No 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: 95:[90, 45], Operations: ['20+70=90', '67-22=45'] Exploring Operation: 90*45=4050, Resulting Numbers: [4050] 4050,95 unequal: No Solution Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,95 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,95 unequal: No Solution No 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: 95:[67, 112], Operations: ['20+70=90', '22+90=112'] Exploring Operation: 67+112=179, Resulting Numbers: [179] 179,95 unequal: No Solution Exploring Operation: 112-67=45, Resulting Numbers: [45] 45,95 unequal: No Solution Exploring Operation: 67*112=7504, Resulting Numbers: [7504] 7504,95 unequal: No Solution No 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: 95:[67, 68], Operations: ['20+70=90', '90-22=68'] Exploring Operation: 67+68=135, Resulting Numbers: [135] 135,95 unequal: No Solution Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 67*68=4556, Resulting Numbers: [4556] 4556,95 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: 95:[70, 22, 87], Operations: ['20+67=87'] Exploring Operation: 22+87=109, Resulting Numbers: [70, 109] Generated Node #0,3,0: 95:[70, 109] Operation: 22+87=109 Exploring Operation: 70-22=48, Resulting Numbers: [87, 48] Generated Node #0,3,1: 95:[87, 48] Operation: 70-22=48 Exploring Operation: 87-70=17, Resulting Numbers: [22, 17] Generated Node #0,3,2: 95:[22, 17] Operation: 87-70=17 Exploring Operation: 70+22=92, Resulting Numbers: [87, 92] Generated Node #0,3,3: 95:[87, 92] Operation: 70+22=92 Exploring Operation: 87-22=65, Resulting Numbers: [70, 65] Generated Node #0,3,4: 95:[70, 65] Operation: 87-22=65 Moving to Node #0,3,2 Current State: 95:[22, 17], Operations: ['20+67=87', '87-70=17'] Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,95 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[87, 92], Operations: ['20+67=87', '70+22=92'] Exploring Operation: 87*92=8004, Resulting Numbers: [8004] 8004,95 unequal: No Solution Exploring Operation: 87+92=179, Resulting Numbers: [179] 179,95 unequal: No Solution Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[87, 48], Operations: ['20+67=87', '70-22=48'] Exploring Operation: 87*48=4176, Resulting Numbers: [4176] 4176,95 unequal: No Solution Exploring Operation: 87+48=135, Resulting Numbers: [135] 135,95 unequal: No Solution Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[70, 109], Operations: ['20+67=87', '22+87=109'] Exploring Operation: 109-70=39, Resulting Numbers: [39] 39,95 unequal: No Solution Exploring Operation: 70+109=179, Resulting Numbers: [179] 179,95 unequal: No Solution Exploring Operation: 70*109=7630, Resulting Numbers: [7630] 7630,95 unequal: No Solution Moving to Node #0,3,4 Current State: 95:[70, 65], Operations: ['20+67=87', '87-22=65'] Exploring Operation: 70*65=4550, Resulting Numbers: [4550] 4550,95 unequal: No Solution Exploring Operation: 70-65=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 70+65=135, Resulting Numbers: [135] 135,95 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
[ 32, 36, 40, 52 ]
54
[ "32+40=72", "72/36=2", "52+2=54" ]
Current State: 54:[32, 36, 40, 52], Operations: [] Exploring Operation: 32+40=72, Resulting Numbers: [36, 52, 72] Generated Node #2: [36, 52, 72] from Operation: 32+40=72 Current State: 54:[36, 52, 72], Operations: ['32+40=72'] Exploring Operation: 72/36=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 72/36=2 Current State: 54:[52, 2], Operations: ['32+40=72', '72/36=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[32, 36, 40, 52], Operations: [] Exploring Operation: 52-40=12, Resulting Numbers: [32, 36, 12] Generated Node #0,0: 54:[32, 36, 12] Operation: 52-40=12 Exploring Operation: 40-36=4, Resulting Numbers: [32, 52, 4] Generated Node #0,1: 54:[32, 52, 4] Operation: 40-36=4 Exploring Operation: 36-32=4, Resulting Numbers: [40, 52, 4] Generated Node #0,2: 54:[40, 52, 4] Operation: 36-32=4 Exploring Operation: 40-32=8, Resulting Numbers: [36, 52, 8] Generated Node #0,3: 54:[36, 52, 8] Operation: 40-32=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[32, 52, 4], Operations: ['40-36=4'] Exploring Operation: 32-4=28, Resulting Numbers: [52, 28] Generated Node #0,1,0: 54:[52, 28] Operation: 32-4=28 Exploring Operation: 52+4=56, Resulting Numbers: [32, 56] Generated Node #0,1,1: 54:[32, 56] Operation: 52+4=56 Exploring Operation: 52-32=20, Resulting Numbers: [4, 20] Generated Node #0,1,2: 54:[4, 20] Operation: 52-32=20 Exploring Operation: 32/4=8, Resulting Numbers: [52, 8] Generated Node #0,1,3: 54:[52, 8] Operation: 32/4=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 54:[52, 28], Operations: ['40-36=4', '32-4=28'] Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 52*28=1456, Resulting Numbers: [1456] 1456,54 unequal: No Solution Exploring Operation: 52+28=80, Resulting Numbers: [80] 80,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 54:[4, 20], Operations: ['40-36=4', '52-32=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 54:[52, 8], Operations: ['40-36=4', '32/4=8'] Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,54 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,54 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[32, 56], Operations: ['40-36=4', '52+4=56'] Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 32+56=88, Resulting Numbers: [88] 88,54 unequal: No Solution Exploring Operation: 32*56=1792, Resulting Numbers: [1792] 1792,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[36, 52, 8], Operations: ['40-32=8'] Exploring Operation: 36+8=44, Resulting Numbers: [52, 44] Generated Node #0,3,0: 54:[52, 44] Operation: 36+8=44 Exploring Operation: 52-36=16, Resulting Numbers: [8, 16] Generated Node #0,3,1: 54:[8, 16] Operation: 52-36=16 Exploring Operation: 52+8=60, Resulting Numbers: [36, 60] Generated Node #0,3,2: 54:[36, 60] Operation: 52+8=60 Exploring Operation: 36-8=28, Resulting Numbers: [52, 28] Generated Node #0,3,3: 54:[52, 28] Operation: 36-8=28 Moving to Node #0,3,1 Current State: 54:[8, 16], Operations: ['40-32=8', '52-36=16'] Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,54 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[52, 28], Operations: ['40-32=8', '36-8=28'] Exploring Operation: 52*28=1456, Resulting Numbers: [1456] 1456,54 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 52+28=80, Resulting Numbers: [80] 80,54 unequal: No Solution Moving to Node #0,3,0 Current State: 54:[52, 44], Operations: ['40-32=8', '36+8=44'] Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,54 unequal: No Solution Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[36, 60], Operations: ['40-32=8', '52+8=60'] Exploring Operation: 36+60=96, Resulting Numbers: [96] 96,54 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 36*60=2160, Resulting Numbers: [2160] 2160,54 unequal: No Solution No 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: 54:[40, 52, 4], Operations: ['36-32=4'] Exploring Operation: 40/4=10, Resulting Numbers: [52, 10] Generated Node #0,2,0: 54:[52, 10] Operation: 40/4=10 Exploring Operation: 52-40=12, Resulting Numbers: [4, 12] Generated Node #0,2,1: 54:[4, 12] Operation: 52-40=12 Exploring Operation: 40-4=36, Resulting Numbers: [52, 36] Generated Node #0,2,2: 54:[52, 36] Operation: 40-4=36 Exploring Operation: 40+4=44, Resulting Numbers: [52, 44] Generated Node #0,2,3: 54:[52, 44] Operation: 40+4=44 Moving to Node #0,2,0 Current State: 54:[52, 10], Operations: ['36-32=4', '40/4=10'] Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,54 unequal: No Solution Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,54 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[4, 12], Operations: ['36-32=4', '52-40=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[52, 36], Operations: ['36-32=4', '40-4=36'] Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,54 unequal: No Solution Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,54 unequal: No Solution Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[52, 44], Operations: ['36-32=4', '40+4=44'] Exploring Operation: 52-44=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 52+44=96, Resulting Numbers: [96] 96,54 unequal: No Solution Exploring Operation: 52*44=2288, Resulting Numbers: [2288] 2288,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[32, 36, 12], Operations: ['52-40=12'] Exploring Operation: 32-12=20, Resulting Numbers: [36, 20] Generated Node #0,0,0: 54:[36, 20] Operation: 32-12=20 Exploring Operation: 36/12=3, Resulting Numbers: [32, 3] Generated Node #0,0,1: 54:[32, 3] Operation: 36/12=3 Exploring Operation: 36-32=4, Resulting Numbers: [12, 4] Generated Node #0,0,2: 54:[12, 4] Operation: 36-32=4 Exploring Operation: 36-12=24, Resulting Numbers: [32, 24] Generated Node #0,0,3: 54:[32, 24] Operation: 36-12=24 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 54:[12, 4], Operations: ['52-40=12', '36-32=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[32, 3], Operations: ['52-40=12', '36/12=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,54 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 54:[32, 24], Operations: ['52-40=12', '36-12=24'] Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,54 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[36, 20], Operations: ['52-40=12', '32-12=20'] Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,54 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 53, 60, 94, 47 ]
84
[ "53-47=6", "60/6=10", "94-10=84" ]
Current State: 84:[53, 60, 94, 47], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [60, 94, 6] Generated Node #2: [60, 94, 6] from Operation: 53-47=6 Current State: 84:[60, 94, 6], Operations: ['53-47=6'] Exploring Operation: 60/6=10, Resulting Numbers: [94, 10] Generated Node #3: [94, 10] from Operation: 60/6=10 Current State: 84:[94, 10], Operations: ['53-47=6', '60/6=10'] Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[53, 60, 94, 47], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [53, 47, 34] Generated Node #0,0: 84:[53, 47, 34] Operation: 94-60=34 Exploring Operation: 60-47=13, Resulting Numbers: [53, 94, 13] Generated Node #0,1: 84:[53, 94, 13] Operation: 60-47=13 Exploring Operation: 94-53=41, Resulting Numbers: [60, 47, 41] Generated Node #0,2: 84:[60, 47, 41] Operation: 94-53=41 Exploring Operation: 60-53=7, Resulting Numbers: [94, 47, 7] Generated Node #0,3: 84:[94, 47, 7] Operation: 60-53=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[94, 47, 7], Operations: ['60-53=7'] Exploring Operation: 94-47=47, Resulting Numbers: [7, 47] Generated Node #0,3,0: 84:[7, 47] Operation: 94-47=47 Exploring Operation: 47-7=40, Resulting Numbers: [94, 40] Generated Node #0,3,1: 84:[94, 40] Operation: 47-7=40 Exploring Operation: 94-7=87, Resulting Numbers: [47, 87] Generated Node #0,3,2: 84:[47, 87] Operation: 94-7=87 Exploring Operation: 94/47=2, Resulting Numbers: [7, 2] Generated Node #0,3,3: 84:[7, 2] Operation: 94/47=2 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 84:[7, 2], Operations: ['60-53=7', '94/47=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,84 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,84 unequal: No Solution No 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: 84:[7, 47], Operations: ['60-53=7', '94-47=47'] Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,84 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,84 unequal: No Solution No 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: 84:[47, 87], Operations: ['60-53=7', '94-7=87'] Exploring Operation: 47+87=134, Resulting Numbers: [134] 134,84 unequal: No Solution Exploring Operation: 87-47=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 47*87=4089, Resulting Numbers: [4089] 4089,84 unequal: No Solution No 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: 84:[94, 40], Operations: ['60-53=7', '47-7=40'] Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,84 unequal: No Solution Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[53, 47, 34], Operations: ['94-60=34'] Exploring Operation: 47-34=13, Resulting Numbers: [53, 13] Generated Node #0,0,0: 84:[53, 13] Operation: 47-34=13 Exploring Operation: 53+34=87, Resulting Numbers: [47, 87] Generated Node #0,0,1: 84:[47, 87] Operation: 53+34=87 Exploring Operation: 53-34=19, Resulting Numbers: [47, 19] Generated Node #0,0,2: 84:[47, 19] Operation: 53-34=19 Exploring Operation: 53-47=6, Resulting Numbers: [34, 6] Generated Node #0,0,3: 84:[34, 6] Operation: 53-47=6 Moving to Node #0,0,3 Current State: 84:[34, 6], Operations: ['94-60=34', '53-47=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[47, 19], Operations: ['94-60=34', '53-34=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,84 unequal: No Solution Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[47, 87], Operations: ['94-60=34', '53+34=87'] Exploring Operation: 47+87=134, Resulting Numbers: [134] 134,84 unequal: No Solution Exploring Operation: 87-47=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 47*87=4089, Resulting Numbers: [4089] 4089,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[53, 13], Operations: ['94-60=34', '47-34=13'] Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,84 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[53, 94, 13], Operations: ['60-47=13'] Exploring Operation: 94-53=41, Resulting Numbers: [13, 41] Generated Node #0,1,0: 84:[13, 41] Operation: 94-53=41 Exploring Operation: 53-13=40, Resulting Numbers: [94, 40] Generated Node #0,1,1: 84:[94, 40] Operation: 53-13=40 Exploring Operation: 53+13=66, Resulting Numbers: [94, 66] Generated Node #0,1,2: 84:[94, 66] Operation: 53+13=66 Exploring Operation: 94-13=81, Resulting Numbers: [53, 81] Generated Node #0,1,3: 84:[53, 81] Operation: 94-13=81 Moving to Node #0,1,0 Current State: 84:[13, 41], Operations: ['60-47=13', '94-53=41'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 13*41=533, Resulting Numbers: [533] 533,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[94, 40], Operations: ['60-47=13', '53-13=40'] Exploring Operation: 94*40=3760, Resulting Numbers: [3760] 3760,84 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 94+40=134, Resulting Numbers: [134] 134,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[53, 81], Operations: ['60-47=13', '94-13=81'] Exploring Operation: 53*81=4293, Resulting Numbers: [4293] 4293,84 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 53+81=134, Resulting Numbers: [134] 134,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[94, 66], Operations: ['60-47=13', '53+13=66'] Exploring Operation: 94-66=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 94+66=160, Resulting Numbers: [160] 160,84 unequal: No Solution Exploring Operation: 94*66=6204, Resulting Numbers: [6204] 6204,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 Current State: 84:[60, 47, 41], Operations: ['94-53=41'] Exploring Operation: 60-47=13, Resulting Numbers: [41, 13] Generated Node #0,2,0: 84:[41, 13] Operation: 60-47=13 Exploring Operation: 60+41=101, Resulting Numbers: [47, 101] Generated Node #0,2,1: 84:[47, 101] Operation: 60+41=101 Exploring Operation: 60-41=19, Resulting Numbers: [47, 19] Generated Node #0,2,2: 84:[47, 19] Operation: 60-41=19 Exploring Operation: 47-41=6, Resulting Numbers: [60, 6] Generated Node #0,2,3: 84:[60, 6] Operation: 47-41=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[41, 13], Operations: ['94-53=41', '60-47=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,84 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,84 unequal: No Solution No 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: 84:[47, 19], Operations: ['94-53=41', '60-41=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,84 unequal: No Solution Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,84 unequal: No Solution No 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: 84:[60, 6], Operations: ['94-53=41', '47-41=6'] Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,84 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,84 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,84 unequal: No Solution No 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: 84:[47, 101], Operations: ['94-53=41', '60+41=101'] Exploring Operation: 101-47=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 47+101=148, Resulting Numbers: [148] 148,84 unequal: No Solution Exploring Operation: 47*101=4747, Resulting Numbers: [4747] 4747,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_4
sum_heuristic
[ 20, 87, 24, 83 ]
14
[ "87-83=4", "24/4=6", "20-6=14" ]
Current State: 14:[20, 87, 24, 83], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [20, 24, 4] Generated Node #2: [20, 24, 4] from Operation: 87-83=4 Current State: 14:[20, 24, 4], Operations: ['87-83=4'] Exploring Operation: 24/4=6, Resulting Numbers: [20, 6] Generated Node #3: [20, 6] from Operation: 24/4=6 Current State: 14:[20, 6], Operations: ['87-83=4', '24/4=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[20, 87, 24, 83], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [20, 24, 4] Generated Node #0,0: 14:[20, 24, 4] Operation: 87-83=4 Exploring Operation: 87-24=63, Resulting Numbers: [20, 83, 63] Generated Node #0,1: 14:[20, 83, 63] Operation: 87-24=63 Exploring Operation: 83-24=59, Resulting Numbers: [20, 87, 59] Generated Node #0,2: 14:[20, 87, 59] Operation: 83-24=59 Exploring Operation: 87-20=67, Resulting Numbers: [24, 83, 67] Generated Node #0,3: 14:[24, 83, 67] Operation: 87-20=67 Moving to Node #0,0 Current State: 14:[20, 24, 4], Operations: ['87-83=4'] Exploring Operation: 24-20=4, Resulting Numbers: [4, 4] Generated Node #0,0,0: 14:[4, 4] Operation: 24-20=4 Exploring Operation: 20-4=16, Resulting Numbers: [24, 16] Generated Node #0,0,1: 14:[24, 16] Operation: 20-4=16 Exploring Operation: 24/4=6, Resulting Numbers: [20, 6] Generated Node #0,0,2: 14:[20, 6] Operation: 24/4=6 Exploring Operation: 20/4=5, Resulting Numbers: [24, 5] Generated Node #0,0,3: 14:[24, 5] Operation: 20/4=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[4, 4], Operations: ['87-83=4', '24-20=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,14 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,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,0,2 Current State: 14:[20, 6], Operations: ['87-83=4', '24/4=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[20, 87, 24, 83], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [20, 24, 4] Generated Node #0,0: 14:[20, 24, 4] Operation: 87-83=4 Moving to Node #0,0 Current State: 14:[20, 24, 4], Operations: ['87-83=4'] Exploring Operation: 24/4=6, Resulting Numbers: [20, 6] Generated Node #0,0,2: 14:[20, 6] Operation: 24/4=6 Moving to Node #0,0,2 Current State: 14:[20, 6], Operations: ['87-83=4', '24/4=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 23, 25, 94, 34 ]
77
[ "25-23=2", "34/2=17", "94-17=77" ]
Current State: 77:[23, 25, 94, 34], Operations: [] Exploring Operation: 25-23=2, Resulting Numbers: [94, 34, 2] Generated Node #2: [94, 34, 2] from Operation: 25-23=2 Current State: 77:[94, 34, 2], Operations: ['25-23=2'] Exploring Operation: 34/2=17, Resulting Numbers: [94, 17] Generated Node #3: [94, 17] from Operation: 34/2=17 Current State: 77:[94, 17], Operations: ['25-23=2', '34/2=17'] Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[23, 25, 94, 34], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [25, 94, 11] Generated Node #0,0: 77:[25, 94, 11] Operation: 34-23=11 Exploring Operation: 94-25=69, Resulting Numbers: [23, 34, 69] Generated Node #0,1: 77:[23, 34, 69] Operation: 94-25=69 Exploring Operation: 94-23=71, Resulting Numbers: [25, 34, 71] Generated Node #0,2: 77:[25, 34, 71] Operation: 94-23=71 Exploring Operation: 34-25=9, Resulting Numbers: [23, 94, 9] Generated Node #0,3: 77:[23, 94, 9] Operation: 34-25=9 Exploring Operation: 94-34=60, Resulting Numbers: [23, 25, 60] Generated Node #0,4: 77:[23, 25, 60] Operation: 94-34=60 Moving to Node #0,0 Current State: 77:[25, 94, 11], Operations: ['34-23=11'] Exploring Operation: 25+11=36, Resulting Numbers: [94, 36] Generated Node #0,0,0: 77:[94, 36] Operation: 25+11=36 Exploring Operation: 94-25=69, Resulting Numbers: [11, 69] Generated Node #0,0,1: 77:[11, 69] Operation: 94-25=69 Exploring Operation: 25-11=14, Resulting Numbers: [94, 14] Generated Node #0,0,2: 77:[94, 14] Operation: 25-11=14 Exploring Operation: 25+94=119, Resulting Numbers: [11, 119] Generated Node #0,0,3: 77:[11, 119] Operation: 25+94=119 Exploring Operation: 94-11=83, Resulting Numbers: [25, 83] Generated Node #0,0,4: 77:[25, 83] Operation: 94-11=83 Moving to Node #0,3 Current State: 77:[23, 94, 9], Operations: ['34-25=9'] Exploring Operation: 23-9=14, Resulting Numbers: [94, 14] Generated Node #0,3,0: 77:[94, 14] Operation: 23-9=14 Exploring Operation: 94-23=71, Resulting Numbers: [9, 71] Generated Node #0,3,1: 77:[9, 71] Operation: 94-23=71 Exploring Operation: 94+9=103, Resulting Numbers: [23, 103] Generated Node #0,3,2: 77:[23, 103] Operation: 94+9=103 Exploring Operation: 23+9=32, Resulting Numbers: [94, 32] Generated Node #0,3,3: 77:[94, 32] Operation: 23+9=32 Exploring Operation: 94-9=85, Resulting Numbers: [23, 85] Generated Node #0,3,4: 77:[23, 85] Operation: 94-9=85 Moving to Node #0,1 Current State: 77:[23, 34, 69], Operations: ['94-25=69'] Exploring Operation: 23+34=57, Resulting Numbers: [69, 57] Generated Node #0,1,0: 77:[69, 57] Operation: 23+34=57 Exploring Operation: 69-34=35, Resulting Numbers: [23, 35] Generated Node #0,1,1: 77:[23, 35] Operation: 69-34=35 Exploring Operation: 69/23=3, Resulting Numbers: [34, 3] Generated Node #0,1,2: 77:[34, 3] Operation: 69/23=3 Exploring Operation: 23+69=92, Resulting Numbers: [34, 92] Generated Node #0,1,3: 77:[34, 92] Operation: 23+69=92 Exploring Operation: 34-23=11, Resulting Numbers: [69, 11] Generated Node #0,1,4: 77:[69, 11] Operation: 34-23=11 Moving to Node #0,2 Current State: 77:[25, 34, 71], Operations: ['94-23=71'] Exploring Operation: 71-34=37, Resulting Numbers: [25, 37] Generated Node #0,2,0: 77:[25, 37] Operation: 71-34=37 Exploring Operation: 25+34=59, Resulting Numbers: [71, 59] Generated Node #0,2,1: 77:[71, 59] Operation: 25+34=59 Exploring Operation: 25+71=96, Resulting Numbers: [34, 96] Generated Node #0,2,2: 77:[34, 96] Operation: 25+71=96 Exploring Operation: 34-25=9, Resulting Numbers: [71, 9] Generated Node #0,2,3: 77:[71, 9] Operation: 34-25=9 Exploring Operation: 34+71=105, Resulting Numbers: [25, 105] Generated Node #0,2,4: 77:[25, 105] Operation: 34+71=105 Moving to Node #0,4 Current State: 77:[23, 25, 60], Operations: ['94-34=60'] Exploring Operation: 60-25=35, Resulting Numbers: [23, 35] Generated Node #0,4,0: 77:[23, 35] Operation: 60-25=35 Exploring Operation: 25+60=85, Resulting Numbers: [23, 85] Generated Node #0,4,1: 77:[23, 85] Operation: 25+60=85 Exploring Operation: 23+60=83, Resulting Numbers: [25, 83] Generated Node #0,4,2: 77:[25, 83] Operation: 23+60=83 Exploring Operation: 60-23=37, Resulting Numbers: [25, 37] Generated Node #0,4,3: 77:[25, 37] Operation: 60-23=37 Exploring Operation: 25-23=2, Resulting Numbers: [60, 2] Generated Node #0,4,4: 77:[60, 2] Operation: 25-23=2 Moving to Node #0,0,1 Current State: 77:[11, 69], Operations: ['34-23=11', '94-25=69'] Exploring Operation: 11*69=759, Resulting Numbers: [759] 759,77 unequal: No Solution Exploring Operation: 11+69=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[9, 71], Operations: ['34-25=9', '94-23=71'] Exploring Operation: 9*71=639, Resulting Numbers: [639] 639,77 unequal: No Solution Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,1,4 Current State: 77:[69, 11], Operations: ['94-25=69', '34-23=11'] Exploring Operation: 69*11=759, Resulting Numbers: [759] 759,77 unequal: No Solution Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[71, 9], Operations: ['94-23=71', '34-25=9'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 71+9=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 71*9=639, Resulting Numbers: [639] 639,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[94, 14], Operations: ['34-25=9', '23-9=14'] Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 94*14=1316, Resulting Numbers: [1316] 1316,77 unequal: No Solution Exploring Operation: 94+14=108, Resulting Numbers: [108] 108,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[25, 83], Operations: ['34-23=11', '94-11=83'] Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 25+83=108, Resulting Numbers: [108] 108,77 unequal: No Solution Exploring Operation: 25*83=2075, Resulting Numbers: [2075] 2075,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[94, 14], Operations: ['34-23=11', '25-11=14'] Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 94*14=1316, Resulting Numbers: [1316] 1316,77 unequal: No Solution Exploring Operation: 94+14=108, Resulting Numbers: [108] 108,77 unequal: No Solution Moving to Node #0,4,2 Current State: 77:[25, 83], Operations: ['94-34=60', '23+60=83'] Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 25+83=108, Resulting Numbers: [108] 108,77 unequal: No Solution Exploring Operation: 25*83=2075, Resulting Numbers: [2075] 2075,77 unequal: No Solution Moving to Node #0,4,1 Current State: 77:[23, 85], Operations: ['94-34=60', '25+60=85'] Exploring Operation: 23*85=1955, Resulting Numbers: [1955] 1955,77 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 23+85=108, Resulting Numbers: [108] 108,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[23, 85], Operations: ['34-25=9', '94-9=85'] Exploring Operation: 23*85=1955, Resulting Numbers: [1955] 1955,77 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 23+85=108, Resulting Numbers: [108] 108,77 unequal: No Solution Moving to Node #0,4,4 Current State: 77:[60, 2], Operations: ['94-34=60', '25-23=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[71, 59], Operations: ['94-23=71', '25+34=59'] Exploring Operation: 71+59=130, Resulting Numbers: [130] 130,77 unequal: No Solution Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 71*59=4189, Resulting Numbers: [4189] 4189,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[34, 3], Operations: ['94-25=69', '69/23=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,77 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,77 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[69, 57], Operations: ['94-25=69', '23+34=57'] Exploring Operation: 69*57=3933, Resulting Numbers: [3933] 3933,77 unequal: No Solution Exploring Operation: 69+57=126, Resulting Numbers: [126] 126,77 unequal: No Solution Exploring Operation: 69-57=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[23, 35], Operations: ['94-25=69', '69-34=35'] Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 23*35=805, Resulting Numbers: [805] 805,77 unequal: No Solution Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,4,0 Current State: 77:[23, 35], Operations: ['94-34=60', '60-25=35'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 23*35=805, Resulting Numbers: [805] 805,77 unequal: No Solution Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[94, 32], Operations: ['34-25=9', '23+9=32'] Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,77 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[23, 103], Operations: ['34-25=9', '94+9=103'] Exploring Operation: 23*103=2369, Resulting Numbers: [2369] 2369,77 unequal: No Solution Exploring Operation: 103-23=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 23+103=126, Resulting Numbers: [126] 126,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[34, 92], Operations: ['94-25=69', '23+69=92'] Exploring Operation: 34+92=126, Resulting Numbers: [126] 126,77 unequal: No Solution Exploring Operation: 34*92=3128, Resulting Numbers: [3128] 3128,77 unequal: No Solution Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[25, 37], Operations: ['94-34=60', '60-23=37'] Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[25, 37], Operations: ['94-23=71', '71-34=37'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,77 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,2,4 Current State: 77:[25, 105], Operations: ['94-23=71', '34+71=105'] Exploring Operation: 105-25=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 25+105=130, Resulting Numbers: [130] 130,77 unequal: No Solution Exploring Operation: 25*105=2625, Resulting Numbers: [2625] 2625,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[11, 119], Operations: ['34-23=11', '25+94=119'] Exploring Operation: 11*119=1309, Resulting Numbers: [1309] 1309,77 unequal: No Solution Exploring Operation: 11+119=130, Resulting Numbers: [130] 130,77 unequal: No Solution Exploring Operation: 119-11=108, Resulting Numbers: [108] 108,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[34, 96], Operations: ['94-23=71', '25+71=96'] Exploring Operation: 34+96=130, Resulting Numbers: [130] 130,77 unequal: No Solution Exploring Operation: 34*96=3264, Resulting Numbers: [3264] 3264,77 unequal: No Solution Exploring Operation: 96-34=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[94, 36], Operations: ['34-23=11', '25+11=36'] Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 94+36=130, Resulting Numbers: [130] 130,77 unequal: No Solution Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,77 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 49, 41, 34, 48 ]
28
[ "49-41=8", "48/8=6", "34-6=28" ]
Current State: 28:[49, 41, 34, 48], Operations: [] Exploring Operation: 49-41=8, Resulting Numbers: [34, 48, 8] Generated Node #2: [34, 48, 8] from Operation: 49-41=8 Current State: 28:[34, 48, 8], Operations: ['49-41=8'] Exploring Operation: 48/8=6, Resulting Numbers: [34, 6] Generated Node #3: [34, 6] from Operation: 48/8=6 Current State: 28:[34, 6], Operations: ['49-41=8', '48/8=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[49, 41, 34, 48], Operations: [] Exploring Operation: 49-48=1, Resulting Numbers: [41, 34, 1] Generated Node #0,0: 28:[41, 34, 1] Operation: 49-48=1 Exploring Operation: 48-41=7, Resulting Numbers: [49, 34, 7] Generated Node #0,1: 28:[49, 34, 7] Operation: 48-41=7 Exploring Operation: 49-41=8, Resulting Numbers: [34, 48, 8] Generated Node #0,2: 28:[34, 48, 8] Operation: 49-41=8 Moving to Node #0,0 Current State: 28:[41, 34, 1], Operations: ['49-48=1'] Exploring Operation: 34-1=33, Resulting Numbers: [41, 33] Generated Node #0,0,0: 28:[41, 33] Operation: 34-1=33 Exploring Operation: 41-34=7, Resulting Numbers: [1, 7] Generated Node #0,0,1: 28:[1, 7] Operation: 41-34=7 Exploring Operation: 41-1=40, Resulting Numbers: [34, 40] Generated Node #0,0,2: 28:[34, 40] Operation: 41-1=40 Moving to Node #0,1 Current State: 28:[49, 34, 7], Operations: ['48-41=7'] Exploring Operation: 49-34=15, Resulting Numbers: [7, 15] Generated Node #0,1,0: 28:[7, 15] Operation: 49-34=15 Exploring Operation: 49/7=7, Resulting Numbers: [34, 7] Generated Node #0,1,1: 28:[34, 7] Operation: 49/7=7 Exploring Operation: 49-7=42, Resulting Numbers: [34, 42] Generated Node #0,1,2: 28:[34, 42] Operation: 49-7=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[7, 15], Operations: ['48-41=7', '49-34=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[34, 7], Operations: ['48-41=7', '49/7=7'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 34*7=238, Resulting Numbers: [238] 238,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[34, 42], Operations: ['48-41=7', '49-7=42'] Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,28 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,28 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: 28:[34, 48, 8], Operations: ['49-41=8'] Exploring Operation: 48-34=14, Resulting Numbers: [8, 14] Generated Node #0,2,0: 28:[8, 14] Operation: 48-34=14 Exploring Operation: 48-8=40, Resulting Numbers: [34, 40] Generated Node #0,2,1: 28:[34, 40] Operation: 48-8=40 Exploring Operation: 48/8=6, Resulting Numbers: [34, 6] Generated Node #0,2,2: 28:[34, 6] Operation: 48/8=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[8, 14], Operations: ['49-41=8', '48-34=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[34, 6], Operations: ['49-41=8', '48/8=6'] Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,28 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[49, 41, 34, 48], Operations: [] Exploring Operation: 49-41=8, Resulting Numbers: [34, 48, 8] Generated Node #0,2: 28:[34, 48, 8] Operation: 49-41=8 Moving to Node #0,2 Current State: 28:[34, 48, 8], Operations: ['49-41=8'] Exploring Operation: 48/8=6, Resulting Numbers: [34, 6] Generated Node #0,2,2: 28:[34, 6] Operation: 48/8=6 Moving to Node #0,2,2 Current State: 28:[34, 6], Operations: ['49-41=8', '48/8=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
mult_heuristic
[ 48, 72, 39, 84 ]
41
[ "84-48=36", "72/36=2", "39+2=41" ]
Current State: 41:[48, 72, 39, 84], Operations: [] Exploring Operation: 84-48=36, Resulting Numbers: [72, 39, 36] Generated Node #2: [72, 39, 36] from Operation: 84-48=36 Current State: 41:[72, 39, 36], Operations: ['84-48=36'] Exploring Operation: 72/36=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 72/36=2 Current State: 41:[39, 2], Operations: ['84-48=36', '72/36=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[48, 72, 39, 84], Operations: [] Exploring Operation: 84-48=36, Resulting Numbers: [72, 39, 36] Generated Node #0,0: 41:[72, 39, 36] Operation: 84-48=36 Exploring Operation: 72-39=33, Resulting Numbers: [48, 84, 33] Generated Node #0,1: 41:[48, 84, 33] Operation: 72-39=33 Exploring Operation: 84-72=12, Resulting Numbers: [48, 39, 12] Generated Node #0,2: 41:[48, 39, 12] Operation: 84-72=12 Exploring Operation: 84-39=45, Resulting Numbers: [48, 72, 45] Generated Node #0,3: 41:[48, 72, 45] Operation: 84-39=45 Moving to Node #0,0 Current State: 41:[72, 39, 36], Operations: ['84-48=36'] Exploring Operation: 72-39=33, Resulting Numbers: [36, 33] Generated Node #0,0,0: 41:[36, 33] Operation: 72-39=33 Exploring Operation: 72-36=36, Resulting Numbers: [39, 36] Generated Node #0,0,1: 41:[39, 36] Operation: 72-36=36 Exploring Operation: 39+36=75, Resulting Numbers: [72, 75] Generated Node #0,0,2: 41:[72, 75] Operation: 39+36=75 Exploring Operation: 72/36=2, Resulting Numbers: [39, 2] Generated Node #0,0,3: 41:[39, 2] Operation: 72/36=2 Moving to Node #0,2 Current State: 41:[48, 39, 12], Operations: ['84-72=12'] Exploring Operation: 39-12=27, Resulting Numbers: [48, 27] Generated Node #0,2,0: 41:[48, 27] Operation: 39-12=27 Exploring Operation: 48+12=60, Resulting Numbers: [39, 60] Generated Node #0,2,1: 41:[39, 60] Operation: 48+12=60 Exploring Operation: 39+12=51, Resulting Numbers: [48, 51] Generated Node #0,2,2: 41:[48, 51] Operation: 39+12=51 Exploring Operation: 48-12=36, Resulting Numbers: [39, 36] Generated Node #0,2,3: 41:[39, 36] Operation: 48-12=36 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[39, 36], Operations: ['84-72=12', '48-12=36'] Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,41 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[48, 51], Operations: ['84-72=12', '39+12=51'] Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[48, 27], Operations: ['84-72=12', '39-12=27'] Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,41 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[39, 60], Operations: ['84-72=12', '48+12=60'] Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,41 unequal: No Solution Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 41:[48, 72, 45], Operations: ['84-39=45'] Exploring Operation: 48-45=3, Resulting Numbers: [72, 3] Generated Node #0,3,0: 41:[72, 3] Operation: 48-45=3 Exploring Operation: 72-48=24, Resulting Numbers: [45, 24] Generated Node #0,3,1: 41:[45, 24] Operation: 72-48=24 Exploring Operation: 48+72=120, Resulting Numbers: [45, 120] Generated Node #0,3,2: 41:[45, 120] Operation: 48+72=120 Exploring Operation: 72-45=27, Resulting Numbers: [48, 27] Generated Node #0,3,3: 41:[48, 27] Operation: 72-45=27 Moving to Node #0,1 Current State: 41:[48, 84, 33], Operations: ['72-39=33'] Exploring Operation: 48-33=15, Resulting Numbers: [84, 15] Generated Node #0,1,0: 41:[84, 15] Operation: 48-33=15 Exploring Operation: 84-33=51, Resulting Numbers: [48, 51] Generated Node #0,1,1: 41:[48, 51] Operation: 84-33=51 Exploring Operation: 84-48=36, Resulting Numbers: [33, 36] Generated Node #0,1,2: 41:[33, 36] Operation: 84-48=36 Exploring Operation: 48+33=81, Resulting Numbers: [84, 81] Generated Node #0,1,3: 41:[84, 81] Operation: 48+33=81 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[33, 36], Operations: ['72-39=33', '84-48=36'] Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 33*36=1188, Resulting Numbers: [1188] 1188,41 unequal: No Solution Exploring Operation: 33+36=69, Resulting Numbers: [69] 69,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[48, 51], Operations: ['72-39=33', '84-33=51'] Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[84, 15], Operations: ['72-39=33', '48-33=15'] Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,41 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[84, 81], Operations: ['72-39=33', '48+33=81'] Exploring Operation: 84*81=6804, Resulting Numbers: [6804] 6804,41 unequal: No Solution Exploring Operation: 84+81=165, Resulting Numbers: [165] 165,41 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 41:[39, 36], Operations: ['84-48=36', '72-36=36'] Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,41 unequal: No Solution Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,41 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[36, 33], Operations: ['84-48=36', '72-39=33'] Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,41 unequal: No Solution Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[48, 27], Operations: ['84-39=45', '72-45=27'] Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,41 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[45, 24], Operations: ['84-39=45', '72-48=24'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,41 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[39, 2], Operations: ['84-48=36', '72/36=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[48, 72, 39, 84], Operations: [] Exploring Operation: 84-48=36, Resulting Numbers: [72, 39, 36] Generated Node #0,0: 41:[72, 39, 36] Operation: 84-48=36 Moving to Node #0,0 Current State: 41:[72, 39, 36], Operations: ['84-48=36'] Exploring Operation: 72/36=2, Resulting Numbers: [39, 2] Generated Node #0,0,3: 41:[39, 2] Operation: 72/36=2 Moving to Node #0,0,3 Current State: 41:[39, 2], Operations: ['84-48=36', '72/36=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.947049
hs_4
sum_heuristic
[ 40, 57, 52, 55 ]
29
[ "57-52=5", "55/5=11", "40-11=29" ]
Current State: 29:[40, 57, 52, 55], Operations: [] Exploring Operation: 57-52=5, Resulting Numbers: [40, 55, 5] Generated Node #2: [40, 55, 5] from Operation: 57-52=5 Current State: 29:[40, 55, 5], Operations: ['57-52=5'] Exploring Operation: 55/5=11, Resulting Numbers: [40, 11] Generated Node #3: [40, 11] from Operation: 55/5=11 Current State: 29:[40, 11], Operations: ['57-52=5', '55/5=11'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[40, 57, 52, 55], Operations: [] Exploring Operation: 57-40=17, Resulting Numbers: [52, 55, 17] Generated Node #0,0: 29:[52, 55, 17] Operation: 57-40=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[52, 55, 17], Operations: ['57-40=17'] Exploring Operation: 52-17=35, Resulting Numbers: [55, 35] Generated Node #0,0,0: 29:[55, 35] Operation: 52-17=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[55, 35], Operations: ['57-40=17', '52-17=35'] Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,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_1
sum_heuristic
[ 90, 96, 7, 25 ]
24
[ "96-90=6", "25-7=18", "6+18=24" ]
Current State: 24:[90, 96, 7, 25], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [7, 25, 6] Generated Node #2: [7, 25, 6] from Operation: 96-90=6 Current State: 24:[7, 25, 6], Operations: ['96-90=6'] Exploring Operation: 25-7=18, Resulting Numbers: [6, 18] Generated Node #3: [6, 18] from Operation: 25-7=18 Current State: 24:[6, 18], Operations: ['96-90=6', '25-7=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[90, 96, 7, 25], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [7, 25, 6] Generated Node #0,0: 24:[7, 25, 6] Operation: 96-90=6 Exploring Operation: 90-25=65, Resulting Numbers: [96, 7, 65] Generated Node #0,1: 24:[96, 7, 65] Operation: 90-25=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[7, 25, 6], Operations: ['96-90=6'] Exploring Operation: 7-6=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 24:[25, 1] Operation: 7-6=1 Exploring Operation: 7+6=13, Resulting Numbers: [25, 13] Generated Node #0,0,1: 24:[25, 13] Operation: 7+6=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[25, 1], Operations: ['96-90=6', '7-6=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[90, 96, 7, 25], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [7, 25, 6] Generated Node #0,0: 24:[7, 25, 6] Operation: 96-90=6 Moving to Node #0,0 Current State: 24:[7, 25, 6], Operations: ['96-90=6'] Exploring Operation: 7-6=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 24:[25, 1] Operation: 7-6=1 Moving to Node #0,0,0 Current State: 24:[25, 1], Operations: ['96-90=6', '7-6=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 54, 47, 10, 26 ]
96
[ "54-47=7", "10*7=70", "26+70=96" ]
Current State: 96:[54, 47, 10, 26], Operations: [] Exploring Operation: 54-47=7, Resulting Numbers: [10, 26, 7] Generated Node #2: [10, 26, 7] from Operation: 54-47=7 Current State: 96:[10, 26, 7], Operations: ['54-47=7'] Exploring Operation: 10*7=70, Resulting Numbers: [26, 70] Generated Node #3: [26, 70] from Operation: 10*7=70 Current State: 96:[26, 70], Operations: ['54-47=7', '10*7=70'] Exploring Operation: 26+70=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[54, 47, 10, 26], Operations: [] Exploring Operation: 54-26=28, Resulting Numbers: [47, 10, 28] Generated Node #0,0: 96:[47, 10, 28] Operation: 54-26=28 Exploring Operation: 54-47=7, Resulting Numbers: [10, 26, 7] Generated Node #0,1: 96:[10, 26, 7] Operation: 54-47=7 Exploring Operation: 54-10=44, Resulting Numbers: [47, 26, 44] Generated Node #0,2: 96:[47, 26, 44] Operation: 54-10=44 Exploring Operation: 26-10=16, Resulting Numbers: [54, 47, 16] Generated Node #0,3: 96:[54, 47, 16] Operation: 26-10=16 Moving to Node #0,1 Current State: 96:[10, 26, 7], Operations: ['54-47=7'] Exploring Operation: 26+7=33, Resulting Numbers: [10, 33] Generated Node #0,1,0: 96:[10, 33] Operation: 26+7=33 Exploring Operation: 26-10=16, Resulting Numbers: [7, 16] Generated Node #0,1,1: 96:[7, 16] Operation: 26-10=16 Exploring Operation: 10-7=3, Resulting Numbers: [26, 3] Generated Node #0,1,2: 96:[26, 3] Operation: 10-7=3 Exploring Operation: 10+7=17, Resulting Numbers: [26, 17] Generated Node #0,1,3: 96:[26, 17] Operation: 10+7=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[7, 16], Operations: ['54-47=7', '26-10=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,96 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[26, 3], Operations: ['54-47=7', '10-7=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,96 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,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:[10, 33], Operations: ['54-47=7', '26+7=33'] Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,96 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 96:[26, 17], Operations: ['54-47=7', '10+7=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,96 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,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:[47, 26, 44], Operations: ['54-10=44'] Exploring Operation: 47-44=3, Resulting Numbers: [26, 3] Generated Node #0,2,0: 96:[26, 3] Operation: 47-44=3 Exploring Operation: 47-26=21, Resulting Numbers: [44, 21] Generated Node #0,2,1: 96:[44, 21] Operation: 47-26=21 Exploring Operation: 44-26=18, Resulting Numbers: [47, 18] Generated Node #0,2,2: 96:[47, 18] Operation: 44-26=18 Exploring Operation: 47+44=91, Resulting Numbers: [26, 91] Generated Node #0,2,3: 96:[26, 91] Operation: 47+44=91 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[26, 3], Operations: ['54-10=44', '47-44=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,96 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,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:[47, 18], Operations: ['54-10=44', '44-26=18'] Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,96 unequal: No Solution Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,96 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,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,1 Current State: 96:[44, 21], Operations: ['54-10=44', '47-26=21'] Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,96 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 96:[26, 91], Operations: ['54-10=44', '47+44=91'] Exploring Operation: 26+91=117, Resulting Numbers: [117] 117,96 unequal: No Solution Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,96 unequal: No Solution Exploring Operation: 26*91=2366, Resulting Numbers: [2366] 2366,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 96:[47, 10, 28], Operations: ['54-26=28'] Exploring Operation: 47-28=19, Resulting Numbers: [10, 19] Generated Node #0,0,0: 96:[10, 19] Operation: 47-28=19 Exploring Operation: 10+28=38, Resulting Numbers: [47, 38] Generated Node #0,0,1: 96:[47, 38] Operation: 10+28=38 Exploring Operation: 28-10=18, Resulting Numbers: [47, 18] Generated Node #0,0,2: 96:[47, 18] Operation: 28-10=18 Exploring Operation: 47-10=37, Resulting Numbers: [28, 37] Generated Node #0,0,3: 96:[28, 37] Operation: 47-10=37 Moving to Node #0,3 Current State: 96:[54, 47, 16], Operations: ['26-10=16'] Exploring Operation: 54+47=101, Resulting Numbers: [16, 101] Generated Node #0,3,0: 96:[16, 101] Operation: 54+47=101 Exploring Operation: 54-16=38, Resulting Numbers: [47, 38] Generated Node #0,3,1: 96:[47, 38] Operation: 54-16=38 Exploring Operation: 47-16=31, Resulting Numbers: [54, 31] Generated Node #0,3,2: 96:[54, 31] Operation: 47-16=31 Exploring Operation: 54-47=7, Resulting Numbers: [16, 7] Generated Node #0,3,3: 96:[16, 7] Operation: 54-47=7 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 96:[16, 7], Operations: ['26-10=16', '54-47=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,96 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,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,3,0 Current State: 96:[16, 101], Operations: ['26-10=16', '54+47=101'] Exploring Operation: 101-16=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 16+101=117, Resulting Numbers: [117] 117,96 unequal: No Solution Exploring Operation: 16*101=1616, Resulting Numbers: [1616] 1616,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,3,1 Current State: 96:[47, 38], Operations: ['26-10=16', '54-16=38'] Exploring Operation: 47+38=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 47*38=1786, Resulting Numbers: [1786] 1786,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,3,2 Current State: 96:[54, 31], Operations: ['26-10=16', '47-16=31'] Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,96 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 96:[47, 18], Operations: ['54-26=28', '28-10=18'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,96 unequal: No Solution Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[10, 19], Operations: ['54-26=28', '47-28=19'] Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,96 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[47, 38], Operations: ['54-26=28', '10+28=38'] Exploring Operation: 47*38=1786, Resulting Numbers: [1786] 1786,96 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 47+38=85, Resulting Numbers: [85] 85,96 unequal: No Solution Moving to Node #0,0,3 Current State: 96:[28, 37], Operations: ['54-26=28', '47-10=37'] Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,96 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,96 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 34, 88, 31, 70 ]
83
[ "34+88=122", "70-31=39", "122-39=83" ]
Current State: 83:[34, 88, 31, 70], Operations: [] Exploring Operation: 34+88=122, Resulting Numbers: [31, 70, 122] Generated Node #2: [31, 70, 122] from Operation: 34+88=122 Current State: 83:[31, 70, 122], Operations: ['34+88=122'] Exploring Operation: 70-31=39, Resulting Numbers: [122, 39] Generated Node #3: [122, 39] from Operation: 70-31=39 Current State: 83:[122, 39], Operations: ['34+88=122', '70-31=39'] Exploring Operation: 122-39=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[34, 88, 31, 70], Operations: [] Exploring Operation: 34+31=65, Resulting Numbers: [88, 70, 65] Generated Node #0,0: 83:[88, 70, 65] Operation: 34+31=65 Exploring Operation: 34+70=104, Resulting Numbers: [88, 31, 104] Generated Node #0,1: 83:[88, 31, 104] Operation: 34+70=104 Exploring Operation: 31+70=101, Resulting Numbers: [34, 88, 101] Generated Node #0,2: 83:[34, 88, 101] Operation: 31+70=101 Exploring Operation: 88-31=57, Resulting Numbers: [34, 70, 57] Generated Node #0,3: 83:[34, 70, 57] Operation: 88-31=57 Moving to Node #0,0 Current State: 83:[88, 70, 65], Operations: ['34+31=65'] Exploring Operation: 70+65=135, Resulting Numbers: [88, 135] Generated Node #0,0,0: 83:[88, 135] Operation: 70+65=135 Exploring Operation: 88-65=23, Resulting Numbers: [70, 23] Generated Node #0,0,1: 83:[70, 23] Operation: 88-65=23 Exploring Operation: 88-70=18, Resulting Numbers: [65, 18] Generated Node #0,0,2: 83:[65, 18] Operation: 88-70=18 Exploring Operation: 88+65=153, Resulting Numbers: [70, 153] Generated Node #0,0,3: 83:[70, 153] Operation: 88+65=153 Moving to Node #0,2 Current State: 83:[34, 88, 101], Operations: ['31+70=101'] Exploring Operation: 88-34=54, Resulting Numbers: [101, 54] Generated Node #0,2,0: 83:[101, 54] Operation: 88-34=54 Exploring Operation: 101-34=67, Resulting Numbers: [88, 67] Generated Node #0,2,1: 83:[88, 67] Operation: 101-34=67 Exploring Operation: 34+101=135, Resulting Numbers: [88, 135] Generated Node #0,2,2: 83:[88, 135] Operation: 34+101=135 Exploring Operation: 34+88=122, Resulting Numbers: [101, 122] Generated Node #0,2,3: 83:[101, 122] Operation: 34+88=122 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[88, 67], Operations: ['31+70=101', '101-34=67'] Exploring Operation: 88*67=5896, Resulting Numbers: [5896] 5896,83 unequal: No Solution Exploring Operation: 88-67=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 88+67=155, Resulting Numbers: [155] 155,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[101, 54], Operations: ['31+70=101', '88-34=54'] Exploring Operation: 101+54=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 101*54=5454, Resulting Numbers: [5454] 5454,83 unequal: No Solution Exploring Operation: 101-54=47, Resulting Numbers: [47] 47,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[88, 135], Operations: ['31+70=101', '34+101=135'] Exploring Operation: 88+135=223, Resulting Numbers: [223] 223,83 unequal: No Solution Exploring Operation: 135-88=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 88*135=11880, Resulting Numbers: [11880] 11880,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[101, 122], Operations: ['31+70=101', '34+88=122'] Exploring Operation: 122-101=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 101+122=223, Resulting Numbers: [223] 223,83 unequal: No Solution Exploring Operation: 101*122=12322, Resulting Numbers: [12322] 12322,83 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: 83:[88, 31, 104], Operations: ['34+70=104'] Exploring Operation: 88-31=57, Resulting Numbers: [104, 57] Generated Node #0,1,0: 83:[104, 57] Operation: 88-31=57 Exploring Operation: 104-31=73, Resulting Numbers: [88, 73] Generated Node #0,1,1: 83:[88, 73] Operation: 104-31=73 Exploring Operation: 31+104=135, Resulting Numbers: [88, 135] Generated Node #0,1,2: 83:[88, 135] Operation: 31+104=135 Exploring Operation: 88+31=119, Resulting Numbers: [104, 119] Generated Node #0,1,3: 83:[104, 119] Operation: 88+31=119 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[88, 73], Operations: ['34+70=104', '104-31=73'] Exploring Operation: 88+73=161, Resulting Numbers: [161] 161,83 unequal: No Solution Exploring Operation: 88*73=6424, Resulting Numbers: [6424] 6424,83 unequal: No Solution Exploring Operation: 88-73=15, Resulting Numbers: [15] 15,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[104, 57], Operations: ['34+70=104', '88-31=57'] Exploring Operation: 104-57=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 104*57=5928, Resulting Numbers: [5928] 5928,83 unequal: No Solution Exploring Operation: 104+57=161, Resulting Numbers: [161] 161,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[88, 135], Operations: ['34+70=104', '31+104=135'] Exploring Operation: 88+135=223, Resulting Numbers: [223] 223,83 unequal: No Solution Exploring Operation: 88*135=11880, Resulting Numbers: [11880] 11880,83 unequal: No Solution Exploring Operation: 135-88=47, Resulting Numbers: [47] 47,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[104, 119], Operations: ['34+70=104', '88+31=119'] Exploring Operation: 119-104=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 104*119=12376, Resulting Numbers: [12376] 12376,83 unequal: No Solution Exploring Operation: 104+119=223, Resulting Numbers: [223] 223,83 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: 83:[34, 70, 57], Operations: ['88-31=57'] Exploring Operation: 57-34=23, Resulting Numbers: [70, 23] Generated Node #0,3,0: 83:[70, 23] Operation: 57-34=23 Exploring Operation: 34+57=91, Resulting Numbers: [70, 91] Generated Node #0,3,1: 83:[70, 91] Operation: 34+57=91 Exploring Operation: 34+70=104, Resulting Numbers: [57, 104] Generated Node #0,3,2: 83:[57, 104] Operation: 34+70=104 Exploring Operation: 70-34=36, Resulting Numbers: [57, 36] Generated Node #0,3,3: 83:[57, 36] Operation: 70-34=36 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[70, 91], Operations: ['88-31=57', '34+57=91'] Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,83 unequal: No Solution Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,83 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[57, 104], Operations: ['88-31=57', '34+70=104'] Exploring Operation: 57*104=5928, Resulting Numbers: [5928] 5928,83 unequal: No Solution Exploring Operation: 104-57=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 57+104=161, Resulting Numbers: [161] 161,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[70, 23], Operations: ['88-31=57', '57-34=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,83 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[57, 36], Operations: ['88-31=57', '70-34=36'] Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,83 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 83:[88, 135], Operations: ['34+31=65', '70+65=135'] Exploring Operation: 88+135=223, Resulting Numbers: [223] 223,83 unequal: No Solution Exploring Operation: 135-88=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 88*135=11880, Resulting Numbers: [11880] 11880,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[70, 23], Operations: ['34+31=65', '88-65=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,83 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[70, 153], Operations: ['34+31=65', '88+65=153'] Exploring Operation: 70*153=10710, Resulting Numbers: [10710] 10710,83 unequal: No Solution Exploring Operation: 70+153=223, Resulting Numbers: [223] 223,83 unequal: No Solution Exploring Operation: 153-70=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[34, 88, 31, 70], Operations: [] Exploring Operation: 34+31=65, Resulting Numbers: [88, 70, 65] Generated Node #0,0: 83:[88, 70, 65] Operation: 34+31=65 Moving to Node #0,0 Current State: 83:[88, 70, 65], Operations: ['34+31=65'] Exploring Operation: 88+65=153, Resulting Numbers: [70, 153] Generated Node #0,0,3: 83:[70, 153] Operation: 88+65=153 Moving to Node #0,0,3 Current State: 83:[70, 153], Operations: ['34+31=65', '88+65=153'] Exploring Operation: 153-70=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.940104
hs_4
sum_heuristic
[ 5, 10, 82, 98 ]
12
[ "5+10=15", "82+98=180", "180/15=12" ]
Current State: 12:[5, 10, 82, 98], Operations: [] Exploring Operation: 5+10=15, Resulting Numbers: [82, 98, 15] Generated Node #2: [82, 98, 15] from Operation: 5+10=15 Current State: 12:[82, 98, 15], Operations: ['5+10=15'] Exploring Operation: 82+98=180, Resulting Numbers: [15, 180] Generated Node #3: [15, 180] from Operation: 82+98=180 Current State: 12:[15, 180], Operations: ['5+10=15', '82+98=180'] Exploring Operation: 180/15=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[5, 10, 82, 98], Operations: [] Exploring Operation: 98-82=16, Resulting Numbers: [5, 10, 16] Generated Node #0,0: 12:[5, 10, 16] Operation: 98-82=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[5, 10, 16], Operations: ['98-82=16'] Exploring Operation: 16-10=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 12:[5, 6] Operation: 16-10=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[5, 6], Operations: ['98-82=16', '16-10=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,12 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
[ 20, 1, 38, 41 ]
100
[ "20+1=21", "38+41=79", "21+79=100" ]
Current State: 100:[20, 1, 38, 41], Operations: [] Exploring Operation: 20+1=21, Resulting Numbers: [38, 41, 21] Generated Node #2: [38, 41, 21] from Operation: 20+1=21 Current State: 100:[38, 41, 21], Operations: ['20+1=21'] Exploring Operation: 38+41=79, Resulting Numbers: [21, 79] Generated Node #3: [21, 79] from Operation: 38+41=79 Current State: 100:[21, 79], Operations: ['20+1=21', '38+41=79'] Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[20, 1, 38, 41], Operations: [] Exploring Operation: 38-20=18, Resulting Numbers: [1, 41, 18] Generated Node #0,0: 100:[1, 41, 18] Operation: 38-20=18 Exploring Operation: 41-38=3, Resulting Numbers: [20, 1, 3] Generated Node #0,1: 100:[20, 1, 3] Operation: 41-38=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[20, 1, 3], Operations: ['41-38=3'] Exploring Operation: 3-1=2, Resulting Numbers: [20, 2] Generated Node #0,1,0: 100:[20, 2] Operation: 3-1=2 Exploring Operation: 1+3=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 100:[20, 4] Operation: 1+3=4 Moving to Node #0,1,0 Current State: 100:[20, 2], Operations: ['41-38=3', '3-1=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[20, 4], Operations: ['41-38=3', '1+3=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[1, 41, 18], Operations: ['38-20=18'] Exploring Operation: 1+41=42, Resulting Numbers: [18, 42] Generated Node #0,0,0: 100:[18, 42] Operation: 1+41=42 Exploring Operation: 41-18=23, Resulting Numbers: [1, 23] Generated Node #0,0,1: 100:[1, 23] Operation: 41-18=23 Moving to Node #0,0,1 Current State: 100:[1, 23], Operations: ['38-20=18', '41-18=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[18, 42], Operations: ['38-20=18', '1+41=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 85, 16, 92, 81 ]
91
[ "92-81=11", "16*11=176", "176-85=91" ]
Current State: 91:[85, 16, 92, 81], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [85, 16, 11] Generated Node #2: [85, 16, 11] from Operation: 92-81=11 Current State: 91:[85, 16, 11], Operations: ['92-81=11'] Exploring Operation: 16*11=176, Resulting Numbers: [85, 176] Generated Node #3: [85, 176] from Operation: 16*11=176 Current State: 91:[85, 176], Operations: ['92-81=11', '16*11=176'] Exploring Operation: 176-85=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[85, 16, 92, 81], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [85, 16, 11] Generated Node #0,0: 91:[85, 16, 11] Operation: 92-81=11 Exploring Operation: 85-81=4, Resulting Numbers: [16, 92, 4] Generated Node #0,1: 91:[16, 92, 4] Operation: 85-81=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[16, 92, 4], Operations: ['85-81=4'] Exploring Operation: 16/4=4, Resulting Numbers: [92, 4] Generated Node #0,1,0: 91:[92, 4] Operation: 16/4=4 Exploring Operation: 16-4=12, Resulting Numbers: [92, 12] Generated Node #0,1,1: 91:[92, 12] Operation: 16-4=12 Moving to Node #0,1,1 Current State: 91:[92, 12], Operations: ['85-81=4', '16-4=12'] Exploring Operation: 92+12=104, Resulting Numbers: [104] 104,91 unequal: No Solution Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[92, 4], Operations: ['85-81=4', '16/4=4'] Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[85, 16, 11], Operations: ['92-81=11'] Exploring Operation: 85+11=96, Resulting Numbers: [16, 96] Generated Node #0,0,0: 91:[16, 96] Operation: 85+11=96 Exploring Operation: 16-11=5, Resulting Numbers: [85, 5] Generated Node #0,0,1: 91:[85, 5] Operation: 16-11=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[16, 96], Operations: ['92-81=11', '85+11=96'] Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[85, 5], Operations: ['92-81=11', '16-11=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 41, 77, 49, 2 ]
87
[ "77-41=36", "49+2=51", "36+51=87" ]
Current State: 87:[41, 77, 49, 2], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [49, 2, 36] Generated Node #2: [49, 2, 36] from Operation: 77-41=36 Current State: 87:[49, 2, 36], Operations: ['77-41=36'] Exploring Operation: 49+2=51, Resulting Numbers: [36, 51] Generated Node #3: [36, 51] from Operation: 49+2=51 Current State: 87:[36, 51], Operations: ['77-41=36', '49+2=51'] Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[41, 77, 49, 2], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [41, 2, 28] Generated Node #0,0: 87:[41, 2, 28] Operation: 77-49=28 Exploring Operation: 77-41=36, Resulting Numbers: [49, 2, 36] Generated Node #0,1: 87:[49, 2, 36] Operation: 77-41=36 Exploring Operation: 41+49=90, Resulting Numbers: [77, 2, 90] Generated Node #0,2: 87:[77, 2, 90] Operation: 41+49=90 Exploring Operation: 49-41=8, Resulting Numbers: [77, 2, 8] Generated Node #0,3: 87:[77, 2, 8] Operation: 49-41=8 Moving to Node #0,0 Current State: 87:[41, 2, 28], Operations: ['77-49=28'] Exploring Operation: 41*2=82, Resulting Numbers: [28, 82] Generated Node #0,0,0: 87:[28, 82] Operation: 41*2=82 Exploring Operation: 41-28=13, Resulting Numbers: [2, 13] Generated Node #0,0,1: 87:[2, 13] Operation: 41-28=13 Exploring Operation: 41-2=39, Resulting Numbers: [28, 39] Generated Node #0,0,2: 87:[28, 39] Operation: 41-2=39 Exploring Operation: 2+28=30, Resulting Numbers: [41, 30] Generated Node #0,0,3: 87:[41, 30] Operation: 2+28=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[28, 82], Operations: ['77-49=28', '41*2=82'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,87 unequal: No Solution Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[2, 13], Operations: ['77-49=28', '41-28=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[28, 39], Operations: ['77-49=28', '41-2=39'] Exploring Operation: 28+39=67, Resulting Numbers: [67] 67,87 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 28*39=1092, Resulting Numbers: [1092] 1092,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[41, 30], Operations: ['77-49=28', '2+28=30'] Exploring Operation: 41+30=71, Resulting Numbers: [71] 71,87 unequal: No Solution Exploring Operation: 41*30=1230, Resulting Numbers: [1230] 1230,87 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,87 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: 87:[77, 2, 90], Operations: ['41+49=90'] Exploring Operation: 90-77=13, Resulting Numbers: [2, 13] Generated Node #0,2,0: 87:[2, 13] Operation: 90-77=13 Exploring Operation: 77+2=79, Resulting Numbers: [90, 79] Generated Node #0,2,1: 87:[90, 79] Operation: 77+2=79 Exploring Operation: 77-2=75, Resulting Numbers: [90, 75] Generated Node #0,2,2: 87:[90, 75] Operation: 77-2=75 Exploring Operation: 90-2=88, Resulting Numbers: [77, 88] Generated Node #0,2,3: 87:[77, 88] Operation: 90-2=88 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[2, 13], Operations: ['41+49=90', '90-77=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,87 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[90, 79], Operations: ['41+49=90', '77+2=79'] Exploring Operation: 90+79=169, Resulting Numbers: [169] 169,87 unequal: No Solution Exploring Operation: 90*79=7110, Resulting Numbers: [7110] 7110,87 unequal: No Solution Exploring Operation: 90-79=11, Resulting Numbers: [11] 11,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[77, 88], Operations: ['41+49=90', '90-2=88'] Exploring Operation: 77+88=165, Resulting Numbers: [165] 165,87 unequal: No Solution Exploring Operation: 77*88=6776, Resulting Numbers: [6776] 6776,87 unequal: No Solution Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[90, 75], Operations: ['41+49=90', '77-2=75'] Exploring Operation: 90+75=165, Resulting Numbers: [165] 165,87 unequal: No Solution Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 90*75=6750, Resulting Numbers: [6750] 6750,87 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: 87:[77, 2, 8], Operations: ['49-41=8'] Exploring Operation: 8-2=6, Resulting Numbers: [77, 6] Generated Node #0,3,0: 87:[77, 6] Operation: 8-2=6 Exploring Operation: 77+8=85, Resulting Numbers: [2, 85] Generated Node #0,3,1: 87:[2, 85] Operation: 77+8=85 Exploring Operation: 77+2=79, Resulting Numbers: [8, 79] Generated Node #0,3,2: 87:[8, 79] Operation: 77+2=79 Exploring Operation: 8/2=4, Resulting Numbers: [77, 4] Generated Node #0,3,3: 87:[77, 4] Operation: 8/2=4 Moving to Node #0,1 Current State: 87:[49, 2, 36], Operations: ['77-41=36'] Exploring Operation: 49-36=13, Resulting Numbers: [2, 13] Generated Node #0,1,0: 87:[2, 13] Operation: 49-36=13 Exploring Operation: 49+36=85, Resulting Numbers: [2, 85] Generated Node #0,1,1: 87:[2, 85] Operation: 49+36=85 Exploring Operation: 49-2=47, Resulting Numbers: [36, 47] Generated Node #0,1,2: 87:[36, 47] Operation: 49-2=47 Exploring Operation: 49*2=98, Resulting Numbers: [36, 98] Generated Node #0,1,3: 87:[36, 98] Operation: 49*2=98 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[2, 85], Operations: ['77-41=36', '49+36=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[41, 77, 49, 2], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [49, 2, 36] Generated Node #0,1: 87:[49, 2, 36] Operation: 77-41=36 Moving to Node #0,1 Current State: 87:[49, 2, 36], Operations: ['77-41=36'] Exploring Operation: 49+36=85, Resulting Numbers: [2, 85] Generated Node #0,1,1: 87:[2, 85] Operation: 49+36=85 Moving to Node #0,1,1 Current State: 87:[2, 85], Operations: ['77-41=36', '49+36=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_4
sum_heuristic
[ 53, 28, 76, 75 ]
81
[ "53+28=81", "76-75=1", "81*1=81" ]
Current State: 81:[53, 28, 76, 75], Operations: [] Exploring Operation: 53+28=81, Resulting Numbers: [76, 75, 81] Generated Node #2: [76, 75, 81] from Operation: 53+28=81 Current State: 81:[76, 75, 81], Operations: ['53+28=81'] Exploring Operation: 76-75=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 76-75=1 Current State: 81:[81, 1], Operations: ['53+28=81', '76-75=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[53, 28, 76, 75], Operations: [] Exploring Operation: 76-53=23, Resulting Numbers: [28, 75, 23] Generated Node #0,0: 81:[28, 75, 23] Operation: 76-53=23 Exploring Operation: 53+28=81, Resulting Numbers: [76, 75, 81] Generated Node #0,1: 81:[76, 75, 81] Operation: 53+28=81 Exploring Operation: 75-53=22, Resulting Numbers: [28, 76, 22] Generated Node #0,2: 81:[28, 76, 22] Operation: 75-53=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[28, 75, 23], Operations: ['76-53=23'] Exploring Operation: 75+23=98, Resulting Numbers: [28, 98] Generated Node #0,0,0: 81:[28, 98] Operation: 75+23=98 Exploring Operation: 75-28=47, Resulting Numbers: [23, 47] Generated Node #0,0,1: 81:[23, 47] Operation: 75-28=47 Exploring Operation: 28-23=5, Resulting Numbers: [75, 5] Generated Node #0,0,2: 81:[75, 5] Operation: 28-23=5 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[75, 5], Operations: ['76-53=23', '28-23=5'] Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[28, 98], Operations: ['76-53=23', '75+23=98'] Exploring Operation: 98-28=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 28+98=126, Resulting Numbers: [126] 126,81 unequal: No Solution Exploring Operation: 28*98=2744, Resulting Numbers: [2744] 2744,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:[23, 47], Operations: ['76-53=23', '75-28=47'] Exploring Operation: 23*47=1081, Resulting Numbers: [1081] 1081,81 unequal: No Solution Exploring Operation: 23+47=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[76, 75, 81], Operations: ['53+28=81'] Exploring Operation: 81-76=5, Resulting Numbers: [75, 5] Generated Node #0,1,0: 81:[75, 5] Operation: 81-76=5 Exploring Operation: 81-75=6, Resulting Numbers: [76, 6] Generated Node #0,1,1: 81:[76, 6] Operation: 81-75=6 Exploring Operation: 76-75=1, Resulting Numbers: [81, 1] Generated Node #0,1,2: 81:[81, 1] Operation: 76-75=1 Moving to Node #0,1,2 Current State: 81:[81, 1], Operations: ['53+28=81', '76-75=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[53, 28, 76, 75], Operations: [] Exploring Operation: 53+28=81, Resulting Numbers: [76, 75, 81] Generated Node #0,1: 81:[76, 75, 81] Operation: 53+28=81 Moving to Node #0,1 Current State: 81:[76, 75, 81], Operations: ['53+28=81'] Exploring Operation: 76-75=1, Resulting Numbers: [81, 1] Generated Node #0,1,2: 81:[81, 1] Operation: 76-75=1 Moving to Node #0,1,2 Current State: 81:[81, 1], Operations: ['53+28=81', '76-75=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 60, 39, 39, 51 ]
60
[ "39-39=0", "51*0=0", "60+0=60" ]
Current State: 60:[60, 39, 39, 51], Operations: [] Exploring Operation: 39-39=0, Resulting Numbers: [60, 51, 0] Generated Node #2: [60, 51, 0] from Operation: 39-39=0 Current State: 60:[60, 51, 0], Operations: ['39-39=0'] Exploring Operation: 51*0=0, Resulting Numbers: [60, 0] Generated Node #3: [60, 0] from Operation: 51*0=0 Current State: 60:[60, 0], Operations: ['39-39=0', '51*0=0'] Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[60, 39, 39, 51], Operations: [] Exploring Operation: 51-39=12, Resulting Numbers: [60, 39, 12] Generated Node #0,0: 60:[60, 39, 12] Operation: 51-39=12 Exploring Operation: 39/39=1, Resulting Numbers: [60, 51, 1] Generated Node #0,1: 60:[60, 51, 1] Operation: 39/39=1 Exploring Operation: 51-39=12, Resulting Numbers: [60, 39, 12] Generated Node #0,2: 60:[60, 39, 12] Operation: 51-39=12 Exploring Operation: 60-39=21, Resulting Numbers: [39, 51, 21] Generated Node #0,3: 60:[39, 51, 21] Operation: 60-39=21 Exploring Operation: 39-39=0, Resulting Numbers: [60, 51, 0] Generated Node #0,4: 60:[60, 51, 0] Operation: 39-39=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[60, 39, 12], Operations: ['51-39=12'] Exploring Operation: 39+12=51, Resulting Numbers: [60, 51] Generated Node #0,0,0: 60:[60, 51] Operation: 39+12=51 Exploring Operation: 60+12=72, Resulting Numbers: [39, 72] Generated Node #0,0,1: 60:[39, 72] Operation: 60+12=72 Exploring Operation: 39-12=27, Resulting Numbers: [60, 27] Generated Node #0,0,2: 60:[60, 27] Operation: 39-12=27 Exploring Operation: 60/12=5, Resulting Numbers: [39, 5] Generated Node #0,0,3: 60:[39, 5] Operation: 60/12=5 Exploring Operation: 60-39=21, Resulting Numbers: [12, 21] Generated Node #0,0,4: 60:[12, 21] Operation: 60-39=21 Moving to Node #0,0,4 Current State: 60:[12, 21], Operations: ['51-39=12', '60-39=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,60 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[60, 27], Operations: ['51-39=12', '39-12=27'] Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 60*27=1620, Resulting Numbers: [1620] 1620,60 unequal: No Solution Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[60, 51], Operations: ['51-39=12', '39+12=51'] Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,60 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[39, 5], Operations: ['51-39=12', '60/12=5'] Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,60 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,60 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[39, 72], Operations: ['51-39=12', '60+12=72'] Exploring Operation: 39+72=111, Resulting Numbers: [111] 111,60 unequal: No Solution Exploring Operation: 39*72=2808, Resulting Numbers: [2808] 2808,60 unequal: No Solution Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,60 unequal: No Solution No 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: 60:[60, 39, 12], Operations: ['51-39=12'] Exploring Operation: 39+12=51, Resulting Numbers: [60, 51] Generated Node #0,2,0: 60:[60, 51] Operation: 39+12=51 Exploring Operation: 39-12=27, Resulting Numbers: [60, 27] Generated Node #0,2,1: 60:[60, 27] Operation: 39-12=27 Exploring Operation: 60+12=72, Resulting Numbers: [39, 72] Generated Node #0,2,2: 60:[39, 72] Operation: 60+12=72 Exploring Operation: 60/12=5, Resulting Numbers: [39, 5] Generated Node #0,2,3: 60:[39, 5] Operation: 60/12=5 Exploring Operation: 60-39=21, Resulting Numbers: [12, 21] Generated Node #0,2,4: 60:[12, 21] Operation: 60-39=21 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 60:[12, 21], Operations: ['51-39=12', '60-39=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,60 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,60 unequal: No Solution No 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: 60:[60, 27], Operations: ['51-39=12', '39-12=27'] Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 60*27=1620, Resulting Numbers: [1620] 1620,60 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,60 unequal: No Solution No 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: 60:[60, 51], Operations: ['51-39=12', '39+12=51'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,60 unequal: No Solution Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,60 unequal: No Solution No 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: 60:[39, 5], Operations: ['51-39=12', '60/12=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,60 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,60 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,60 unequal: No Solution No 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: 60:[39, 72], Operations: ['51-39=12', '60+12=72'] Exploring Operation: 39*72=2808, Resulting Numbers: [2808] 2808,60 unequal: No Solution Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 39+72=111, Resulting Numbers: [111] 111,60 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: 60:[60, 51, 1], Operations: ['39/39=1'] Exploring Operation: 60-51=9, Resulting Numbers: [1, 9] Generated Node #0,1,0: 60:[1, 9] Operation: 60-51=9 Exploring Operation: 51*1=51, Resulting Numbers: [60, 51] Generated Node #0,1,1: 60:[60, 51] Operation: 51*1=51 Exploring Operation: 60/1=60, Resulting Numbers: [51, 60] Generated Node #0,1,2: 60:[51, 60] Operation: 60/1=60 Exploring Operation: 51+1=52, Resulting Numbers: [60, 52] Generated Node #0,1,3: 60:[60, 52] Operation: 51+1=52 Exploring Operation: 60*1=60, Resulting Numbers: [51, 60] Generated Node #0,1,4: 60:[51, 60] Operation: 60*1=60 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[1, 9], Operations: ['39/39=1', '60-51=9'] Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,60 unequal: No Solution No 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: 60:[60, 52], Operations: ['39/39=1', '51+1=52'] Exploring Operation: 60*52=3120, Resulting Numbers: [3120] 3120,60 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,60 unequal: No Solution No 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: 60:[60, 51], Operations: ['39/39=1', '51*1=51'] Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,60 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,60 unequal: No Solution No 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: 60:[51, 60], Operations: ['39/39=1', '60/1=60'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,60 unequal: No Solution Exploring Operation: 51*60=3060, Resulting Numbers: [3060] 3060,60 unequal: No Solution No 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: 60:[51, 60], Operations: ['39/39=1', '60*1=60'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,60 unequal: No Solution Exploring Operation: 51*60=3060, Resulting Numbers: [3060] 3060,60 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: 60:[60, 51, 0], Operations: ['39-39=0'] Exploring Operation: 60-51=9, Resulting Numbers: [0, 9] Generated Node #0,4,0: 60:[0, 9] Operation: 60-51=9 Exploring Operation: 51+0=51, Resulting Numbers: [60, 51] Generated Node #0,4,1: 60:[60, 51] Operation: 51+0=51 Exploring Operation: 60-0=60, Resulting Numbers: [51, 60] Generated Node #0,4,2: 60:[51, 60] Operation: 60-0=60 Exploring Operation: 51*0=0, Resulting Numbers: [60, 0] Generated Node #0,4,3: 60:[60, 0] Operation: 51*0=0 Exploring Operation: 60+0=60, Resulting Numbers: [51, 60] Generated Node #0,4,4: 60:[51, 60] Operation: 60+0=60 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 60:[60, 0], Operations: ['39-39=0', '51*0=0'] Exploring Operation: 60*0=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[60, 39, 39, 51], Operations: [] Exploring Operation: 39-39=0, Resulting Numbers: [60, 51, 0] Generated Node #0,4: 60:[60, 51, 0] Operation: 39-39=0 Moving to Node #0,4 Current State: 60:[60, 51, 0], Operations: ['39-39=0'] Exploring Operation: 51*0=0, Resulting Numbers: [60, 0] Generated Node #0,4,3: 60:[60, 0] Operation: 51*0=0 Moving to Node #0,4,3 Current State: 60:[60, 0], Operations: ['39-39=0', '51*0=0'] Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.93316
hs_5
sum_heuristic
[ 45, 23, 28, 50 ]
90
[ "45+23=68", "50-28=22", "68+22=90" ]
Current State: 90:[45, 23, 28, 50], Operations: [] Exploring Operation: 45+23=68, Resulting Numbers: [28, 50, 68] Generated Node #2: [28, 50, 68] from Operation: 45+23=68 Current State: 90:[28, 50, 68], Operations: ['45+23=68'] Exploring Operation: 50-28=22, Resulting Numbers: [68, 22] Generated Node #3: [68, 22] from Operation: 50-28=22 Current State: 90:[68, 22], Operations: ['45+23=68', '50-28=22'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[45, 23, 28, 50], Operations: [] Exploring Operation: 50-45=5, Resulting Numbers: [23, 28, 5] Generated Node #0,0: 90:[23, 28, 5] Operation: 50-45=5 Exploring Operation: 28-23=5, Resulting Numbers: [45, 50, 5] Generated Node #0,1: 90:[45, 50, 5] Operation: 28-23=5 Exploring Operation: 50-23=27, Resulting Numbers: [45, 28, 27] Generated Node #0,2: 90:[45, 28, 27] Operation: 50-23=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[45, 50, 5], Operations: ['28-23=5'] Exploring Operation: 50/5=10, Resulting Numbers: [45, 10] Generated Node #0,1,0: 90:[45, 10] Operation: 50/5=10 Exploring Operation: 50-45=5, Resulting Numbers: [5, 5] Generated Node #0,1,1: 90:[5, 5] Operation: 50-45=5 Exploring Operation: 50-5=45, Resulting Numbers: [45, 45] Generated Node #0,1,2: 90:[45, 45] Operation: 50-5=45 Moving to Node #0,1,0 Current State: 90:[45, 10], Operations: ['28-23=5', '50/5=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,90 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[5, 5], Operations: ['28-23=5', '50-45=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[45, 45], Operations: ['28-23=5', '50-5=45'] Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[45, 23, 28, 50], Operations: [] Exploring Operation: 28-23=5, Resulting Numbers: [45, 50, 5] Generated Node #0,1: 90:[45, 50, 5] Operation: 28-23=5 Moving to Node #0,1 Current State: 90:[45, 50, 5], Operations: ['28-23=5'] Exploring Operation: 50-5=45, Resulting Numbers: [45, 45] Generated Node #0,1,2: 90:[45, 45] Operation: 50-5=45 Moving to Node #0,1,2 Current State: 90:[45, 45], Operations: ['28-23=5', '50-5=45'] Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 40, 27, 40, 11 ]
16
[ "40+27=67", "40+11=51", "67-51=16" ]
Current State: 16:[40, 27, 40, 11], Operations: [] Exploring Operation: 40+27=67, Resulting Numbers: [11, 67] Generated Node #2: [11, 67] from Operation: 40+27=67 Current State: 16:[11, 67], Operations: ['40+27=67'] Exploring Operation: 40+11=51, Resulting Numbers: [67, 51] Generated Node #3: [67, 51] from Operation: 40+11=51 Current State: 16:[67, 51], Operations: ['40+27=67', '40+11=51'] Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[40, 27, 40, 11], Operations: [] Exploring Operation: 40-11=29, Resulting Numbers: [27, 40, 29] Generated Node #0,0: 16:[27, 40, 29] Operation: 40-11=29 Exploring Operation: 40/40=1, Resulting Numbers: [27, 11, 1] Generated Node #0,1: 16:[27, 11, 1] Operation: 40/40=1 Exploring Operation: 40-27=13, Resulting Numbers: [40, 11, 13] Generated Node #0,2: 16:[40, 11, 13] Operation: 40-27=13 Exploring Operation: 40-27=13, Resulting Numbers: [40, 11, 13] Generated Node #0,3: 16:[40, 11, 13] Operation: 40-27=13 Exploring Operation: 40-40=0, Resulting Numbers: [27, 11, 0] Generated Node #0,4: 16:[27, 11, 0] Operation: 40-40=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[27, 11, 1], Operations: ['40/40=1'] Exploring Operation: 27-1=26, Resulting Numbers: [11, 26] Generated Node #0,1,0: 16:[11, 26] Operation: 27-1=26 Exploring Operation: 27*1=27, Resulting Numbers: [11, 27] Generated Node #0,1,1: 16:[11, 27] Operation: 27*1=27 Exploring Operation: 27-11=16, Resulting Numbers: [1, 16] Generated Node #0,1,2: 16:[1, 16] Operation: 27-11=16 Exploring Operation: 27/1=27, Resulting Numbers: [11, 27] Generated Node #0,1,3: 16:[11, 27] Operation: 27/1=27 Exploring Operation: 11-1=10, Resulting Numbers: [27, 10] Generated Node #0,1,4: 16:[27, 10] Operation: 11-1=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 16:[1, 16], Operations: ['40/40=1', '27-11=16'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[40, 27, 40, 11], Operations: [] Exploring Operation: 40/40=1, Resulting Numbers: [27, 11, 1] Generated Node #0,1: 16:[27, 11, 1] Operation: 40/40=1 Moving to Node #0,1 Current State: 16:[27, 11, 1], Operations: ['40/40=1'] Exploring Operation: 27-11=16, Resulting Numbers: [1, 16] Generated Node #0,1,2: 16:[1, 16] Operation: 27-11=16 Moving to Node #0,1,2 Current State: 16:[1, 16], Operations: ['40/40=1', '27-11=16'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 82, 16, 8, 5 ]
53
[ "82-16=66", "8+5=13", "66-13=53" ]
Current State: 53:[82, 16, 8, 5], Operations: [] Exploring Operation: 82-16=66, Resulting Numbers: [8, 5, 66] Generated Node #2: [8, 5, 66] from Operation: 82-16=66 Current State: 53:[8, 5, 66], Operations: ['82-16=66'] Exploring Operation: 8+5=13, Resulting Numbers: [66, 13] Generated Node #3: [66, 13] from Operation: 8+5=13 Current State: 53:[66, 13], Operations: ['82-16=66', '8+5=13'] Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[82, 16, 8, 5], Operations: [] Exploring Operation: 16*5=80, Resulting Numbers: [82, 8, 80] Generated Node #0,0: 53:[82, 8, 80] Operation: 16*5=80 Exploring Operation: 8*5=40, Resulting Numbers: [82, 16, 40] Generated Node #0,1: 53:[82, 16, 40] Operation: 8*5=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[82, 16, 40], Operations: ['8*5=40'] Exploring Operation: 16+40=56, Resulting Numbers: [82, 56] Generated Node #0,1,0: 53:[82, 56] Operation: 16+40=56 Exploring Operation: 82-16=66, Resulting Numbers: [40, 66] Generated Node #0,1,1: 53:[40, 66] Operation: 82-16=66 Moving to Node #0,1,1 Current State: 53:[40, 66], Operations: ['8*5=40', '82-16=66'] Exploring Operation: 40+66=106, Resulting Numbers: [106] 106,53 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[82, 56], Operations: ['8*5=40', '16+40=56'] Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,53 unequal: No Solution Exploring Operation: 82+56=138, Resulting Numbers: [138] 138,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[82, 8, 80], Operations: ['16*5=80'] Exploring Operation: 80-8=72, Resulting Numbers: [82, 72] Generated Node #0,0,0: 53:[82, 72] Operation: 80-8=72 Exploring Operation: 82-8=74, Resulting Numbers: [80, 74] Generated Node #0,0,1: 53:[80, 74] Operation: 82-8=74 Moving to Node #0,0,0 Current State: 53:[82, 72], Operations: ['16*5=80', '80-8=72'] Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,53 unequal: No Solution Exploring Operation: 82+72=154, Resulting Numbers: [154] 154,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[80, 74], Operations: ['16*5=80', '82-8=74'] Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 80+74=154, Resulting Numbers: [154] 154,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 60, 21, 6, 97 ]
22
[ "60+21=81", "6+97=103", "103-81=22" ]
Current State: 22:[60, 21, 6, 97], Operations: [] Exploring Operation: 60+21=81, Resulting Numbers: [6, 97, 81] Generated Node #2: [6, 97, 81] from Operation: 60+21=81 Current State: 22:[6, 97, 81], Operations: ['60+21=81'] Exploring Operation: 6+97=103, Resulting Numbers: [81, 103] Generated Node #3: [81, 103] from Operation: 6+97=103 Current State: 22:[81, 103], Operations: ['60+21=81', '6+97=103'] Exploring Operation: 103-81=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[60, 21, 6, 97], Operations: [] Exploring Operation: 60-21=39, Resulting Numbers: [6, 97, 39] Generated Node #0,0: 22:[6, 97, 39] Operation: 60-21=39 Exploring Operation: 97-60=37, Resulting Numbers: [21, 6, 37] Generated Node #0,1: 22:[21, 6, 37] Operation: 97-60=37 Exploring Operation: 60/6=10, Resulting Numbers: [21, 97, 10] Generated Node #0,2: 22:[21, 97, 10] Operation: 60/6=10 Moving to Node #0,1 Current State: 22:[21, 6, 37], Operations: ['97-60=37'] Exploring Operation: 37-21=16, Resulting Numbers: [6, 16] Generated Node #0,1,0: 22:[6, 16] Operation: 37-21=16 Exploring Operation: 37-6=31, Resulting Numbers: [21, 31] Generated Node #0,1,1: 22:[21, 31] Operation: 37-6=31 Exploring Operation: 21-6=15, Resulting Numbers: [37, 15] Generated Node #0,1,2: 22:[37, 15] Operation: 21-6=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[6, 16], Operations: ['97-60=37', '37-21=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[60, 21, 6, 97], Operations: [] Exploring Operation: 97-60=37, Resulting Numbers: [21, 6, 37] Generated Node #0,1: 22:[21, 6, 37] Operation: 97-60=37 Moving to Node #0,1 Current State: 22:[21, 6, 37], Operations: ['97-60=37'] Exploring Operation: 37-21=16, Resulting Numbers: [6, 16] Generated Node #0,1,0: 22:[6, 16] Operation: 37-21=16 Moving to Node #0,1,0 Current State: 22:[6, 16], Operations: ['97-60=37', '37-21=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 8, 3, 93, 70 ]
77
[ "93-70=23", "3*23=69", "8+69=77" ]
Current State: 77:[8, 3, 93, 70], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [8, 3, 23] Generated Node #2: [8, 3, 23] from Operation: 93-70=23 Current State: 77:[8, 3, 23], Operations: ['93-70=23'] Exploring Operation: 3*23=69, Resulting Numbers: [8, 69] Generated Node #3: [8, 69] from Operation: 3*23=69 Current State: 77:[8, 69], Operations: ['93-70=23', '3*23=69'] Exploring Operation: 8+69=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[8, 3, 93, 70], Operations: [] Exploring Operation: 93-8=85, Resulting Numbers: [3, 70, 85] Generated Node #0,0: 77:[3, 70, 85] Operation: 93-8=85 Exploring Operation: 93-70=23, Resulting Numbers: [8, 3, 23] Generated Node #0,1: 77:[8, 3, 23] Operation: 93-70=23 Exploring Operation: 8+70=78, Resulting Numbers: [3, 93, 78] Generated Node #0,2: 77:[3, 93, 78] Operation: 8+70=78 Moving to Node #0,1 Current State: 77:[8, 3, 23], Operations: ['93-70=23'] Exploring Operation: 3*23=69, Resulting Numbers: [8, 69] Generated Node #0,1,0: 77:[8, 69] Operation: 3*23=69 Exploring Operation: 23-8=15, Resulting Numbers: [3, 15] Generated Node #0,1,1: 77:[3, 15] Operation: 23-8=15 Exploring Operation: 23-3=20, Resulting Numbers: [8, 20] Generated Node #0,1,2: 77:[8, 20] Operation: 23-3=20 Moving to Node #0,0 Current State: 77:[3, 70, 85], Operations: ['93-8=85'] Exploring Operation: 85-70=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 77:[3, 15] Operation: 85-70=15 Exploring Operation: 85-3=82, Resulting Numbers: [70, 82] Generated Node #0,0,1: 77:[70, 82] Operation: 85-3=82 Exploring Operation: 3+70=73, Resulting Numbers: [85, 73] Generated Node #0,0,2: 77:[85, 73] Operation: 3+70=73 Moving to Node #0,2 Current State: 77:[3, 93, 78], Operations: ['8+70=78'] Exploring Operation: 78-3=75, Resulting Numbers: [93, 75] Generated Node #0,2,0: 77:[93, 75] Operation: 78-3=75 Exploring Operation: 93-3=90, Resulting Numbers: [78, 90] Generated Node #0,2,1: 77:[78, 90] Operation: 93-3=90 Exploring Operation: 93-78=15, Resulting Numbers: [3, 15] Generated Node #0,2,2: 77:[3, 15] Operation: 93-78=15 Moving to Node #0,1,1 Current State: 77:[3, 15], Operations: ['93-70=23', '23-8=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[3, 15], Operations: ['8+70=78', '93-78=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[3, 15], Operations: ['93-8=85', '85-70=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[8, 69], Operations: ['93-70=23', '3*23=69'] Exploring Operation: 8+69=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[8, 3, 93, 70], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [8, 3, 23] Generated Node #0,1: 77:[8, 3, 23] Operation: 93-70=23 Moving to Node #0,1 Current State: 77:[8, 3, 23], Operations: ['93-70=23'] Exploring Operation: 3*23=69, Resulting Numbers: [8, 69] Generated Node #0,1,0: 77:[8, 69] Operation: 3*23=69 Moving to Node #0,1,0 Current State: 77:[8, 69], Operations: ['93-70=23', '3*23=69'] Exploring Operation: 8+69=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 14, 37, 42, 64 ]
47
[ "42/14=3", "37*3=111", "111-64=47" ]
Current State: 47:[14, 37, 42, 64], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [37, 64, 3] Generated Node #2: [37, 64, 3] from Operation: 42/14=3 Current State: 47:[37, 64, 3], Operations: ['42/14=3'] Exploring Operation: 37*3=111, Resulting Numbers: [64, 111] Generated Node #3: [64, 111] from Operation: 37*3=111 Current State: 47:[64, 111], Operations: ['42/14=3', '37*3=111'] Exploring Operation: 111-64=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[14, 37, 42, 64], Operations: [] Exploring Operation: 37-14=23, Resulting Numbers: [42, 64, 23] Generated Node #0,0: 47:[42, 64, 23] Operation: 37-14=23 Exploring Operation: 64-14=50, Resulting Numbers: [37, 42, 50] Generated Node #0,1: 47:[37, 42, 50] Operation: 64-14=50 Exploring Operation: 14+37=51, Resulting Numbers: [42, 64, 51] Generated Node #0,2: 47:[42, 64, 51] Operation: 14+37=51 Exploring Operation: 14+42=56, Resulting Numbers: [37, 64, 56] Generated Node #0,3: 47:[37, 64, 56] Operation: 14+42=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[37, 42, 50], Operations: ['64-14=50'] Exploring Operation: 37+50=87, Resulting Numbers: [42, 87] Generated Node #0,1,0: 47:[42, 87] Operation: 37+50=87 Exploring Operation: 37+42=79, Resulting Numbers: [50, 79] Generated Node #0,1,1: 47:[50, 79] Operation: 37+42=79 Exploring Operation: 42-37=5, Resulting Numbers: [50, 5] Generated Node #0,1,2: 47:[50, 5] Operation: 42-37=5 Exploring Operation: 50-37=13, Resulting Numbers: [42, 13] Generated Node #0,1,3: 47:[42, 13] Operation: 50-37=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[50, 79], Operations: ['64-14=50', '37+42=79'] Exploring Operation: 50*79=3950, Resulting Numbers: [3950] 3950,47 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 50+79=129, Resulting Numbers: [129] 129,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,1,3 Current State: 47:[42, 13], Operations: ['64-14=50', '50-37=13'] Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,47 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[42, 87], Operations: ['64-14=50', '37+50=87'] Exploring Operation: 42*87=3654, Resulting Numbers: [3654] 3654,47 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 42+87=129, Resulting Numbers: [129] 129,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,1,2 Current State: 47:[50, 5], Operations: ['64-14=50', '42-37=5'] Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,47 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,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,2 Current State: 47:[42, 64, 51], Operations: ['14+37=51'] Exploring Operation: 64-42=22, Resulting Numbers: [51, 22] Generated Node #0,2,0: 47:[51, 22] Operation: 64-42=22 Exploring Operation: 42+64=106, Resulting Numbers: [51, 106] Generated Node #0,2,1: 47:[51, 106] Operation: 42+64=106 Exploring Operation: 51-42=9, Resulting Numbers: [64, 9] Generated Node #0,2,2: 47:[64, 9] Operation: 51-42=9 Exploring Operation: 64-51=13, Resulting Numbers: [42, 13] Generated Node #0,2,3: 47:[42, 13] Operation: 64-51=13 Moving to Node #0,2,0 Current State: 47:[51, 22], Operations: ['14+37=51', '64-42=22'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,47 unequal: No Solution Exploring Operation: 51*22=1122, Resulting Numbers: [1122] 1122,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[42, 13], Operations: ['14+37=51', '64-51=13'] Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,47 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[64, 9], Operations: ['14+37=51', '51-42=9'] Exploring Operation: 64*9=576, Resulting Numbers: [576] 576,47 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[51, 106], Operations: ['14+37=51', '42+64=106'] Exploring Operation: 106-51=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 51+106=157, Resulting Numbers: [157] 157,47 unequal: No Solution Exploring Operation: 51*106=5406, Resulting Numbers: [5406] 5406,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[37, 64, 56], Operations: ['14+42=56'] Exploring Operation: 64-37=27, Resulting Numbers: [56, 27] Generated Node #0,3,0: 47:[56, 27] Operation: 64-37=27 Exploring Operation: 64-56=8, Resulting Numbers: [37, 8] Generated Node #0,3,1: 47:[37, 8] Operation: 64-56=8 Exploring Operation: 37+64=101, Resulting Numbers: [56, 101] Generated Node #0,3,2: 47:[56, 101] Operation: 37+64=101 Exploring Operation: 56-37=19, Resulting Numbers: [64, 19] Generated Node #0,3,3: 47:[64, 19] Operation: 56-37=19 Moving to Node #0,3,0 Current State: 47:[56, 27], Operations: ['14+42=56', '64-37=27'] Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 56+27=83, Resulting Numbers: [83] 83,47 unequal: No Solution Exploring Operation: 56*27=1512, Resulting Numbers: [1512] 1512,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[64, 19], Operations: ['14+42=56', '56-37=19'] Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,47 unequal: No Solution Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,47 unequal: No Solution Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[37, 8], Operations: ['14+42=56', '64-56=8'] Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,47 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[56, 101], Operations: ['14+42=56', '37+64=101'] Exploring Operation: 56+101=157, Resulting Numbers: [157] 157,47 unequal: No Solution Exploring Operation: 101-56=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 56*101=5656, Resulting Numbers: [5656] 5656,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[42, 64, 23], Operations: ['37-14=23'] Exploring Operation: 64-23=41, Resulting Numbers: [42, 41] Generated Node #0,0,0: 47:[42, 41] Operation: 64-23=41 Exploring Operation: 42-23=19, Resulting Numbers: [64, 19] Generated Node #0,0,1: 47:[64, 19] Operation: 42-23=19 Exploring Operation: 42+23=65, Resulting Numbers: [64, 65] Generated Node #0,0,2: 47:[64, 65] Operation: 42+23=65 Exploring Operation: 64+23=87, Resulting Numbers: [42, 87] Generated Node #0,0,3: 47:[42, 87] Operation: 64+23=87 Moving to Node #0,0,0 Current State: 47:[42, 41], Operations: ['37-14=23', '64-23=41'] Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,47 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[64, 65], Operations: ['37-14=23', '42+23=65'] Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,47 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[42, 87], Operations: ['37-14=23', '64+23=87'] Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 42*87=3654, Resulting Numbers: [3654] 3654,47 unequal: No Solution Exploring Operation: 42+87=129, Resulting Numbers: [129] 129,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[64, 19], Operations: ['37-14=23', '42-23=19'] Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,47 unequal: No Solution Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 18, 49, 47, 36 ]
36
[ "36-18=18", "49-47=2", "18*2=36" ]
Current State: 36:[18, 49, 47, 36], Operations: [] Exploring Operation: 36-18=18, Resulting Numbers: [49, 47, 18] Generated Node #2: [49, 47, 18] from Operation: 36-18=18 Current State: 36:[49, 47, 18], Operations: ['36-18=18'] Exploring Operation: 49-47=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 49-47=2 Current State: 36:[18, 2], Operations: ['36-18=18', '49-47=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[18, 49, 47, 36], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [18, 36, 2] Generated Node #0,0: 36:[18, 36, 2] Operation: 49-47=2 Exploring Operation: 49-18=31, Resulting Numbers: [47, 36, 31] Generated Node #0,1: 36:[47, 36, 31] Operation: 49-18=31 Exploring Operation: 47-18=29, Resulting Numbers: [49, 36, 29] Generated Node #0,2: 36:[49, 36, 29] Operation: 47-18=29 Exploring Operation: 49-36=13, Resulting Numbers: [18, 47, 13] Generated Node #0,3: 36:[18, 47, 13] Operation: 49-36=13 Exploring Operation: 47-36=11, Resulting Numbers: [18, 49, 11] Generated Node #0,4: 36:[18, 49, 11] Operation: 47-36=11 Moving to Node #0,0 Current State: 36:[18, 36, 2], Operations: ['49-47=2'] Exploring Operation: 18/2=9, Resulting Numbers: [36, 9] Generated Node #0,0,0: 36:[36, 9] Operation: 18/2=9 Exploring Operation: 36-18=18, Resulting Numbers: [2, 18] Generated Node #0,0,1: 36:[2, 18] Operation: 36-18=18 Exploring Operation: 18*2=36, Resulting Numbers: [36, 36] Generated Node #0,0,2: 36:[36, 36] Operation: 18*2=36 Exploring Operation: 36/2=18, Resulting Numbers: [18, 18] Generated Node #0,0,3: 36:[18, 18] Operation: 36/2=18 Exploring Operation: 36/18=2, Resulting Numbers: [2, 2] Generated Node #0,0,4: 36:[2, 2] Operation: 36/18=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[36, 9], Operations: ['49-47=2', '18/2=9'] Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[2, 18], Operations: ['49-47=2', '36-18=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[18, 49, 47, 36], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [18, 36, 2] Generated Node #0,0: 36:[18, 36, 2] Operation: 49-47=2 Moving to Node #0,0 Current State: 36:[18, 36, 2], Operations: ['49-47=2'] Exploring Operation: 36-18=18, Resulting Numbers: [2, 18] Generated Node #0,0,1: 36:[2, 18] Operation: 36-18=18 Moving to Node #0,0,1 Current State: 36:[2, 18], Operations: ['49-47=2', '36-18=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 44, 3, 37, 93 ]
62
[ "93-44=49", "3*37=111", "111-49=62" ]
Current State: 62:[44, 3, 37, 93], Operations: [] Exploring Operation: 93-44=49, Resulting Numbers: [3, 37, 49] Generated Node #2: [3, 37, 49] from Operation: 93-44=49 Current State: 62:[3, 37, 49], Operations: ['93-44=49'] Exploring Operation: 3*37=111, Resulting Numbers: [49, 111] Generated Node #3: [49, 111] from Operation: 3*37=111 Current State: 62:[49, 111], Operations: ['93-44=49', '3*37=111'] Exploring Operation: 111-49=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[44, 3, 37, 93], Operations: [] Exploring Operation: 93-44=49, Resulting Numbers: [3, 37, 49] Generated Node #0,0: 62:[3, 37, 49] Operation: 93-44=49 Exploring Operation: 44-37=7, Resulting Numbers: [3, 93, 7] Generated Node #0,1: 62:[3, 93, 7] Operation: 44-37=7 Exploring Operation: 93-37=56, Resulting Numbers: [44, 3, 56] Generated Node #0,2: 62:[44, 3, 56] Operation: 93-37=56 Exploring Operation: 93/3=31, Resulting Numbers: [44, 37, 31] Generated Node #0,3: 62:[44, 37, 31] Operation: 93/3=31 Moving to Node #0,3 Current State: 62:[44, 37, 31], Operations: ['93/3=31'] Exploring Operation: 44-31=13, Resulting Numbers: [37, 13] Generated Node #0,3,0: 62:[37, 13] Operation: 44-31=13 Exploring Operation: 37-31=6, Resulting Numbers: [44, 6] Generated Node #0,3,1: 62:[44, 6] Operation: 37-31=6 Exploring Operation: 44-37=7, Resulting Numbers: [31, 7] Generated Node #0,3,2: 62:[31, 7] Operation: 44-37=7 Exploring Operation: 44+37=81, Resulting Numbers: [31, 81] Generated Node #0,3,3: 62:[31, 81] Operation: 44+37=81 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 62:[31, 7], Operations: ['93/3=31', '44-37=7'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,62 unequal: No Solution No 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: 62:[37, 13], Operations: ['93/3=31', '44-31=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,62 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,62 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,62 unequal: No Solution No 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: 62:[44, 6], Operations: ['93/3=31', '37-31=6'] Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,62 unequal: No Solution Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,62 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,62 unequal: No Solution No 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: 62:[31, 81], Operations: ['93/3=31', '44+37=81'] Exploring Operation: 31+81=112, Resulting Numbers: [112] 112,62 unequal: No Solution Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,62 unequal: No Solution Exploring Operation: 31*81=2511, Resulting Numbers: [2511] 2511,62 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: 62:[44, 3, 56], Operations: ['93-37=56'] Exploring Operation: 44+3=47, Resulting Numbers: [56, 47] Generated Node #0,2,0: 62:[56, 47] Operation: 44+3=47 Exploring Operation: 3+56=59, Resulting Numbers: [44, 59] Generated Node #0,2,1: 62:[44, 59] Operation: 3+56=59 Exploring Operation: 44-3=41, Resulting Numbers: [56, 41] Generated Node #0,2,2: 62:[56, 41] Operation: 44-3=41 Exploring Operation: 56-44=12, Resulting Numbers: [3, 12] Generated Node #0,2,3: 62:[3, 12] Operation: 56-44=12 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 62:[3, 12], Operations: ['93-37=56', '56-44=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,62 unequal: No Solution No 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: 62:[44, 59], Operations: ['93-37=56', '3+56=59'] Exploring Operation: 44*59=2596, Resulting Numbers: [2596] 2596,62 unequal: No Solution Exploring Operation: 44+59=103, Resulting Numbers: [103] 103,62 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,62 unequal: No Solution No 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: 62:[56, 41], Operations: ['93-37=56', '44-3=41'] Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 56+41=97, Resulting Numbers: [97] 97,62 unequal: No Solution Exploring Operation: 56*41=2296, Resulting Numbers: [2296] 2296,62 unequal: No Solution No 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: 62:[56, 47], Operations: ['93-37=56', '44+3=47'] Exploring Operation: 56*47=2632, Resulting Numbers: [2632] 2632,62 unequal: No Solution Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,62 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,62 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: 62:[3, 37, 49], Operations: ['93-44=49'] Exploring Operation: 3+49=52, Resulting Numbers: [37, 52] Generated Node #0,0,0: 62:[37, 52] Operation: 3+49=52 Exploring Operation: 37-3=34, Resulting Numbers: [49, 34] Generated Node #0,0,1: 62:[49, 34] Operation: 37-3=34 Exploring Operation: 49-37=12, Resulting Numbers: [3, 12] Generated Node #0,0,2: 62:[3, 12] Operation: 49-37=12 Exploring Operation: 49-3=46, Resulting Numbers: [37, 46] Generated Node #0,0,3: 62:[37, 46] Operation: 49-3=46 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[3, 12], Operations: ['93-44=49', '49-37=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,62 unequal: No Solution No 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: 62:[37, 52], Operations: ['93-44=49', '3+49=52'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 37+52=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 37*52=1924, Resulting Numbers: [1924] 1924,62 unequal: No Solution No 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: 62:[49, 34], Operations: ['93-44=49', '37-3=34'] Exploring Operation: 49*34=1666, Resulting Numbers: [1666] 1666,62 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,62 unequal: No Solution No 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: 62:[37, 46], Operations: ['93-44=49', '49-3=46'] Exploring Operation: 37*46=1702, Resulting Numbers: [1702] 1702,62 unequal: No Solution Exploring Operation: 37+46=83, Resulting Numbers: [83] 83,62 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,62 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: 62:[3, 93, 7], Operations: ['44-37=7'] Exploring Operation: 93-3=90, Resulting Numbers: [7, 90] Generated Node #0,1,0: 62:[7, 90] Operation: 93-3=90 Exploring Operation: 93-7=86, Resulting Numbers: [3, 86] Generated Node #0,1,1: 62:[3, 86] Operation: 93-7=86 Exploring Operation: 7-3=4, Resulting Numbers: [93, 4] Generated Node #0,1,2: 62:[93, 4] Operation: 7-3=4 Exploring Operation: 93/3=31, Resulting Numbers: [7, 31] Generated Node #0,1,3: 62:[7, 31] Operation: 93/3=31 Moving to Node #0,1,3 Current State: 62:[7, 31], Operations: ['44-37=7', '93/3=31'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[3, 86], Operations: ['44-37=7', '93-7=86'] Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,62 unequal: No Solution Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,62 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[93, 4], Operations: ['44-37=7', '7-3=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,62 unequal: No Solution Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,62 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[7, 90], Operations: ['44-37=7', '93-3=90'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,62 unequal: No Solution Exploring Operation: 7*90=630, Resulting Numbers: [630] 630,62 unequal: No Solution Exploring Operation: 7+90=97, Resulting Numbers: [97] 97,62 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 4, 67, 88, 8 ]
45
[ "8-4=4", "88/4=22", "67-22=45" ]
Current State: 45:[4, 67, 88, 8], Operations: [] Exploring Operation: 8-4=4, Resulting Numbers: [67, 88, 4] Generated Node #2: [67, 88, 4] from Operation: 8-4=4 Current State: 45:[67, 88, 4], Operations: ['8-4=4'] Exploring Operation: 88/4=22, Resulting Numbers: [67, 22] Generated Node #3: [67, 22] from Operation: 88/4=22 Current State: 45:[67, 22], Operations: ['8-4=4', '88/4=22'] Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[4, 67, 88, 8], Operations: [] Exploring Operation: 88-67=21, Resulting Numbers: [4, 8, 21] Generated Node #0,0: 45:[4, 8, 21] Operation: 88-67=21 Moving to Node #0,0 Current State: 45:[4, 8, 21], Operations: ['88-67=21'] Exploring Operation: 21-4=17, Resulting Numbers: [8, 17] Generated Node #0,0,0: 45:[8, 17] Operation: 21-4=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[8, 17], Operations: ['88-67=21', '21-4=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,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
sum_heuristic
[ 89, 18, 91, 5 ]
80
[ "89+18=107", "107-91=16", "5*16=80" ]
Current State: 80:[89, 18, 91, 5], Operations: [] Exploring Operation: 89+18=107, Resulting Numbers: [91, 5, 107] Generated Node #2: [91, 5, 107] from Operation: 89+18=107 Current State: 80:[91, 5, 107], Operations: ['89+18=107'] Exploring Operation: 107-91=16, Resulting Numbers: [5, 16] Generated Node #3: [5, 16] from Operation: 107-91=16 Current State: 80:[5, 16], Operations: ['89+18=107', '107-91=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[89, 18, 91, 5], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [18, 5, 2] Generated Node #0,0: 80:[18, 5, 2] Operation: 91-89=2 Moving to Node #0,0 Current State: 80:[18, 5, 2], Operations: ['91-89=2'] Exploring Operation: 18+2=20, Resulting Numbers: [5, 20] Generated Node #0,0,0: 80:[5, 20] Operation: 18+2=20 Moving to Node #0,0,0 Current State: 80:[5, 20], Operations: ['91-89=2', '18+2=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,80 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 53, 67, 78, 64 ]
28
[ "67-53=14", "78-64=14", "14+14=28" ]
Current State: 28:[53, 67, 78, 64], Operations: [] Exploring Operation: 67-53=14, Resulting Numbers: [78, 64, 14] Generated Node #2: [78, 64, 14] from Operation: 67-53=14 Current State: 28:[78, 64, 14], Operations: ['67-53=14'] Exploring Operation: 78-64=14, Resulting Numbers: [14, 14] Generated Node #3: [14, 14] from Operation: 78-64=14 Current State: 28:[14, 14], Operations: ['67-53=14', '78-64=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[53, 67, 78, 64], Operations: [] Exploring Operation: 78-67=11, Resulting Numbers: [53, 64, 11] Generated Node #0,0: 28:[53, 64, 11] Operation: 78-67=11 Exploring Operation: 78-64=14, Resulting Numbers: [53, 67, 14] Generated Node #0,1: 28:[53, 67, 14] Operation: 78-64=14 Exploring Operation: 67-64=3, Resulting Numbers: [53, 78, 3] Generated Node #0,2: 28:[53, 78, 3] Operation: 67-64=3 Moving to Node #0,0 Current State: 28:[53, 64, 11], Operations: ['78-67=11'] Exploring Operation: 64-53=11, Resulting Numbers: [11, 11] Generated Node #0,0,0: 28:[11, 11] Operation: 64-53=11 Exploring Operation: 64-11=53, Resulting Numbers: [53, 53] Generated Node #0,0,1: 28:[53, 53] Operation: 64-11=53 Exploring Operation: 53-11=42, Resulting Numbers: [64, 42] Generated Node #0,0,2: 28:[64, 42] Operation: 53-11=42 Moving to Node #0,1 Current State: 28:[53, 67, 14], Operations: ['78-64=14'] Exploring Operation: 53-14=39, Resulting Numbers: [67, 39] Generated Node #0,1,0: 28:[67, 39] Operation: 53-14=39 Exploring Operation: 67-53=14, Resulting Numbers: [14, 14] Generated Node #0,1,1: 28:[14, 14] Operation: 67-53=14 Exploring Operation: 67-14=53, Resulting Numbers: [53, 53] Generated Node #0,1,2: 28:[53, 53] Operation: 67-14=53 Moving to Node #0,2 Current State: 28:[53, 78, 3], Operations: ['67-64=3'] Exploring Operation: 53-3=50, Resulting Numbers: [78, 50] Generated Node #0,2,0: 28:[78, 50] Operation: 53-3=50 Exploring Operation: 78/3=26, Resulting Numbers: [53, 26] Generated Node #0,2,1: 28:[53, 26] Operation: 78/3=26 Exploring Operation: 78-53=25, Resulting Numbers: [3, 25] Generated Node #0,2,2: 28:[3, 25] Operation: 78-53=25 Moving to Node #0,1,1 Current State: 28:[14, 14], Operations: ['78-64=14', '67-53=14'] Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[53, 67, 78, 64], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [53, 67, 14] Generated Node #0,1: 28:[53, 67, 14] Operation: 78-64=14 Moving to Node #0,1 Current State: 28:[53, 67, 14], Operations: ['78-64=14'] Exploring Operation: 67-53=14, Resulting Numbers: [14, 14] Generated Node #0,1,1: 28:[14, 14] Operation: 67-53=14 Moving to Node #0,1,1 Current State: 28:[14, 14], Operations: ['78-64=14', '67-53=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.984375
hs_3
mult_heuristic
[ 7, 3, 33, 21 ]
50
[ "7-3=4", "33+21=54", "54-4=50" ]
Current State: 50:[7, 3, 33, 21], Operations: [] Exploring Operation: 7-3=4, Resulting Numbers: [33, 21, 4] Generated Node #2: [33, 21, 4] from Operation: 7-3=4 Current State: 50:[33, 21, 4], Operations: ['7-3=4'] Exploring Operation: 33+21=54, Resulting Numbers: [4, 54] Generated Node #3: [4, 54] from Operation: 33+21=54 Current State: 50:[4, 54], Operations: ['7-3=4', '33+21=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[7, 3, 33, 21], Operations: [] Exploring Operation: 33-7=26, Resulting Numbers: [3, 21, 26] Generated Node #0,0: 50:[3, 21, 26] Operation: 33-7=26 Exploring Operation: 33-21=12, Resulting Numbers: [7, 3, 12] Generated Node #0,1: 50:[7, 3, 12] Operation: 33-21=12 Moving to Node #0,1 Current State: 50:[7, 3, 12], Operations: ['33-21=12'] Exploring Operation: 7+3=10, Resulting Numbers: [12, 10] Generated Node #0,1,0: 50:[12, 10] Operation: 7+3=10 Exploring Operation: 12-7=5, Resulting Numbers: [3, 5] Generated Node #0,1,1: 50:[3, 5] Operation: 12-7=5 Moving to Node #0,0 Current State: 50:[3, 21, 26], Operations: ['33-7=26'] Exploring Operation: 26-21=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 50:[3, 5] Operation: 26-21=5 Exploring Operation: 3+21=24, Resulting Numbers: [26, 24] Generated Node #0,0,1: 50:[26, 24] Operation: 3+21=24 Moving to Node #0,1,1 Current State: 50:[3, 5], Operations: ['33-21=12', '12-7=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[3, 5], Operations: ['33-7=26', '26-21=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[12, 10], Operations: ['33-21=12', '7+3=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[26, 24], Operations: ['33-7=26', '3+21=24'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[7, 3, 33, 21], Operations: [] Exploring Operation: 33-7=26, Resulting Numbers: [3, 21, 26] Generated Node #0,0: 50:[3, 21, 26] Operation: 33-7=26 Moving to Node #0,0 Current State: 50:[3, 21, 26], Operations: ['33-7=26'] Exploring Operation: 3+21=24, Resulting Numbers: [26, 24] Generated Node #0,0,1: 50:[26, 24] Operation: 3+21=24 Moving to Node #0,0,1 Current State: 50:[26, 24], Operations: ['33-7=26', '3+21=24'] Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 29, 82, 24, 14 ]
43
[ "82-29=53", "24-14=10", "53-10=43" ]
Current State: 43:[29, 82, 24, 14], Operations: [] Exploring Operation: 82-29=53, Resulting Numbers: [24, 14, 53] Generated Node #2: [24, 14, 53] from Operation: 82-29=53 Current State: 43:[24, 14, 53], Operations: ['82-29=53'] Exploring Operation: 24-14=10, Resulting Numbers: [53, 10] Generated Node #3: [53, 10] from Operation: 24-14=10 Current State: 43:[53, 10], Operations: ['82-29=53', '24-14=10'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[29, 82, 24, 14], Operations: [] Exploring Operation: 82-29=53, Resulting Numbers: [24, 14, 53] Generated Node #0,0: 43:[24, 14, 53] Operation: 82-29=53 Exploring Operation: 29+14=43, Resulting Numbers: [82, 24, 43] Generated Node #0,1: 43:[82, 24, 43] Operation: 29+14=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[24, 14, 53], Operations: ['82-29=53'] Exploring Operation: 24+14=38, Resulting Numbers: [53, 38] Generated Node #0,0,0: 43:[53, 38] Operation: 24+14=38 Exploring Operation: 53-14=39, Resulting Numbers: [24, 39] Generated Node #0,0,1: 43:[24, 39] Operation: 53-14=39 Moving to Node #0,0,0 Current State: 43:[53, 38], Operations: ['82-29=53', '24+14=38'] Exploring Operation: 53+38=91, Resulting Numbers: [91] 91,43 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[24, 39], Operations: ['82-29=53', '53-14=39'] Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,43 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[82, 24, 43], Operations: ['29+14=43'] Exploring Operation: 82-43=39, Resulting Numbers: [24, 39] Generated Node #0,1,0: 43:[24, 39] Operation: 82-43=39 Exploring Operation: 82-24=58, Resulting Numbers: [43, 58] Generated Node #0,1,1: 43:[43, 58] Operation: 82-24=58 Moving to Node #0,1,1 Current State: 43:[43, 58], Operations: ['29+14=43', '82-24=58'] Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 43+58=101, Resulting Numbers: [101] 101,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[24, 39], Operations: ['29+14=43', '82-43=39'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 30, 20, 25, 93 ]
58
[ "30-20=10", "93-25=68", "68-10=58" ]
Current State: 58:[30, 20, 25, 93], Operations: [] Exploring Operation: 30-20=10, Resulting Numbers: [25, 93, 10] Generated Node #2: [25, 93, 10] from Operation: 30-20=10 Current State: 58:[25, 93, 10], Operations: ['30-20=10'] Exploring Operation: 93-25=68, Resulting Numbers: [10, 68] Generated Node #3: [10, 68] from Operation: 93-25=68 Current State: 58:[10, 68], Operations: ['30-20=10', '93-25=68'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[30, 20, 25, 93], Operations: [] Exploring Operation: 93-30=63, Resulting Numbers: [20, 25, 63] Generated Node #0,0: 58:[20, 25, 63] Operation: 93-30=63 Exploring Operation: 25-20=5, Resulting Numbers: [30, 93, 5] Generated Node #0,1: 58:[30, 93, 5] Operation: 25-20=5 Exploring Operation: 30+20=50, Resulting Numbers: [25, 93, 50] Generated Node #0,2: 58:[25, 93, 50] Operation: 30+20=50 Exploring Operation: 93-20=73, Resulting Numbers: [30, 25, 73] Generated Node #0,3: 58:[30, 25, 73] Operation: 93-20=73 Exploring Operation: 93-25=68, Resulting Numbers: [30, 20, 68] Generated Node #0,4: 58:[30, 20, 68] Operation: 93-25=68 Moving to Node #0,0 Current State: 58:[20, 25, 63], Operations: ['93-30=63'] Exploring Operation: 63-25=38, Resulting Numbers: [20, 38] Generated Node #0,0,0: 58:[20, 38] Operation: 63-25=38 Exploring Operation: 20+63=83, Resulting Numbers: [25, 83] Generated Node #0,0,1: 58:[25, 83] Operation: 20+63=83 Exploring Operation: 63-20=43, Resulting Numbers: [25, 43] Generated Node #0,0,2: 58:[25, 43] Operation: 63-20=43 Exploring Operation: 25-20=5, Resulting Numbers: [63, 5] Generated Node #0,0,3: 58:[63, 5] Operation: 25-20=5 Exploring Operation: 20+25=45, Resulting Numbers: [63, 45] Generated Node #0,0,4: 58:[63, 45] Operation: 20+25=45 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 58:[63, 5], Operations: ['93-30=63', '25-20=5'] Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,58 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[30, 20, 25, 93], Operations: [] Exploring Operation: 93-30=63, Resulting Numbers: [20, 25, 63] Generated Node #0,0: 58:[20, 25, 63] Operation: 93-30=63 Moving to Node #0,0 Current State: 58:[20, 25, 63], Operations: ['93-30=63'] Exploring Operation: 25-20=5, Resulting Numbers: [63, 5] Generated Node #0,0,3: 58:[63, 5] Operation: 25-20=5 Moving to Node #0,0,3 Current State: 58:[63, 5], Operations: ['93-30=63', '25-20=5'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 12, 79, 66, 69 ]
70
[ "79-12=67", "69-66=3", "67+3=70" ]
Current State: 70:[12, 79, 66, 69], Operations: [] Exploring Operation: 79-12=67, Resulting Numbers: [66, 69, 67] Generated Node #2: [66, 69, 67] from Operation: 79-12=67 Current State: 70:[66, 69, 67], Operations: ['79-12=67'] Exploring Operation: 69-66=3, Resulting Numbers: [67, 3] Generated Node #3: [67, 3] from Operation: 69-66=3 Current State: 70:[67, 3], Operations: ['79-12=67', '69-66=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[12, 79, 66, 69], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [12, 69, 13] Generated Node #0,0: 70:[12, 69, 13] Operation: 79-66=13 Exploring Operation: 79-12=67, Resulting Numbers: [66, 69, 67] Generated Node #0,1: 70:[66, 69, 67] Operation: 79-12=67 Exploring Operation: 79-69=10, Resulting Numbers: [12, 66, 10] Generated Node #0,2: 70:[12, 66, 10] Operation: 79-69=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[12, 69, 13], Operations: ['79-66=13'] Exploring Operation: 12+69=81, Resulting Numbers: [13, 81] Generated Node #0,0,0: 70:[13, 81] Operation: 12+69=81 Exploring Operation: 13-12=1, Resulting Numbers: [69, 1] Generated Node #0,0,1: 70:[69, 1] Operation: 13-12=1 Exploring Operation: 12+13=25, Resulting Numbers: [69, 25] Generated Node #0,0,2: 70:[69, 25] Operation: 12+13=25 Moving to Node #0,0,1 Current State: 70:[69, 1], Operations: ['79-66=13', '13-12=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[12, 79, 66, 69], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [12, 69, 13] Generated Node #0,0: 70:[12, 69, 13] Operation: 79-66=13 Moving to Node #0,0 Current State: 70:[12, 69, 13], Operations: ['79-66=13'] Exploring Operation: 13-12=1, Resulting Numbers: [69, 1] Generated Node #0,0,1: 70:[69, 1] Operation: 13-12=1 Moving to Node #0,0,1 Current State: 70:[69, 1], Operations: ['79-66=13', '13-12=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 16, 18, 94, 96 ]
49
[ "18-16=2", "94/2=47", "96-47=49" ]
Current State: 49:[16, 18, 94, 96], Operations: [] Exploring Operation: 18-16=2, Resulting Numbers: [94, 96, 2] Generated Node #2: [94, 96, 2] from Operation: 18-16=2 Current State: 49:[94, 96, 2], Operations: ['18-16=2'] Exploring Operation: 94/2=47, Resulting Numbers: [96, 47] Generated Node #3: [96, 47] from Operation: 94/2=47 Current State: 49:[96, 47], Operations: ['18-16=2', '94/2=47'] Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[16, 18, 94, 96], Operations: [] Exploring Operation: 94-18=76, Resulting Numbers: [16, 96, 76] Generated Node #0,0: 49:[16, 96, 76] Operation: 94-18=76 Exploring Operation: 96/16=6, Resulting Numbers: [18, 94, 6] Generated Node #0,1: 49:[18, 94, 6] Operation: 96/16=6 Exploring Operation: 96-94=2, Resulting Numbers: [16, 18, 2] Generated Node #0,2: 49:[16, 18, 2] Operation: 96-94=2 Moving to Node #0,2 Current State: 49:[16, 18, 2], Operations: ['96-94=2'] Exploring Operation: 18/2=9, Resulting Numbers: [16, 9] Generated Node #0,2,0: 49:[16, 9] Operation: 18/2=9 Exploring Operation: 16/2=8, Resulting Numbers: [18, 8] Generated Node #0,2,1: 49:[18, 8] Operation: 16/2=8 Exploring Operation: 18-16=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 49:[2, 2] Operation: 18-16=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[2, 2], Operations: ['96-94=2', '18-16=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,49 unequal: No Solution No 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: 49:[16, 9], Operations: ['96-94=2', '18/2=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,49 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,49 unequal: No Solution No 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: 49:[18, 8], Operations: ['96-94=2', '16/2=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,49 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,49 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: 49:[18, 94, 6], Operations: ['96/16=6'] Exploring Operation: 18/6=3, Resulting Numbers: [94, 3] Generated Node #0,1,0: 49:[94, 3] Operation: 18/6=3 Exploring Operation: 94-18=76, Resulting Numbers: [6, 76] Generated Node #0,1,1: 49:[6, 76] Operation: 94-18=76 Exploring Operation: 18-6=12, Resulting Numbers: [94, 12] Generated Node #0,1,2: 49:[94, 12] Operation: 18-6=12 Moving to Node #0,0 Current State: 49:[16, 96, 76], Operations: ['94-18=76'] Exploring Operation: 96/16=6, Resulting Numbers: [76, 6] Generated Node #0,0,0: 49:[76, 6] Operation: 96/16=6 Exploring Operation: 96-16=80, Resulting Numbers: [76, 80] Generated Node #0,0,1: 49:[76, 80] Operation: 96-16=80 Exploring Operation: 96-76=20, Resulting Numbers: [16, 20] Generated Node #0,0,2: 49:[16, 20] Operation: 96-76=20 Moving to Node #0,0,2 Current State: 49:[16, 20], Operations: ['94-18=76', '96-76=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[6, 76], Operations: ['96/16=6', '94-18=76'] Exploring Operation: 6+76=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 6*76=456, Resulting Numbers: [456] 456,49 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[76, 6], Operations: ['94-18=76', '96/16=6'] Exploring Operation: 76*6=456, Resulting Numbers: [456] 456,49 unequal: No Solution Exploring Operation: 76+6=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[94, 3], Operations: ['96/16=6', '18/6=3'] Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,49 unequal: No Solution Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 94*3=282, Resulting Numbers: [282] 282,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[94, 12], Operations: ['96/16=6', '18-6=12'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[76, 80], Operations: ['94-18=76', '96-16=80'] Exploring Operation: 76*80=6080, Resulting Numbers: [6080] 6080,49 unequal: No Solution Exploring Operation: 80-76=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 76+80=156, Resulting Numbers: [156] 156,49 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 8, 20, 56, 60 ]
40
[ "8*20=160", "60-56=4", "160/4=40" ]
Current State: 40:[8, 20, 56, 60], Operations: [] Exploring Operation: 8*20=160, Resulting Numbers: [56, 60, 160] Generated Node #2: [56, 60, 160] from Operation: 8*20=160 Current State: 40:[56, 60, 160], Operations: ['8*20=160'] Exploring Operation: 60-56=4, Resulting Numbers: [160, 4] Generated Node #3: [160, 4] from Operation: 60-56=4 Current State: 40:[160, 4], Operations: ['8*20=160', '60-56=4'] Exploring Operation: 160/4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[8, 20, 56, 60], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [20, 60, 7] Generated Node #0,0: 40:[20, 60, 7] Operation: 56/8=7 Exploring Operation: 60/20=3, Resulting Numbers: [8, 56, 3] Generated Node #0,1: 40:[8, 56, 3] Operation: 60/20=3 Exploring Operation: 56-20=36, Resulting Numbers: [8, 60, 36] Generated Node #0,2: 40:[8, 60, 36] Operation: 56-20=36 Exploring Operation: 60-20=40, Resulting Numbers: [8, 56, 40] Generated Node #0,3: 40:[8, 56, 40] Operation: 60-20=40 Exploring Operation: 60-56=4, Resulting Numbers: [8, 20, 4] Generated Node #0,4: 40:[8, 20, 4] Operation: 60-56=4 Moving to Node #0,4 Current State: 40:[8, 20, 4], Operations: ['60-56=4'] Exploring Operation: 20-8=12, Resulting Numbers: [4, 12] Generated Node #0,4,0: 40:[4, 12] Operation: 20-8=12 Exploring Operation: 8+4=12, Resulting Numbers: [20, 12] Generated Node #0,4,1: 40:[20, 12] Operation: 8+4=12 Exploring Operation: 20/4=5, Resulting Numbers: [8, 5] Generated Node #0,4,2: 40:[8, 5] Operation: 20/4=5 Exploring Operation: 8-4=4, Resulting Numbers: [20, 4] Generated Node #0,4,3: 40:[20, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [20, 2] Generated Node #0,4,4: 40:[20, 2] Operation: 8/4=2 Moving to Node #0,3 Current State: 40:[8, 56, 40], Operations: ['60-20=40'] Exploring Operation: 56/8=7, Resulting Numbers: [40, 7] Generated Node #0,3,0: 40:[40, 7] Operation: 56/8=7 Exploring Operation: 8+56=64, Resulting Numbers: [40, 64] Generated Node #0,3,1: 40:[40, 64] Operation: 8+56=64 Exploring Operation: 40/8=5, Resulting Numbers: [56, 5] Generated Node #0,3,2: 40:[56, 5] Operation: 40/8=5 Exploring Operation: 56-8=48, Resulting Numbers: [40, 48] Generated Node #0,3,3: 40:[40, 48] Operation: 56-8=48 Exploring Operation: 56-40=16, Resulting Numbers: [8, 16] Generated Node #0,3,4: 40:[8, 16] Operation: 56-40=16 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 40:[40, 7], Operations: ['60-20=40', '56/8=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,40 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 40:[8, 16], Operations: ['60-20=40', '56-40=16'] Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 40:[40, 48], Operations: ['60-20=40', '56-8=48'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 40+48=88, Resulting Numbers: [88] 88,40 unequal: No Solution Exploring Operation: 40*48=1920, Resulting Numbers: [1920] 1920,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 40:[56, 5], Operations: ['60-20=40', '40/8=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,40 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[40, 64], Operations: ['60-20=40', '8+56=64'] Exploring Operation: 40*64=2560, Resulting Numbers: [2560] 2560,40 unequal: No Solution Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,40 unequal: No Solution Exploring Operation: 40+64=104, Resulting Numbers: [104] 104,40 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: 40:[8, 56, 3], Operations: ['60/20=3'] Exploring Operation: 56-3=53, Resulting Numbers: [8, 53] Generated Node #0,1,0: 40:[8, 53] Operation: 56-3=53 Exploring Operation: 8+3=11, Resulting Numbers: [56, 11] Generated Node #0,1,1: 40:[56, 11] Operation: 8+3=11 Exploring Operation: 56/8=7, Resulting Numbers: [3, 7] Generated Node #0,1,2: 40:[3, 7] Operation: 56/8=7 Exploring Operation: 56-8=48, Resulting Numbers: [3, 48] Generated Node #0,1,3: 40:[3, 48] Operation: 56-8=48 Exploring Operation: 8-3=5, Resulting Numbers: [56, 5] Generated Node #0,1,4: 40:[56, 5] Operation: 8-3=5 Moving to Node #0,0 Current State: 40:[20, 60, 7], Operations: ['56/8=7'] Exploring Operation: 60-20=40, Resulting Numbers: [7, 40] Generated Node #0,0,0: 40:[7, 40] Operation: 60-20=40 Exploring Operation: 60/20=3, Resulting Numbers: [7, 3] Generated Node #0,0,1: 40:[7, 3] Operation: 60/20=3 Exploring Operation: 20+7=27, Resulting Numbers: [60, 27] Generated Node #0,0,2: 40:[60, 27] Operation: 20+7=27 Exploring Operation: 60-7=53, Resulting Numbers: [20, 53] Generated Node #0,0,3: 40:[20, 53] Operation: 60-7=53 Exploring Operation: 20-7=13, Resulting Numbers: [60, 13] Generated Node #0,0,4: 40:[60, 13] Operation: 20-7=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[7, 40], Operations: ['56/8=7', '60-20=40'] Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,40 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[7, 3], Operations: ['56/8=7', '60/20=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 40:[20, 53], Operations: ['56/8=7', '60-7=53'] Exploring Operation: 20*53=1060, Resulting Numbers: [1060] 1060,40 unequal: No Solution Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,40 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 40:[60, 13], Operations: ['56/8=7', '20-7=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,40 unequal: No Solution Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[60, 27], Operations: ['56/8=7', '20+7=27'] Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 60*27=1620, Resulting Numbers: [1620] 1620,40 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: 40:[8, 60, 36], Operations: ['56-20=36'] Exploring Operation: 60-8=52, Resulting Numbers: [36, 52] Generated Node #0,2,0: 40:[36, 52] Operation: 60-8=52 Exploring Operation: 8+60=68, Resulting Numbers: [36, 68] Generated Node #0,2,1: 40:[36, 68] Operation: 8+60=68 Exploring Operation: 8+36=44, Resulting Numbers: [60, 44] Generated Node #0,2,2: 40:[60, 44] Operation: 8+36=44 Exploring Operation: 36-8=28, Resulting Numbers: [60, 28] Generated Node #0,2,3: 40:[60, 28] Operation: 36-8=28 Exploring Operation: 60-36=24, Resulting Numbers: [8, 24] Generated Node #0,2,4: 40:[8, 24] Operation: 60-36=24 Moving to Node #0,4,2 Current State: 40:[8, 5], Operations: ['60-56=4', '20/4=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[8, 20, 56, 60], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [8, 20, 4] Generated Node #0,4: 40:[8, 20, 4] Operation: 60-56=4 Moving to Node #0,4 Current State: 40:[8, 20, 4], Operations: ['60-56=4'] Exploring Operation: 20/4=5, Resulting Numbers: [8, 5] Generated Node #0,4,2: 40:[8, 5] Operation: 20/4=5 Moving to Node #0,4,2 Current State: 40:[8, 5], Operations: ['60-56=4', '20/4=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 99, 58, 46, 12 ]
45
[ "58-46=12", "12*12=144", "144-99=45" ]
Current State: 45:[99, 58, 46, 12], Operations: [] Exploring Operation: 58-46=12, Resulting Numbers: [99, 12, 12] Generated Node #2: [99, 12, 12] from Operation: 58-46=12 Current State: 45:[99, 12, 12], Operations: ['58-46=12'] Exploring Operation: 12*12=144, Resulting Numbers: [99, 144] Generated Node #3: [99, 144] from Operation: 12*12=144 Current State: 45:[99, 144], Operations: ['58-46=12', '12*12=144'] Exploring Operation: 144-99=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[99, 58, 46, 12], Operations: [] Exploring Operation: 99-46=53, Resulting Numbers: [58, 12, 53] Generated Node #0,0: 45:[58, 12, 53] Operation: 99-46=53 Exploring Operation: 99-58=41, Resulting Numbers: [46, 12, 41] Generated Node #0,1: 45:[46, 12, 41] Operation: 99-58=41 Moving to Node #0,1 Current State: 45:[46, 12, 41], Operations: ['99-58=41'] Exploring Operation: 12+41=53, Resulting Numbers: [46, 53] Generated Node #0,1,0: 45:[46, 53] Operation: 12+41=53 Exploring Operation: 46-41=5, Resulting Numbers: [12, 5] Generated Node #0,1,1: 45:[12, 5] Operation: 46-41=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[12, 5], Operations: ['99-58=41', '46-41=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,45 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[46, 53], Operations: ['99-58=41', '12+41=53'] Exploring Operation: 46+53=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,45 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: 45:[58, 12, 53], Operations: ['99-46=53'] Exploring Operation: 58-53=5, Resulting Numbers: [12, 5] Generated Node #0,0,0: 45:[12, 5] Operation: 58-53=5 Exploring Operation: 58-12=46, Resulting Numbers: [53, 46] Generated Node #0,0,1: 45:[53, 46] Operation: 58-12=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[12, 5], Operations: ['99-46=53', '58-53=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[53, 46], Operations: ['99-46=53', '58-12=46'] Exploring Operation: 53+46=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 78, 4, 12, 40 ]
80
[ "78+12=90", "40/4=10", "90-10=80" ]
Current State: 80:[78, 4, 12, 40], Operations: [] Exploring Operation: 78+12=90, Resulting Numbers: [4, 40, 90] Generated Node #2: [4, 40, 90] from Operation: 78+12=90 Current State: 80:[4, 40, 90], Operations: ['78+12=90'] Exploring Operation: 40/4=10, Resulting Numbers: [90, 10] Generated Node #3: [90, 10] from Operation: 40/4=10 Current State: 80:[90, 10], Operations: ['78+12=90', '40/4=10'] Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[78, 4, 12, 40], Operations: [] Exploring Operation: 12-4=8, Resulting Numbers: [78, 40, 8] Generated Node #0,0: 80:[78, 40, 8] Operation: 12-4=8 Exploring Operation: 78+4=82, Resulting Numbers: [12, 40, 82] Generated Node #0,1: 80:[12, 40, 82] Operation: 78+4=82 Exploring Operation: 12/4=3, Resulting Numbers: [78, 40, 3] Generated Node #0,2: 80:[78, 40, 3] Operation: 12/4=3 Exploring Operation: 4+12=16, Resulting Numbers: [78, 40, 16] Generated Node #0,3: 80:[78, 40, 16] Operation: 4+12=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[78, 40, 8], Operations: ['12-4=8'] Exploring Operation: 78-8=70, Resulting Numbers: [40, 70] Generated Node #0,0,0: 80:[40, 70] Operation: 78-8=70 Exploring Operation: 78+8=86, Resulting Numbers: [40, 86] Generated Node #0,0,1: 80:[40, 86] Operation: 78+8=86 Exploring Operation: 40/8=5, Resulting Numbers: [78, 5] Generated Node #0,0,2: 80:[78, 5] Operation: 40/8=5 Exploring Operation: 78-40=38, Resulting Numbers: [8, 38] Generated Node #0,0,3: 80:[8, 38] Operation: 78-40=38 Moving to Node #0,0,2 Current State: 80:[78, 5], Operations: ['12-4=8', '40/8=5'] Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,80 unequal: No Solution Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,80 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[8, 38], Operations: ['12-4=8', '78-40=38'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,80 unequal: No Solution Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[40, 86], Operations: ['12-4=8', '78+8=86'] Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,80 unequal: No Solution Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,80 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[40, 70], Operations: ['12-4=8', '78-8=70'] Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[78, 40, 16], Operations: ['4+12=16'] Exploring Operation: 78+16=94, Resulting Numbers: [40, 94] Generated Node #0,3,0: 80:[40, 94] Operation: 78+16=94 Exploring Operation: 78-16=62, Resulting Numbers: [40, 62] Generated Node #0,3,1: 80:[40, 62] Operation: 78-16=62 Exploring Operation: 40-16=24, Resulting Numbers: [78, 24] Generated Node #0,3,2: 80:[78, 24] Operation: 40-16=24 Exploring Operation: 78-40=38, Resulting Numbers: [16, 38] Generated Node #0,3,3: 80:[16, 38] Operation: 78-40=38 Moving to Node #0,3,3 Current State: 80:[16, 38], Operations: ['4+12=16', '78-40=38'] Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,80 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[78, 24], Operations: ['4+12=16', '40-16=24'] Exploring Operation: 78+24=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 78*24=1872, Resulting Numbers: [1872] 1872,80 unequal: No Solution Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[40, 94], Operations: ['4+12=16', '78+16=94'] Exploring Operation: 40+94=134, Resulting Numbers: [134] 134,80 unequal: No Solution Exploring Operation: 40*94=3760, Resulting Numbers: [3760] 3760,80 unequal: No Solution Exploring Operation: 94-40=54, Resulting Numbers: [54] 54,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[40, 62], Operations: ['4+12=16', '78-16=62'] Exploring Operation: 40+62=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 62-40=22, Resulting Numbers: [22] 22,80 unequal: No Solution Exploring Operation: 40*62=2480, Resulting Numbers: [2480] 2480,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 Current State: 80:[78, 40, 3], Operations: ['12/4=3'] Exploring Operation: 78-3=75, Resulting Numbers: [40, 75] Generated Node #0,2,0: 80:[40, 75] Operation: 78-3=75 Exploring Operation: 40+3=43, Resulting Numbers: [78, 43] Generated Node #0,2,1: 80:[78, 43] Operation: 40+3=43 Exploring Operation: 78+3=81, Resulting Numbers: [40, 81] Generated Node #0,2,2: 80:[40, 81] Operation: 78+3=81 Exploring Operation: 78-40=38, Resulting Numbers: [3, 38] Generated Node #0,2,3: 80:[3, 38] Operation: 78-40=38 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[40, 81], Operations: ['12/4=3', '78+3=81'] Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 40*81=3240, Resulting Numbers: [3240] 3240,80 unequal: No Solution Exploring Operation: 40+81=121, Resulting Numbers: [121] 121,80 unequal: No Solution No 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: 80:[3, 38], Operations: ['12/4=3', '78-40=38'] Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,80 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,80 unequal: No Solution No 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: 80:[40, 75], Operations: ['12/4=3', '78-3=75'] Exploring Operation: 40*75=3000, Resulting Numbers: [3000] 3000,80 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,80 unequal: No Solution No 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: 80:[78, 43], Operations: ['12/4=3', '40+3=43'] Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,80 unequal: No Solution Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,80 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,80 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: 80:[12, 40, 82], Operations: ['78+4=82'] Exploring Operation: 12+40=52, Resulting Numbers: [82, 52] Generated Node #0,1,0: 80:[82, 52] Operation: 12+40=52 Exploring Operation: 82-40=42, Resulting Numbers: [12, 42] Generated Node #0,1,1: 80:[12, 42] Operation: 82-40=42 Exploring Operation: 82-12=70, Resulting Numbers: [40, 70] Generated Node #0,1,2: 80:[40, 70] Operation: 82-12=70 Exploring Operation: 40-12=28, Resulting Numbers: [82, 28] Generated Node #0,1,3: 80:[82, 28] Operation: 40-12=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[12, 42], Operations: ['78+4=82', '82-40=42'] Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,80 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,80 unequal: No Solution No 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: 80:[40, 70], Operations: ['78+4=82', '82-12=70'] Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,80 unequal: No Solution No 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: 80:[82, 28], Operations: ['78+4=82', '40-12=28'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,80 unequal: No Solution No 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: 80:[82, 52], Operations: ['78+4=82', '12+40=52'] Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 82*52=4264, Resulting Numbers: [4264] 4264,80 unequal: No Solution Exploring Operation: 82+52=134, Resulting Numbers: [134] 134,80 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
[ 58, 10, 90, 66 ]
88
[ "58+10=68", "90+66=156", "156-68=88" ]
Current State: 88:[58, 10, 90, 66], Operations: [] Exploring Operation: 58+10=68, Resulting Numbers: [90, 66, 68] Generated Node #2: [90, 66, 68] from Operation: 58+10=68 Current State: 88:[90, 66, 68], Operations: ['58+10=68'] Exploring Operation: 90+66=156, Resulting Numbers: [68, 156] Generated Node #3: [68, 156] from Operation: 90+66=156 Current State: 88:[68, 156], Operations: ['58+10=68', '90+66=156'] Exploring Operation: 156-68=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[58, 10, 90, 66], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [10, 90, 8] Generated Node #0,0: 88:[10, 90, 8] Operation: 66-58=8 Exploring Operation: 90-66=24, Resulting Numbers: [58, 10, 24] Generated Node #0,1: 88:[58, 10, 24] Operation: 90-66=24 Exploring Operation: 58-10=48, Resulting Numbers: [90, 66, 48] Generated Node #0,2: 88:[90, 66, 48] Operation: 58-10=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[10, 90, 8], Operations: ['66-58=8'] Exploring Operation: 90/10=9, Resulting Numbers: [8, 9] Generated Node #0,0,0: 88:[8, 9] Operation: 90/10=9 Exploring Operation: 10+8=18, Resulting Numbers: [90, 18] Generated Node #0,0,1: 88:[90, 18] Operation: 10+8=18 Exploring Operation: 10-8=2, Resulting Numbers: [90, 2] Generated Node #0,0,2: 88:[90, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 88:[8, 9], Operations: ['66-58=8', '90/10=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[90, 2], Operations: ['66-58=8', '10-8=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[58, 10, 90, 66], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [10, 90, 8] Generated Node #0,0: 88:[10, 90, 8] Operation: 66-58=8 Moving to Node #0,0 Current State: 88:[10, 90, 8], Operations: ['66-58=8'] Exploring Operation: 10-8=2, Resulting Numbers: [90, 2] Generated Node #0,0,2: 88:[90, 2] Operation: 10-8=2 Moving to Node #0,0,2 Current State: 88:[90, 2], Operations: ['66-58=8', '10-8=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 2, 60, 7, 26 ]
62
[ "2*60=120", "7*26=182", "182-120=62" ]
Current State: 62:[2, 60, 7, 26], Operations: [] Exploring Operation: 2*60=120, Resulting Numbers: [7, 26, 120] Generated Node #2: [7, 26, 120] from Operation: 2*60=120 Current State: 62:[7, 26, 120], Operations: ['2*60=120'] Exploring Operation: 7*26=182, Resulting Numbers: [120, 182] Generated Node #3: [120, 182] from Operation: 7*26=182 Current State: 62:[120, 182], Operations: ['2*60=120', '7*26=182'] Exploring Operation: 182-120=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[2, 60, 7, 26], Operations: [] Exploring Operation: 7-2=5, Resulting Numbers: [60, 26, 5] Generated Node #0,0: 62:[60, 26, 5] Operation: 7-2=5 Exploring Operation: 7+26=33, Resulting Numbers: [2, 60, 33] Generated Node #0,1: 62:[2, 60, 33] Operation: 7+26=33 Exploring Operation: 2+60=62, Resulting Numbers: [7, 26, 62] Generated Node #0,2: 62:[7, 26, 62] Operation: 2+60=62 Exploring Operation: 60-26=34, Resulting Numbers: [2, 7, 34] Generated Node #0,3: 62:[2, 7, 34] Operation: 60-26=34 Moving to Node #0,1 Current State: 62:[2, 60, 33], Operations: ['7+26=33'] Exploring Operation: 60/2=30, Resulting Numbers: [33, 30] Generated Node #0,1,0: 62:[33, 30] Operation: 60/2=30 Exploring Operation: 60-33=27, Resulting Numbers: [2, 27] Generated Node #0,1,1: 62:[2, 27] Operation: 60-33=27 Exploring Operation: 2+60=62, Resulting Numbers: [33, 62] Generated Node #0,1,2: 62:[33, 62] Operation: 2+60=62 Exploring Operation: 33-2=31, Resulting Numbers: [60, 31] Generated Node #0,1,3: 62:[60, 31] Operation: 33-2=31 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[33, 62], Operations: ['7+26=33', '2+60=62'] Exploring Operation: 33*62=2046, Resulting Numbers: [2046] 2046,62 unequal: No Solution Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 33+62=95, Resulting Numbers: [95] 95,62 unequal: No Solution No 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: 62:[60, 31], Operations: ['7+26=33', '33-2=31'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 60*31=1860, Resulting Numbers: [1860] 1860,62 unequal: No Solution Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,62 unequal: No Solution No 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: 62:[33, 30], Operations: ['7+26=33', '60/2=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,62 unequal: No Solution No 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: 62:[2, 27], Operations: ['7+26=33', '60-33=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 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: 62:[2, 7, 34], Operations: ['60-26=34'] Exploring Operation: 34-7=27, Resulting Numbers: [2, 27] Generated Node #0,3,0: 62:[2, 27] Operation: 34-7=27 Exploring Operation: 2+7=9, Resulting Numbers: [34, 9] Generated Node #0,3,1: 62:[34, 9] Operation: 2+7=9 Exploring Operation: 34-2=32, Resulting Numbers: [7, 32] Generated Node #0,3,2: 62:[7, 32] Operation: 34-2=32 Exploring Operation: 7-2=5, Resulting Numbers: [34, 5] Generated Node #0,3,3: 62:[34, 5] Operation: 7-2=5 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 62:[2, 27], Operations: ['60-26=34', '34-7=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 unequal: No Solution No 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: 62:[7, 32], Operations: ['60-26=34', '34-2=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,62 unequal: No Solution No 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: 62:[34, 5], Operations: ['60-26=34', '7-2=5'] Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,62 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,62 unequal: No Solution No 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: 62:[34, 9], Operations: ['60-26=34', '2+7=9'] Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,62 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,62 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: 62:[7, 26, 62], Operations: ['2+60=62'] Exploring Operation: 26-7=19, Resulting Numbers: [62, 19] Generated Node #0,2,0: 62:[62, 19] Operation: 26-7=19 Exploring Operation: 7+62=69, Resulting Numbers: [26, 69] Generated Node #0,2,1: 62:[26, 69] Operation: 7+62=69 Exploring Operation: 7+26=33, Resulting Numbers: [62, 33] Generated Node #0,2,2: 62:[62, 33] Operation: 7+26=33 Exploring Operation: 62-26=36, Resulting Numbers: [7, 36] Generated Node #0,2,3: 62:[7, 36] Operation: 62-26=36 Moving to Node #0,0 Current State: 62:[60, 26, 5], Operations: ['7-2=5'] Exploring Operation: 60-26=34, Resulting Numbers: [5, 34] Generated Node #0,0,0: 62:[5, 34] Operation: 60-26=34 Exploring Operation: 26+5=31, Resulting Numbers: [60, 31] Generated Node #0,0,1: 62:[60, 31] Operation: 26+5=31 Exploring Operation: 60+5=65, Resulting Numbers: [26, 65] Generated Node #0,0,2: 62:[26, 65] Operation: 60+5=65 Exploring Operation: 60-5=55, Resulting Numbers: [26, 55] Generated Node #0,0,3: 62:[26, 55] Operation: 60-5=55 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[60, 31], Operations: ['7-2=5', '26+5=31'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 60*31=1860, Resulting Numbers: [1860] 1860,62 unequal: No Solution Exploring Operation: 60+31=91, Resulting Numbers: [91] 91,62 unequal: No Solution No 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: 62:[5, 34], Operations: ['7-2=5', '60-26=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,62 unequal: No Solution No 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: 62:[26, 65], Operations: ['7-2=5', '60+5=65'] Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,62 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 26*65=1690, Resulting Numbers: [1690] 1690,62 unequal: No Solution No 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: 62:[26, 55], Operations: ['7-2=5', '60-5=55'] Exploring Operation: 26*55=1430, Resulting Numbers: [1430] 1430,62 unequal: No Solution Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 26+55=81, Resulting Numbers: [81] 81,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 62:[62, 33], Operations: ['2+60=62', '7+26=33'] Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 62*33=2046, Resulting Numbers: [2046] 2046,62 unequal: No Solution Exploring Operation: 62+33=95, Resulting Numbers: [95] 95,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[7, 36], Operations: ['2+60=62', '62-26=36'] Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,62 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[26, 69], Operations: ['2+60=62', '7+62=69'] Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,62 unequal: No Solution Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[62, 19], Operations: ['2+60=62', '26-7=19'] Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,62 unequal: No Solution Exploring Operation: 62*19=1178, Resulting Numbers: [1178] 1178,62 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,62 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 58, 22, 10, 52 ]
11
[ "58+52=110", "110/10=11", "22-11=11" ]
Current State: 11:[58, 22, 10, 52], Operations: [] Exploring Operation: 58+52=110, Resulting Numbers: [22, 10, 110] Generated Node #2: [22, 10, 110] from Operation: 58+52=110 Current State: 11:[22, 10, 110], Operations: ['58+52=110'] Exploring Operation: 110/10=11, Resulting Numbers: [22, 11] Generated Node #3: [22, 11] from Operation: 110/10=11 Current State: 11:[22, 11], Operations: ['58+52=110', '110/10=11'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[58, 22, 10, 52], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [22, 10, 6] Generated Node #0,0: 11:[22, 10, 6] Operation: 58-52=6 Exploring Operation: 58-10=48, Resulting Numbers: [22, 52, 48] Generated Node #0,1: 11:[22, 52, 48] Operation: 58-10=48 Exploring Operation: 58-22=36, Resulting Numbers: [10, 52, 36] Generated Node #0,2: 11:[10, 52, 36] Operation: 58-22=36 Exploring Operation: 52-22=30, Resulting Numbers: [58, 10, 30] Generated Node #0,3: 11:[58, 10, 30] Operation: 52-22=30 Exploring Operation: 22-10=12, Resulting Numbers: [58, 52, 12] Generated Node #0,4: 11:[58, 52, 12] Operation: 22-10=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[22, 10, 6], Operations: ['58-52=6'] Exploring Operation: 22+6=28, Resulting Numbers: [10, 28] Generated Node #0,0,0: 11:[10, 28] Operation: 22+6=28 Exploring Operation: 10+6=16, Resulting Numbers: [22, 16] Generated Node #0,0,1: 11:[22, 16] Operation: 10+6=16 Exploring Operation: 10-6=4, Resulting Numbers: [22, 4] Generated Node #0,0,2: 11:[22, 4] Operation: 10-6=4 Exploring Operation: 22-6=16, Resulting Numbers: [10, 16] Generated Node #0,0,3: 11:[10, 16] Operation: 22-6=16 Exploring Operation: 22-10=12, Resulting Numbers: [6, 12] Generated Node #0,0,4: 11:[6, 12] Operation: 22-10=12 Moving to Node #0,0,3 Current State: 11:[10, 16], Operations: ['58-52=6', '22-6=16'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,11 unequal: No Solution Moving to Node #0,0,4 Current State: 11:[6, 12], Operations: ['58-52=6', '22-10=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[22, 16], Operations: ['58-52=6', '10+6=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,11 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[10, 28], Operations: ['58-52=6', '22+6=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,11 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[22, 4], Operations: ['58-52=6', '10-6=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,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:[10, 52, 36], Operations: ['58-22=36'] Exploring Operation: 10+36=46, Resulting Numbers: [52, 46] Generated Node #0,2,0: 11:[52, 46] Operation: 10+36=46 Exploring Operation: 10+52=62, Resulting Numbers: [36, 62] Generated Node #0,2,1: 11:[36, 62] Operation: 10+52=62 Exploring Operation: 52-10=42, Resulting Numbers: [36, 42] Generated Node #0,2,2: 11:[36, 42] Operation: 52-10=42 Exploring Operation: 36-10=26, Resulting Numbers: [52, 26] Generated Node #0,2,3: 11:[52, 26] Operation: 36-10=26 Exploring Operation: 52-36=16, Resulting Numbers: [10, 16] Generated Node #0,2,4: 11:[10, 16] Operation: 52-36=16 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 11:[10, 16], Operations: ['58-22=36', '52-36=16'] Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,11 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 11:[36, 42], Operations: ['58-22=36', '52-10=42'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,11 unequal: No Solution Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 11:[52, 26], Operations: ['58-22=36', '36-10=26'] Exploring Operation: 52+26=78, Resulting Numbers: [78] 78,11 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 52*26=1352, Resulting Numbers: [1352] 1352,11 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[52, 46], Operations: ['58-22=36', '10+36=46'] Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 11:[36, 62], Operations: ['58-22=36', '10+52=62'] Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,11 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[58, 10, 30], Operations: ['52-22=30'] Exploring Operation: 30/10=3, Resulting Numbers: [58, 3] Generated Node #0,3,0: 11:[58, 3] Operation: 30/10=3 Exploring Operation: 58+10=68, Resulting Numbers: [30, 68] Generated Node #0,3,1: 11:[30, 68] Operation: 58+10=68 Exploring Operation: 30-10=20, Resulting Numbers: [58, 20] Generated Node #0,3,2: 11:[58, 20] Operation: 30-10=20 Exploring Operation: 58-10=48, Resulting Numbers: [30, 48] Generated Node #0,3,3: 11:[30, 48] Operation: 58-10=48 Exploring Operation: 58-30=28, Resulting Numbers: [10, 28] Generated Node #0,3,4: 11:[10, 28] Operation: 58-30=28 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 11:[10, 28], Operations: ['52-22=30', '58-30=28'] Exploring Operation: 10*28=280, Resulting Numbers: [280] 280,11 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,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,3,0 Current State: 11:[58, 3], Operations: ['52-22=30', '30/10=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,11 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,11 unequal: No Solution Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,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,3,2 Current State: 11:[58, 20], Operations: ['52-22=30', '30-10=20'] Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,11 unequal: No Solution Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,11 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,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,3,3 Current State: 11:[30, 48], Operations: ['52-22=30', '58-10=48'] Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,11 unequal: No Solution Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,11 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,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,3,1 Current State: 11:[30, 68], Operations: ['52-22=30', '58+10=68'] Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 30*68=2040, Resulting Numbers: [2040] 2040,11 unequal: No Solution Exploring Operation: 30+68=98, Resulting Numbers: [98] 98,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[22, 52, 48], Operations: ['58-10=48'] Exploring Operation: 52-48=4, Resulting Numbers: [22, 4] Generated Node #0,1,0: 11:[22, 4] Operation: 52-48=4 Exploring Operation: 52-22=30, Resulting Numbers: [48, 30] Generated Node #0,1,1: 11:[48, 30] Operation: 52-22=30 Exploring Operation: 48-22=26, Resulting Numbers: [52, 26] Generated Node #0,1,2: 11:[52, 26] Operation: 48-22=26 Exploring Operation: 22+52=74, Resulting Numbers: [48, 74] Generated Node #0,1,3: 11:[48, 74] Operation: 22+52=74 Exploring Operation: 22+48=70, Resulting Numbers: [52, 70] Generated Node #0,1,4: 11:[52, 70] Operation: 22+48=70 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[22, 4], Operations: ['58-10=48', '52-48=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[48, 30], Operations: ['58-10=48', '52-22=30'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,11 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,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:[52, 26], Operations: ['58-10=48', '48-22=26'] Exploring Operation: 52*26=1352, Resulting Numbers: [1352] 1352,11 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 52+26=78, Resulting Numbers: [78] 78,11 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 11:[48, 74], Operations: ['58-10=48', '22+52=74'] Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 48+74=122, Resulting Numbers: [122] 122,11 unequal: No Solution Exploring Operation: 48*74=3552, Resulting Numbers: [3552] 3552,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 11:[52, 70], Operations: ['58-10=48', '22+48=70'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,11 unequal: No Solution Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 11:[58, 52, 12], Operations: ['22-10=12'] Exploring Operation: 58-52=6, Resulting Numbers: [12, 6] Generated Node #0,4,0: 11:[12, 6] Operation: 58-52=6 Exploring Operation: 52-12=40, Resulting Numbers: [58, 40] Generated Node #0,4,1: 11:[58, 40] Operation: 52-12=40 Exploring Operation: 58+12=70, Resulting Numbers: [52, 70] Generated Node #0,4,2: 11:[52, 70] Operation: 58+12=70 Exploring Operation: 58-12=46, Resulting Numbers: [52, 46] Generated Node #0,4,3: 11:[52, 46] Operation: 58-12=46 Exploring Operation: 58+52=110, Resulting Numbers: [12, 110] Generated Node #0,4,4: 11:[12, 110] Operation: 58+52=110 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 11:[12, 6], Operations: ['22-10=12', '58-52=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 11:[58, 40], Operations: ['22-10=12', '52-12=40'] Exploring Operation: 58*40=2320, Resulting Numbers: [2320] 2320,11 unequal: No Solution Exploring Operation: 58+40=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 11:[52, 46], Operations: ['22-10=12', '58-12=46'] Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,11 unequal: No Solution Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 11:[52, 70], Operations: ['22-10=12', '58+12=70'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,11 unequal: No Solution Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 11:[12, 110], Operations: ['22-10=12', '58+52=110'] Exploring Operation: 110-12=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 12*110=1320, Resulting Numbers: [1320] 1320,11 unequal: No Solution Exploring Operation: 12+110=122, Resulting Numbers: [122] 122,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 18, 44, 22, 63 ]
90
[ "63-18=45", "44/22=2", "45*2=90" ]
Current State: 90:[18, 44, 22, 63], Operations: [] Exploring Operation: 63-18=45, Resulting Numbers: [44, 22, 45] Generated Node #2: [44, 22, 45] from Operation: 63-18=45 Current State: 90:[44, 22, 45], Operations: ['63-18=45'] Exploring Operation: 44/22=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 44/22=2 Current State: 90:[45, 2], Operations: ['63-18=45', '44/22=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[18, 44, 22, 63], Operations: [] Exploring Operation: 22+63=85, Resulting Numbers: [18, 44, 85] Generated Node #0,0: 90:[18, 44, 85] Operation: 22+63=85 Exploring Operation: 63-22=41, Resulting Numbers: [18, 44, 41] Generated Node #0,1: 90:[18, 44, 41] Operation: 63-22=41 Exploring Operation: 63-44=19, Resulting Numbers: [18, 22, 19] Generated Node #0,2: 90:[18, 22, 19] Operation: 63-44=19 Exploring Operation: 63-18=45, Resulting Numbers: [44, 22, 45] Generated Node #0,3: 90:[44, 22, 45] Operation: 63-18=45 Moving to Node #0,1 Current State: 90:[18, 44, 41], Operations: ['63-22=41'] Exploring Operation: 44-18=26, Resulting Numbers: [41, 26] Generated Node #0,1,0: 90:[41, 26] Operation: 44-18=26 Exploring Operation: 44-41=3, Resulting Numbers: [18, 3] Generated Node #0,1,1: 90:[18, 3] Operation: 44-41=3 Exploring Operation: 44+41=85, Resulting Numbers: [18, 85] Generated Node #0,1,2: 90:[18, 85] Operation: 44+41=85 Exploring Operation: 41-18=23, Resulting Numbers: [44, 23] Generated Node #0,1,3: 90:[44, 23] Operation: 41-18=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[18, 3], Operations: ['63-22=41', '44-41=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[18, 85], Operations: ['63-22=41', '44+41=85'] Exploring Operation: 18+85=103, Resulting Numbers: [103] 103,90 unequal: No Solution Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,90 unequal: No Solution Exploring Operation: 18*85=1530, Resulting Numbers: [1530] 1530,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[44, 23], Operations: ['63-22=41', '41-18=23'] Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,90 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,90 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[41, 26], Operations: ['63-22=41', '44-18=26'] Exploring Operation: 41*26=1066, Resulting Numbers: [1066] 1066,90 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,90 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: 90:[44, 22, 45], Operations: ['63-18=45'] Exploring Operation: 44-22=22, Resulting Numbers: [45, 22] Generated Node #0,3,0: 90:[45, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [45, 2] Generated Node #0,3,1: 90:[45, 2] Operation: 44/22=2 Exploring Operation: 45-44=1, Resulting Numbers: [22, 1] Generated Node #0,3,2: 90:[22, 1] Operation: 45-44=1 Exploring Operation: 44+45=89, Resulting Numbers: [22, 89] Generated Node #0,3,3: 90:[22, 89] Operation: 44+45=89 Moving to Node #0,2 Current State: 90:[18, 22, 19], Operations: ['63-44=19'] Exploring Operation: 22+19=41, Resulting Numbers: [18, 41] Generated Node #0,2,0: 90:[18, 41] Operation: 22+19=41 Exploring Operation: 22-19=3, Resulting Numbers: [18, 3] Generated Node #0,2,1: 90:[18, 3] Operation: 22-19=3 Exploring Operation: 22-18=4, Resulting Numbers: [19, 4] Generated Node #0,2,2: 90:[19, 4] Operation: 22-18=4 Exploring Operation: 19-18=1, Resulting Numbers: [22, 1] Generated Node #0,2,3: 90:[22, 1] Operation: 19-18=1 Moving to Node #0,0 Current State: 90:[18, 44, 85], Operations: ['22+63=85'] Exploring Operation: 44-18=26, Resulting Numbers: [85, 26] Generated Node #0,0,0: 90:[85, 26] Operation: 44-18=26 Exploring Operation: 18+44=62, Resulting Numbers: [85, 62] Generated Node #0,0,1: 90:[85, 62] Operation: 18+44=62 Exploring Operation: 18+85=103, Resulting Numbers: [44, 103] Generated Node #0,0,2: 90:[44, 103] Operation: 18+85=103 Exploring Operation: 85-44=41, Resulting Numbers: [18, 41] Generated Node #0,0,3: 90:[18, 41] Operation: 85-44=41 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[18, 41], Operations: ['22+63=85', '85-44=41'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 18*41=738, Resulting Numbers: [738] 738,90 unequal: No Solution Exploring Operation: 18+41=59, Resulting Numbers: [59] 59,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[85, 26], Operations: ['22+63=85', '44-18=26'] Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,90 unequal: No Solution Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,90 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[44, 103], Operations: ['22+63=85', '18+85=103'] Exploring Operation: 44+103=147, Resulting Numbers: [147] 147,90 unequal: No Solution Exploring Operation: 44*103=4532, Resulting Numbers: [4532] 4532,90 unequal: No Solution Exploring Operation: 103-44=59, Resulting Numbers: [59] 59,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[85, 62], Operations: ['22+63=85', '18+44=62'] Exploring Operation: 85+62=147, Resulting Numbers: [147] 147,90 unequal: No Solution Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 85*62=5270, Resulting Numbers: [5270] 5270,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 90:[45, 2], Operations: ['63-18=45', '44/22=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,90 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[18, 44, 22, 63], Operations: [] Exploring Operation: 63-18=45, Resulting Numbers: [44, 22, 45] Generated Node #0,3: 90:[44, 22, 45] Operation: 63-18=45 Moving to Node #0,3 Current State: 90:[44, 22, 45], Operations: ['63-18=45'] Exploring Operation: 44/22=2, Resulting Numbers: [45, 2] Generated Node #0,3,1: 90:[45, 2] Operation: 44/22=2 Moving to Node #0,3,1 Current State: 90:[45, 2], Operations: ['63-18=45', '44/22=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 21, 65, 28, 84 ]
56
[ "21+65=86", "86-84=2", "28*2=56" ]
Current State: 56:[21, 65, 28, 84], Operations: [] Exploring Operation: 21+65=86, Resulting Numbers: [28, 84, 86] Generated Node #2: [28, 84, 86] from Operation: 21+65=86 Current State: 56:[28, 84, 86], Operations: ['21+65=86'] Exploring Operation: 86-84=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 86-84=2 Current State: 56:[28, 2], Operations: ['21+65=86', '86-84=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[21, 65, 28, 84], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [65, 28, 4] Generated Node #0,0: 56:[65, 28, 4] Operation: 84/21=4 Exploring Operation: 84-65=19, Resulting Numbers: [21, 28, 19] Generated Node #0,1: 56:[21, 28, 19] Operation: 84-65=19 Exploring Operation: 84-21=63, Resulting Numbers: [65, 28, 63] Generated Node #0,2: 56:[65, 28, 63] Operation: 84-21=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[65, 28, 4], Operations: ['84/21=4'] Exploring Operation: 28/4=7, Resulting Numbers: [65, 7] Generated Node #0,0,0: 56:[65, 7] Operation: 28/4=7 Exploring Operation: 65-28=37, Resulting Numbers: [4, 37] Generated Node #0,0,1: 56:[4, 37] Operation: 65-28=37 Exploring Operation: 65-4=61, Resulting Numbers: [28, 61] Generated Node #0,0,2: 56:[28, 61] Operation: 65-4=61 Moving to Node #0,0,2 Current State: 56:[28, 61], Operations: ['84/21=4', '65-4=61'] Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 28*61=1708, Resulting Numbers: [1708] 1708,56 unequal: No Solution Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[65, 7], Operations: ['84/21=4', '28/4=7'] Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,56 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[4, 37], Operations: ['84/21=4', '65-28=37'] Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,56 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[21, 28, 19], Operations: ['84-65=19'] Exploring Operation: 21-19=2, Resulting Numbers: [28, 2] Generated Node #0,1,0: 56:[28, 2] Operation: 21-19=2 Exploring Operation: 28-19=9, Resulting Numbers: [21, 9] Generated Node #0,1,1: 56:[21, 9] Operation: 28-19=9 Exploring Operation: 28-21=7, Resulting Numbers: [19, 7] Generated Node #0,1,2: 56:[19, 7] Operation: 28-21=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[28, 2], Operations: ['84-65=19', '21-19=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[21, 65, 28, 84], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [21, 28, 19] Generated Node #0,1: 56:[21, 28, 19] Operation: 84-65=19 Moving to Node #0,1 Current State: 56:[21, 28, 19], Operations: ['84-65=19'] Exploring Operation: 21-19=2, Resulting Numbers: [28, 2] Generated Node #0,1,0: 56:[28, 2] Operation: 21-19=2 Moving to Node #0,1,0 Current State: 56:[28, 2], Operations: ['84-65=19', '21-19=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 24, 2, 76, 19 ]
62
[ "24+76=100", "2*19=38", "100-38=62" ]
Current State: 62:[24, 2, 76, 19], Operations: [] Exploring Operation: 24+76=100, Resulting Numbers: [2, 19, 100] Generated Node #2: [2, 19, 100] from Operation: 24+76=100 Current State: 62:[2, 19, 100], Operations: ['24+76=100'] Exploring Operation: 2*19=38, Resulting Numbers: [100, 38] Generated Node #3: [100, 38] from Operation: 2*19=38 Current State: 62:[100, 38], Operations: ['24+76=100', '2*19=38'] Exploring Operation: 100-38=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[24, 2, 76, 19], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [24, 2, 4] Generated Node #0,0: 62:[24, 2, 4] Operation: 76/19=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[24, 2, 4], Operations: ['76/19=4'] Exploring Operation: 24+4=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 62:[2, 28] Operation: 24+4=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[2, 28], Operations: ['76/19=4', '24+4=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,62 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
[ 17, 99, 45, 58 ]
13
[ "17+99=116", "45+58=103", "116-103=13" ]
Current State: 13:[17, 99, 45, 58], Operations: [] Exploring Operation: 17+99=116, Resulting Numbers: [45, 58, 116] Generated Node #2: [45, 58, 116] from Operation: 17+99=116 Current State: 13:[45, 58, 116], Operations: ['17+99=116'] Exploring Operation: 45+58=103, Resulting Numbers: [116, 103] Generated Node #3: [116, 103] from Operation: 45+58=103 Current State: 13:[116, 103], Operations: ['17+99=116', '45+58=103'] Exploring Operation: 116-103=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[17, 99, 45, 58], Operations: [] Exploring Operation: 58-45=13, Resulting Numbers: [17, 99, 13] Generated Node #0,0: 13:[17, 99, 13] Operation: 58-45=13 Exploring Operation: 99-17=82, Resulting Numbers: [45, 58, 82] Generated Node #0,1: 13:[45, 58, 82] Operation: 99-17=82 Exploring Operation: 99-45=54, Resulting Numbers: [17, 58, 54] Generated Node #0,2: 13:[17, 58, 54] Operation: 99-45=54 Exploring Operation: 99-58=41, Resulting Numbers: [17, 45, 41] Generated Node #0,3: 13:[17, 45, 41] Operation: 99-58=41 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[17, 45, 41], Operations: ['99-58=41'] Exploring Operation: 41-17=24, Resulting Numbers: [45, 24] Generated Node #0,3,0: 13:[45, 24] Operation: 41-17=24 Exploring Operation: 45-41=4, Resulting Numbers: [17, 4] Generated Node #0,3,1: 13:[17, 4] Operation: 45-41=4 Exploring Operation: 17+45=62, Resulting Numbers: [41, 62] Generated Node #0,3,2: 13:[41, 62] Operation: 17+45=62 Exploring Operation: 45-17=28, Resulting Numbers: [41, 28] Generated Node #0,3,3: 13:[41, 28] Operation: 45-17=28 Moving to Node #0,3,1 Current State: 13:[17, 4], Operations: ['99-58=41', '45-41=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,13 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[17, 99, 45, 58], Operations: [] Exploring Operation: 99-58=41, Resulting Numbers: [17, 45, 41] Generated Node #0,3: 13:[17, 45, 41] Operation: 99-58=41 Moving to Node #0,3 Current State: 13:[17, 45, 41], Operations: ['99-58=41'] Exploring Operation: 45-41=4, Resulting Numbers: [17, 4] Generated Node #0,3,1: 13:[17, 4] Operation: 45-41=4 Moving to Node #0,3,1 Current State: 13:[17, 4], Operations: ['99-58=41', '45-41=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 66, 24, 18, 27 ]
60
[ "66+24=90", "18*90=1620", "1620/27=60" ]
Current State: 60:[66, 24, 18, 27], Operations: [] Exploring Operation: 66+24=90, Resulting Numbers: [18, 27, 90] Generated Node #2: [18, 27, 90] from Operation: 66+24=90 Current State: 60:[18, 27, 90], Operations: ['66+24=90'] Exploring Operation: 18*90=1620, Resulting Numbers: [27, 1620] Generated Node #3: [27, 1620] from Operation: 18*90=1620 Current State: 60:[27, 1620], Operations: ['66+24=90', '18*90=1620'] Exploring Operation: 1620/27=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[66, 24, 18, 27], Operations: [] Exploring Operation: 27-24=3, Resulting Numbers: [66, 18, 3] Generated Node #0,0: 60:[66, 18, 3] Operation: 27-24=3 Exploring Operation: 24-18=6, Resulting Numbers: [66, 27, 6] Generated Node #0,1: 60:[66, 27, 6] Operation: 24-18=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[66, 18, 3], Operations: ['27-24=3'] Exploring Operation: 66/3=22, Resulting Numbers: [18, 22] Generated Node #0,0,0: 60:[18, 22] Operation: 66/3=22 Exploring Operation: 66-3=63, Resulting Numbers: [18, 63] Generated Node #0,0,1: 60:[18, 63] Operation: 66-3=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[18, 22], Operations: ['27-24=3', '66/3=22'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,60 unequal: No Solution No 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: 60:[18, 63], Operations: ['27-24=3', '66-3=63'] Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,60 unequal: No Solution Exploring Operation: 18+63=81, Resulting Numbers: [81] 81,60 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: 60:[66, 27, 6], Operations: ['24-18=6'] Exploring Operation: 66/6=11, Resulting Numbers: [27, 11] Generated Node #0,1,0: 60:[27, 11] Operation: 66/6=11 Exploring Operation: 66-6=60, Resulting Numbers: [27, 60] Generated Node #0,1,1: 60:[27, 60] Operation: 66-6=60 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[27, 60], Operations: ['24-18=6', '66-6=60'] Exploring Operation: 27+60=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,60 unequal: No Solution No 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: 60:[27, 11], Operations: ['24-18=6', '66/6=11'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,60 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
[ 58, 9, 76, 94 ]
56
[ "94-76=18", "18/9=2", "58-2=56" ]
Current State: 56:[58, 9, 76, 94], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [58, 9, 18] Generated Node #2: [58, 9, 18] from Operation: 94-76=18 Current State: 56:[58, 9, 18], Operations: ['94-76=18'] Exploring Operation: 18/9=2, Resulting Numbers: [58, 2] Generated Node #3: [58, 2] from Operation: 18/9=2 Current State: 56:[58, 2], Operations: ['94-76=18', '18/9=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[58, 9, 76, 94], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [58, 9, 18] Generated Node #0,0: 56:[58, 9, 18] Operation: 94-76=18 Exploring Operation: 76-9=67, Resulting Numbers: [58, 94, 67] Generated Node #0,1: 56:[58, 94, 67] Operation: 76-9=67 Exploring Operation: 94-58=36, Resulting Numbers: [9, 76, 36] Generated Node #0,2: 56:[9, 76, 36] Operation: 94-58=36 Exploring Operation: 76-58=18, Resulting Numbers: [9, 94, 18] Generated Node #0,3: 56:[9, 94, 18] Operation: 76-58=18 Exploring Operation: 94-9=85, Resulting Numbers: [58, 76, 85] Generated Node #0,4: 56:[58, 76, 85] Operation: 94-9=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[58, 9, 18], Operations: ['94-76=18'] Exploring Operation: 18/9=2, Resulting Numbers: [58, 2] Generated Node #0,0,0: 56:[58, 2] Operation: 18/9=2 Exploring Operation: 58-18=40, Resulting Numbers: [9, 40] Generated Node #0,0,1: 56:[9, 40] Operation: 58-18=40 Exploring Operation: 9+18=27, Resulting Numbers: [58, 27] Generated Node #0,0,2: 56:[58, 27] Operation: 9+18=27 Exploring Operation: 18-9=9, Resulting Numbers: [58, 9] Generated Node #0,0,3: 56:[58, 9] Operation: 18-9=9 Exploring Operation: 58-9=49, Resulting Numbers: [18, 49] Generated Node #0,0,4: 56:[18, 49] Operation: 58-9=49 Moving to Node #0,0,0 Current State: 56:[58, 2], Operations: ['94-76=18', '18/9=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[58, 9, 76, 94], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [58, 9, 18] Generated Node #0,0: 56:[58, 9, 18] Operation: 94-76=18 Moving to Node #0,0 Current State: 56:[58, 9, 18], Operations: ['94-76=18'] Exploring Operation: 18/9=2, Resulting Numbers: [58, 2] Generated Node #0,0,0: 56:[58, 2] Operation: 18/9=2 Moving to Node #0,0,0 Current State: 56:[58, 2], Operations: ['94-76=18', '18/9=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 55, 4, 89, 63 ]
87
[ "63-55=8", "8/4=2", "89-2=87" ]
Current State: 87:[55, 4, 89, 63], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [4, 89, 8] Generated Node #2: [4, 89, 8] from Operation: 63-55=8 Current State: 87:[4, 89, 8], Operations: ['63-55=8'] Exploring Operation: 8/4=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 8/4=2 Current State: 87:[89, 2], Operations: ['63-55=8', '8/4=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[55, 4, 89, 63], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [4, 89, 8] Generated Node #0,0: 87:[4, 89, 8] Operation: 63-55=8 Exploring Operation: 89-55=34, Resulting Numbers: [4, 63, 34] Generated Node #0,1: 87:[4, 63, 34] Operation: 89-55=34 Moving to Node #0,0 Current State: 87:[4, 89, 8], Operations: ['63-55=8'] Exploring Operation: 8/4=2, Resulting Numbers: [89, 2] Generated Node #0,0,0: 87:[89, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [89, 4] Generated Node #0,0,1: 87:[89, 4] Operation: 8-4=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[89, 2], Operations: ['63-55=8', '8/4=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[55, 4, 89, 63], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [4, 89, 8] Generated Node #0,0: 87:[4, 89, 8] Operation: 63-55=8 Moving to Node #0,0 Current State: 87:[4, 89, 8], Operations: ['63-55=8'] Exploring Operation: 8/4=2, Resulting Numbers: [89, 2] Generated Node #0,0,0: 87:[89, 2] Operation: 8/4=2 Moving to Node #0,0,0 Current State: 87:[89, 2], Operations: ['63-55=8', '8/4=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 53, 24, 54, 40 ]
15
[ "53-24=29", "54-40=14", "29-14=15" ]
Current State: 15:[53, 24, 54, 40], Operations: [] Exploring Operation: 53-24=29, Resulting Numbers: [54, 40, 29] Generated Node #2: [54, 40, 29] from Operation: 53-24=29 Current State: 15:[54, 40, 29], Operations: ['53-24=29'] Exploring Operation: 54-40=14, Resulting Numbers: [29, 14] Generated Node #3: [29, 14] from Operation: 54-40=14 Current State: 15:[29, 14], Operations: ['53-24=29', '54-40=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[53, 24, 54, 40], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [24, 40, 1] Generated Node #0,0: 15:[24, 40, 1] Operation: 54-53=1 Moving to Node #0,0 Current State: 15:[24, 40, 1], Operations: ['54-53=1'] Exploring Operation: 40-24=16, Resulting Numbers: [1, 16] Generated Node #0,0,0: 15:[1, 16] Operation: 40-24=16 Moving to Node #0,0,0 Current State: 15:[1, 16], Operations: ['54-53=1', '40-24=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[53, 24, 54, 40], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [24, 40, 1] Generated Node #0,0: 15:[24, 40, 1] Operation: 54-53=1 Moving to Node #0,0 Current State: 15:[24, 40, 1], Operations: ['54-53=1'] Exploring Operation: 40-24=16, Resulting Numbers: [1, 16] Generated Node #0,0,0: 15:[1, 16] Operation: 40-24=16 Moving to Node #0,0,0 Current State: 15:[1, 16], Operations: ['54-53=1', '40-24=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 54, 30, 20, 21 ]
40
[ "20*21=420", "420/30=14", "54-14=40" ]
Current State: 40:[54, 30, 20, 21], Operations: [] Exploring Operation: 20*21=420, Resulting Numbers: [54, 30, 420] Generated Node #2: [54, 30, 420] from Operation: 20*21=420 Current State: 40:[54, 30, 420], Operations: ['20*21=420'] Exploring Operation: 420/30=14, Resulting Numbers: [54, 14] Generated Node #3: [54, 14] from Operation: 420/30=14 Current State: 40:[54, 14], Operations: ['20*21=420', '420/30=14'] Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[54, 30, 20, 21], Operations: [] Exploring Operation: 54-30=24, Resulting Numbers: [20, 21, 24] Generated Node #0,0: 40:[20, 21, 24] Operation: 54-30=24 Moving to Node #0,0 Current State: 40:[20, 21, 24], Operations: ['54-30=24'] Exploring Operation: 24-20=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 40:[21, 4] Operation: 24-20=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[21, 4], Operations: ['54-30=24', '24-20=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,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
[ 65, 60, 65, 55 ]
15
[ "65-60=5", "65-55=10", "5+10=15" ]
Current State: 15:[65, 60, 65, 55], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [55, 5] Generated Node #2: [55, 5] from Operation: 65-60=5 Current State: 15:[55, 5], Operations: ['65-60=5'] Exploring Operation: 65-55=10, Resulting Numbers: [5, 10] Generated Node #3: [5, 10] from Operation: 65-55=10 Current State: 15:[5, 10], Operations: ['65-60=5', '65-55=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[65, 60, 65, 55], Operations: [] Exploring Operation: 65-65=0, Resulting Numbers: [60, 55, 0] Generated Node #0,0: 15:[60, 55, 0] Operation: 65-65=0 Exploring Operation: 65/65=1, Resulting Numbers: [60, 55, 1] Generated Node #0,1: 15:[60, 55, 1] Operation: 65/65=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[60, 55, 1], Operations: ['65/65=1'] Exploring Operation: 60-55=5, Resulting Numbers: [1, 5] Generated Node #0,1,0: 15:[1, 5] Operation: 60-55=5 Exploring Operation: 60-1=59, Resulting Numbers: [55, 59] Generated Node #0,1,1: 15:[55, 59] Operation: 60-1=59 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[1, 5], Operations: ['65/65=1', '60-55=5'] Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,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,1 Current State: 15:[55, 59], Operations: ['65/65=1', '60-1=59'] Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 55+59=114, Resulting Numbers: [114] 114,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:[60, 55, 0], Operations: ['65-65=0'] Exploring Operation: 60*0=0, Resulting Numbers: [55, 0] Generated Node #0,0,0: 15:[55, 0] Operation: 60*0=0 Exploring Operation: 60-55=5, Resulting Numbers: [0, 5] Generated Node #0,0,1: 15:[0, 5] Operation: 60-55=5 Moving to Node #0,0,1 Current State: 15:[0, 5], Operations: ['65-65=0', '60-55=5'] Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 0+5=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[55, 0], Operations: ['65-65=0', '60*0=0'] Exploring Operation: 55+0=55, Resulting Numbers: [55] 55,15 unequal: No Solution Exploring Operation: 55*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 25, 77, 13, 72 ]
20
[ "25*72=1800", "77+13=90", "1800/90=20" ]
Current State: 20:[25, 77, 13, 72], Operations: [] Exploring Operation: 25*72=1800, Resulting Numbers: [77, 13, 1800] Generated Node #2: [77, 13, 1800] from Operation: 25*72=1800 Current State: 20:[77, 13, 1800], Operations: ['25*72=1800'] Exploring Operation: 77+13=90, Resulting Numbers: [1800, 90] Generated Node #3: [1800, 90] from Operation: 77+13=90 Current State: 20:[1800, 90], Operations: ['25*72=1800', '77+13=90'] Exploring Operation: 1800/90=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[25, 77, 13, 72], Operations: [] Exploring Operation: 77-25=52, Resulting Numbers: [13, 72, 52] Generated Node #0,0: 20:[13, 72, 52] Operation: 77-25=52 Exploring Operation: 72-25=47, Resulting Numbers: [77, 13, 47] Generated Node #0,1: 20:[77, 13, 47] Operation: 72-25=47 Exploring Operation: 77-72=5, Resulting Numbers: [25, 13, 5] Generated Node #0,2: 20:[25, 13, 5] Operation: 77-72=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[25, 13, 5], Operations: ['77-72=5'] Exploring Operation: 25-5=20, Resulting Numbers: [13, 20] Generated Node #0,2,0: 20:[13, 20] Operation: 25-5=20 Exploring Operation: 25-13=12, Resulting Numbers: [5, 12] Generated Node #0,2,1: 20:[5, 12] Operation: 25-13=12 Exploring Operation: 25/5=5, Resulting Numbers: [13, 5] Generated Node #0,2,2: 20:[13, 5] Operation: 25/5=5 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[5, 12], Operations: ['77-72=5', '25-13=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[13, 20], Operations: ['77-72=5', '25-5=20'] Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 20:[13, 5], Operations: ['77-72=5', '25/5=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[13, 72, 52], Operations: ['77-25=52'] Exploring Operation: 52/13=4, Resulting Numbers: [72, 4] Generated Node #0,0,0: 20:[72, 4] Operation: 52/13=4 Exploring Operation: 72-52=20, Resulting Numbers: [13, 20] Generated Node #0,0,1: 20:[13, 20] Operation: 72-52=20 Exploring Operation: 72-13=59, Resulting Numbers: [52, 59] Generated Node #0,0,2: 20:[52, 59] Operation: 72-13=59 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[13, 20], Operations: ['77-25=52', '72-52=20'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,20 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[72, 4], Operations: ['77-25=52', '52/13=4'] Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,20 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 20:[52, 59], Operations: ['77-25=52', '72-13=59'] Exploring Operation: 52+59=111, Resulting Numbers: [111] 111,20 unequal: No Solution Exploring Operation: 52*59=3068, Resulting Numbers: [3068] 3068,20 unequal: No Solution Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[77, 13, 47], Operations: ['72-25=47'] Exploring Operation: 77-47=30, Resulting Numbers: [13, 30] Generated Node #0,1,0: 20:[13, 30] Operation: 77-47=30 Exploring Operation: 47-13=34, Resulting Numbers: [77, 34] Generated Node #0,1,1: 20:[77, 34] Operation: 47-13=34 Exploring Operation: 77-13=64, Resulting Numbers: [47, 64] Generated Node #0,1,2: 20:[47, 64] Operation: 77-13=64 Moving to Node #0,1,0 Current State: 20:[13, 30], Operations: ['72-25=47', '77-47=30'] Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[77, 34], Operations: ['72-25=47', '47-13=34'] Exploring Operation: 77*34=2618, Resulting Numbers: [2618] 2618,20 unequal: No Solution Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 77+34=111, Resulting Numbers: [111] 111,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[47, 64], Operations: ['72-25=47', '77-13=64'] Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,20 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,20 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
[ 38, 80, 73, 41 ]
95
[ "38*80=3040", "73-41=32", "3040/32=95" ]
Current State: 95:[38, 80, 73, 41], Operations: [] Exploring Operation: 38*80=3040, Resulting Numbers: [73, 41, 3040] Generated Node #2: [73, 41, 3040] from Operation: 38*80=3040 Current State: 95:[73, 41, 3040], Operations: ['38*80=3040'] Exploring Operation: 73-41=32, Resulting Numbers: [3040, 32] Generated Node #3: [3040, 32] from Operation: 73-41=32 Current State: 95:[3040, 32], Operations: ['38*80=3040', '73-41=32'] Exploring Operation: 3040/32=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[38, 80, 73, 41], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [80, 73, 3] Generated Node #0,0: 95:[80, 73, 3] Operation: 41-38=3 Exploring Operation: 73-41=32, Resulting Numbers: [38, 80, 32] Generated Node #0,1: 95:[38, 80, 32] Operation: 73-41=32 Exploring Operation: 80-73=7, Resulting Numbers: [38, 41, 7] Generated Node #0,2: 95:[38, 41, 7] Operation: 80-73=7 Exploring Operation: 38+73=111, Resulting Numbers: [80, 41, 111] Generated Node #0,3: 95:[80, 41, 111] Operation: 38+73=111 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[80, 73, 3], Operations: ['41-38=3'] Exploring Operation: 80+3=83, Resulting Numbers: [73, 83] Generated Node #0,0,0: 95:[73, 83] Operation: 80+3=83 Exploring Operation: 80-3=77, Resulting Numbers: [73, 77] Generated Node #0,0,1: 95:[73, 77] Operation: 80-3=77 Exploring Operation: 73+3=76, Resulting Numbers: [80, 76] Generated Node #0,0,2: 95:[80, 76] Operation: 73+3=76 Exploring Operation: 80-73=7, Resulting Numbers: [3, 7] Generated Node #0,0,3: 95:[3, 7] Operation: 80-73=7 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 95:[3, 7], Operations: ['41-38=3', '80-73=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,95 unequal: No Solution No 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: 95:[73, 83], Operations: ['41-38=3', '80+3=83'] Exploring Operation: 73+83=156, Resulting Numbers: [156] 156,95 unequal: No Solution Exploring Operation: 83-73=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 73*83=6059, Resulting Numbers: [6059] 6059,95 unequal: No Solution No 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: 95:[80, 76], Operations: ['41-38=3', '73+3=76'] Exploring Operation: 80*76=6080, Resulting Numbers: [6080] 6080,95 unequal: No Solution Exploring Operation: 80-76=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 80+76=156, Resulting Numbers: [156] 156,95 unequal: No Solution No 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: 95:[73, 77], Operations: ['41-38=3', '80-3=77'] Exploring Operation: 73+77=150, Resulting Numbers: [150] 150,95 unequal: No Solution Exploring Operation: 73*77=5621, Resulting Numbers: [5621] 5621,95 unequal: No Solution Exploring Operation: 77-73=4, Resulting Numbers: [4] 4,95 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: 95:[38, 41, 7], Operations: ['80-73=7'] Exploring Operation: 41-38=3, Resulting Numbers: [7, 3] Generated Node #0,2,0: 95:[7, 3] Operation: 41-38=3 Exploring Operation: 38+41=79, Resulting Numbers: [7, 79] Generated Node #0,2,1: 95:[7, 79] Operation: 38+41=79 Exploring Operation: 38-7=31, Resulting Numbers: [41, 31] Generated Node #0,2,2: 95:[41, 31] Operation: 38-7=31 Exploring Operation: 41-7=34, Resulting Numbers: [38, 34] Generated Node #0,2,3: 95:[38, 34] Operation: 41-7=34 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[7, 3], Operations: ['80-73=7', '41-38=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,95 unequal: No Solution No 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: 95:[7, 79], Operations: ['80-73=7', '38+41=79'] Exploring Operation: 7*79=553, Resulting Numbers: [553] 553,95 unequal: No Solution Exploring Operation: 7+79=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,95 unequal: No Solution No 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: 95:[41, 31], Operations: ['80-73=7', '38-7=31'] Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 41*31=1271, Resulting Numbers: [1271] 1271,95 unequal: No Solution Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,95 unequal: No Solution No 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: 95:[38, 34], Operations: ['80-73=7', '41-7=34'] Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 38*34=1292, Resulting Numbers: [1292] 1292,95 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: 95:[38, 80, 32], Operations: ['73-41=32'] Exploring Operation: 80+32=112, Resulting Numbers: [38, 112] Generated Node #0,1,0: 95:[38, 112] Operation: 80+32=112 Exploring Operation: 80-38=42, Resulting Numbers: [32, 42] Generated Node #0,1,1: 95:[32, 42] Operation: 80-38=42 Exploring Operation: 38+80=118, Resulting Numbers: [32, 118] Generated Node #0,1,2: 95:[32, 118] Operation: 38+80=118 Exploring Operation: 38-32=6, Resulting Numbers: [80, 6] Generated Node #0,1,3: 95:[80, 6] Operation: 38-32=6 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 95:[80, 6], Operations: ['73-41=32', '38-32=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,95 unequal: No Solution Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,95 unequal: No Solution No 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: 95:[38, 112], Operations: ['73-41=32', '80+32=112'] Exploring Operation: 38+112=150, Resulting Numbers: [150] 150,95 unequal: No Solution Exploring Operation: 112-38=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 38*112=4256, Resulting Numbers: [4256] 4256,95 unequal: No Solution No 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: 95:[32, 42], Operations: ['73-41=32', '80-38=42'] Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,95 unequal: No Solution Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,95 unequal: No Solution No 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: 95:[32, 118], Operations: ['73-41=32', '38+80=118'] Exploring Operation: 118-32=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 32+118=150, Resulting Numbers: [150] 150,95 unequal: No Solution Exploring Operation: 32*118=3776, Resulting Numbers: [3776] 3776,95 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: 95:[80, 41, 111], Operations: ['38+73=111'] Exploring Operation: 80-41=39, Resulting Numbers: [111, 39] Generated Node #0,3,0: 95:[111, 39] Operation: 80-41=39 Exploring Operation: 111-80=31, Resulting Numbers: [41, 31] Generated Node #0,3,1: 95:[41, 31] Operation: 111-80=31 Exploring Operation: 80+41=121, Resulting Numbers: [111, 121] Generated Node #0,3,2: 95:[111, 121] Operation: 80+41=121 Exploring Operation: 111-41=70, Resulting Numbers: [80, 70] Generated Node #0,3,3: 95:[80, 70] Operation: 111-41=70 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 95:[41, 31], Operations: ['38+73=111', '111-80=31'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 41*31=1271, Resulting Numbers: [1271] 1271,95 unequal: No Solution Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,95 unequal: No Solution No 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: 95:[111, 39], Operations: ['38+73=111', '80-41=39'] Exploring Operation: 111-39=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 111*39=4329, Resulting Numbers: [4329] 4329,95 unequal: No Solution Exploring Operation: 111+39=150, Resulting Numbers: [150] 150,95 unequal: No Solution No 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: 95:[80, 70], Operations: ['38+73=111', '111-41=70'] Exploring Operation: 80+70=150, Resulting Numbers: [150] 150,95 unequal: No Solution Exploring Operation: 80-70=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 80*70=5600, Resulting Numbers: [5600] 5600,95 unequal: No Solution No 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: 95:[111, 121], Operations: ['38+73=111', '80+41=121'] Exploring Operation: 111*121=13431, Resulting Numbers: [13431] 13431,95 unequal: No Solution Exploring Operation: 121-111=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 111+121=232, Resulting Numbers: [232] 232,95 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
[ 67, 7, 73, 69 ]
87
[ "69-67=2", "7*2=14", "73+14=87" ]
Current State: 87:[67, 7, 73, 69], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [7, 73, 2] Generated Node #2: [7, 73, 2] from Operation: 69-67=2 Current State: 87:[7, 73, 2], Operations: ['69-67=2'] Exploring Operation: 7*2=14, Resulting Numbers: [73, 14] Generated Node #3: [73, 14] from Operation: 7*2=14 Current State: 87:[73, 14], Operations: ['69-67=2', '7*2=14'] Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[67, 7, 73, 69], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [7, 73, 2] Generated Node #0,0: 87:[7, 73, 2] Operation: 69-67=2 Exploring Operation: 73-69=4, Resulting Numbers: [67, 7, 4] Generated Node #0,1: 87:[67, 7, 4] Operation: 73-69=4 Exploring Operation: 73-67=6, Resulting Numbers: [7, 69, 6] Generated Node #0,2: 87:[7, 69, 6] Operation: 73-67=6 Exploring Operation: 67+7=74, Resulting Numbers: [73, 69, 74] Generated Node #0,3: 87:[73, 69, 74] Operation: 67+7=74 Moving to Node #0,0 Current State: 87:[7, 73, 2], Operations: ['69-67=2'] Exploring Operation: 7-2=5, Resulting Numbers: [73, 5] Generated Node #0,0,0: 87:[73, 5] Operation: 7-2=5 Exploring Operation: 73+2=75, Resulting Numbers: [7, 75] Generated Node #0,0,1: 87:[7, 75] Operation: 73+2=75 Exploring Operation: 7+2=9, Resulting Numbers: [73, 9] Generated Node #0,0,2: 87:[73, 9] Operation: 7+2=9 Exploring Operation: 7+73=80, Resulting Numbers: [2, 80] Generated Node #0,0,3: 87:[2, 80] Operation: 7+73=80 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[2, 80], Operations: ['69-67=2', '7+73=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 2*80=160, Resulting Numbers: [160] 160,87 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,87 unequal: No Solution Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[73, 5], Operations: ['69-67=2', '7-2=5'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 73*5=365, Resulting Numbers: [365] 365,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[7, 75], Operations: ['69-67=2', '73+2=75'] Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 7*75=525, Resulting Numbers: [525] 525,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[73, 9], Operations: ['69-67=2', '7+2=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,87 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: 87:[7, 69, 6], Operations: ['73-67=6'] Exploring Operation: 7+69=76, Resulting Numbers: [6, 76] Generated Node #0,2,0: 87:[6, 76] Operation: 7+69=76 Exploring Operation: 69-7=62, Resulting Numbers: [6, 62] Generated Node #0,2,1: 87:[6, 62] Operation: 69-7=62 Exploring Operation: 69+6=75, Resulting Numbers: [7, 75] Generated Node #0,2,2: 87:[7, 75] Operation: 69+6=75 Exploring Operation: 7-6=1, Resulting Numbers: [69, 1] Generated Node #0,2,3: 87:[69, 1] Operation: 7-6=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[6, 76], Operations: ['73-67=6', '7+69=76'] Exploring Operation: 6+76=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 6*76=456, Resulting Numbers: [456] 456,87 unequal: No Solution Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[7, 75], Operations: ['73-67=6', '69+6=75'] Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 7*75=525, Resulting Numbers: [525] 525,87 unequal: No Solution Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[69, 1], Operations: ['73-67=6', '7-6=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,87 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[6, 62], Operations: ['73-67=6', '69-7=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,87 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,87 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,87 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: 87:[67, 7, 4], Operations: ['73-69=4'] Exploring Operation: 7-4=3, Resulting Numbers: [67, 3] Generated Node #0,1,0: 87:[67, 3] Operation: 7-4=3 Exploring Operation: 67+7=74, Resulting Numbers: [4, 74] Generated Node #0,1,1: 87:[4, 74] Operation: 67+7=74 Exploring Operation: 67+4=71, Resulting Numbers: [7, 71] Generated Node #0,1,2: 87:[7, 71] Operation: 67+4=71 Exploring Operation: 7*4=28, Resulting Numbers: [67, 28] Generated Node #0,1,3: 87:[67, 28] Operation: 7*4=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[4, 74], Operations: ['73-69=4', '67+7=74'] Exploring Operation: 4+74=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 4*74=296, Resulting Numbers: [296] 296,87 unequal: No Solution Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[67, 3], Operations: ['73-69=4', '7-4=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[7, 71], Operations: ['73-69=4', '67+4=71'] Exploring Operation: 7*71=497, Resulting Numbers: [497] 497,87 unequal: No Solution Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 7+71=78, Resulting Numbers: [78] 78,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[67, 28], Operations: ['73-69=4', '7*4=28'] Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,87 unequal: No Solution Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,87 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,87 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: 87:[73, 69, 74], Operations: ['67+7=74'] Exploring Operation: 73-69=4, Resulting Numbers: [74, 4] Generated Node #0,3,0: 87:[74, 4] Operation: 73-69=4 Exploring Operation: 73+69=142, Resulting Numbers: [74, 142] Generated Node #0,3,1: 87:[74, 142] Operation: 73+69=142 Exploring Operation: 74-73=1, Resulting Numbers: [69, 1] Generated Node #0,3,2: 87:[69, 1] Operation: 74-73=1 Exploring Operation: 74-69=5, Resulting Numbers: [73, 5] Generated Node #0,3,3: 87:[73, 5] Operation: 74-69=5 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 87:[74, 4], Operations: ['67+7=74', '73-69=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 87:[73, 5], Operations: ['67+7=74', '74-69=5'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 73*5=365, Resulting Numbers: [365] 365,87 unequal: No Solution Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 87:[69, 1], Operations: ['67+7=74', '74-73=1'] Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,87 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[74, 142], Operations: ['67+7=74', '73+69=142'] Exploring Operation: 74*142=10508, Resulting Numbers: [10508] 10508,87 unequal: No Solution Exploring Operation: 74+142=216, Resulting Numbers: [216] 216,87 unequal: No Solution Exploring Operation: 142-74=68, Resulting Numbers: [68] 68,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 18, 10, 26, 32 ]
48
[ "18-10=8", "32-26=6", "8*6=48" ]
Current State: 48:[18, 10, 26, 32], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [26, 32, 8] Generated Node #2: [26, 32, 8] from Operation: 18-10=8 Current State: 48:[26, 32, 8], Operations: ['18-10=8'] Exploring Operation: 32-26=6, Resulting Numbers: [8, 6] Generated Node #3: [8, 6] from Operation: 32-26=6 Current State: 48:[8, 6], Operations: ['18-10=8', '32-26=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[18, 10, 26, 32], Operations: [] Exploring Operation: 32-26=6, Resulting Numbers: [18, 10, 6] Generated Node #0,0: 48:[18, 10, 6] Operation: 32-26=6 Exploring Operation: 18+32=50, Resulting Numbers: [10, 26, 50] Generated Node #0,1: 48:[10, 26, 50] Operation: 18+32=50 Exploring Operation: 32-18=14, Resulting Numbers: [10, 26, 14] Generated Node #0,2: 48:[10, 26, 14] Operation: 32-18=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[18, 10, 6], Operations: ['32-26=6'] Exploring Operation: 18-6=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 48:[10, 12] Operation: 18-6=12 Exploring Operation: 18+6=24, Resulting Numbers: [10, 24] Generated Node #0,0,1: 48:[10, 24] Operation: 18+6=24 Exploring Operation: 18-10=8, Resulting Numbers: [6, 8] Generated Node #0,0,2: 48:[6, 8] Operation: 18-10=8 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[6, 8], Operations: ['32-26=6', '18-10=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[18, 10, 26, 32], Operations: [] Exploring Operation: 32-26=6, Resulting Numbers: [18, 10, 6] Generated Node #0,0: 48:[18, 10, 6] Operation: 32-26=6 Moving to Node #0,0 Current State: 48:[18, 10, 6], Operations: ['32-26=6'] Exploring Operation: 18-10=8, Resulting Numbers: [6, 8] Generated Node #0,0,2: 48:[6, 8] Operation: 18-10=8 Moving to Node #0,0,2 Current State: 48:[6, 8], Operations: ['32-26=6', '18-10=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 76, 24, 81, 2 ]
67
[ "76/2=38", "24+81=105", "105-38=67" ]
Current State: 67:[76, 24, 81, 2], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [24, 81, 38] Generated Node #2: [24, 81, 38] from Operation: 76/2=38 Current State: 67:[24, 81, 38], Operations: ['76/2=38'] Exploring Operation: 24+81=105, Resulting Numbers: [38, 105] Generated Node #3: [38, 105] from Operation: 24+81=105 Current State: 67:[38, 105], Operations: ['76/2=38', '24+81=105'] Exploring Operation: 105-38=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[76, 24, 81, 2], Operations: [] Exploring Operation: 24*2=48, Resulting Numbers: [76, 81, 48] Generated Node #0,0: 67:[76, 81, 48] Operation: 24*2=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[76, 81, 48], Operations: ['24*2=48'] Exploring Operation: 81-48=33, Resulting Numbers: [76, 33] Generated Node #0,0,0: 67:[76, 33] Operation: 81-48=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[76, 33], Operations: ['24*2=48', '81-48=33'] Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 98, 74, 29, 67 ]
15
[ "74-67=7", "98/7=14", "29-14=15" ]
Current State: 15:[98, 74, 29, 67], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [98, 29, 7] Generated Node #2: [98, 29, 7] from Operation: 74-67=7 Current State: 15:[98, 29, 7], Operations: ['74-67=7'] Exploring Operation: 98/7=14, Resulting Numbers: [29, 14] Generated Node #3: [29, 14] from Operation: 98/7=14 Current State: 15:[29, 14], Operations: ['74-67=7', '98/7=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[98, 74, 29, 67], Operations: [] Exploring Operation: 98-74=24, Resulting Numbers: [29, 67, 24] Generated Node #0,0: 15:[29, 67, 24] Operation: 98-74=24 Exploring Operation: 98-67=31, Resulting Numbers: [74, 29, 31] Generated Node #0,1: 15:[74, 29, 31] Operation: 98-67=31 Exploring Operation: 74-67=7, Resulting Numbers: [98, 29, 7] Generated Node #0,2: 15:[98, 29, 7] Operation: 74-67=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[29, 67, 24], Operations: ['98-74=24'] Exploring Operation: 67-24=43, Resulting Numbers: [29, 43] Generated Node #0,0,0: 15:[29, 43] Operation: 67-24=43 Exploring Operation: 29-24=5, Resulting Numbers: [67, 5] Generated Node #0,0,1: 15:[67, 5] Operation: 29-24=5 Exploring Operation: 67-29=38, Resulting Numbers: [24, 38] Generated Node #0,0,2: 15:[24, 38] Operation: 67-29=38 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[24, 38], Operations: ['98-74=24', '67-29=38'] Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,15 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,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,0,0 Current State: 15:[29, 43], Operations: ['98-74=24', '67-24=43'] Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,15 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,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,0,1 Current State: 15:[67, 5], Operations: ['98-74=24', '29-24=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,15 unequal: No Solution Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[74, 29, 31], Operations: ['98-67=31'] Exploring Operation: 74-29=45, Resulting Numbers: [31, 45] Generated Node #0,1,0: 15:[31, 45] Operation: 74-29=45 Exploring Operation: 74-31=43, Resulting Numbers: [29, 43] Generated Node #0,1,1: 15:[29, 43] Operation: 74-31=43 Exploring Operation: 31-29=2, Resulting Numbers: [74, 2] Generated Node #0,1,2: 15:[74, 2] Operation: 31-29=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[29, 43], Operations: ['98-67=31', '74-31=43'] Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,15 unequal: No Solution Exploring Operation: 29+43=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,0 Current State: 15:[31, 45], Operations: ['98-67=31', '74-29=45'] Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,15 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,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:[74, 2], Operations: ['98-67=31', '31-29=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,15 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,15 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,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:[98, 29, 7], Operations: ['74-67=7'] Exploring Operation: 98-7=91, Resulting Numbers: [29, 91] Generated Node #0,2,0: 15:[29, 91] Operation: 98-7=91 Exploring Operation: 98-29=69, Resulting Numbers: [7, 69] Generated Node #0,2,1: 15:[7, 69] Operation: 98-29=69 Exploring Operation: 98/7=14, Resulting Numbers: [29, 14] Generated Node #0,2,2: 15:[29, 14] Operation: 98/7=14 Moving to Node #0,2,2 Current State: 15:[29, 14], Operations: ['74-67=7', '98/7=14'] Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,15 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[98, 74, 29, 67], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [98, 29, 7] Generated Node #0,2: 15:[98, 29, 7] Operation: 74-67=7 Moving to Node #0,2 Current State: 15:[98, 29, 7], Operations: ['74-67=7'] Exploring Operation: 98/7=14, Resulting Numbers: [29, 14] Generated Node #0,2,2: 15:[29, 14] Operation: 98/7=14 Moving to Node #0,2,2 Current State: 15:[29, 14], Operations: ['74-67=7', '98/7=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 30, 9, 11, 56 ]
88
[ "30-9=21", "11+56=67", "21+67=88" ]
Current State: 88:[30, 9, 11, 56], Operations: [] Exploring Operation: 30-9=21, Resulting Numbers: [11, 56, 21] Generated Node #2: [11, 56, 21] from Operation: 30-9=21 Current State: 88:[11, 56, 21], Operations: ['30-9=21'] Exploring Operation: 11+56=67, Resulting Numbers: [21, 67] Generated Node #3: [21, 67] from Operation: 11+56=67 Current State: 88:[21, 67], Operations: ['30-9=21', '11+56=67'] Exploring Operation: 21+67=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[30, 9, 11, 56], Operations: [] Exploring Operation: 56-11=45, Resulting Numbers: [30, 9, 45] Generated Node #0,0: 88:[30, 9, 45] Operation: 56-11=45 Exploring Operation: 30+56=86, Resulting Numbers: [9, 11, 86] Generated Node #0,1: 88:[9, 11, 86] Operation: 30+56=86 Exploring Operation: 56-30=26, Resulting Numbers: [9, 11, 26] Generated Node #0,2: 88:[9, 11, 26] Operation: 56-30=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[9, 11, 86], Operations: ['30+56=86'] Exploring Operation: 9+11=20, Resulting Numbers: [86, 20] Generated Node #0,1,0: 88:[86, 20] Operation: 9+11=20 Exploring Operation: 9+86=95, Resulting Numbers: [11, 95] Generated Node #0,1,1: 88:[11, 95] Operation: 9+86=95 Exploring Operation: 11-9=2, Resulting Numbers: [86, 2] Generated Node #0,1,2: 88:[86, 2] Operation: 11-9=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 88:[86, 2], Operations: ['30+56=86', '11-9=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,88 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[30, 9, 11, 56], Operations: [] Exploring Operation: 30+56=86, Resulting Numbers: [9, 11, 86] Generated Node #0,1: 88:[9, 11, 86] Operation: 30+56=86 Moving to Node #0,1 Current State: 88:[9, 11, 86], Operations: ['30+56=86'] Exploring Operation: 11-9=2, Resulting Numbers: [86, 2] Generated Node #0,1,2: 88:[86, 2] Operation: 11-9=2 Moving to Node #0,1,2 Current State: 88:[86, 2], Operations: ['30+56=86', '11-9=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 12, 50, 6, 4 ]
27
[ "12/6=2", "50+4=54", "54/2=27" ]
Current State: 27:[12, 50, 6, 4], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [50, 4, 2] Generated Node #2: [50, 4, 2] from Operation: 12/6=2 Current State: 27:[50, 4, 2], Operations: ['12/6=2'] Exploring Operation: 50+4=54, Resulting Numbers: [2, 54] Generated Node #3: [2, 54] from Operation: 50+4=54 Current State: 27:[2, 54], Operations: ['12/6=2', '50+4=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[12, 50, 6, 4], Operations: [] Exploring Operation: 50-12=38, Resulting Numbers: [6, 4, 38] Generated Node #0,0: 27:[6, 4, 38] Operation: 50-12=38 Moving to Node #0,0 Current State: 27:[6, 4, 38], Operations: ['50-12=38'] Exploring Operation: 38-6=32, Resulting Numbers: [4, 32] Generated Node #0,0,0: 27:[4, 32] Operation: 38-6=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[4, 32], Operations: ['50-12=38', '38-6=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 96, 81, 68, 32 ]
16
[ "96/32=3", "81-68=13", "3+13=16" ]
Current State: 16:[96, 81, 68, 32], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [81, 68, 3] Generated Node #2: [81, 68, 3] from Operation: 96/32=3 Current State: 16:[81, 68, 3], Operations: ['96/32=3'] Exploring Operation: 81-68=13, Resulting Numbers: [3, 13] Generated Node #3: [3, 13] from Operation: 81-68=13 Current State: 16:[3, 13], Operations: ['96/32=3', '81-68=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[96, 81, 68, 32], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [81, 68, 3] Generated Node #0,0: 16:[81, 68, 3] Operation: 96/32=3 Exploring Operation: 81-68=13, Resulting Numbers: [96, 32, 13] Generated Node #0,1: 16:[96, 32, 13] Operation: 81-68=13 Exploring Operation: 96-81=15, Resulting Numbers: [68, 32, 15] Generated Node #0,2: 16:[68, 32, 15] Operation: 96-81=15 Exploring Operation: 96-68=28, Resulting Numbers: [81, 32, 28] Generated Node #0,3: 16:[81, 32, 28] Operation: 96-68=28 Exploring Operation: 96-32=64, Resulting Numbers: [81, 68, 64] Generated Node #0,4: 16:[81, 68, 64] Operation: 96-32=64 Moving to Node #0,2 Current State: 16:[68, 32, 15], Operations: ['96-81=15'] Exploring Operation: 32+15=47, Resulting Numbers: [68, 47] Generated Node #0,2,0: 16:[68, 47] Operation: 32+15=47 Exploring Operation: 32-15=17, Resulting Numbers: [68, 17] Generated Node #0,2,1: 16:[68, 17] Operation: 32-15=17 Exploring Operation: 68+15=83, Resulting Numbers: [32, 83] Generated Node #0,2,2: 16:[32, 83] Operation: 68+15=83 Exploring Operation: 68-15=53, Resulting Numbers: [32, 53] Generated Node #0,2,3: 16:[32, 53] Operation: 68-15=53 Exploring Operation: 68-32=36, Resulting Numbers: [15, 36] Generated Node #0,2,4: 16:[15, 36] Operation: 68-32=36 Moving to Node #0,3 Current State: 16:[81, 32, 28], Operations: ['96-68=28'] Exploring Operation: 81-32=49, Resulting Numbers: [28, 49] Generated Node #0,3,0: 16:[28, 49] Operation: 81-32=49 Exploring Operation: 32-28=4, Resulting Numbers: [81, 4] Generated Node #0,3,1: 16:[81, 4] Operation: 32-28=4 Exploring Operation: 81+28=109, Resulting Numbers: [32, 109] Generated Node #0,3,2: 16:[32, 109] Operation: 81+28=109 Exploring Operation: 81-28=53, Resulting Numbers: [32, 53] Generated Node #0,3,3: 16:[32, 53] Operation: 81-28=53 Exploring Operation: 81+32=113, Resulting Numbers: [28, 113] Generated Node #0,3,4: 16:[28, 113] Operation: 81+32=113 Moving to Node #0,1 Current State: 16:[96, 32, 13], Operations: ['81-68=13'] Exploring Operation: 96+13=109, Resulting Numbers: [32, 109] Generated Node #0,1,0: 16:[32, 109] Operation: 96+13=109 Exploring Operation: 96/32=3, Resulting Numbers: [13, 3] Generated Node #0,1,1: 16:[13, 3] Operation: 96/32=3 Exploring Operation: 96-13=83, Resulting Numbers: [32, 83] Generated Node #0,1,2: 16:[32, 83] Operation: 96-13=83 Exploring Operation: 32-13=19, Resulting Numbers: [96, 19] Generated Node #0,1,3: 16:[96, 19] Operation: 32-13=19 Exploring Operation: 96-32=64, Resulting Numbers: [13, 64] Generated Node #0,1,4: 16:[13, 64] Operation: 96-32=64 Moving to Node #0,0 Current State: 16:[81, 68, 3], Operations: ['96/32=3'] Exploring Operation: 81+3=84, Resulting Numbers: [68, 84] Generated Node #0,0,0: 16:[68, 84] Operation: 81+3=84 Exploring Operation: 81-3=78, Resulting Numbers: [68, 78] Generated Node #0,0,1: 16:[68, 78] Operation: 81-3=78 Exploring Operation: 81/3=27, Resulting Numbers: [68, 27] Generated Node #0,0,2: 16:[68, 27] Operation: 81/3=27 Exploring Operation: 68-3=65, Resulting Numbers: [81, 65] Generated Node #0,0,3: 16:[81, 65] Operation: 68-3=65 Exploring Operation: 81-68=13, Resulting Numbers: [3, 13] Generated Node #0,0,4: 16:[3, 13] Operation: 81-68=13 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 16:[3, 13], Operations: ['96/32=3', '81-68=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[96, 81, 68, 32], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [81, 68, 3] Generated Node #0,0: 16:[81, 68, 3] Operation: 96/32=3 Moving to Node #0,0 Current State: 16:[81, 68, 3], Operations: ['96/32=3'] Exploring Operation: 81-68=13, Resulting Numbers: [3, 13] Generated Node #0,0,4: 16:[3, 13] Operation: 81-68=13 Moving to Node #0,0,4 Current State: 16:[3, 13], Operations: ['96/32=3', '81-68=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
mult_heuristic
[ 56, 39, 54, 58 ]
10
[ "56-54=2", "58/2=29", "39-29=10" ]
Current State: 10:[56, 39, 54, 58], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [39, 58, 2] Generated Node #2: [39, 58, 2] from Operation: 56-54=2 Current State: 10:[39, 58, 2], Operations: ['56-54=2'] Exploring Operation: 58/2=29, Resulting Numbers: [39, 29] Generated Node #3: [39, 29] from Operation: 58/2=29 Current State: 10:[39, 29], Operations: ['56-54=2', '58/2=29'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[56, 39, 54, 58], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [39, 54, 2] Generated Node #0,0: 10:[39, 54, 2] Operation: 58-56=2 Exploring Operation: 58-54=4, Resulting Numbers: [56, 39, 4] Generated Node #0,1: 10:[56, 39, 4] Operation: 58-54=4 Moving to Node #0,0 Current State: 10:[39, 54, 2], Operations: ['58-56=2'] Exploring Operation: 54-39=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 10:[2, 15] Operation: 54-39=15 Exploring Operation: 54/2=27, Resulting Numbers: [39, 27] Generated Node #0,0,1: 10:[39, 27] Operation: 54/2=27 Moving to Node #0,1 Current State: 10:[56, 39, 4], Operations: ['58-54=4'] Exploring Operation: 56-39=17, Resulting Numbers: [4, 17] Generated Node #0,1,0: 10:[4, 17] Operation: 56-39=17 Exploring Operation: 56/4=14, Resulting Numbers: [39, 14] Generated Node #0,1,1: 10:[39, 14] Operation: 56/4=14 Moving to Node #0,0,0 Current State: 10:[2, 15], Operations: ['58-56=2', '54-39=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[4, 17], Operations: ['58-54=4', '56-39=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[39, 14], Operations: ['58-54=4', '56/4=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,10 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[39, 27], Operations: ['58-56=2', '54/2=27'] Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,10 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 60, 79, 90, 76 ]
10
[ "90-60=30", "79-76=3", "30/3=10" ]
Current State: 10:[60, 79, 90, 76], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [79, 76, 30] Generated Node #2: [79, 76, 30] from Operation: 90-60=30 Current State: 10:[79, 76, 30], Operations: ['90-60=30'] Exploring Operation: 79-76=3, Resulting Numbers: [30, 3] Generated Node #3: [30, 3] from Operation: 79-76=3 Current State: 10:[30, 3], Operations: ['90-60=30', '79-76=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[60, 79, 90, 76], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [60, 76, 11] Generated Node #0,0: 10:[60, 76, 11] Operation: 90-79=11 Exploring Operation: 90-76=14, Resulting Numbers: [60, 79, 14] Generated Node #0,1: 10:[60, 79, 14] Operation: 90-76=14 Exploring Operation: 79-76=3, Resulting Numbers: [60, 90, 3] Generated Node #0,2: 10:[60, 90, 3] Operation: 79-76=3 Moving to Node #0,0 Current State: 10:[60, 76, 11], Operations: ['90-79=11'] Exploring Operation: 76-60=16, Resulting Numbers: [11, 16] Generated Node #0,0,0: 10:[11, 16] Operation: 76-60=16 Exploring Operation: 76-11=65, Resulting Numbers: [60, 65] Generated Node #0,0,1: 10:[60, 65] Operation: 76-11=65 Exploring Operation: 60-11=49, Resulting Numbers: [76, 49] Generated Node #0,0,2: 10:[76, 49] Operation: 60-11=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[11, 16], Operations: ['90-79=11', '76-60=16'] Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[60, 65], Operations: ['90-79=11', '76-11=65'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,10 unequal: No Solution Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[76, 49], Operations: ['90-79=11', '60-11=49'] Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,10 unequal: No Solution Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,10 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: 10:[60, 79, 14], Operations: ['90-76=14'] Exploring Operation: 60-14=46, Resulting Numbers: [79, 46] Generated Node #0,1,0: 10:[79, 46] Operation: 60-14=46 Exploring Operation: 79-60=19, Resulting Numbers: [14, 19] Generated Node #0,1,1: 10:[14, 19] Operation: 79-60=19 Exploring Operation: 79-14=65, Resulting Numbers: [60, 65] Generated Node #0,1,2: 10:[60, 65] Operation: 79-14=65 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[14, 19], Operations: ['90-76=14', '79-60=19'] Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,10 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[79, 46], Operations: ['90-76=14', '60-14=46'] Exploring Operation: 79+46=125, Resulting Numbers: [125] 125,10 unequal: No Solution Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 79*46=3634, Resulting Numbers: [3634] 3634,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[60, 65], Operations: ['90-76=14', '79-14=65'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,10 unequal: No Solution Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,10 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: 10:[60, 90, 3], Operations: ['79-76=3'] Exploring Operation: 90-60=30, Resulting Numbers: [3, 30] Generated Node #0,2,0: 10:[3, 30] Operation: 90-60=30 Exploring Operation: 60/3=20, Resulting Numbers: [90, 20] Generated Node #0,2,1: 10:[90, 20] Operation: 60/3=20 Exploring Operation: 90/3=30, Resulting Numbers: [60, 30] Generated Node #0,2,2: 10:[60, 30] Operation: 90/3=30 Moving to Node #0,2,0 Current State: 10:[3, 30], Operations: ['79-76=3', '90-60=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[60, 79, 90, 76], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [60, 90, 3] Generated Node #0,2: 10:[60, 90, 3] Operation: 79-76=3 Moving to Node #0,2 Current State: 10:[60, 90, 3], Operations: ['79-76=3'] Exploring Operation: 90-60=30, Resulting Numbers: [3, 30] Generated Node #0,2,0: 10:[3, 30] Operation: 90-60=30 Moving to Node #0,2,0 Current State: 10:[3, 30], Operations: ['79-76=3', '90-60=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.969618
hs_3
sum_heuristic
[ 39, 65, 61, 53 ]
18
[ "65-39=26", "61-53=8", "26-8=18" ]
Current State: 18:[39, 65, 61, 53], Operations: [] Exploring Operation: 65-39=26, Resulting Numbers: [61, 53, 26] Generated Node #2: [61, 53, 26] from Operation: 65-39=26 Current State: 18:[61, 53, 26], Operations: ['65-39=26'] Exploring Operation: 61-53=8, Resulting Numbers: [26, 8] Generated Node #3: [26, 8] from Operation: 61-53=8 Current State: 18:[26, 8], Operations: ['65-39=26', '61-53=8'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[39, 65, 61, 53], Operations: [] Exploring Operation: 61-53=8, Resulting Numbers: [39, 65, 8] Generated Node #0,0: 18:[39, 65, 8] Operation: 61-53=8 Exploring Operation: 65-53=12, Resulting Numbers: [39, 61, 12] Generated Node #0,1: 18:[39, 61, 12] Operation: 65-53=12 Exploring Operation: 65-39=26, Resulting Numbers: [61, 53, 26] Generated Node #0,2: 18:[61, 53, 26] Operation: 65-39=26 Exploring Operation: 65-61=4, Resulting Numbers: [39, 53, 4] Generated Node #0,3: 18:[39, 53, 4] Operation: 65-61=4 Moving to Node #0,3 Current State: 18:[39, 53, 4], Operations: ['65-61=4'] Exploring Operation: 53-39=14, Resulting Numbers: [4, 14] Generated Node #0,3,0: 18:[4, 14] Operation: 53-39=14 Exploring Operation: 39+4=43, Resulting Numbers: [53, 43] Generated Node #0,3,1: 18:[53, 43] Operation: 39+4=43 Exploring Operation: 53-4=49, Resulting Numbers: [39, 49] Generated Node #0,3,2: 18:[39, 49] Operation: 53-4=49 Exploring Operation: 39-4=35, Resulting Numbers: [53, 35] Generated Node #0,3,3: 18:[53, 35] Operation: 39-4=35 Moving to Node #0,1 Current State: 18:[39, 61, 12], Operations: ['65-53=12'] Exploring Operation: 61-12=49, Resulting Numbers: [39, 49] Generated Node #0,1,0: 18:[39, 49] Operation: 61-12=49 Exploring Operation: 61-39=22, Resulting Numbers: [12, 22] Generated Node #0,1,1: 18:[12, 22] Operation: 61-39=22 Exploring Operation: 39-12=27, Resulting Numbers: [61, 27] Generated Node #0,1,2: 18:[61, 27] Operation: 39-12=27 Exploring Operation: 39+12=51, Resulting Numbers: [61, 51] Generated Node #0,1,3: 18:[61, 51] Operation: 39+12=51 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[12, 22], Operations: ['65-53=12', '61-39=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,18 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[39, 49], Operations: ['65-53=12', '61-12=49'] Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 39*49=1911, Resulting Numbers: [1911] 1911,18 unequal: No Solution Exploring Operation: 39+49=88, Resulting Numbers: [88] 88,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[61, 27], Operations: ['65-53=12', '39-12=27'] Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,18 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 18:[61, 51], Operations: ['65-53=12', '39+12=51'] Exploring Operation: 61+51=112, Resulting Numbers: [112] 112,18 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 61*51=3111, Resulting Numbers: [3111] 3111,18 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: 18:[39, 65, 8], Operations: ['61-53=8'] Exploring Operation: 39+8=47, Resulting Numbers: [65, 47] Generated Node #0,0,0: 18:[65, 47] Operation: 39+8=47 Exploring Operation: 65-8=57, Resulting Numbers: [39, 57] Generated Node #0,0,1: 18:[39, 57] Operation: 65-8=57 Exploring Operation: 65-39=26, Resulting Numbers: [8, 26] Generated Node #0,0,2: 18:[8, 26] Operation: 65-39=26 Exploring Operation: 39-8=31, Resulting Numbers: [65, 31] Generated Node #0,0,3: 18:[65, 31] Operation: 39-8=31 Moving to Node #0,2 Current State: 18:[61, 53, 26], Operations: ['65-39=26'] Exploring Operation: 53-26=27, Resulting Numbers: [61, 27] Generated Node #0,2,0: 18:[61, 27] Operation: 53-26=27 Exploring Operation: 61-53=8, Resulting Numbers: [26, 8] Generated Node #0,2,1: 18:[26, 8] Operation: 61-53=8 Exploring Operation: 61-26=35, Resulting Numbers: [53, 35] Generated Node #0,2,2: 18:[53, 35] Operation: 61-26=35 Exploring Operation: 61+53=114, Resulting Numbers: [26, 114] Generated Node #0,2,3: 18:[26, 114] Operation: 61+53=114 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[26, 8], Operations: ['65-39=26', '61-53=8'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[39, 65, 61, 53], Operations: [] Exploring Operation: 65-39=26, Resulting Numbers: [61, 53, 26] Generated Node #0,2: 18:[61, 53, 26] Operation: 65-39=26 Moving to Node #0,2 Current State: 18:[61, 53, 26], Operations: ['65-39=26'] Exploring Operation: 61-53=8, Resulting Numbers: [26, 8] Generated Node #0,2,1: 18:[26, 8] Operation: 61-53=8 Moving to Node #0,2,1 Current State: 18:[26, 8], Operations: ['65-39=26', '61-53=8'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 11, 81, 59, 17 ]
55
[ "81-59=22", "22-17=5", "11*5=55" ]
Current State: 55:[11, 81, 59, 17], Operations: [] Exploring Operation: 81-59=22, Resulting Numbers: [11, 17, 22] Generated Node #2: [11, 17, 22] from Operation: 81-59=22 Current State: 55:[11, 17, 22], Operations: ['81-59=22'] Exploring Operation: 22-17=5, Resulting Numbers: [11, 5] Generated Node #3: [11, 5] from Operation: 22-17=5 Current State: 55:[11, 5], Operations: ['81-59=22', '22-17=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[11, 81, 59, 17], Operations: [] Exploring Operation: 81-11=70, Resulting Numbers: [59, 17, 70] Generated Node #0,0: 55:[59, 17, 70] Operation: 81-11=70 Exploring Operation: 59-11=48, Resulting Numbers: [81, 17, 48] Generated Node #0,1: 55:[81, 17, 48] Operation: 59-11=48 Exploring Operation: 17-11=6, Resulting Numbers: [81, 59, 6] Generated Node #0,2: 55:[81, 59, 6] Operation: 17-11=6 Exploring Operation: 81-59=22, Resulting Numbers: [11, 17, 22] Generated Node #0,3: 55:[11, 17, 22] Operation: 81-59=22 Exploring Operation: 81-17=64, Resulting Numbers: [11, 59, 64] Generated Node #0,4: 55:[11, 59, 64] Operation: 81-17=64 Moving to Node #0,4 Current State: 55:[11, 59, 64], Operations: ['81-17=64'] Exploring Operation: 59-11=48, Resulting Numbers: [64, 48] Generated Node #0,4,0: 55:[64, 48] Operation: 59-11=48 Exploring Operation: 64-59=5, Resulting Numbers: [11, 5] Generated Node #0,4,1: 55:[11, 5] Operation: 64-59=5 Exploring Operation: 64-11=53, Resulting Numbers: [59, 53] Generated Node #0,4,2: 55:[59, 53] Operation: 64-11=53 Exploring Operation: 11+64=75, Resulting Numbers: [59, 75] Generated Node #0,4,3: 55:[59, 75] Operation: 11+64=75 Exploring Operation: 11+59=70, Resulting Numbers: [64, 70] Generated Node #0,4,4: 55:[64, 70] Operation: 11+59=70 Moving to Node #0,3 Current State: 55:[11, 17, 22], Operations: ['81-59=22'] Exploring Operation: 17+22=39, Resulting Numbers: [11, 39] Generated Node #0,3,0: 55:[11, 39] Operation: 17+22=39 Exploring Operation: 22-11=11, Resulting Numbers: [17, 11] Generated Node #0,3,1: 55:[17, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [17, 2] Generated Node #0,3,2: 55:[17, 2] Operation: 22/11=2 Exploring Operation: 17-11=6, Resulting Numbers: [22, 6] Generated Node #0,3,3: 55:[22, 6] Operation: 17-11=6 Exploring Operation: 22-17=5, Resulting Numbers: [11, 5] Generated Node #0,3,4: 55:[11, 5] Operation: 22-17=5 Moving to Node #0,0 Current State: 55:[59, 17, 70], Operations: ['81-11=70'] Exploring Operation: 59-17=42, Resulting Numbers: [70, 42] Generated Node #0,0,0: 55:[70, 42] Operation: 59-17=42 Exploring Operation: 59+17=76, Resulting Numbers: [70, 76] Generated Node #0,0,1: 55:[70, 76] Operation: 59+17=76 Exploring Operation: 70-59=11, Resulting Numbers: [17, 11] Generated Node #0,0,2: 55:[17, 11] Operation: 70-59=11 Exploring Operation: 70-17=53, Resulting Numbers: [59, 53] Generated Node #0,0,3: 55:[59, 53] Operation: 70-17=53 Exploring Operation: 17+70=87, Resulting Numbers: [59, 87] Generated Node #0,0,4: 55:[59, 87] Operation: 17+70=87 Moving to Node #0,2 Current State: 55:[81, 59, 6], Operations: ['17-11=6'] Exploring Operation: 81-6=75, Resulting Numbers: [59, 75] Generated Node #0,2,0: 55:[59, 75] Operation: 81-6=75 Exploring Operation: 81+6=87, Resulting Numbers: [59, 87] Generated Node #0,2,1: 55:[59, 87] Operation: 81+6=87 Exploring Operation: 59-6=53, Resulting Numbers: [81, 53] Generated Node #0,2,2: 55:[81, 53] Operation: 59-6=53 Exploring Operation: 59+6=65, Resulting Numbers: [81, 65] Generated Node #0,2,3: 55:[81, 65] Operation: 59+6=65 Exploring Operation: 81-59=22, Resulting Numbers: [6, 22] Generated Node #0,2,4: 55:[6, 22] Operation: 81-59=22 Moving to Node #0,1 Current State: 55:[81, 17, 48], Operations: ['59-11=48'] Exploring Operation: 48-17=31, Resulting Numbers: [81, 31] Generated Node #0,1,0: 55:[81, 31] Operation: 48-17=31 Exploring Operation: 81+17=98, Resulting Numbers: [48, 98] Generated Node #0,1,1: 55:[48, 98] Operation: 81+17=98 Exploring Operation: 17+48=65, Resulting Numbers: [81, 65] Generated Node #0,1,2: 55:[81, 65] Operation: 17+48=65 Exploring Operation: 81-17=64, Resulting Numbers: [48, 64] Generated Node #0,1,3: 55:[48, 64] Operation: 81-17=64 Exploring Operation: 81-48=33, Resulting Numbers: [17, 33] Generated Node #0,1,4: 55:[17, 33] Operation: 81-48=33 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[48, 64], Operations: ['59-11=48', '81-17=64'] Exploring Operation: 48+64=112, Resulting Numbers: [112] 112,55 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 48*64=3072, Resulting Numbers: [3072] 3072,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 55:[17, 33], Operations: ['59-11=48', '81-48=33'] Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[81, 65], Operations: ['59-11=48', '17+48=65'] Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 81*65=5265, Resulting Numbers: [5265] 5265,55 unequal: No Solution Exploring Operation: 81+65=146, Resulting Numbers: [146] 146,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[81, 31], Operations: ['59-11=48', '48-17=31'] Exploring Operation: 81*31=2511, Resulting Numbers: [2511] 2511,55 unequal: No Solution Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 81+31=112, Resulting Numbers: [112] 112,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[48, 98], Operations: ['59-11=48', '81+17=98'] Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 48*98=4704, Resulting Numbers: [4704] 4704,55 unequal: No Solution Exploring Operation: 48+98=146, Resulting Numbers: [146] 146,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 55:[11, 5], Operations: ['81-17=64', '64-59=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[11, 81, 59, 17], Operations: [] Exploring Operation: 81-17=64, Resulting Numbers: [11, 59, 64] Generated Node #0,4: 55:[11, 59, 64] Operation: 81-17=64 Moving to Node #0,4 Current State: 55:[11, 59, 64], Operations: ['81-17=64'] Exploring Operation: 64-59=5, Resulting Numbers: [11, 5] Generated Node #0,4,1: 55:[11, 5] Operation: 64-59=5 Moving to Node #0,4,1 Current State: 55:[11, 5], Operations: ['81-17=64', '64-59=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.954861
hs_5
sum_heuristic
[ 82, 40, 22, 2 ]
44
[ "82-2=80", "80/40=2", "22*2=44" ]
Current State: 44:[82, 40, 22, 2], Operations: [] Exploring Operation: 82-2=80, Resulting Numbers: [40, 22, 80] Generated Node #2: [40, 22, 80] from Operation: 82-2=80 Current State: 44:[40, 22, 80], Operations: ['82-2=80'] Exploring Operation: 80/40=2, Resulting Numbers: [22, 2] Generated Node #3: [22, 2] from Operation: 80/40=2 Current State: 44:[22, 2], Operations: ['82-2=80', '80/40=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[82, 40, 22, 2], Operations: [] Exploring Operation: 82-40=42, Resulting Numbers: [22, 2, 42] Generated Node #0,0: 44:[22, 2, 42] Operation: 82-40=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[22, 2, 42], Operations: ['82-40=42'] Exploring Operation: 2+42=44, Resulting Numbers: [22, 44] Generated Node #0,0,0: 44:[22, 44] Operation: 2+42=44 Moving to Node #0,0,0 Current State: 44:[22, 44], Operations: ['82-40=42', '2+42=44'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,44 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
[ 38, 12, 72, 45 ]
89
[ "38+45=83", "72/12=6", "83+6=89" ]
Current State: 89:[38, 12, 72, 45], Operations: [] Exploring Operation: 38+45=83, Resulting Numbers: [12, 72, 83] Generated Node #2: [12, 72, 83] from Operation: 38+45=83 Current State: 89:[12, 72, 83], Operations: ['38+45=83'] Exploring Operation: 72/12=6, Resulting Numbers: [83, 6] Generated Node #3: [83, 6] from Operation: 72/12=6 Current State: 89:[83, 6], Operations: ['38+45=83', '72/12=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[38, 12, 72, 45], Operations: [] Exploring Operation: 38+45=83, Resulting Numbers: [12, 72, 83] Generated Node #0,0: 89:[12, 72, 83] Operation: 38+45=83 Exploring Operation: 38-12=26, Resulting Numbers: [72, 45, 26] Generated Node #0,1: 89:[72, 45, 26] Operation: 38-12=26 Exploring Operation: 12+45=57, Resulting Numbers: [38, 72, 57] Generated Node #0,2: 89:[38, 72, 57] Operation: 12+45=57 Exploring Operation: 38+12=50, Resulting Numbers: [72, 45, 50] Generated Node #0,3: 89:[72, 45, 50] Operation: 38+12=50 Exploring Operation: 12+72=84, Resulting Numbers: [38, 45, 84] Generated Node #0,4: 89:[38, 45, 84] Operation: 12+72=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[12, 72, 83], Operations: ['38+45=83'] Exploring Operation: 12+83=95, Resulting Numbers: [72, 95] Generated Node #0,0,0: 89:[72, 95] Operation: 12+83=95 Exploring Operation: 83-12=71, Resulting Numbers: [72, 71] Generated Node #0,0,1: 89:[72, 71] Operation: 83-12=71 Exploring Operation: 12+72=84, Resulting Numbers: [83, 84] Generated Node #0,0,2: 89:[83, 84] Operation: 12+72=84 Exploring Operation: 72-12=60, Resulting Numbers: [83, 60] Generated Node #0,0,3: 89:[83, 60] Operation: 72-12=60 Exploring Operation: 72/12=6, Resulting Numbers: [83, 6] Generated Node #0,0,4: 89:[83, 6] Operation: 72/12=6 Moving to Node #0,0,2 Current State: 89:[83, 84], Operations: ['38+45=83', '12+72=84'] Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 83+84=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 83*84=6972, Resulting Numbers: [6972] 6972,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[72, 95], Operations: ['38+45=83', '12+83=95'] Exploring Operation: 72*95=6840, Resulting Numbers: [6840] 6840,89 unequal: No Solution Exploring Operation: 95-72=23, Resulting Numbers: [23] 23,89 unequal: No Solution Exploring Operation: 72+95=167, Resulting Numbers: [167] 167,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[72, 71], Operations: ['38+45=83', '83-12=71'] Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 72+71=143, Resulting Numbers: [143] 143,89 unequal: No Solution Exploring Operation: 72*71=5112, Resulting Numbers: [5112] 5112,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[83, 60], Operations: ['38+45=83', '72-12=60'] Exploring Operation: 83*60=4980, Resulting Numbers: [4980] 4980,89 unequal: No Solution Exploring Operation: 83+60=143, Resulting Numbers: [143] 143,89 unequal: No Solution Exploring Operation: 83-60=23, Resulting Numbers: [23] 23,89 unequal: No Solution Moving to Node #0,0,4 Current State: 89:[83, 6], Operations: ['38+45=83', '72/12=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[38, 12, 72, 45], Operations: [] Exploring Operation: 38+45=83, Resulting Numbers: [12, 72, 83] Generated Node #0,0: 89:[12, 72, 83] Operation: 38+45=83 Moving to Node #0,0 Current State: 89:[12, 72, 83], Operations: ['38+45=83'] Exploring Operation: 72/12=6, Resulting Numbers: [83, 6] Generated Node #0,0,4: 89:[83, 6] Operation: 72/12=6 Moving to Node #0,0,4 Current State: 89:[83, 6], Operations: ['38+45=83', '72/12=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 52, 99, 97, 73 ]
99
[ "99-97=2", "52/2=26", "73+26=99" ]
Current State: 99:[52, 99, 97, 73], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [52, 73, 2] Generated Node #2: [52, 73, 2] from Operation: 99-97=2 Current State: 99:[52, 73, 2], Operations: ['99-97=2'] Exploring Operation: 52/2=26, Resulting Numbers: [73, 26] Generated Node #3: [73, 26] from Operation: 52/2=26 Current State: 99:[73, 26], Operations: ['99-97=2', '52/2=26'] Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[52, 99, 97, 73], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [99, 97, 21] Generated Node #0,0: 99:[99, 97, 21] Operation: 73-52=21 Moving to Node #0,0 Current State: 99:[99, 97, 21], Operations: ['73-52=21'] Exploring Operation: 99-97=2, Resulting Numbers: [21, 2] Generated Node #0,0,0: 99:[21, 2] Operation: 99-97=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[21, 2], Operations: ['73-52=21', '99-97=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,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
[ 74, 81, 57, 98 ]
71
[ "81-74=7", "98/7=14", "57+14=71" ]
Current State: 71:[74, 81, 57, 98], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [57, 98, 7] Generated Node #2: [57, 98, 7] from Operation: 81-74=7 Current State: 71:[57, 98, 7], Operations: ['81-74=7'] Exploring Operation: 98/7=14, Resulting Numbers: [57, 14] Generated Node #3: [57, 14] from Operation: 98/7=14 Current State: 71:[57, 14], Operations: ['81-74=7', '98/7=14'] Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[74, 81, 57, 98], Operations: [] Exploring Operation: 98-74=24, Resulting Numbers: [81, 57, 24] Generated Node #0,0: 71:[81, 57, 24] Operation: 98-74=24 Exploring Operation: 98-57=41, Resulting Numbers: [74, 81, 41] Generated Node #0,1: 71:[74, 81, 41] Operation: 98-57=41 Exploring Operation: 74-57=17, Resulting Numbers: [81, 98, 17] Generated Node #0,2: 71:[81, 98, 17] Operation: 74-57=17 Exploring Operation: 81-57=24, Resulting Numbers: [74, 98, 24] Generated Node #0,3: 71:[74, 98, 24] Operation: 81-57=24 Exploring Operation: 98-81=17, Resulting Numbers: [74, 57, 17] Generated Node #0,4: 71:[74, 57, 17] Operation: 98-81=17 Moving to Node #0,1 Current State: 71:[74, 81, 41], Operations: ['98-57=41'] Exploring Operation: 74-41=33, Resulting Numbers: [81, 33] Generated Node #0,1,0: 71:[81, 33] Operation: 74-41=33 Exploring Operation: 81+41=122, Resulting Numbers: [74, 122] Generated Node #0,1,1: 71:[74, 122] Operation: 81+41=122 Exploring Operation: 81-74=7, Resulting Numbers: [41, 7] Generated Node #0,1,2: 71:[41, 7] Operation: 81-74=7 Exploring Operation: 74+41=115, Resulting Numbers: [81, 115] Generated Node #0,1,3: 71:[81, 115] Operation: 74+41=115 Exploring Operation: 81-41=40, Resulting Numbers: [74, 40] Generated Node #0,1,4: 71:[74, 40] Operation: 81-41=40 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 71:[74, 40], Operations: ['98-57=41', '81-41=40'] Exploring Operation: 74*40=2960, Resulting Numbers: [2960] 2960,71 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 74+40=114, Resulting Numbers: [114] 114,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:[81, 33], Operations: ['98-57=41', '74-41=33'] Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,71 unequal: No Solution Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,71 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,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:[74, 122], Operations: ['98-57=41', '81+41=122'] Exploring Operation: 74+122=196, Resulting Numbers: [196] 196,71 unequal: No Solution Exploring Operation: 122-74=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 74*122=9028, Resulting Numbers: [9028] 9028,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,3 Current State: 71:[81, 115], Operations: ['98-57=41', '74+41=115'] Exploring Operation: 115-81=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 81*115=9315, Resulting Numbers: [9315] 9315,71 unequal: No Solution Exploring Operation: 81+115=196, Resulting Numbers: [196] 196,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,2 Current State: 71:[41, 7], Operations: ['98-57=41', '81-74=7'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,71 unequal: No Solution Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,71 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: 71:[74, 57, 17], Operations: ['98-81=17'] Exploring Operation: 74-57=17, Resulting Numbers: [17, 17] Generated Node #0,4,0: 71:[17, 17] Operation: 74-57=17 Exploring Operation: 57+17=74, Resulting Numbers: [74, 74] Generated Node #0,4,1: 71:[74, 74] Operation: 57+17=74 Exploring Operation: 74-17=57, Resulting Numbers: [57, 57] Generated Node #0,4,2: 71:[57, 57] Operation: 74-17=57 Exploring Operation: 74+17=91, Resulting Numbers: [57, 91] Generated Node #0,4,3: 71:[57, 91] Operation: 74+17=91 Exploring Operation: 57-17=40, Resulting Numbers: [74, 40] Generated Node #0,4,4: 71:[74, 40] Operation: 57-17=40 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 71:[74, 74], Operations: ['98-81=17', '57+17=74'] Exploring Operation: 74/74=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 74*74=5476, Resulting Numbers: [5476] 5476,71 unequal: No Solution Exploring Operation: 74-74=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 74+74=148, Resulting Numbers: [148] 148,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,4,2 Current State: 71:[57, 57], Operations: ['98-81=17', '74-17=57'] Exploring Operation: 57*57=3249, Resulting Numbers: [3249] 3249,71 unequal: No Solution Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 57+57=114, Resulting Numbers: [114] 114,71 unequal: No Solution Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,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,4,3 Current State: 71:[57, 91], Operations: ['98-81=17', '74+17=91'] Exploring Operation: 57+91=148, Resulting Numbers: [148] 148,71 unequal: No Solution Exploring Operation: 57*91=5187, Resulting Numbers: [5187] 5187,71 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,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,4,4 Current State: 71:[74, 40], Operations: ['98-81=17', '57-17=40'] Exploring Operation: 74+40=114, Resulting Numbers: [114] 114,71 unequal: No Solution Exploring Operation: 74*40=2960, Resulting Numbers: [2960] 2960,71 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,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,4,0 Current State: 71:[17, 17], Operations: ['98-81=17', '74-57=17'] Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,71 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,71 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: 71:[81, 57, 24], Operations: ['98-74=24'] Exploring Operation: 81-57=24, Resulting Numbers: [24, 24] Generated Node #0,0,0: 71:[24, 24] Operation: 81-57=24 Exploring Operation: 57+24=81, Resulting Numbers: [81, 81] Generated Node #0,0,1: 71:[81, 81] Operation: 57+24=81 Exploring Operation: 81+24=105, Resulting Numbers: [57, 105] Generated Node #0,0,2: 71:[57, 105] Operation: 81+24=105 Exploring Operation: 57-24=33, Resulting Numbers: [81, 33] Generated Node #0,0,3: 71:[81, 33] Operation: 57-24=33 Exploring Operation: 81-24=57, Resulting Numbers: [57, 57] Generated Node #0,0,4: 71:[57, 57] Operation: 81-24=57 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[81, 81], Operations: ['98-74=24', '57+24=81'] Exploring Operation: 81+81=162, Resulting Numbers: [162] 162,71 unequal: No Solution Exploring Operation: 81-81=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 81/81=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 81*81=6561, Resulting Numbers: [6561] 6561,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 71:[57, 57], Operations: ['98-74=24', '81-24=57'] Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 57+57=114, Resulting Numbers: [114] 114,71 unequal: No Solution Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 57*57=3249, Resulting Numbers: [3249] 3249,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[57, 105], Operations: ['98-74=24', '81+24=105'] Exploring Operation: 57+105=162, Resulting Numbers: [162] 162,71 unequal: No Solution Exploring Operation: 105-57=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 57*105=5985, Resulting Numbers: [5985] 5985,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[81, 33], Operations: ['98-74=24', '57-24=33'] Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,71 unequal: No Solution Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[24, 24], Operations: ['98-74=24', '81-57=24'] Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,71 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,71 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: 71:[74, 98, 24], Operations: ['81-57=24'] Exploring Operation: 74-24=50, Resulting Numbers: [98, 50] Generated Node #0,3,0: 71:[98, 50] Operation: 74-24=50 Exploring Operation: 74+24=98, Resulting Numbers: [98, 98] Generated Node #0,3,1: 71:[98, 98] Operation: 74+24=98 Exploring Operation: 98-74=24, Resulting Numbers: [24, 24] Generated Node #0,3,2: 71:[24, 24] Operation: 98-74=24 Exploring Operation: 98-24=74, Resulting Numbers: [74, 74] Generated Node #0,3,3: 71:[74, 74] Operation: 98-24=74 Exploring Operation: 98+24=122, Resulting Numbers: [74, 122] Generated Node #0,3,4: 71:[74, 122] Operation: 98+24=122 Moving to Node #0,2 Current State: 71:[81, 98, 17], Operations: ['74-57=17'] Exploring Operation: 98-81=17, Resulting Numbers: [17, 17] Generated Node #0,2,0: 71:[17, 17] Operation: 98-81=17 Exploring Operation: 81+17=98, Resulting Numbers: [98, 98] Generated Node #0,2,1: 71:[98, 98] Operation: 81+17=98 Exploring Operation: 81-17=64, Resulting Numbers: [98, 64] Generated Node #0,2,2: 71:[98, 64] Operation: 81-17=64 Exploring Operation: 98+17=115, Resulting Numbers: [81, 115] Generated Node #0,2,3: 71:[81, 115] Operation: 98+17=115 Exploring Operation: 98-17=81, Resulting Numbers: [81, 81] Generated Node #0,2,4: 71:[81, 81] Operation: 98-17=81 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 71:[81, 81], Operations: ['74-57=17', '98-17=81'] Exploring Operation: 81+81=162, Resulting Numbers: [162] 162,71 unequal: No Solution Exploring Operation: 81*81=6561, Resulting Numbers: [6561] 6561,71 unequal: No Solution Exploring Operation: 81-81=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 81/81=1, Resulting Numbers: [1] 1,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[98, 64], Operations: ['74-57=17', '81-17=64'] Exploring Operation: 98*64=6272, Resulting Numbers: [6272] 6272,71 unequal: No Solution Exploring Operation: 98+64=162, Resulting Numbers: [162] 162,71 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[98, 98], Operations: ['74-57=17', '81+17=98'] Exploring Operation: 98-98=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 98+98=196, Resulting Numbers: [196] 196,71 unequal: No Solution Exploring Operation: 98*98=9604, Resulting Numbers: [9604] 9604,71 unequal: No Solution Exploring Operation: 98/98=1, Resulting Numbers: [1] 1,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 71:[81, 115], Operations: ['74-57=17', '98+17=115'] Exploring Operation: 115-81=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 81+115=196, Resulting Numbers: [196] 196,71 unequal: No Solution Exploring Operation: 81*115=9315, Resulting Numbers: [9315] 9315,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[17, 17], Operations: ['74-57=17', '98-81=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 71:[74, 74], Operations: ['81-57=24', '98-24=74'] Exploring Operation: 74+74=148, Resulting Numbers: [148] 148,71 unequal: No Solution Exploring Operation: 74/74=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 74-74=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 74*74=5476, Resulting Numbers: [5476] 5476,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[98, 50], Operations: ['81-57=24', '74-24=50'] Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 98+50=148, Resulting Numbers: [148] 148,71 unequal: No Solution Exploring Operation: 98*50=4900, Resulting Numbers: [4900] 4900,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[98, 98], Operations: ['81-57=24', '74+24=98'] Exploring Operation: 98-98=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 98/98=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 98+98=196, Resulting Numbers: [196] 196,71 unequal: No Solution Exploring Operation: 98*98=9604, Resulting Numbers: [9604] 9604,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[74, 122], Operations: ['81-57=24', '98+24=122'] Exploring Operation: 122-74=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 74*122=9028, Resulting Numbers: [9028] 9028,71 unequal: No Solution Exploring Operation: 74+122=196, Resulting Numbers: [196] 196,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[24, 24], Operations: ['81-57=24', '98-74=24'] Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,71 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 49, 57, 76, 84 ]
63
[ "76*84=6384", "6384/57=112", "112-49=63" ]
Current State: 63:[49, 57, 76, 84], Operations: [] Exploring Operation: 76*84=6384, Resulting Numbers: [49, 57, 6384] Generated Node #2: [49, 57, 6384] from Operation: 76*84=6384 Current State: 63:[49, 57, 6384], Operations: ['76*84=6384'] Exploring Operation: 6384/57=112, Resulting Numbers: [49, 112] Generated Node #3: [49, 112] from Operation: 6384/57=112 Current State: 63:[49, 112], Operations: ['76*84=6384', '6384/57=112'] Exploring Operation: 112-49=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[49, 57, 76, 84], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [49, 57, 8] Generated Node #0,0: 63:[49, 57, 8] Operation: 84-76=8 Exploring Operation: 76-49=27, Resulting Numbers: [57, 84, 27] Generated Node #0,1: 63:[57, 84, 27] Operation: 76-49=27 Moving to Node #0,0 Current State: 63:[49, 57, 8], Operations: ['84-76=8'] Exploring Operation: 49+8=57, Resulting Numbers: [57, 57] Generated Node #0,0,0: 63:[57, 57] Operation: 49+8=57 Exploring Operation: 57-49=8, Resulting Numbers: [8, 8] Generated Node #0,0,1: 63:[8, 8] Operation: 57-49=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[8, 8], Operations: ['84-76=8', '57-49=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[57, 57], Operations: ['84-76=8', '49+8=57'] Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,63 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: 63:[57, 84, 27], Operations: ['76-49=27'] Exploring Operation: 84-57=27, Resulting Numbers: [27, 27] Generated Node #0,1,0: 63:[27, 27] Operation: 84-57=27 Exploring Operation: 84-27=57, Resulting Numbers: [57, 57] Generated Node #0,1,1: 63:[57, 57] Operation: 84-27=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[27, 27], Operations: ['76-49=27', '84-57=27'] Exploring Operation: 27/27=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 27-27=0, Resulting Numbers: [0] 0,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[57, 57], Operations: ['76-49=27', '84-27=57'] Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 22, 37, 55, 1 ]
69
[ "37-22=15", "55-1=54", "15+54=69" ]
Current State: 69:[22, 37, 55, 1], Operations: [] Exploring Operation: 37-22=15, Resulting Numbers: [55, 1, 15] Generated Node #2: [55, 1, 15] from Operation: 37-22=15 Current State: 69:[55, 1, 15], Operations: ['37-22=15'] Exploring Operation: 55-1=54, Resulting Numbers: [15, 54] Generated Node #3: [15, 54] from Operation: 55-1=54 Current State: 69:[15, 54], Operations: ['37-22=15', '55-1=54'] Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[22, 37, 55, 1], Operations: [] Exploring Operation: 55-37=18, Resulting Numbers: [22, 1, 18] Generated Node #0,0: 69:[22, 1, 18] Operation: 55-37=18 Exploring Operation: 37-22=15, Resulting Numbers: [55, 1, 15] Generated Node #0,1: 69:[55, 1, 15] Operation: 37-22=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[22, 1, 18], Operations: ['55-37=18'] Exploring Operation: 22+1=23, Resulting Numbers: [18, 23] Generated Node #0,0,0: 69:[18, 23] Operation: 22+1=23 Exploring Operation: 22-18=4, Resulting Numbers: [1, 4] Generated Node #0,0,1: 69:[1, 4] Operation: 22-18=4 Moving to Node #0,0,1 Current State: 69:[1, 4], Operations: ['55-37=18', '22-18=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[18, 23], Operations: ['55-37=18', '22+1=23'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 18+23=41, Resulting Numbers: [41] 41,69 unequal: No Solution No 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: 69:[55, 1, 15], Operations: ['37-22=15'] Exploring Operation: 55-15=40, Resulting Numbers: [1, 40] Generated Node #0,1,0: 69:[1, 40] Operation: 55-15=40 Exploring Operation: 55+15=70, Resulting Numbers: [1, 70] Generated Node #0,1,1: 69:[1, 70] Operation: 55+15=70 Moving to Node #0,1,1 Current State: 69:[1, 70], Operations: ['37-22=15', '55+15=70'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[22, 37, 55, 1], Operations: [] Exploring Operation: 37-22=15, Resulting Numbers: [55, 1, 15] Generated Node #0,1: 69:[55, 1, 15] Operation: 37-22=15 Moving to Node #0,1 Current State: 69:[55, 1, 15], Operations: ['37-22=15'] Exploring Operation: 55+15=70, Resulting Numbers: [1, 70] Generated Node #0,1,1: 69:[1, 70] Operation: 55+15=70 Moving to Node #0,1,1 Current State: 69:[1, 70], Operations: ['37-22=15', '55+15=70'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 20, 5, 4, 54 ]
31
[ "20*4=80", "54-5=49", "80-49=31" ]
Current State: 31:[20, 5, 4, 54], Operations: [] Exploring Operation: 20*4=80, Resulting Numbers: [5, 54, 80] Generated Node #2: [5, 54, 80] from Operation: 20*4=80 Current State: 31:[5, 54, 80], Operations: ['20*4=80'] Exploring Operation: 54-5=49, Resulting Numbers: [80, 49] Generated Node #3: [80, 49] from Operation: 54-5=49 Current State: 31:[80, 49], Operations: ['20*4=80', '54-5=49'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[20, 5, 4, 54], Operations: [] Exploring Operation: 5*4=20, Resulting Numbers: [20, 54, 20] Generated Node #0,0: 31:[20, 54, 20] Operation: 5*4=20 Moving to Node #0,0 Current State: 31:[20, 54, 20], Operations: ['5*4=20'] Exploring Operation: 54-20=34, Resulting Numbers: [20, 34] Generated Node #0,0,0: 31:[20, 34] Operation: 54-20=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[20, 34], Operations: ['5*4=20', '54-20=34'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,31 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
[ 32, 6, 68, 10 ]
61
[ "32+10=42", "42/6=7", "68-7=61" ]
Current State: 61:[32, 6, 68, 10], Operations: [] Exploring Operation: 32+10=42, Resulting Numbers: [6, 68, 42] Generated Node #2: [6, 68, 42] from Operation: 32+10=42 Current State: 61:[6, 68, 42], Operations: ['32+10=42'] Exploring Operation: 42/6=7, Resulting Numbers: [68, 7] Generated Node #3: [68, 7] from Operation: 42/6=7 Current State: 61:[68, 7], Operations: ['32+10=42', '42/6=7'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[32, 6, 68, 10], Operations: [] Exploring Operation: 32+10=42, Resulting Numbers: [6, 68, 42] Generated Node #0,0: 61:[6, 68, 42] Operation: 32+10=42 Exploring Operation: 32+6=38, Resulting Numbers: [68, 10, 38] Generated Node #0,1: 61:[68, 10, 38] Operation: 32+6=38 Exploring Operation: 6*10=60, Resulting Numbers: [32, 68, 60] Generated Node #0,2: 61:[32, 68, 60] Operation: 6*10=60 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[32, 68, 60], Operations: ['6*10=60'] Exploring Operation: 68-32=36, Resulting Numbers: [60, 36] Generated Node #0,2,0: 61:[60, 36] Operation: 68-32=36 Exploring Operation: 32+60=92, Resulting Numbers: [68, 92] Generated Node #0,2,1: 61:[68, 92] Operation: 32+60=92 Exploring Operation: 32+68=100, Resulting Numbers: [60, 100] Generated Node #0,2,2: 61:[60, 100] Operation: 32+68=100 Moving to Node #0,2,0 Current State: 61:[60, 36], Operations: ['6*10=60', '68-32=36'] Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,61 unequal: No Solution Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[68, 92], Operations: ['6*10=60', '32+60=92'] Exploring Operation: 68*92=6256, Resulting Numbers: [6256] 6256,61 unequal: No Solution Exploring Operation: 68+92=160, Resulting Numbers: [160] 160,61 unequal: No Solution Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[60, 100], Operations: ['6*10=60', '32+68=100'] Exploring Operation: 100-60=40, Resulting Numbers: [40] 40,61 unequal: No Solution Exploring Operation: 60+100=160, Resulting Numbers: [160] 160,61 unequal: No Solution Exploring Operation: 60*100=6000, Resulting Numbers: [6000] 6000,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[6, 68, 42], Operations: ['32+10=42'] Exploring Operation: 6+68=74, Resulting Numbers: [42, 74] Generated Node #0,0,0: 61:[42, 74] Operation: 6+68=74 Exploring Operation: 68-6=62, Resulting Numbers: [42, 62] Generated Node #0,0,1: 61:[42, 62] Operation: 68-6=62 Exploring Operation: 6+42=48, Resulting Numbers: [68, 48] Generated Node #0,0,2: 61:[68, 48] Operation: 6+42=48 Moving to Node #0,0,1 Current State: 61:[42, 62], Operations: ['32+10=42', '68-6=62'] Exploring Operation: 42+62=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,61 unequal: No Solution Exploring Operation: 42*62=2604, Resulting Numbers: [2604] 2604,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[68, 48], Operations: ['32+10=42', '6+42=48'] Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,61 unequal: No Solution Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,61 unequal: No Solution Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[42, 74], Operations: ['32+10=42', '6+68=74'] Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,61 unequal: No Solution Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,61 unequal: No Solution Exploring Operation: 42*74=3108, Resulting Numbers: [3108] 3108,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[68, 10, 38], Operations: ['32+6=38'] Exploring Operation: 10+38=48, Resulting Numbers: [68, 48] Generated Node #0,1,0: 61:[68, 48] Operation: 10+38=48 Exploring Operation: 68-10=58, Resulting Numbers: [38, 58] Generated Node #0,1,1: 61:[38, 58] Operation: 68-10=58 Exploring Operation: 68+10=78, Resulting Numbers: [38, 78] Generated Node #0,1,2: 61:[38, 78] Operation: 68+10=78 Moving to Node #0,1,0 Current State: 61:[68, 48], Operations: ['32+6=38', '10+38=48'] Exploring Operation: 68*48=3264, Resulting Numbers: [3264] 3264,61 unequal: No Solution Exploring Operation: 68+48=116, Resulting Numbers: [116] 116,61 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[38, 58], Operations: ['32+6=38', '68-10=58'] Exploring Operation: 38+58=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 38*58=2204, Resulting Numbers: [2204] 2204,61 unequal: No Solution Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[38, 78], Operations: ['32+6=38', '68+10=78'] Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,61 unequal: No Solution Exploring Operation: 38*78=2964, Resulting Numbers: [2964] 2964,61 unequal: No Solution Exploring Operation: 38+78=116, Resulting Numbers: [116] 116,61 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
[ 68, 64, 20, 11 ]
36
[ "68-64=4", "20-11=9", "4*9=36" ]
Current State: 36:[68, 64, 20, 11], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [20, 11, 4] Generated Node #2: [20, 11, 4] from Operation: 68-64=4 Current State: 36:[20, 11, 4], Operations: ['68-64=4'] Exploring Operation: 20-11=9, Resulting Numbers: [4, 9] Generated Node #3: [4, 9] from Operation: 20-11=9 Current State: 36:[4, 9], Operations: ['68-64=4', '20-11=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[68, 64, 20, 11], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [20, 11, 4] Generated Node #0,0: 36:[20, 11, 4] Operation: 68-64=4 Exploring Operation: 68-20=48, Resulting Numbers: [64, 11, 48] Generated Node #0,1: 36:[64, 11, 48] Operation: 68-20=48 Exploring Operation: 64-20=44, Resulting Numbers: [68, 11, 44] Generated Node #0,2: 36:[68, 11, 44] Operation: 64-20=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[20, 11, 4], Operations: ['68-64=4'] Exploring Operation: 20-11=9, Resulting Numbers: [4, 9] Generated Node #0,0,0: 36:[4, 9] Operation: 20-11=9 Exploring Operation: 20/4=5, Resulting Numbers: [11, 5] Generated Node #0,0,1: 36:[11, 5] Operation: 20/4=5 Exploring Operation: 20-4=16, Resulting Numbers: [11, 16] Generated Node #0,0,2: 36:[11, 16] Operation: 20-4=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[4, 9], Operations: ['68-64=4', '20-11=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[68, 64, 20, 11], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [20, 11, 4] Generated Node #0,0: 36:[20, 11, 4] Operation: 68-64=4 Moving to Node #0,0 Current State: 36:[20, 11, 4], Operations: ['68-64=4'] Exploring Operation: 20-11=9, Resulting Numbers: [4, 9] Generated Node #0,0,0: 36:[4, 9] Operation: 20-11=9 Moving to Node #0,0,0 Current State: 36:[4, 9], Operations: ['68-64=4', '20-11=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 8, 23, 6, 63 ]
83
[ "63-8=55", "23*6=138", "138-55=83" ]
Current State: 83:[8, 23, 6, 63], Operations: [] Exploring Operation: 63-8=55, Resulting Numbers: [23, 6, 55] Generated Node #2: [23, 6, 55] from Operation: 63-8=55 Current State: 83:[23, 6, 55], Operations: ['63-8=55'] Exploring Operation: 23*6=138, Resulting Numbers: [55, 138] Generated Node #3: [55, 138] from Operation: 23*6=138 Current State: 83:[55, 138], Operations: ['63-8=55', '23*6=138'] Exploring Operation: 138-55=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[8, 23, 6, 63], Operations: [] Exploring Operation: 8*6=48, Resulting Numbers: [23, 63, 48] Generated Node #0,0: 83:[23, 63, 48] Operation: 8*6=48 Exploring Operation: 8+6=14, Resulting Numbers: [23, 63, 14] Generated Node #0,1: 83:[23, 63, 14] Operation: 8+6=14 Exploring Operation: 8+63=71, Resulting Numbers: [23, 6, 71] Generated Node #0,2: 83:[23, 6, 71] Operation: 8+63=71 Exploring Operation: 8+23=31, Resulting Numbers: [6, 63, 31] Generated Node #0,3: 83:[6, 63, 31] Operation: 8+23=31 Moving to Node #0,0 Current State: 83:[23, 63, 48], Operations: ['8*6=48'] Exploring Operation: 23+63=86, Resulting Numbers: [48, 86] Generated Node #0,0,0: 83:[48, 86] Operation: 23+63=86 Exploring Operation: 63-23=40, Resulting Numbers: [48, 40] Generated Node #0,0,1: 83:[48, 40] Operation: 63-23=40 Exploring Operation: 48-23=25, Resulting Numbers: [63, 25] Generated Node #0,0,2: 83:[63, 25] Operation: 48-23=25 Exploring Operation: 23+48=71, Resulting Numbers: [63, 71] Generated Node #0,0,3: 83:[63, 71] Operation: 23+48=71 Moving to Node #0,2 Current State: 83:[23, 6, 71], Operations: ['8+63=71'] Exploring Operation: 23-6=17, Resulting Numbers: [71, 17] Generated Node #0,2,0: 83:[71, 17] Operation: 23-6=17 Exploring Operation: 6+71=77, Resulting Numbers: [23, 77] Generated Node #0,2,1: 83:[23, 77] Operation: 6+71=77 Exploring Operation: 23*6=138, Resulting Numbers: [71, 138] Generated Node #0,2,2: 83:[71, 138] Operation: 23*6=138 Exploring Operation: 23+6=29, Resulting Numbers: [71, 29] Generated Node #0,2,3: 83:[71, 29] Operation: 23+6=29 Moving to Node #0,1 Current State: 83:[23, 63, 14], Operations: ['8+6=14'] Exploring Operation: 63+14=77, Resulting Numbers: [23, 77] Generated Node #0,1,0: 83:[23, 77] Operation: 63+14=77 Exploring Operation: 23+63=86, Resulting Numbers: [14, 86] Generated Node #0,1,1: 83:[14, 86] Operation: 23+63=86 Exploring Operation: 23-14=9, Resulting Numbers: [63, 9] Generated Node #0,1,2: 83:[63, 9] Operation: 23-14=9 Exploring Operation: 23+14=37, Resulting Numbers: [63, 37] Generated Node #0,1,3: 83:[63, 37] Operation: 23+14=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[23, 77], Operations: ['8+6=14', '63+14=77'] Exploring Operation: 23+77=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 23*77=1771, Resulting Numbers: [1771] 1771,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[63, 37], Operations: ['8+6=14', '23+14=37'] Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,83 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[14, 86], Operations: ['8+6=14', '23+63=86'] Exploring Operation: 86-14=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 14+86=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 14*86=1204, Resulting Numbers: [1204] 1204,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[63, 9], Operations: ['8+6=14', '23-14=9'] Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 63*9=567, Resulting Numbers: [567] 567,83 unequal: No Solution Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 63+9=72, Resulting Numbers: [72] 72,83 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: 83:[6, 63, 31], Operations: ['8+23=31'] Exploring Operation: 6+63=69, Resulting Numbers: [31, 69] Generated Node #0,3,0: 83:[31, 69] Operation: 6+63=69 Exploring Operation: 63-6=57, Resulting Numbers: [31, 57] Generated Node #0,3,1: 83:[31, 57] Operation: 63-6=57 Exploring Operation: 31-6=25, Resulting Numbers: [63, 25] Generated Node #0,3,2: 83:[63, 25] Operation: 31-6=25 Exploring Operation: 6+31=37, Resulting Numbers: [63, 37] Generated Node #0,3,3: 83:[63, 37] Operation: 6+31=37 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[31, 69], Operations: ['8+23=31', '6+63=69'] Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,83 unequal: No Solution Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[63, 37], Operations: ['8+23=31', '6+31=37'] Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,83 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[31, 57], Operations: ['8+23=31', '63-6=57'] Exploring Operation: 31+57=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 31*57=1767, Resulting Numbers: [1767] 1767,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[63, 25], Operations: ['8+23=31', '31-6=25'] Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,83 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 83:[63, 71], Operations: ['8*6=48', '23+48=71'] Exploring Operation: 63*71=4473, Resulting Numbers: [4473] 4473,83 unequal: No Solution Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,83 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[48, 86], Operations: ['8*6=48', '23+63=86'] Exploring Operation: 48+86=134, Resulting Numbers: [134] 134,83 unequal: No Solution Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 48*86=4128, Resulting Numbers: [4128] 4128,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[71, 29], Operations: ['8+63=71', '23+6=29'] Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,83 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[23, 77], Operations: ['8+63=71', '6+71=77'] Exploring Operation: 23*77=1771, Resulting Numbers: [1771] 1771,83 unequal: No Solution Exploring Operation: 23+77=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[71, 138], Operations: ['8+63=71', '23*6=138'] Exploring Operation: 71*138=9798, Resulting Numbers: [9798] 9798,83 unequal: No Solution Exploring Operation: 138-71=67, Resulting Numbers: [67] 67,83 unequal: No Solution Exploring Operation: 71+138=209, Resulting Numbers: [209] 209,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[48, 40], Operations: ['8*6=48', '63-23=40'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,83 unequal: No Solution Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[71, 17], Operations: ['8+63=71', '23-6=17'] Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[63, 25], Operations: ['8*6=48', '48-23=25'] Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,83 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 2, 66, 60, 17 ]
90
[ "17-2=15", "66-60=6", "15*6=90" ]
Current State: 90:[2, 66, 60, 17], Operations: [] Exploring Operation: 17-2=15, Resulting Numbers: [66, 60, 15] Generated Node #2: [66, 60, 15] from Operation: 17-2=15 Current State: 90:[66, 60, 15], Operations: ['17-2=15'] Exploring Operation: 66-60=6, Resulting Numbers: [15, 6] Generated Node #3: [15, 6] from Operation: 66-60=6 Current State: 90:[15, 6], Operations: ['17-2=15', '66-60=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[2, 66, 60, 17], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [2, 17, 6] Generated Node #0,0: 90:[2, 17, 6] Operation: 66-60=6 Moving to Node #0,0 Current State: 90:[2, 17, 6], Operations: ['66-60=6'] Exploring Operation: 17-2=15, Resulting Numbers: [6, 15] Generated Node #0,0,0: 90:[6, 15] Operation: 17-2=15 Moving to Node #0,0,0 Current State: 90:[6, 15], Operations: ['66-60=6', '17-2=15'] Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[2, 66, 60, 17], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [2, 17, 6] Generated Node #0,0: 90:[2, 17, 6] Operation: 66-60=6 Moving to Node #0,0 Current State: 90:[2, 17, 6], Operations: ['66-60=6'] Exploring Operation: 17-2=15, Resulting Numbers: [6, 15] Generated Node #0,0,0: 90:[6, 15] Operation: 17-2=15 Moving to Node #0,0,0 Current State: 90:[6, 15], Operations: ['66-60=6', '17-2=15'] Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 78, 62, 26, 68 ]
98
[ "78+62=140", "68-26=42", "140-42=98" ]
Current State: 98:[78, 62, 26, 68], Operations: [] Exploring Operation: 78+62=140, Resulting Numbers: [26, 68, 140] Generated Node #2: [26, 68, 140] from Operation: 78+62=140 Current State: 98:[26, 68, 140], Operations: ['78+62=140'] Exploring Operation: 68-26=42, Resulting Numbers: [140, 42] Generated Node #3: [140, 42] from Operation: 68-26=42 Current State: 98:[140, 42], Operations: ['78+62=140', '68-26=42'] Exploring Operation: 140-42=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[78, 62, 26, 68], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [62, 68, 3] Generated Node #0,0: 98:[62, 68, 3] Operation: 78/26=3 Exploring Operation: 78-62=16, Resulting Numbers: [26, 68, 16] Generated Node #0,1: 98:[26, 68, 16] Operation: 78-62=16 Exploring Operation: 78-68=10, Resulting Numbers: [62, 26, 10] Generated Node #0,2: 98:[62, 26, 10] Operation: 78-68=10 Moving to Node #0,2 Current State: 98:[62, 26, 10], Operations: ['78-68=10'] Exploring Operation: 62+26=88, Resulting Numbers: [10, 88] Generated Node #0,2,0: 98:[10, 88] Operation: 62+26=88 Exploring Operation: 62-10=52, Resulting Numbers: [26, 52] Generated Node #0,2,1: 98:[26, 52] Operation: 62-10=52 Exploring Operation: 26-10=16, Resulting Numbers: [62, 16] Generated Node #0,2,2: 98:[62, 16] Operation: 26-10=16 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[10, 88], Operations: ['78-68=10', '62+26=88'] Exploring Operation: 10*88=880, Resulting Numbers: [880] 880,98 unequal: No Solution Exploring Operation: 10+88=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[78, 62, 26, 68], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [62, 26, 10] Generated Node #0,2: 98:[62, 26, 10] Operation: 78-68=10 Moving to Node #0,2 Current State: 98:[62, 26, 10], Operations: ['78-68=10'] Exploring Operation: 62+26=88, Resulting Numbers: [10, 88] Generated Node #0,2,0: 98:[10, 88] Operation: 62+26=88 Moving to Node #0,2,0 Current State: 98:[10, 88], Operations: ['78-68=10', '62+26=88'] Exploring Operation: 10+88=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 81, 95, 4, 24 ]
40
[ "95-81=14", "24-14=10", "4*10=40" ]
Current State: 40:[81, 95, 4, 24], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [4, 24, 14] Generated Node #2: [4, 24, 14] from Operation: 95-81=14 Current State: 40:[4, 24, 14], Operations: ['95-81=14'] Exploring Operation: 24-14=10, Resulting Numbers: [4, 10] Generated Node #3: [4, 10] from Operation: 24-14=10 Current State: 40:[4, 10], Operations: ['95-81=14', '24-14=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[81, 95, 4, 24], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [4, 24, 14] Generated Node #0,0: 40:[4, 24, 14] Operation: 95-81=14 Exploring Operation: 81-24=57, Resulting Numbers: [95, 4, 57] Generated Node #0,1: 40:[95, 4, 57] Operation: 81-24=57 Exploring Operation: 95-24=71, Resulting Numbers: [81, 4, 71] Generated Node #0,2: 40:[81, 4, 71] Operation: 95-24=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[4, 24, 14], Operations: ['95-81=14'] Exploring Operation: 24-14=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 40:[4, 10] Operation: 24-14=10 Exploring Operation: 24-4=20, Resulting Numbers: [14, 20] Generated Node #0,0,1: 40:[14, 20] Operation: 24-4=20 Exploring Operation: 24+14=38, Resulting Numbers: [4, 38] Generated Node #0,0,2: 40:[4, 38] Operation: 24+14=38 Moving to Node #0,0,0 Current State: 40:[4, 10], Operations: ['95-81=14', '24-14=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[81, 95, 4, 24], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [4, 24, 14] Generated Node #0,0: 40:[4, 24, 14] Operation: 95-81=14 Moving to Node #0,0 Current State: 40:[4, 24, 14], Operations: ['95-81=14'] Exploring Operation: 24-14=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 40:[4, 10] Operation: 24-14=10 Moving to Node #0,0,0 Current State: 40:[4, 10], Operations: ['95-81=14', '24-14=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 43, 9, 30, 36 ]
33
[ "43-36=7", "9*7=63", "63-30=33" ]
Current State: 33:[43, 9, 30, 36], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [9, 30, 7] Generated Node #2: [9, 30, 7] from Operation: 43-36=7 Current State: 33:[9, 30, 7], Operations: ['43-36=7'] Exploring Operation: 9*7=63, Resulting Numbers: [30, 63] Generated Node #3: [30, 63] from Operation: 9*7=63 Current State: 33:[30, 63], Operations: ['43-36=7', '9*7=63'] Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[43, 9, 30, 36], Operations: [] Exploring Operation: 36-30=6, Resulting Numbers: [43, 9, 6] Generated Node #0,0: 33:[43, 9, 6] Operation: 36-30=6 Exploring Operation: 36/9=4, Resulting Numbers: [43, 30, 4] Generated Node #0,1: 33:[43, 30, 4] Operation: 36/9=4 Exploring Operation: 43-9=34, Resulting Numbers: [30, 36, 34] Generated Node #0,2: 33:[30, 36, 34] Operation: 43-9=34 Exploring Operation: 43-36=7, Resulting Numbers: [9, 30, 7] Generated Node #0,3: 33:[9, 30, 7] Operation: 43-36=7 Exploring Operation: 43-30=13, Resulting Numbers: [9, 36, 13] Generated Node #0,4: 33:[9, 36, 13] Operation: 43-30=13 Moving to Node #0,2 Current State: 33:[30, 36, 34], Operations: ['43-9=34'] Exploring Operation: 36-34=2, Resulting Numbers: [30, 2] Generated Node #0,2,0: 33:[30, 2] Operation: 36-34=2 Exploring Operation: 30+36=66, Resulting Numbers: [34, 66] Generated Node #0,2,1: 33:[34, 66] Operation: 30+36=66 Exploring Operation: 30+34=64, Resulting Numbers: [36, 64] Generated Node #0,2,2: 33:[36, 64] Operation: 30+34=64 Exploring Operation: 36-30=6, Resulting Numbers: [34, 6] Generated Node #0,2,3: 33:[34, 6] Operation: 36-30=6 Exploring Operation: 34-30=4, Resulting Numbers: [36, 4] Generated Node #0,2,4: 33:[36, 4] Operation: 34-30=4 Moving to Node #0,4 Current State: 33:[9, 36, 13], Operations: ['43-30=13'] Exploring Operation: 36-13=23, Resulting Numbers: [9, 23] Generated Node #0,4,0: 33:[9, 23] Operation: 36-13=23 Exploring Operation: 13-9=4, Resulting Numbers: [36, 4] Generated Node #0,4,1: 33:[36, 4] Operation: 13-9=4 Exploring Operation: 9+36=45, Resulting Numbers: [13, 45] Generated Node #0,4,2: 33:[13, 45] Operation: 9+36=45 Exploring Operation: 36/9=4, Resulting Numbers: [13, 4] Generated Node #0,4,3: 33:[13, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [13, 27] Generated Node #0,4,4: 33:[13, 27] Operation: 36-9=27 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 33:[13, 4], Operations: ['43-30=13', '36/9=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,33 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,33 unequal: No Solution No 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: 33:[36, 4], Operations: ['43-30=13', '13-9=4'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,33 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,33 unequal: No Solution No 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: 33:[13, 27], Operations: ['43-30=13', '36-9=27'] Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,33 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,33 unequal: No Solution No 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: 33:[9, 23], Operations: ['43-30=13', '36-13=23'] Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,33 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,33 unequal: No Solution No 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: 33:[13, 45], Operations: ['43-30=13', '9+36=45'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 13*45=585, Resulting Numbers: [585] 585,33 unequal: No Solution Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,33 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: 33:[9, 30, 7], Operations: ['43-36=7'] Exploring Operation: 30-7=23, Resulting Numbers: [9, 23] Generated Node #0,3,0: 33:[9, 23] Operation: 30-7=23 Exploring Operation: 30+7=37, Resulting Numbers: [9, 37] Generated Node #0,3,1: 33:[9, 37] Operation: 30+7=37 Exploring Operation: 9+7=16, Resulting Numbers: [30, 16] Generated Node #0,3,2: 33:[30, 16] Operation: 9+7=16 Exploring Operation: 9+30=39, Resulting Numbers: [7, 39] Generated Node #0,3,3: 33:[7, 39] Operation: 9+30=39 Exploring Operation: 9-7=2, Resulting Numbers: [30, 2] Generated Node #0,3,4: 33:[30, 2] Operation: 9-7=2 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 33:[30, 2], Operations: ['43-36=7', '9-7=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,33 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,33 unequal: No Solution No 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: 33:[9, 37], Operations: ['43-36=7', '30+7=37'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,33 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,33 unequal: No Solution No 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: 33:[30, 16], Operations: ['43-36=7', '9+7=16'] Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,33 unequal: No Solution No 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: 33:[7, 39], Operations: ['43-36=7', '9+30=39'] Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,33 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,33 unequal: No Solution No 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: 33:[9, 23], Operations: ['43-36=7', '30-7=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,33 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,33 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: 33:[43, 30, 4], Operations: ['36/9=4'] Exploring Operation: 30+4=34, Resulting Numbers: [43, 34] Generated Node #0,1,0: 33:[43, 34] Operation: 30+4=34 Exploring Operation: 43+4=47, Resulting Numbers: [30, 47] Generated Node #0,1,1: 33:[30, 47] Operation: 43+4=47 Exploring Operation: 43-4=39, Resulting Numbers: [30, 39] Generated Node #0,1,2: 33:[30, 39] Operation: 43-4=39 Exploring Operation: 30-4=26, Resulting Numbers: [43, 26] Generated Node #0,1,3: 33:[43, 26] Operation: 30-4=26 Exploring Operation: 43-30=13, Resulting Numbers: [4, 13] Generated Node #0,1,4: 33:[4, 13] Operation: 43-30=13 Moving to Node #0,0 Current State: 33:[43, 9, 6], Operations: ['36-30=6'] Exploring Operation: 43-6=37, Resulting Numbers: [9, 37] Generated Node #0,0,0: 33:[9, 37] Operation: 43-6=37 Exploring Operation: 43-9=34, Resulting Numbers: [6, 34] Generated Node #0,0,1: 33:[6, 34] Operation: 43-9=34 Exploring Operation: 9+6=15, Resulting Numbers: [43, 15] Generated Node #0,0,2: 33:[43, 15] Operation: 9+6=15 Exploring Operation: 43+6=49, Resulting Numbers: [9, 49] Generated Node #0,0,3: 33:[9, 49] Operation: 43+6=49 Exploring Operation: 9-6=3, Resulting Numbers: [43, 3] Generated Node #0,0,4: 33:[43, 3] Operation: 9-6=3 Moving to Node #0,1,4 Current State: 33:[4, 13], Operations: ['36/9=4', '43-30=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[30, 2], Operations: ['43-9=34', '36-34=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,33 unequal: No Solution Moving to Node #0,2,4 Current State: 33:[36, 4], Operations: ['43-9=34', '34-30=4'] Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,33 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[34, 6], Operations: ['43-9=34', '36-30=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[6, 34], Operations: ['36-30=6', '43-9=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,33 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[9, 37], Operations: ['36-30=6', '43-6=37'] Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[30, 39], Operations: ['36/9=4', '43-4=39'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,33 unequal: No Solution Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,33 unequal: No Solution Moving to Node #0,0,4 Current State: 33:[43, 3], Operations: ['36-30=6', '9-6=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,33 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[43, 34], Operations: ['36/9=4', '30+4=34'] Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 43*34=1462, Resulting Numbers: [1462] 1462,33 unequal: No Solution Exploring Operation: 43+34=77, Resulting Numbers: [77] 77,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[43, 15], Operations: ['36-30=6', '9+6=15'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 43*15=645, Resulting Numbers: [645] 645,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[43, 26], Operations: ['36/9=4', '30-4=26'] Exploring Operation: 43*26=1118, Resulting Numbers: [1118] 1118,33 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[30, 47], Operations: ['36/9=4', '43+4=47'] Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,33 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[9, 49], Operations: ['36-30=6', '43+6=49'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,33 unequal: No Solution Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[34, 66], Operations: ['43-9=34', '30+36=66'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,33 unequal: No Solution Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[36, 64], Operations: ['43-9=34', '30+34=64'] Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,33 unequal: No Solution Exploring Operation: 36*64=2304, Resulting Numbers: [2304] 2304,33 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,33 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 54, 35, 32, 36 ]
87
[ "54-35=19", "32+36=68", "19+68=87" ]
Current State: 87:[54, 35, 32, 36], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [32, 36, 19] Generated Node #2: [32, 36, 19] from Operation: 54-35=19 Current State: 87:[32, 36, 19], Operations: ['54-35=19'] Exploring Operation: 32+36=68, Resulting Numbers: [19, 68] Generated Node #3: [19, 68] from Operation: 32+36=68 Current State: 87:[19, 68], Operations: ['54-35=19', '32+36=68'] Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[54, 35, 32, 36], Operations: [] Exploring Operation: 54+36=90, Resulting Numbers: [35, 32, 90] Generated Node #0,0: 87:[35, 32, 90] Operation: 54+36=90 Exploring Operation: 54+32=86, Resulting Numbers: [35, 36, 86] Generated Node #0,1: 87:[35, 36, 86] Operation: 54+32=86 Exploring Operation: 54-35=19, Resulting Numbers: [32, 36, 19] Generated Node #0,2: 87:[32, 36, 19] Operation: 54-35=19 Exploring Operation: 54+35=89, Resulting Numbers: [32, 36, 89] Generated Node #0,3: 87:[32, 36, 89] Operation: 54+35=89 Moving to Node #0,0 Current State: 87:[35, 32, 90], Operations: ['54+36=90'] Exploring Operation: 35-32=3, Resulting Numbers: [90, 3] Generated Node #0,0,0: 87:[90, 3] Operation: 35-32=3 Exploring Operation: 35+32=67, Resulting Numbers: [90, 67] Generated Node #0,0,1: 87:[90, 67] Operation: 35+32=67 Exploring Operation: 90-35=55, Resulting Numbers: [32, 55] Generated Node #0,0,2: 87:[32, 55] Operation: 90-35=55 Exploring Operation: 90-32=58, Resulting Numbers: [35, 58] Generated Node #0,0,3: 87:[35, 58] Operation: 90-32=58 Moving to Node #0,3 Current State: 87:[32, 36, 89], Operations: ['54+35=89'] Exploring Operation: 89-32=57, Resulting Numbers: [36, 57] Generated Node #0,3,0: 87:[36, 57] Operation: 89-32=57 Exploring Operation: 32+36=68, Resulting Numbers: [89, 68] Generated Node #0,3,1: 87:[89, 68] Operation: 32+36=68 Exploring Operation: 36-32=4, Resulting Numbers: [89, 4] Generated Node #0,3,2: 87:[89, 4] Operation: 36-32=4 Exploring Operation: 89-36=53, Resulting Numbers: [32, 53] Generated Node #0,3,3: 87:[32, 53] Operation: 89-36=53 Moving to Node #0,1 Current State: 87:[35, 36, 86], Operations: ['54+32=86'] Exploring Operation: 86-36=50, Resulting Numbers: [35, 50] Generated Node #0,1,0: 87:[35, 50] Operation: 86-36=50 Exploring Operation: 36-35=1, Resulting Numbers: [86, 1] Generated Node #0,1,1: 87:[86, 1] Operation: 36-35=1 Exploring Operation: 35+36=71, Resulting Numbers: [86, 71] Generated Node #0,1,2: 87:[86, 71] Operation: 35+36=71 Exploring Operation: 86-35=51, Resulting Numbers: [36, 51] Generated Node #0,1,3: 87:[36, 51] Operation: 86-35=51 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[86, 1], Operations: ['54+32=86', '36-35=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,87 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,87 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[54, 35, 32, 36], Operations: [] Exploring Operation: 54+32=86, Resulting Numbers: [35, 36, 86] Generated Node #0,1: 87:[35, 36, 86] Operation: 54+32=86 Moving to Node #0,1 Current State: 87:[35, 36, 86], Operations: ['54+32=86'] Exploring Operation: 36-35=1, Resulting Numbers: [86, 1] Generated Node #0,1,1: 87:[86, 1] Operation: 36-35=1 Moving to Node #0,1,1 Current State: 87:[86, 1], Operations: ['54+32=86', '36-35=1'] Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 88, 68, 21, 10 ]
51
[ "88-68=20", "21+10=31", "20+31=51" ]
Current State: 51:[88, 68, 21, 10], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [21, 10, 20] Generated Node #2: [21, 10, 20] from Operation: 88-68=20 Current State: 51:[21, 10, 20], Operations: ['88-68=20'] Exploring Operation: 21+10=31, Resulting Numbers: [20, 31] Generated Node #3: [20, 31] from Operation: 21+10=31 Current State: 51:[20, 31], Operations: ['88-68=20', '21+10=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[88, 68, 21, 10], Operations: [] Exploring Operation: 88-10=78, Resulting Numbers: [68, 21, 78] Generated Node #0,0: 51:[68, 21, 78] Operation: 88-10=78 Exploring Operation: 88-21=67, Resulting Numbers: [68, 10, 67] Generated Node #0,1: 51:[68, 10, 67] Operation: 88-21=67 Exploring Operation: 88-68=20, Resulting Numbers: [21, 10, 20] Generated Node #0,2: 51:[21, 10, 20] Operation: 88-68=20 Exploring Operation: 68-21=47, Resulting Numbers: [88, 10, 47] Generated Node #0,3: 51:[88, 10, 47] Operation: 68-21=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[21, 10, 20], Operations: ['88-68=20'] Exploring Operation: 21-20=1, Resulting Numbers: [10, 1] Generated Node #0,2,0: 51:[10, 1] Operation: 21-20=1 Exploring Operation: 20-10=10, Resulting Numbers: [21, 10] Generated Node #0,2,1: 51:[21, 10] Operation: 20-10=10 Exploring Operation: 20/10=2, Resulting Numbers: [21, 2] Generated Node #0,2,2: 51:[21, 2] Operation: 20/10=2 Exploring Operation: 21-10=11, Resulting Numbers: [20, 11] Generated Node #0,2,3: 51:[20, 11] Operation: 21-10=11 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[21, 2], Operations: ['88-68=20', '20/10=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[10, 1], Operations: ['88-68=20', '21-20=1'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 51:[20, 11], Operations: ['88-68=20', '21-10=11'] Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,51 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[21, 10], Operations: ['88-68=20', '20-10=10'] Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,51 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[68, 10, 67], Operations: ['88-21=67'] Exploring Operation: 68-10=58, Resulting Numbers: [67, 58] Generated Node #0,1,0: 51:[67, 58] Operation: 68-10=58 Exploring Operation: 68-67=1, Resulting Numbers: [10, 1] Generated Node #0,1,1: 51:[10, 1] Operation: 68-67=1 Exploring Operation: 68+10=78, Resulting Numbers: [67, 78] Generated Node #0,1,2: 51:[67, 78] Operation: 68+10=78 Exploring Operation: 67-10=57, Resulting Numbers: [68, 57] Generated Node #0,1,3: 51:[68, 57] Operation: 67-10=57 Moving to Node #0,1,1 Current State: 51:[10, 1], Operations: ['88-21=67', '68-67=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[68, 57], Operations: ['88-21=67', '67-10=57'] Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,51 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 68*57=3876, Resulting Numbers: [3876] 3876,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[67, 58], Operations: ['88-21=67', '68-10=58'] Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,51 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[67, 78], Operations: ['88-21=67', '68+10=78'] Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 67*78=5226, Resulting Numbers: [5226] 5226,51 unequal: No Solution Exploring Operation: 67+78=145, Resulting Numbers: [145] 145,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[68, 21, 78], Operations: ['88-10=78'] Exploring Operation: 68+21=89, Resulting Numbers: [78, 89] Generated Node #0,0,0: 51:[78, 89] Operation: 68+21=89 Exploring Operation: 78-68=10, Resulting Numbers: [21, 10] Generated Node #0,0,1: 51:[21, 10] Operation: 78-68=10 Exploring Operation: 78-21=57, Resulting Numbers: [68, 57] Generated Node #0,0,2: 51:[68, 57] Operation: 78-21=57 Exploring Operation: 68-21=47, Resulting Numbers: [78, 47] Generated Node #0,0,3: 51:[78, 47] Operation: 68-21=47 Moving to Node #0,0,1 Current State: 51:[21, 10], Operations: ['88-10=78', '78-68=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,51 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[68, 57], Operations: ['88-10=78', '78-21=57'] Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 68*57=3876, Resulting Numbers: [3876] 3876,51 unequal: No Solution Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[78, 47], Operations: ['88-10=78', '68-21=47'] Exploring Operation: 78+47=125, Resulting Numbers: [125] 125,51 unequal: No Solution Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 78*47=3666, Resulting Numbers: [3666] 3666,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[78, 89], Operations: ['88-10=78', '68+21=89'] Exploring Operation: 89-78=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 78*89=6942, Resulting Numbers: [6942] 6942,51 unequal: No Solution Exploring Operation: 78+89=167, Resulting Numbers: [167] 167,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,3 Current State: 51:[88, 10, 47], Operations: ['68-21=47'] Exploring Operation: 88-47=41, Resulting Numbers: [10, 41] Generated Node #0,3,0: 51:[10, 41] Operation: 88-47=41 Exploring Operation: 10+47=57, Resulting Numbers: [88, 57] Generated Node #0,3,1: 51:[88, 57] Operation: 10+47=57 Exploring Operation: 88-10=78, Resulting Numbers: [47, 78] Generated Node #0,3,2: 51:[47, 78] Operation: 88-10=78 Exploring Operation: 88+10=98, Resulting Numbers: [47, 98] Generated Node #0,3,3: 51:[47, 98] Operation: 88+10=98 Moving to Node #0,3,0 Current State: 51:[10, 41], Operations: ['68-21=47', '88-47=41'] Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[88, 68, 21, 10], Operations: [] Exploring Operation: 68-21=47, Resulting Numbers: [88, 10, 47] Generated Node #0,3: 51:[88, 10, 47] Operation: 68-21=47 Moving to Node #0,3 Current State: 51:[88, 10, 47], Operations: ['68-21=47'] Exploring Operation: 88-47=41, Resulting Numbers: [10, 41] Generated Node #0,3,0: 51:[10, 41] Operation: 88-47=41 Moving to Node #0,3,0 Current State: 51:[10, 41], Operations: ['68-21=47', '88-47=41'] Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_4
sum_heuristic
[ 86, 30, 34, 21 ]
54
[ "86*21=1806", "30+1806=1836", "1836/34=54" ]
Current State: 54:[86, 30, 34, 21], Operations: [] Exploring Operation: 86*21=1806, Resulting Numbers: [30, 34, 1806] Generated Node #2: [30, 34, 1806] from Operation: 86*21=1806 Current State: 54:[30, 34, 1806], Operations: ['86*21=1806'] Exploring Operation: 30+1806=1836, Resulting Numbers: [34, 1836] Generated Node #3: [34, 1836] from Operation: 30+1806=1836 Current State: 54:[34, 1836], Operations: ['86*21=1806', '30+1806=1836'] Exploring Operation: 1836/34=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[86, 30, 34, 21], Operations: [] Exploring Operation: 86-30=56, Resulting Numbers: [34, 21, 56] Generated Node #0,0: 54:[34, 21, 56] Operation: 86-30=56 Exploring Operation: 86-34=52, Resulting Numbers: [30, 21, 52] Generated Node #0,1: 54:[30, 21, 52] Operation: 86-34=52 Moving to Node #0,1 Current State: 54:[30, 21, 52], Operations: ['86-34=52'] Exploring Operation: 30-21=9, Resulting Numbers: [52, 9] Generated Node #0,1,0: 54:[52, 9] Operation: 30-21=9 Exploring Operation: 30+21=51, Resulting Numbers: [52, 51] Generated Node #0,1,1: 54:[52, 51] Operation: 30+21=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[52, 9], Operations: ['86-34=52', '30-21=9'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,54 unequal: No Solution No 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: 54:[52, 51], Operations: ['86-34=52', '30+21=51'] Exploring Operation: 52+51=103, Resulting Numbers: [103] 103,54 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,54 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: 54:[34, 21, 56], Operations: ['86-30=56'] Exploring Operation: 34-21=13, Resulting Numbers: [56, 13] Generated Node #0,0,0: 54:[56, 13] Operation: 34-21=13 Exploring Operation: 34+21=55, Resulting Numbers: [56, 55] Generated Node #0,0,1: 54:[56, 55] Operation: 34+21=55 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[56, 55], Operations: ['86-30=56', '34+21=55'] Exploring Operation: 56+55=111, Resulting Numbers: [111] 111,54 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,54 unequal: No Solution No 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: 54:[56, 13], Operations: ['86-30=56', '34-21=13'] Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 44, 69, 8, 84 ]
33
[ "44*69=3036", "8+84=92", "3036/92=33" ]
Current State: 33:[44, 69, 8, 84], Operations: [] Exploring Operation: 44*69=3036, Resulting Numbers: [8, 84, 3036] Generated Node #2: [8, 84, 3036] from Operation: 44*69=3036 Current State: 33:[8, 84, 3036], Operations: ['44*69=3036'] Exploring Operation: 8+84=92, Resulting Numbers: [3036, 92] Generated Node #3: [3036, 92] from Operation: 8+84=92 Current State: 33:[3036, 92], Operations: ['44*69=3036', '8+84=92'] Exploring Operation: 3036/92=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[44, 69, 8, 84], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [69, 8, 40] Generated Node #0,0: 33:[69, 8, 40] Operation: 84-44=40 Exploring Operation: 84-69=15, Resulting Numbers: [44, 8, 15] Generated Node #0,1: 33:[44, 8, 15] Operation: 84-69=15 Moving to Node #0,1 Current State: 33:[44, 8, 15], Operations: ['84-69=15'] Exploring Operation: 44-8=36, Resulting Numbers: [15, 36] Generated Node #0,1,0: 33:[15, 36] Operation: 44-8=36 Exploring Operation: 44-15=29, Resulting Numbers: [8, 29] Generated Node #0,1,1: 33:[8, 29] Operation: 44-15=29 Moving to Node #0,0 Current State: 33:[69, 8, 40], Operations: ['84-44=40'] Exploring Operation: 69-8=61, Resulting Numbers: [40, 61] Generated Node #0,0,0: 33:[40, 61] Operation: 69-8=61 Exploring Operation: 69-40=29, Resulting Numbers: [8, 29] Generated Node #0,0,1: 33:[8, 29] Operation: 69-40=29 Moving to Node #0,1,0 Current State: 33:[15, 36], Operations: ['84-69=15', '44-8=36'] Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[8, 29], Operations: ['84-44=40', '69-40=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[8, 29], Operations: ['84-69=15', '44-15=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[40, 61], Operations: ['84-44=40', '69-8=61'] Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,33 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,33 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 68, 2, 88, 87 ]
77
[ "88-68=20", "20/2=10", "87-10=77" ]
Current State: 77:[68, 2, 88, 87], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [2, 87, 20] Generated Node #2: [2, 87, 20] from Operation: 88-68=20 Current State: 77:[2, 87, 20], Operations: ['88-68=20'] Exploring Operation: 20/2=10, Resulting Numbers: [87, 10] Generated Node #3: [87, 10] from Operation: 20/2=10 Current State: 77:[87, 10], Operations: ['88-68=20', '20/2=10'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[68, 2, 88, 87], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [68, 2, 1] Generated Node #0,0: 77:[68, 2, 1] Operation: 88-87=1 Exploring Operation: 88-68=20, Resulting Numbers: [2, 87, 20] Generated Node #0,1: 77:[2, 87, 20] Operation: 88-68=20 Moving to Node #0,0 Current State: 77:[68, 2, 1], Operations: ['88-87=1'] Exploring Operation: 68+2=70, Resulting Numbers: [1, 70] Generated Node #0,0,0: 77:[1, 70] Operation: 68+2=70 Exploring Operation: 68+1=69, Resulting Numbers: [2, 69] Generated Node #0,0,1: 77:[2, 69] Operation: 68+1=69 Moving to Node #0,1 Current State: 77:[2, 87, 20], Operations: ['88-68=20'] Exploring Operation: 87-20=67, Resulting Numbers: [2, 67] Generated Node #0,1,0: 77:[2, 67] Operation: 87-20=67 Exploring Operation: 20/2=10, Resulting Numbers: [87, 10] Generated Node #0,1,1: 77:[87, 10] Operation: 20/2=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[87, 10], Operations: ['88-68=20', '20/2=10'] Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[68, 2, 88, 87], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [2, 87, 20] Generated Node #0,1: 77:[2, 87, 20] Operation: 88-68=20 Moving to Node #0,1 Current State: 77:[2, 87, 20], Operations: ['88-68=20'] Exploring Operation: 20/2=10, Resulting Numbers: [87, 10] Generated Node #0,1,1: 77:[87, 10] Operation: 20/2=10 Moving to Node #0,1,1 Current State: 77:[87, 10], Operations: ['88-68=20', '20/2=10'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 8, 16, 26, 24 ]
39
[ "24/8=3", "16+26=42", "42-3=39" ]
Current State: 39:[8, 16, 26, 24], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [16, 26, 3] Generated Node #2: [16, 26, 3] from Operation: 24/8=3 Current State: 39:[16, 26, 3], Operations: ['24/8=3'] Exploring Operation: 16+26=42, Resulting Numbers: [3, 42] Generated Node #3: [3, 42] from Operation: 16+26=42 Current State: 39:[3, 42], Operations: ['24/8=3', '16+26=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[8, 16, 26, 24], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [8, 16, 2] Generated Node #0,0: 39:[8, 16, 2] Operation: 26-24=2 Exploring Operation: 24/8=3, Resulting Numbers: [16, 26, 3] Generated Node #0,1: 39:[16, 26, 3] Operation: 24/8=3 Exploring Operation: 8+26=34, Resulting Numbers: [16, 24, 34] Generated Node #0,2: 39:[16, 24, 34] Operation: 8+26=34 Exploring Operation: 26-8=18, Resulting Numbers: [16, 24, 18] Generated Node #0,3: 39:[16, 24, 18] Operation: 26-8=18 Moving to Node #0,0 Current State: 39:[8, 16, 2], Operations: ['26-24=2'] Exploring Operation: 8+2=10, Resulting Numbers: [16, 10] Generated Node #0,0,0: 39:[16, 10] Operation: 8+2=10 Exploring Operation: 8/2=4, Resulting Numbers: [16, 4] Generated Node #0,0,1: 39:[16, 4] Operation: 8/2=4 Exploring Operation: 16/8=2, Resulting Numbers: [2, 2] Generated Node #0,0,2: 39:[2, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [2, 8] Generated Node #0,0,3: 39:[2, 8] Operation: 16-8=8 Moving to Node #0,1 Current State: 39:[16, 26, 3], Operations: ['24/8=3'] Exploring Operation: 16-3=13, Resulting Numbers: [26, 13] Generated Node #0,1,0: 39:[26, 13] Operation: 16-3=13 Exploring Operation: 26+3=29, Resulting Numbers: [16, 29] Generated Node #0,1,1: 39:[16, 29] Operation: 26+3=29 Exploring Operation: 16+26=42, Resulting Numbers: [3, 42] Generated Node #0,1,2: 39:[3, 42] Operation: 16+26=42 Exploring Operation: 26-16=10, Resulting Numbers: [3, 10] Generated Node #0,1,3: 39:[3, 10] Operation: 26-16=10 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[3, 42], Operations: ['24/8=3', '16+26=42'] Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,39 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[8, 16, 26, 24], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [16, 26, 3] Generated Node #0,1: 39:[16, 26, 3] Operation: 24/8=3 Moving to Node #0,1 Current State: 39:[16, 26, 3], Operations: ['24/8=3'] Exploring Operation: 16+26=42, Resulting Numbers: [3, 42] Generated Node #0,1,2: 39:[3, 42] Operation: 16+26=42 Moving to Node #0,1,2 Current State: 39:[3, 42], Operations: ['24/8=3', '16+26=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 78, 35, 25, 70 ]
28
[ "70/35=2", "25*2=50", "78-50=28" ]
Current State: 28:[78, 35, 25, 70], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [78, 25, 2] Generated Node #2: [78, 25, 2] from Operation: 70/35=2 Current State: 28:[78, 25, 2], Operations: ['70/35=2'] Exploring Operation: 25*2=50, Resulting Numbers: [78, 50] Generated Node #3: [78, 50] from Operation: 25*2=50 Current State: 28:[78, 50], Operations: ['70/35=2', '25*2=50'] Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[78, 35, 25, 70], Operations: [] Exploring Operation: 78-35=43, Resulting Numbers: [25, 70, 43] Generated Node #0,0: 28:[25, 70, 43] Operation: 78-35=43 Exploring Operation: 70/35=2, Resulting Numbers: [78, 25, 2] Generated Node #0,1: 28:[78, 25, 2] Operation: 70/35=2 Exploring Operation: 78-70=8, Resulting Numbers: [35, 25, 8] Generated Node #0,2: 28:[35, 25, 8] Operation: 78-70=8 Moving to Node #0,2 Current State: 28:[35, 25, 8], Operations: ['78-70=8'] Exploring Operation: 35-8=27, Resulting Numbers: [25, 27] Generated Node #0,2,0: 28:[25, 27] Operation: 35-8=27 Exploring Operation: 35-25=10, Resulting Numbers: [8, 10] Generated Node #0,2,1: 28:[8, 10] Operation: 35-25=10 Exploring Operation: 25-8=17, Resulting Numbers: [35, 17] Generated Node #0,2,2: 28:[35, 17] Operation: 25-8=17 Moving to Node #0,1 Current State: 28:[78, 25, 2], Operations: ['70/35=2'] Exploring Operation: 78-2=76, Resulting Numbers: [25, 76] Generated Node #0,1,0: 28:[25, 76] Operation: 78-2=76 Exploring Operation: 78-25=53, Resulting Numbers: [2, 53] Generated Node #0,1,1: 28:[2, 53] Operation: 78-25=53 Exploring Operation: 78/2=39, Resulting Numbers: [25, 39] Generated Node #0,1,2: 28:[25, 39] Operation: 78/2=39 Moving to Node #0,0 Current State: 28:[25, 70, 43], Operations: ['78-35=43'] Exploring Operation: 70-43=27, Resulting Numbers: [25, 27] Generated Node #0,0,0: 28:[25, 27] Operation: 70-43=27 Exploring Operation: 70-25=45, Resulting Numbers: [43, 45] Generated Node #0,0,1: 28:[43, 45] Operation: 70-25=45 Exploring Operation: 43-25=18, Resulting Numbers: [70, 18] Generated Node #0,0,2: 28:[70, 18] Operation: 43-25=18 Moving to Node #0,2,0 Current State: 28:[25, 27], Operations: ['78-70=8', '35-8=27'] Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[25, 27], Operations: ['78-35=43', '70-43=27'] Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,28 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[8, 10], Operations: ['78-70=8', '35-25=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,28 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[35, 17], Operations: ['78-70=8', '25-8=17'] Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,28 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[25, 39], Operations: ['70/35=2', '78/2=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[2, 53], Operations: ['70/35=2', '78-25=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,28 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[43, 45], Operations: ['78-35=43', '70-25=45'] Exploring Operation: 43*45=1935, Resulting Numbers: [1935] 1935,28 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[70, 18], Operations: ['78-35=43', '43-25=18'] Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 70+18=88, Resulting Numbers: [88] 88,28 unequal: No Solution Exploring Operation: 70*18=1260, Resulting Numbers: [1260] 1260,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[25, 76], Operations: ['70/35=2', '78-2=76'] Exploring Operation: 25*76=1900, Resulting Numbers: [1900] 1900,28 unequal: No Solution Exploring Operation: 25+76=101, Resulting Numbers: [101] 101,28 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,28 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 23, 21, 26, 24 ]
28
[ "23-21=2", "26*2=52", "52-24=28" ]
Current State: 28:[23, 21, 26, 24], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [26, 24, 2] Generated Node #2: [26, 24, 2] from Operation: 23-21=2 Current State: 28:[26, 24, 2], Operations: ['23-21=2'] Exploring Operation: 26*2=52, Resulting Numbers: [24, 52] Generated Node #3: [24, 52] from Operation: 26*2=52 Current State: 28:[24, 52], Operations: ['23-21=2', '26*2=52'] Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[23, 21, 26, 24], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [23, 24, 5] Generated Node #0,0: 28:[23, 24, 5] Operation: 26-21=5 Exploring Operation: 23-21=2, Resulting Numbers: [26, 24, 2] Generated Node #0,1: 28:[26, 24, 2] Operation: 23-21=2 Exploring Operation: 24-21=3, Resulting Numbers: [23, 26, 3] Generated Node #0,2: 28:[23, 26, 3] Operation: 24-21=3 Exploring Operation: 24-23=1, Resulting Numbers: [21, 26, 1] Generated Node #0,3: 28:[21, 26, 1] Operation: 24-23=1 Moving to Node #0,1 Current State: 28:[26, 24, 2], Operations: ['23-21=2'] Exploring Operation: 26+2=28, Resulting Numbers: [24, 28] Generated Node #0,1,0: 28:[24, 28] Operation: 26+2=28 Exploring Operation: 26-24=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 28:[2, 2] Operation: 26-24=2 Exploring Operation: 24+2=26, Resulting Numbers: [26, 26] Generated Node #0,1,2: 28:[26, 26] Operation: 24+2=26 Exploring Operation: 24/2=12, Resulting Numbers: [26, 12] Generated Node #0,1,3: 28:[26, 12] Operation: 24/2=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[2, 2], Operations: ['23-21=2', '26-24=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[24, 28], Operations: ['23-21=2', '26+2=28'] Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 24*28=672, Resulting Numbers: [672] 672,28 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[26, 26], Operations: ['23-21=2', '24+2=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,28 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[26, 12], Operations: ['23-21=2', '24/2=12'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,28 unequal: No Solution Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,28 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: 28:[23, 26, 3], Operations: ['24-21=3'] Exploring Operation: 23-3=20, Resulting Numbers: [26, 20] Generated Node #0,2,0: 28:[26, 20] Operation: 23-3=20 Exploring Operation: 23+3=26, Resulting Numbers: [26, 26] Generated Node #0,2,1: 28:[26, 26] Operation: 23+3=26 Exploring Operation: 26-23=3, Resulting Numbers: [3, 3] Generated Node #0,2,2: 28:[3, 3] Operation: 26-23=3 Exploring Operation: 26+3=29, Resulting Numbers: [23, 29] Generated Node #0,2,3: 28:[23, 29] Operation: 26+3=29 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[3, 3], Operations: ['24-21=3', '26-23=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[26, 26], Operations: ['24-21=3', '23+3=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 28:[23, 29], Operations: ['24-21=3', '26+3=29'] Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,28 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[26, 20], Operations: ['24-21=3', '23-3=20'] Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,28 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: 28:[21, 26, 1], Operations: ['24-23=1'] Exploring Operation: 21-1=20, Resulting Numbers: [26, 20] Generated Node #0,3,0: 28:[26, 20] Operation: 21-1=20 Exploring Operation: 26-21=5, Resulting Numbers: [1, 5] Generated Node #0,3,1: 28:[1, 5] Operation: 26-21=5 Exploring Operation: 21+1=22, Resulting Numbers: [26, 22] Generated Node #0,3,2: 28:[26, 22] Operation: 21+1=22 Exploring Operation: 26+1=27, Resulting Numbers: [21, 27] Generated Node #0,3,3: 28:[21, 27] Operation: 26+1=27 Moving to Node #0,0 Current State: 28:[23, 24, 5], Operations: ['26-21=5'] Exploring Operation: 24-23=1, Resulting Numbers: [5, 1] Generated Node #0,0,0: 28:[5, 1] Operation: 24-23=1 Exploring Operation: 24+5=29, Resulting Numbers: [23, 29] Generated Node #0,0,1: 28:[23, 29] Operation: 24+5=29 Exploring Operation: 23+5=28, Resulting Numbers: [24, 28] Generated Node #0,0,2: 28:[24, 28] Operation: 23+5=28 Exploring Operation: 23-5=18, Resulting Numbers: [24, 18] Generated Node #0,0,3: 28:[24, 18] Operation: 23-5=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[5, 1], Operations: ['26-21=5', '24-23=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[24, 28], Operations: ['26-21=5', '23+5=28'] Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 24*28=672, Resulting Numbers: [672] 672,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[23, 29], Operations: ['26-21=5', '24+5=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,28 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[24, 18], Operations: ['26-21=5', '23-5=18'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,28 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 28:[1, 5], Operations: ['24-23=1', '26-21=5'] Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[26, 22], Operations: ['24-23=1', '21+1=22'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[26, 20], Operations: ['24-23=1', '21-1=20'] Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,28 unequal: No Solution Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[21, 27], Operations: ['24-23=1', '26+1=27'] Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,28 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 14, 88, 20, 11 ]
22
[ "20-14=6", "11*6=66", "88-66=22" ]
Current State: 22:[14, 88, 20, 11], Operations: [] Exploring Operation: 20-14=6, Resulting Numbers: [88, 11, 6] Generated Node #2: [88, 11, 6] from Operation: 20-14=6 Current State: 22:[88, 11, 6], Operations: ['20-14=6'] Exploring Operation: 11*6=66, Resulting Numbers: [88, 66] Generated Node #3: [88, 66] from Operation: 11*6=66 Current State: 22:[88, 66], Operations: ['20-14=6', '11*6=66'] Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[14, 88, 20, 11], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [14, 20, 8] Generated Node #0,0: 22:[14, 20, 8] Operation: 88/11=8 Exploring Operation: 88-20=68, Resulting Numbers: [14, 11, 68] Generated Node #0,1: 22:[14, 11, 68] Operation: 88-20=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[14, 20, 8], Operations: ['88/11=8'] Exploring Operation: 14+8=22, Resulting Numbers: [20, 22] Generated Node #0,0,0: 22:[20, 22] Operation: 14+8=22 Exploring Operation: 20-8=12, Resulting Numbers: [14, 12] Generated Node #0,0,1: 22:[14, 12] Operation: 20-8=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[20, 22], Operations: ['88/11=8', '14+8=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[14, 12], Operations: ['88/11=8', '20-8=12'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[14, 11, 68], Operations: ['88-20=68'] Exploring Operation: 68-11=57, Resulting Numbers: [14, 57] Generated Node #0,1,0: 22:[14, 57] Operation: 68-11=57 Exploring Operation: 68-14=54, Resulting Numbers: [11, 54] Generated Node #0,1,1: 22:[11, 54] Operation: 68-14=54 Moving to Node #0,1,1 Current State: 22:[11, 54], Operations: ['88-20=68', '68-14=54'] Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[14, 57], Operations: ['88-20=68', '68-11=57'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,22 unequal: No Solution Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 2, 15, 15, 23 ]
24
[ "2+23=25", "15/15=1", "25-1=24" ]
Current State: 24:[2, 15, 15, 23], Operations: [] Exploring Operation: 2+23=25, Resulting Numbers: [15, 15, 25] Generated Node #2: [15, 15, 25] from Operation: 2+23=25 Current State: 24:[15, 15, 25], Operations: ['2+23=25'] Exploring Operation: 15/15=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 15/15=1 Current State: 24:[25, 1], Operations: ['2+23=25', '15/15=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[2, 15, 15, 23], Operations: [] Exploring Operation: 15-2=13, Resulting Numbers: [15, 23, 13] Generated Node #0,0: 24:[15, 23, 13] Operation: 15-2=13 Exploring Operation: 23-15=8, Resulting Numbers: [2, 15, 8] Generated Node #0,1: 24:[2, 15, 8] Operation: 23-15=8 Exploring Operation: 15-15=0, Resulting Numbers: [2, 23, 0] Generated Node #0,2: 24:[2, 23, 0] Operation: 15-15=0 Exploring Operation: 23-15=8, Resulting Numbers: [2, 15, 8] Generated Node #0,3: 24:[2, 15, 8] Operation: 23-15=8 Exploring Operation: 15/15=1, Resulting Numbers: [2, 23, 1] Generated Node #0,4: 24:[2, 23, 1] Operation: 15/15=1 Moving to Node #0,4 Current State: 24:[2, 23, 1], Operations: ['15/15=1'] Exploring Operation: 2*1=2, Resulting Numbers: [23, 2] Generated Node #0,4,0: 24:[23, 2] Operation: 2*1=2 Exploring Operation: 2+1=3, Resulting Numbers: [23, 3] Generated Node #0,4,1: 24:[23, 3] Operation: 2+1=3 Exploring Operation: 23*1=23, Resulting Numbers: [2, 23] Generated Node #0,4,2: 24:[2, 23] Operation: 23*1=23 Exploring Operation: 23+1=24, Resulting Numbers: [2, 24] Generated Node #0,4,3: 24:[2, 24] Operation: 23+1=24 Exploring Operation: 2/1=2, Resulting Numbers: [23, 2] Generated Node #0,4,4: 24:[23, 2] Operation: 2/1=2 Moving to Node #0,2 Current State: 24:[2, 23, 0], Operations: ['15-15=0'] Exploring Operation: 23*0=0, Resulting Numbers: [2, 0] Generated Node #0,2,0: 24:[2, 0] Operation: 23*0=0 Exploring Operation: 2-0=2, Resulting Numbers: [23, 2] Generated Node #0,2,1: 24:[23, 2] Operation: 2-0=2 Exploring Operation: 23-0=23, Resulting Numbers: [2, 23] Generated Node #0,2,2: 24:[2, 23] Operation: 23-0=23 Exploring Operation: 23+0=23, Resulting Numbers: [2, 23] Generated Node #0,2,3: 24:[2, 23] Operation: 23+0=23 Exploring Operation: 2+0=2, Resulting Numbers: [23, 2] Generated Node #0,2,4: 24:[23, 2] Operation: 2+0=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[23, 2], Operations: ['15-15=0', '2-0=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[2, 23], Operations: ['15-15=0', '23-0=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,24 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[2, 23], Operations: ['15-15=0', '23+0=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 24:[23, 2], Operations: ['15-15=0', '2+0=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,24 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[2, 0], Operations: ['15-15=0', '23*0=0'] Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,24 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: 24:[2, 15, 8], Operations: ['23-15=8'] Exploring Operation: 15-8=7, Resulting Numbers: [2, 7] Generated Node #0,1,0: 24:[2, 7] Operation: 15-8=7 Exploring Operation: 15-2=13, Resulting Numbers: [8, 13] Generated Node #0,1,1: 24:[8, 13] Operation: 15-2=13 Exploring Operation: 15+8=23, Resulting Numbers: [2, 23] Generated Node #0,1,2: 24:[2, 23] Operation: 15+8=23 Exploring Operation: 8/2=4, Resulting Numbers: [15, 4] Generated Node #0,1,3: 24:[15, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [15, 6] Generated Node #0,1,4: 24:[15, 6] Operation: 8-2=6 Moving to Node #0,3 Current State: 24:[2, 15, 8], Operations: ['23-15=8'] Exploring Operation: 15-2=13, Resulting Numbers: [8, 13] Generated Node #0,3,0: 24:[8, 13] Operation: 15-2=13 Exploring Operation: 15-8=7, Resulting Numbers: [2, 7] Generated Node #0,3,1: 24:[2, 7] Operation: 15-8=7 Exploring Operation: 8-2=6, Resulting Numbers: [15, 6] Generated Node #0,3,2: 24:[15, 6] Operation: 8-2=6 Exploring Operation: 15+8=23, Resulting Numbers: [2, 23] Generated Node #0,3,3: 24:[2, 23] Operation: 15+8=23 Exploring Operation: 8/2=4, Resulting Numbers: [15, 4] Generated Node #0,3,4: 24:[15, 4] Operation: 8/2=4 Moving to Node #0,0 Current State: 24:[15, 23, 13], Operations: ['15-2=13'] Exploring Operation: 15+13=28, Resulting Numbers: [23, 28] Generated Node #0,0,0: 24:[23, 28] Operation: 15+13=28 Exploring Operation: 15-13=2, Resulting Numbers: [23, 2] Generated Node #0,0,1: 24:[23, 2] Operation: 15-13=2 Exploring Operation: 23-13=10, Resulting Numbers: [15, 10] Generated Node #0,0,2: 24:[15, 10] Operation: 23-13=10 Exploring Operation: 15+23=38, Resulting Numbers: [13, 38] Generated Node #0,0,3: 24:[13, 38] Operation: 15+23=38 Exploring Operation: 23-15=8, Resulting Numbers: [13, 8] Generated Node #0,0,4: 24:[13, 8] Operation: 23-15=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[23, 2], Operations: ['15-2=13', '15-13=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 24:[13, 8], Operations: ['15-2=13', '23-15=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[23, 28], Operations: ['15-2=13', '15+13=28'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,24 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[15, 10], Operations: ['15-2=13', '23-13=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[13, 38], Operations: ['15-2=13', '15+23=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,24 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 24:[2, 24], Operations: ['15/15=1', '23+1=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,24 unequal: No Solution Moving to Node #0,4,1 Current State: 24:[23, 3], Operations: ['15/15=1', '2+1=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[8, 13], Operations: ['23-15=8', '15-2=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,24 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[2, 7], Operations: ['23-15=8', '15-8=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[2, 23], Operations: ['23-15=8', '15+8=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[2, 7], Operations: ['23-15=8', '15-8=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[8, 13], Operations: ['23-15=8', '15-2=13'] Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,24 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,24 unequal: No Solution Moving to Node #0,4,0 Current State: 24:[23, 2], Operations: ['15/15=1', '2*1=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,24 unequal: No Solution Moving to Node #0,4,4 Current State: 24:[23, 2], Operations: ['15/15=1', '2/1=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,24 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Moving to Node #0,4,2 Current State: 24:[2, 23], Operations: ['15/15=1', '23*1=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,24 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[2, 23], Operations: ['23-15=8', '15+8=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[15, 6], Operations: ['23-15=8', '8-2=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,24 unequal: No Solution Moving to Node #0,3,4 Current State: 24:[15, 4], Operations: ['23-15=8', '8/2=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[15, 4], Operations: ['23-15=8', '8/2=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,24 unequal: No Solution Moving to Node #0,1,4 Current State: 24:[15, 6], Operations: ['23-15=8', '8-2=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,24 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,24 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 92, 15, 4, 13 ]
55
[ "92+15=107", "4*13=52", "107-52=55" ]
Current State: 55:[92, 15, 4, 13], Operations: [] Exploring Operation: 92+15=107, Resulting Numbers: [4, 13, 107] Generated Node #2: [4, 13, 107] from Operation: 92+15=107 Current State: 55:[4, 13, 107], Operations: ['92+15=107'] Exploring Operation: 4*13=52, Resulting Numbers: [107, 52] Generated Node #3: [107, 52] from Operation: 4*13=52 Current State: 55:[107, 52], Operations: ['92+15=107', '4*13=52'] Exploring Operation: 107-52=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[92, 15, 4, 13], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [15, 4, 79] Generated Node #0,0: 55:[15, 4, 79] Operation: 92-13=79 Exploring Operation: 92-15=77, Resulting Numbers: [4, 13, 77] Generated Node #0,1: 55:[4, 13, 77] Operation: 92-15=77 Exploring Operation: 15-4=11, Resulting Numbers: [92, 13, 11] Generated Node #0,2: 55:[92, 13, 11] Operation: 15-4=11 Exploring Operation: 92-4=88, Resulting Numbers: [15, 13, 88] Generated Node #0,3: 55:[15, 13, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [15, 13, 23] Generated Node #0,4: 55:[15, 13, 23] Operation: 92/4=23 Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[15, 13, 23], Operations: ['92/4=23'] Exploring Operation: 15+23=38, Resulting Numbers: [13, 38] Generated Node #0,4,0: 55:[13, 38] Operation: 15+23=38 Exploring Operation: 23-15=8, Resulting Numbers: [13, 8] Generated Node #0,4,1: 55:[13, 8] Operation: 23-15=8 Exploring Operation: 23-13=10, Resulting Numbers: [15, 10] Generated Node #0,4,2: 55:[15, 10] Operation: 23-13=10 Exploring Operation: 13+23=36, Resulting Numbers: [15, 36] Generated Node #0,4,3: 55:[15, 36] Operation: 13+23=36 Exploring Operation: 15-13=2, Resulting Numbers: [23, 2] Generated Node #0,4,4: 55:[23, 2] Operation: 15-13=2 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 55:[13, 8], Operations: ['92/4=23', '23-15=8'] Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 55:[15, 10], Operations: ['92/4=23', '23-13=10'] Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,55 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 55:[23, 2], Operations: ['92/4=23', '15-13=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 55:[13, 38], Operations: ['92/4=23', '15+23=38'] Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,55 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 55:[15, 36], Operations: ['92/4=23', '13+23=36'] Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,55 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[4, 13, 77], Operations: ['92-15=77'] Exploring Operation: 77-13=64, Resulting Numbers: [4, 64] Generated Node #0,1,0: 55:[4, 64] Operation: 77-13=64 Exploring Operation: 77-4=73, Resulting Numbers: [13, 73] Generated Node #0,1,1: 55:[13, 73] Operation: 77-4=73 Exploring Operation: 13-4=9, Resulting Numbers: [77, 9] Generated Node #0,1,2: 55:[77, 9] Operation: 13-4=9 Exploring Operation: 4+13=17, Resulting Numbers: [77, 17] Generated Node #0,1,3: 55:[77, 17] Operation: 4+13=17 Exploring Operation: 4*13=52, Resulting Numbers: [77, 52] Generated Node #0,1,4: 55:[77, 52] Operation: 4*13=52 Moving to Node #0,1,0 Current State: 55:[4, 64], Operations: ['92-15=77', '77-13=64'] Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,55 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[13, 73], Operations: ['92-15=77', '77-4=73'] Exploring Operation: 13+73=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 13*73=949, Resulting Numbers: [949] 949,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[77, 9], Operations: ['92-15=77', '13-4=9'] Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,55 unequal: No Solution Moving to Node #0,1,4 Current State: 55:[77, 52], Operations: ['92-15=77', '4*13=52'] Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,55 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[77, 17], Operations: ['92-15=77', '4+13=17'] Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,55 unequal: No Solution Exploring Operation: 77*17=1309, Resulting Numbers: [1309] 1309,55 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[15, 4, 79], Operations: ['92-13=79'] Exploring Operation: 15+4=19, Resulting Numbers: [79, 19] Generated Node #0,0,0: 55:[79, 19] Operation: 15+4=19 Exploring Operation: 79-4=75, Resulting Numbers: [15, 75] Generated Node #0,0,1: 55:[15, 75] Operation: 79-4=75 Exploring Operation: 15-4=11, Resulting Numbers: [79, 11] Generated Node #0,0,2: 55:[79, 11] Operation: 15-4=11 Exploring Operation: 79-15=64, Resulting Numbers: [4, 64] Generated Node #0,0,3: 55:[4, 64] Operation: 79-15=64 Exploring Operation: 15*4=60, Resulting Numbers: [79, 60] Generated Node #0,0,4: 55:[79, 60] Operation: 15*4=60 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 55:[4, 64], Operations: ['92-13=79', '79-15=64'] Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,55 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[15, 75], Operations: ['92-13=79', '79-4=75'] Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 15*75=1125, Resulting Numbers: [1125] 1125,55 unequal: No Solution Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[79, 11], Operations: ['92-13=79', '15-4=11'] Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 55:[79, 60], Operations: ['92-13=79', '15*4=60'] Exploring Operation: 79*60=4740, Resulting Numbers: [4740] 4740,55 unequal: No Solution Exploring Operation: 79+60=139, Resulting Numbers: [139] 139,55 unequal: No Solution Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[79, 19], Operations: ['92-13=79', '15+4=19'] Exploring Operation: 79*19=1501, Resulting Numbers: [1501] 1501,55 unequal: No Solution Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 79+19=98, Resulting Numbers: [98] 98,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[92, 13, 11], Operations: ['15-4=11'] Exploring Operation: 13-11=2, Resulting Numbers: [92, 2] Generated Node #0,2,0: 55:[92, 2] Operation: 13-11=2 Exploring Operation: 92+13=105, Resulting Numbers: [11, 105] Generated Node #0,2,1: 55:[11, 105] Operation: 92+13=105 Exploring Operation: 92+11=103, Resulting Numbers: [13, 103] Generated Node #0,2,2: 55:[13, 103] Operation: 92+11=103 Exploring Operation: 92-13=79, Resulting Numbers: [11, 79] Generated Node #0,2,3: 55:[11, 79] Operation: 92-13=79 Exploring Operation: 92-11=81, Resulting Numbers: [13, 81] Generated Node #0,2,4: 55:[13, 81] Operation: 92-11=81 Moving to Node #0,2,3 Current State: 55:[11, 79], Operations: ['15-4=11', '92-13=79'] Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 11+79=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 11*79=869, Resulting Numbers: [869] 869,55 unequal: No Solution Moving to Node #0,2,4 Current State: 55:[13, 81], Operations: ['15-4=11', '92-11=81'] Exploring Operation: 13*81=1053, Resulting Numbers: [1053] 1053,55 unequal: No Solution Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 13+81=94, Resulting Numbers: [94] 94,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[92, 2], Operations: ['15-4=11', '13-11=2'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,55 unequal: No Solution Exploring Operation: 92*2=184, Resulting Numbers: [184] 184,55 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[11, 105], Operations: ['15-4=11', '92+13=105'] Exploring Operation: 11*105=1155, Resulting Numbers: [1155] 1155,55 unequal: No Solution Exploring Operation: 105-11=94, Resulting Numbers: [94] 94,55 unequal: No Solution Exploring Operation: 11+105=116, Resulting Numbers: [116] 116,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[13, 103], Operations: ['15-4=11', '92+11=103'] Exploring Operation: 13+103=116, Resulting Numbers: [116] 116,55 unequal: No Solution Exploring Operation: 13*103=1339, Resulting Numbers: [1339] 1339,55 unequal: No Solution Exploring Operation: 103-13=90, Resulting Numbers: [90] 90,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[15, 13, 88], Operations: ['92-4=88'] Exploring Operation: 88-13=75, Resulting Numbers: [15, 75] Generated Node #0,3,0: 55:[15, 75] Operation: 88-13=75 Exploring Operation: 88-15=73, Resulting Numbers: [13, 73] Generated Node #0,3,1: 55:[13, 73] Operation: 88-15=73 Exploring Operation: 15+88=103, Resulting Numbers: [13, 103] Generated Node #0,3,2: 55:[13, 103] Operation: 15+88=103 Exploring Operation: 15+13=28, Resulting Numbers: [88, 28] Generated Node #0,3,3: 55:[88, 28] Operation: 15+13=28 Exploring Operation: 15-13=2, Resulting Numbers: [88, 2] Generated Node #0,3,4: 55:[88, 2] Operation: 15-13=2 Moving to Node #0,3,1 Current State: 55:[13, 73], Operations: ['92-4=88', '88-15=73'] Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 13+73=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 13*73=949, Resulting Numbers: [949] 949,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[15, 75], Operations: ['92-4=88', '88-13=75'] Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 15*75=1125, Resulting Numbers: [1125] 1125,55 unequal: No Solution Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,55 unequal: No Solution Moving to Node #0,3,4 Current State: 55:[88, 2], Operations: ['92-4=88', '15-13=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,55 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[13, 103], Operations: ['92-4=88', '15+88=103'] Exploring Operation: 103-13=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 13*103=1339, Resulting Numbers: [1339] 1339,55 unequal: No Solution Exploring Operation: 13+103=116, Resulting Numbers: [116] 116,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[88, 28], Operations: ['92-4=88', '15+13=28'] Exploring Operation: 88*28=2464, Resulting Numbers: [2464] 2464,55 unequal: No Solution Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 88+28=116, Resulting Numbers: [116] 116,55 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
[ 46, 20, 18, 16 ]
68
[ "46+20=66", "18-16=2", "66+2=68" ]
Current State: 68:[46, 20, 18, 16], Operations: [] Exploring Operation: 46+20=66, Resulting Numbers: [18, 16, 66] Generated Node #2: [18, 16, 66] from Operation: 46+20=66 Current State: 68:[18, 16, 66], Operations: ['46+20=66'] Exploring Operation: 18-16=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 18-16=2 Current State: 68:[66, 2], Operations: ['46+20=66', '18-16=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[46, 20, 18, 16], Operations: [] Exploring Operation: 46+18=64, Resulting Numbers: [20, 16, 64] Generated Node #0,0: 68:[20, 16, 64] Operation: 46+18=64 Exploring Operation: 46-20=26, Resulting Numbers: [18, 16, 26] Generated Node #0,1: 68:[18, 16, 26] Operation: 46-20=26 Exploring Operation: 46-16=30, Resulting Numbers: [20, 18, 30] Generated Node #0,2: 68:[20, 18, 30] Operation: 46-16=30 Exploring Operation: 46+20=66, Resulting Numbers: [18, 16, 66] Generated Node #0,3: 68:[18, 16, 66] Operation: 46+20=66 Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[18, 16, 66], Operations: ['46+20=66'] Exploring Operation: 18+16=34, Resulting Numbers: [66, 34] Generated Node #0,3,0: 68:[66, 34] Operation: 18+16=34 Exploring Operation: 66-18=48, Resulting Numbers: [16, 48] Generated Node #0,3,1: 68:[16, 48] Operation: 66-18=48 Exploring Operation: 16+66=82, Resulting Numbers: [18, 82] Generated Node #0,3,2: 68:[18, 82] Operation: 16+66=82 Exploring Operation: 18-16=2, Resulting Numbers: [66, 2] Generated Node #0,3,3: 68:[66, 2] Operation: 18-16=2 Moving to Node #0,3,0 Current State: 68:[66, 34], Operations: ['46+20=66', '18+16=34'] Exploring Operation: 66*34=2244, Resulting Numbers: [2244] 2244,68 unequal: No Solution Exploring Operation: 66+34=100, Resulting Numbers: [100] 100,68 unequal: No Solution Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[66, 2], Operations: ['46+20=66', '18-16=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,68 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[46, 20, 18, 16], Operations: [] Exploring Operation: 46+20=66, Resulting Numbers: [18, 16, 66] Generated Node #0,3: 68:[18, 16, 66] Operation: 46+20=66 Moving to Node #0,3 Current State: 68:[18, 16, 66], Operations: ['46+20=66'] Exploring Operation: 18-16=2, Resulting Numbers: [66, 2] Generated Node #0,3,3: 68:[66, 2] Operation: 18-16=2 Moving to Node #0,3,3 Current State: 68:[66, 2], Operations: ['46+20=66', '18-16=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 60, 43, 31, 41 ]
97
[ "60*31=1860", "43*41=1763", "1860-1763=97" ]
Current State: 97:[60, 43, 31, 41], Operations: [] Exploring Operation: 60*31=1860, Resulting Numbers: [43, 41, 1860] Generated Node #2: [43, 41, 1860] from Operation: 60*31=1860 Current State: 97:[43, 41, 1860], Operations: ['60*31=1860'] Exploring Operation: 43*41=1763, Resulting Numbers: [1860, 1763] Generated Node #3: [1860, 1763] from Operation: 43*41=1763 Current State: 97:[1860, 1763], Operations: ['60*31=1860', '43*41=1763'] Exploring Operation: 1860-1763=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[60, 43, 31, 41], Operations: [] Exploring Operation: 60+31=91, Resulting Numbers: [43, 41, 91] Generated Node #0,0: 97:[43, 41, 91] Operation: 60+31=91 Exploring Operation: 31+41=72, Resulting Numbers: [60, 43, 72] Generated Node #0,1: 97:[60, 43, 72] Operation: 31+41=72 Exploring Operation: 60+41=101, Resulting Numbers: [43, 31, 101] Generated Node #0,2: 97:[43, 31, 101] Operation: 60+41=101 Exploring Operation: 43+31=74, Resulting Numbers: [60, 41, 74] Generated Node #0,3: 97:[60, 41, 74] Operation: 43+31=74 Exploring Operation: 43+41=84, Resulting Numbers: [60, 31, 84] Generated Node #0,4: 97:[60, 31, 84] Operation: 43+41=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[43, 41, 91], Operations: ['60+31=91'] Exploring Operation: 43-41=2, Resulting Numbers: [91, 2] Generated Node #0,0,0: 97:[91, 2] Operation: 43-41=2 Exploring Operation: 91-41=50, Resulting Numbers: [43, 50] Generated Node #0,0,1: 97:[43, 50] Operation: 91-41=50 Exploring Operation: 41+91=132, Resulting Numbers: [43, 132] Generated Node #0,0,2: 97:[43, 132] Operation: 41+91=132 Exploring Operation: 43+41=84, Resulting Numbers: [91, 84] Generated Node #0,0,3: 97:[91, 84] Operation: 43+41=84 Exploring Operation: 43+91=134, Resulting Numbers: [41, 134] Generated Node #0,0,4: 97:[41, 134] Operation: 43+91=134 Moving to Node #0,0,3 Current State: 97:[91, 84], Operations: ['60+31=91', '43+41=84'] Exploring Operation: 91*84=7644, Resulting Numbers: [7644] 7644,97 unequal: No Solution Exploring Operation: 91-84=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 91+84=175, Resulting Numbers: [175] 175,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[43, 132], Operations: ['60+31=91', '41+91=132'] Exploring Operation: 132-43=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 43+132=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 43*132=5676, Resulting Numbers: [5676] 5676,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[41, 134], Operations: ['60+31=91', '43+91=134'] Exploring Operation: 41*134=5494, Resulting Numbers: [5494] 5494,97 unequal: No Solution Exploring Operation: 41+134=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 134-41=93, Resulting Numbers: [93] 93,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[91, 2], Operations: ['60+31=91', '43-41=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,97 unequal: No Solution Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[43, 50], Operations: ['60+31=91', '91-41=50'] Exploring Operation: 43*50=2150, Resulting Numbers: [2150] 2150,97 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[60, 43, 72], Operations: ['31+41=72'] Exploring Operation: 60-43=17, Resulting Numbers: [72, 17] Generated Node #0,1,0: 97:[72, 17] Operation: 60-43=17 Exploring Operation: 60+72=132, Resulting Numbers: [43, 132] Generated Node #0,1,1: 97:[43, 132] Operation: 60+72=132 Exploring Operation: 60+43=103, Resulting Numbers: [72, 103] Generated Node #0,1,2: 97:[72, 103] Operation: 60+43=103 Exploring Operation: 72-43=29, Resulting Numbers: [60, 29] Generated Node #0,1,3: 97:[60, 29] Operation: 72-43=29 Exploring Operation: 43+72=115, Resulting Numbers: [60, 115] Generated Node #0,1,4: 97:[60, 115] Operation: 43+72=115 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[72, 103], Operations: ['31+41=72', '60+43=103'] Exploring Operation: 72+103=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 72*103=7416, Resulting Numbers: [7416] 7416,97 unequal: No Solution Exploring Operation: 103-72=31, Resulting Numbers: [31] 31,97 unequal: No Solution No 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: 97:[60, 115], Operations: ['31+41=72', '43+72=115'] Exploring Operation: 60+115=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 115-60=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 60*115=6900, Resulting Numbers: [6900] 6900,97 unequal: No Solution No 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: 97:[43, 132], Operations: ['31+41=72', '60+72=132'] Exploring Operation: 43+132=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 132-43=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 43*132=5676, Resulting Numbers: [5676] 5676,97 unequal: No Solution No 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: 97:[72, 17], Operations: ['31+41=72', '60-43=17'] Exploring Operation: 72*17=1224, Resulting Numbers: [1224] 1224,97 unequal: No Solution Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,97 unequal: No Solution No 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: 97:[60, 29], Operations: ['31+41=72', '72-43=29'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,97 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: 97:[60, 41, 74], Operations: ['43+31=74'] Exploring Operation: 60+41=101, Resulting Numbers: [74, 101] Generated Node #0,3,0: 97:[74, 101] Operation: 60+41=101 Exploring Operation: 60-41=19, Resulting Numbers: [74, 19] Generated Node #0,3,1: 97:[74, 19] Operation: 60-41=19 Exploring Operation: 41+74=115, Resulting Numbers: [60, 115] Generated Node #0,3,2: 97:[60, 115] Operation: 41+74=115 Exploring Operation: 74-41=33, Resulting Numbers: [60, 33] Generated Node #0,3,3: 97:[60, 33] Operation: 74-41=33 Exploring Operation: 60+74=134, Resulting Numbers: [41, 134] Generated Node #0,3,4: 97:[41, 134] Operation: 60+74=134 Moving to Node #0,3,0 Current State: 97:[74, 101], Operations: ['43+31=74', '60+41=101'] Exploring Operation: 74+101=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 101-74=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 74*101=7474, Resulting Numbers: [7474] 7474,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[60, 115], Operations: ['43+31=74', '41+74=115'] Exploring Operation: 60*115=6900, Resulting Numbers: [6900] 6900,97 unequal: No Solution Exploring Operation: 60+115=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 115-60=55, Resulting Numbers: [55] 55,97 unequal: No Solution Moving to Node #0,3,4 Current State: 97:[41, 134], Operations: ['43+31=74', '60+74=134'] Exploring Operation: 134-41=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 41+134=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 41*134=5494, Resulting Numbers: [5494] 5494,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[74, 19], Operations: ['43+31=74', '60-41=19'] Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 74*19=1406, Resulting Numbers: [1406] 1406,97 unequal: No Solution Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[60, 33], Operations: ['43+31=74', '74-41=33'] Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,97 unequal: No Solution Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,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 Current State: 97:[60, 31, 84], Operations: ['43+41=84'] Exploring Operation: 84-31=53, Resulting Numbers: [60, 53] Generated Node #0,4,0: 97:[60, 53] Operation: 84-31=53 Exploring Operation: 31+84=115, Resulting Numbers: [60, 115] Generated Node #0,4,1: 97:[60, 115] Operation: 31+84=115 Exploring Operation: 60+31=91, Resulting Numbers: [84, 91] Generated Node #0,4,2: 97:[84, 91] Operation: 60+31=91 Exploring Operation: 60+84=144, Resulting Numbers: [31, 144] Generated Node #0,4,3: 97:[31, 144] Operation: 60+84=144 Exploring Operation: 60-31=29, Resulting Numbers: [84, 29] Generated Node #0,4,4: 97:[84, 29] Operation: 60-31=29 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 97:[84, 91], Operations: ['43+41=84', '60+31=91'] Exploring Operation: 91-84=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 84+91=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 84*91=7644, Resulting Numbers: [7644] 7644,97 unequal: No Solution No 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: 97:[60, 115], Operations: ['43+41=84', '31+84=115'] Exploring Operation: 60*115=6900, Resulting Numbers: [6900] 6900,97 unequal: No Solution Exploring Operation: 60+115=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 115-60=55, Resulting Numbers: [55] 55,97 unequal: No Solution No 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: 97:[60, 53], Operations: ['43+41=84', '84-31=53'] Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 60+53=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 60*53=3180, Resulting Numbers: [3180] 3180,97 unequal: No Solution No 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: 97:[84, 29], Operations: ['43+41=84', '60-31=29'] Exploring Operation: 84+29=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,97 unequal: No Solution Exploring Operation: 84*29=2436, Resulting Numbers: [2436] 2436,97 unequal: No Solution No 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: 97:[31, 144], Operations: ['43+41=84', '60+84=144'] Exploring Operation: 144-31=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 31*144=4464, Resulting Numbers: [4464] 4464,97 unequal: No Solution Exploring Operation: 31+144=175, Resulting Numbers: [175] 175,97 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: 97:[43, 31, 101], Operations: ['60+41=101'] Exploring Operation: 43-31=12, Resulting Numbers: [101, 12] Generated Node #0,2,0: 97:[101, 12] Operation: 43-31=12 Exploring Operation: 101-31=70, Resulting Numbers: [43, 70] Generated Node #0,2,1: 97:[43, 70] Operation: 101-31=70 Exploring Operation: 43+31=74, Resulting Numbers: [101, 74] Generated Node #0,2,2: 97:[101, 74] Operation: 43+31=74 Exploring Operation: 31+101=132, Resulting Numbers: [43, 132] Generated Node #0,2,3: 97:[43, 132] Operation: 31+101=132 Exploring Operation: 101-43=58, Resulting Numbers: [31, 58] Generated Node #0,2,4: 97:[31, 58] Operation: 101-43=58 Moving to Node #0,2,2 Current State: 97:[101, 74], Operations: ['60+41=101', '43+31=74'] Exploring Operation: 101-74=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 101+74=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 101*74=7474, Resulting Numbers: [7474] 7474,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[43, 70], Operations: ['60+41=101', '101-31=70'] Exploring Operation: 43+70=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 43*70=3010, Resulting Numbers: [3010] 3010,97 unequal: No Solution Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[101, 12], Operations: ['60+41=101', '43-31=12'] Exploring Operation: 101-12=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 101+12=113, Resulting Numbers: [113] 113,97 unequal: No Solution Exploring Operation: 101*12=1212, Resulting Numbers: [1212] 1212,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[43, 132], Operations: ['60+41=101', '31+101=132'] Exploring Operation: 43*132=5676, Resulting Numbers: [5676] 5676,97 unequal: No Solution Exploring Operation: 132-43=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 43+132=175, Resulting Numbers: [175] 175,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[31, 58], Operations: ['60+41=101', '101-43=58'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 31*58=1798, Resulting Numbers: [1798] 1798,97 unequal: No Solution Exploring Operation: 31+58=89, Resulting Numbers: [89] 89,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 5, 20, 96, 68 ]
79
[ "20/5=4", "68/4=17", "96-17=79" ]
Current State: 79:[5, 20, 96, 68], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [96, 68, 4] Generated Node #2: [96, 68, 4] from Operation: 20/5=4 Current State: 79:[96, 68, 4], Operations: ['20/5=4'] Exploring Operation: 68/4=17, Resulting Numbers: [96, 17] Generated Node #3: [96, 17] from Operation: 68/4=17 Current State: 79:[96, 17], Operations: ['20/5=4', '68/4=17'] Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[5, 20, 96, 68], Operations: [] Exploring Operation: 5*20=100, Resulting Numbers: [96, 68, 100] Generated Node #0,0: 79:[96, 68, 100] Operation: 5*20=100 Exploring Operation: 5+20=25, Resulting Numbers: [96, 68, 25] Generated Node #0,1: 79:[96, 68, 25] Operation: 5+20=25 Exploring Operation: 96-5=91, Resulting Numbers: [20, 68, 91] Generated Node #0,2: 79:[20, 68, 91] Operation: 96-5=91 Exploring Operation: 96-20=76, Resulting Numbers: [5, 68, 76] Generated Node #0,3: 79:[5, 68, 76] Operation: 96-20=76 Exploring Operation: 5+68=73, Resulting Numbers: [20, 96, 73] Generated Node #0,4: 79:[20, 96, 73] Operation: 5+68=73 Moving to Node #0,0 Current State: 79:[96, 68, 100], Operations: ['5*20=100'] Exploring Operation: 100-68=32, Resulting Numbers: [96, 32] Generated Node #0,0,0: 79:[96, 32] Operation: 100-68=32 Exploring Operation: 100-96=4, Resulting Numbers: [68, 4] Generated Node #0,0,1: 79:[68, 4] Operation: 100-96=4 Exploring Operation: 68+100=168, Resulting Numbers: [96, 168] Generated Node #0,0,2: 79:[96, 168] Operation: 68+100=168 Exploring Operation: 96+68=164, Resulting Numbers: [100, 164] Generated Node #0,0,3: 79:[100, 164] Operation: 96+68=164 Exploring Operation: 96-68=28, Resulting Numbers: [100, 28] Generated Node #0,0,4: 79:[100, 28] Operation: 96-68=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[96, 32], Operations: ['5*20=100', '100-68=32'] Exploring Operation: 96*32=3072, Resulting Numbers: [3072] 3072,79 unequal: No Solution Exploring Operation: 96/32=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 96+32=128, Resulting Numbers: [128] 128,79 unequal: No Solution Exploring Operation: 96-32=64, Resulting Numbers: [64] 64,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 79:[100, 28], Operations: ['5*20=100', '96-68=28'] Exploring Operation: 100+28=128, Resulting Numbers: [128] 128,79 unequal: No Solution Exploring Operation: 100*28=2800, Resulting Numbers: [2800] 2800,79 unequal: No Solution Exploring Operation: 100-28=72, Resulting Numbers: [72] 72,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[68, 4], Operations: ['5*20=100', '100-96=4'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,79 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[96, 168], Operations: ['5*20=100', '68+100=168'] Exploring Operation: 96*168=16128, Resulting Numbers: [16128] 16128,79 unequal: No Solution Exploring Operation: 96+168=264, Resulting Numbers: [264] 264,79 unequal: No Solution Exploring Operation: 168-96=72, Resulting Numbers: [72] 72,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[100, 164], Operations: ['5*20=100', '96+68=164'] Exploring Operation: 100+164=264, Resulting Numbers: [264] 264,79 unequal: No Solution Exploring Operation: 164-100=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 100*164=16400, Resulting Numbers: [16400] 16400,79 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: 79:[20, 68, 91], Operations: ['96-5=91'] Exploring Operation: 68-20=48, Resulting Numbers: [91, 48] Generated Node #0,2,0: 79:[91, 48] Operation: 68-20=48 Exploring Operation: 91-68=23, Resulting Numbers: [20, 23] Generated Node #0,2,1: 79:[20, 23] Operation: 91-68=23 Exploring Operation: 20+91=111, Resulting Numbers: [68, 111] Generated Node #0,2,2: 79:[68, 111] Operation: 20+91=111 Exploring Operation: 20+68=88, Resulting Numbers: [91, 88] Generated Node #0,2,3: 79:[91, 88] Operation: 20+68=88 Exploring Operation: 91-20=71, Resulting Numbers: [68, 71] Generated Node #0,2,4: 79:[68, 71] Operation: 91-20=71 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 79:[68, 71], Operations: ['96-5=91', '91-20=71'] Exploring Operation: 68*71=4828, Resulting Numbers: [4828] 4828,79 unequal: No Solution Exploring Operation: 68+71=139, Resulting Numbers: [139] 139,79 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[91, 88], Operations: ['96-5=91', '20+68=88'] Exploring Operation: 91+88=179, Resulting Numbers: [179] 179,79 unequal: No Solution Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 91*88=8008, Resulting Numbers: [8008] 8008,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[91, 48], Operations: ['96-5=91', '68-20=48'] Exploring Operation: 91*48=4368, Resulting Numbers: [4368] 4368,79 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 91+48=139, Resulting Numbers: [139] 139,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[68, 111], Operations: ['96-5=91', '20+91=111'] Exploring Operation: 111-68=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 68+111=179, Resulting Numbers: [179] 179,79 unequal: No Solution Exploring Operation: 68*111=7548, Resulting Numbers: [7548] 7548,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[20, 23], Operations: ['96-5=91', '91-68=23'] Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,79 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,79 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: 79:[96, 68, 25], Operations: ['5+20=25'] Exploring Operation: 68+25=93, Resulting Numbers: [96, 93] Generated Node #0,1,0: 79:[96, 93] Operation: 68+25=93 Exploring Operation: 68-25=43, Resulting Numbers: [96, 43] Generated Node #0,1,1: 79:[96, 43] Operation: 68-25=43 Exploring Operation: 96+25=121, Resulting Numbers: [68, 121] Generated Node #0,1,2: 79:[68, 121] Operation: 96+25=121 Exploring Operation: 96-25=71, Resulting Numbers: [68, 71] Generated Node #0,1,3: 79:[68, 71] Operation: 96-25=71 Exploring Operation: 96-68=28, Resulting Numbers: [25, 28] Generated Node #0,1,4: 79:[25, 28] Operation: 96-68=28 Moving to Node #0,4 Current State: 79:[20, 96, 73], Operations: ['5+68=73'] Exploring Operation: 73-20=53, Resulting Numbers: [96, 53] Generated Node #0,4,0: 79:[96, 53] Operation: 73-20=53 Exploring Operation: 20+96=116, Resulting Numbers: [73, 116] Generated Node #0,4,1: 79:[73, 116] Operation: 20+96=116 Exploring Operation: 96-73=23, Resulting Numbers: [20, 23] Generated Node #0,4,2: 79:[20, 23] Operation: 96-73=23 Exploring Operation: 96-20=76, Resulting Numbers: [73, 76] Generated Node #0,4,3: 79:[73, 76] Operation: 96-20=76 Exploring Operation: 20+73=93, Resulting Numbers: [96, 93] Generated Node #0,4,4: 79:[96, 93] Operation: 20+73=93 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 79:[73, 76], Operations: ['5+68=73', '96-20=76'] Exploring Operation: 73+76=149, Resulting Numbers: [149] 149,79 unequal: No Solution Exploring Operation: 73*76=5548, Resulting Numbers: [5548] 5548,79 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 79:[96, 93], Operations: ['5+68=73', '20+73=93'] Exploring Operation: 96-93=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 96*93=8928, Resulting Numbers: [8928] 8928,79 unequal: No Solution Exploring Operation: 96+93=189, Resulting Numbers: [189] 189,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 79:[96, 53], Operations: ['5+68=73', '73-20=53'] Exploring Operation: 96-53=43, Resulting Numbers: [43] 43,79 unequal: No Solution Exploring Operation: 96+53=149, Resulting Numbers: [149] 149,79 unequal: No Solution Exploring Operation: 96*53=5088, Resulting Numbers: [5088] 5088,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 79:[73, 116], Operations: ['5+68=73', '20+96=116'] Exploring Operation: 73+116=189, Resulting Numbers: [189] 189,79 unequal: No Solution Exploring Operation: 73*116=8468, Resulting Numbers: [8468] 8468,79 unequal: No Solution Exploring Operation: 116-73=43, Resulting Numbers: [43] 43,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 79:[20, 23], Operations: ['5+68=73', '96-73=23'] Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,79 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 79:[5, 68, 76], Operations: ['96-20=76'] Exploring Operation: 5+68=73, Resulting Numbers: [76, 73] Generated Node #0,3,0: 79:[76, 73] Operation: 5+68=73 Exploring Operation: 68+76=144, Resulting Numbers: [5, 144] Generated Node #0,3,1: 79:[5, 144] Operation: 68+76=144 Exploring Operation: 68-5=63, Resulting Numbers: [76, 63] Generated Node #0,3,2: 79:[76, 63] Operation: 68-5=63 Exploring Operation: 5+76=81, Resulting Numbers: [68, 81] Generated Node #0,3,3: 79:[68, 81] Operation: 5+76=81 Exploring Operation: 76-5=71, Resulting Numbers: [68, 71] Generated Node #0,3,4: 79:[68, 71] Operation: 76-5=71 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[76, 73], Operations: ['96-20=76', '5+68=73'] Exploring Operation: 76*73=5548, Resulting Numbers: [5548] 5548,79 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 76+73=149, Resulting Numbers: [149] 149,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[68, 81], Operations: ['96-20=76', '5+76=81'] Exploring Operation: 68*81=5508, Resulting Numbers: [5508] 5508,79 unequal: No Solution Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 68+81=149, Resulting Numbers: [149] 149,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 79:[76, 63], Operations: ['96-20=76', '68-5=63'] Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,79 unequal: No Solution Exploring Operation: 76*63=4788, Resulting Numbers: [4788] 4788,79 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 79:[68, 71], Operations: ['96-20=76', '76-5=71'] Exploring Operation: 68+71=139, Resulting Numbers: [139] 139,79 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 68*71=4828, Resulting Numbers: [4828] 4828,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[5, 144], Operations: ['96-20=76', '68+76=144'] Exploring Operation: 5+144=149, Resulting Numbers: [149] 149,79 unequal: No Solution Exploring Operation: 5*144=720, Resulting Numbers: [720] 720,79 unequal: No Solution Exploring Operation: 144-5=139, Resulting Numbers: [139] 139,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 79:[68, 71], Operations: ['5+20=25', '96-25=71'] Exploring Operation: 68*71=4828, Resulting Numbers: [4828] 4828,79 unequal: No Solution Exploring Operation: 68+71=139, Resulting Numbers: [139] 139,79 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[96, 93], Operations: ['5+20=25', '68+25=93'] Exploring Operation: 96*93=8928, Resulting Numbers: [8928] 8928,79 unequal: No Solution Exploring Operation: 96+93=189, Resulting Numbers: [189] 189,79 unequal: No Solution Exploring Operation: 96-93=3, Resulting Numbers: [3] 3,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[96, 43], Operations: ['5+20=25', '68-25=43'] Exploring Operation: 96*43=4128, Resulting Numbers: [4128] 4128,79 unequal: No Solution Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 96+43=139, Resulting Numbers: [139] 139,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[68, 121], Operations: ['5+20=25', '96+25=121'] Exploring Operation: 68+121=189, Resulting Numbers: [189] 189,79 unequal: No Solution Exploring Operation: 121-68=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 68*121=8228, Resulting Numbers: [8228] 8228,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[25, 28], Operations: ['5+20=25', '96-68=28'] Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,79 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,79 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 7, 50, 31, 5 ]
83
[ "7+50=57", "31-5=26", "57+26=83" ]
Current State: 83:[7, 50, 31, 5], Operations: [] Exploring Operation: 7+50=57, Resulting Numbers: [31, 5, 57] Generated Node #2: [31, 5, 57] from Operation: 7+50=57 Current State: 83:[31, 5, 57], Operations: ['7+50=57'] Exploring Operation: 31-5=26, Resulting Numbers: [57, 26] Generated Node #3: [57, 26] from Operation: 31-5=26 Current State: 83:[57, 26], Operations: ['7+50=57', '31-5=26'] Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[7, 50, 31, 5], Operations: [] Exploring Operation: 7+5=12, Resulting Numbers: [50, 31, 12] Generated Node #0,0: 83:[50, 31, 12] Operation: 7+5=12 Exploring Operation: 7*5=35, Resulting Numbers: [50, 31, 35] Generated Node #0,1: 83:[50, 31, 35] Operation: 7*5=35 Exploring Operation: 7+31=38, Resulting Numbers: [50, 5, 38] Generated Node #0,2: 83:[50, 5, 38] Operation: 7+31=38 Exploring Operation: 7+50=57, Resulting Numbers: [31, 5, 57] Generated Node #0,3: 83:[31, 5, 57] Operation: 7+50=57 Exploring Operation: 50+31=81, Resulting Numbers: [7, 5, 81] Generated Node #0,4: 83:[7, 5, 81] Operation: 50+31=81 Moving to Node #0,1 Current State: 83:[50, 31, 35], Operations: ['7*5=35'] Exploring Operation: 31+35=66, Resulting Numbers: [50, 66] Generated Node #0,1,0: 83:[50, 66] Operation: 31+35=66 Exploring Operation: 35-31=4, Resulting Numbers: [50, 4] Generated Node #0,1,1: 83:[50, 4] Operation: 35-31=4 Exploring Operation: 50+35=85, Resulting Numbers: [31, 85] Generated Node #0,1,2: 83:[31, 85] Operation: 50+35=85 Exploring Operation: 50+31=81, Resulting Numbers: [35, 81] Generated Node #0,1,3: 83:[35, 81] Operation: 50+31=81 Exploring Operation: 50-31=19, Resulting Numbers: [35, 19] Generated Node #0,1,4: 83:[35, 19] Operation: 50-31=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[50, 66], Operations: ['7*5=35', '31+35=66'] Exploring Operation: 50*66=3300, Resulting Numbers: [3300] 3300,83 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 50+66=116, Resulting Numbers: [116] 116,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[35, 81], Operations: ['7*5=35', '50+31=81'] Exploring Operation: 35+81=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 35*81=2835, Resulting Numbers: [2835] 2835,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[31, 85], Operations: ['7*5=35', '50+35=85'] Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 31*85=2635, Resulting Numbers: [2635] 2635,83 unequal: No Solution Exploring Operation: 31+85=116, Resulting Numbers: [116] 116,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[50, 4], Operations: ['7*5=35', '35-31=4'] Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[35, 19], Operations: ['7*5=35', '50-31=19'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,83 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 83:[50, 5, 38], Operations: ['7+31=38'] Exploring Operation: 38-5=33, Resulting Numbers: [50, 33] Generated Node #0,2,0: 83:[50, 33] Operation: 38-5=33 Exploring Operation: 50+38=88, Resulting Numbers: [5, 88] Generated Node #0,2,1: 83:[5, 88] Operation: 50+38=88 Exploring Operation: 50+5=55, Resulting Numbers: [38, 55] Generated Node #0,2,2: 83:[38, 55] Operation: 50+5=55 Exploring Operation: 50-5=45, Resulting Numbers: [38, 45] Generated Node #0,2,3: 83:[38, 45] Operation: 50-5=45 Exploring Operation: 5+38=43, Resulting Numbers: [50, 43] Generated Node #0,2,4: 83:[50, 43] Operation: 5+38=43 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[38, 55], Operations: ['7+31=38', '50+5=55'] Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 38+55=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 38*55=2090, Resulting Numbers: [2090] 2090,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[50, 43], Operations: ['7+31=38', '5+38=43'] Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 50+43=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 50*43=2150, Resulting Numbers: [2150] 2150,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[50, 33], Operations: ['7+31=38', '38-5=33'] Exploring Operation: 50*33=1650, Resulting Numbers: [1650] 1650,83 unequal: No Solution Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[7, 50, 31, 5], Operations: [] Exploring Operation: 7+31=38, Resulting Numbers: [50, 5, 38] Generated Node #0,2: 83:[50, 5, 38] Operation: 7+31=38 Moving to Node #0,2 Current State: 83:[50, 5, 38], Operations: ['7+31=38'] Exploring Operation: 38-5=33, Resulting Numbers: [50, 33] Generated Node #0,2,0: 83:[50, 33] Operation: 38-5=33 Moving to Node #0,2,0 Current State: 83:[50, 33], Operations: ['7+31=38', '38-5=33'] Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 63, 60, 3, 15 ]
44
[ "63-15=48", "48/3=16", "60-16=44" ]
Current State: 44:[63, 60, 3, 15], Operations: [] Exploring Operation: 63-15=48, Resulting Numbers: [60, 3, 48] Generated Node #2: [60, 3, 48] from Operation: 63-15=48 Current State: 44:[60, 3, 48], Operations: ['63-15=48'] Exploring Operation: 48/3=16, Resulting Numbers: [60, 16] Generated Node #3: [60, 16] from Operation: 48/3=16 Current State: 44:[60, 16], Operations: ['63-15=48', '48/3=16'] Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[63, 60, 3, 15], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [60, 15, 21] Generated Node #0,0: 44:[60, 15, 21] Operation: 63/3=21 Exploring Operation: 63-15=48, Resulting Numbers: [60, 3, 48] Generated Node #0,1: 44:[60, 3, 48] Operation: 63-15=48 Exploring Operation: 63-60=3, Resulting Numbers: [3, 15, 3] Generated Node #0,2: 44:[3, 15, 3] Operation: 63-60=3 Exploring Operation: 60/15=4, Resulting Numbers: [63, 3, 4] Generated Node #0,3: 44:[63, 3, 4] Operation: 60/15=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[3, 15, 3], Operations: ['63-60=3'] Exploring Operation: 15*3=45, Resulting Numbers: [3, 45] Generated Node #0,2,0: 44:[3, 45] Operation: 15*3=45 Exploring Operation: 3*15=45, Resulting Numbers: [3, 45] Generated Node #0,2,1: 44:[3, 45] Operation: 3*15=45 Exploring Operation: 15/3=5, Resulting Numbers: [3, 5] Generated Node #0,2,2: 44:[3, 5] Operation: 15/3=5 Exploring Operation: 15-3=12, Resulting Numbers: [3, 12] Generated Node #0,2,3: 44:[3, 12] Operation: 15-3=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 44:[3, 45], Operations: ['63-60=3', '15*3=45'] Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,44 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 44:[3, 45], Operations: ['63-60=3', '3*15=45'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,44 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 44:[3, 5], Operations: ['63-60=3', '15/3=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,44 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 44:[3, 12], Operations: ['63-60=3', '15-3=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[63, 3, 4], Operations: ['60/15=4'] Exploring Operation: 63/3=21, Resulting Numbers: [4, 21] Generated Node #0,3,0: 44:[4, 21] Operation: 63/3=21 Exploring Operation: 3*4=12, Resulting Numbers: [63, 12] Generated Node #0,3,1: 44:[63, 12] Operation: 3*4=12 Exploring Operation: 63-4=59, Resulting Numbers: [3, 59] Generated Node #0,3,2: 44:[3, 59] Operation: 63-4=59 Exploring Operation: 63-3=60, Resulting Numbers: [4, 60] Generated Node #0,3,3: 44:[4, 60] Operation: 63-3=60 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 44:[4, 21], Operations: ['60/15=4', '63/3=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 44:[3, 59], Operations: ['60/15=4', '63-4=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,44 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 44:[4, 60], Operations: ['60/15=4', '63-3=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,44 unequal: No Solution Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,44 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 44:[63, 12], Operations: ['60/15=4', '3*4=12'] Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,44 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,44 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[60, 15, 21], Operations: ['63/3=21'] Exploring Operation: 60-21=39, Resulting Numbers: [15, 39] Generated Node #0,0,0: 44:[15, 39] Operation: 60-21=39 Exploring Operation: 60-15=45, Resulting Numbers: [21, 45] Generated Node #0,0,1: 44:[21, 45] Operation: 60-15=45 Exploring Operation: 21-15=6, Resulting Numbers: [60, 6] Generated Node #0,0,2: 44:[60, 6] Operation: 21-15=6 Exploring Operation: 60/15=4, Resulting Numbers: [21, 4] Generated Node #0,0,3: 44:[21, 4] Operation: 60/15=4 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 44:[21, 4], Operations: ['63/3=21', '60/15=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[21, 45], Operations: ['63/3=21', '60-15=45'] Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,44 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[15, 39], Operations: ['63/3=21', '60-21=39'] Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,44 unequal: No Solution Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[60, 6], Operations: ['63/3=21', '21-15=6'] Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,44 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,44 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,44 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[60, 3, 48], Operations: ['63-15=48'] Exploring Operation: 60-3=57, Resulting Numbers: [48, 57] Generated Node #0,1,0: 44:[48, 57] Operation: 60-3=57 Exploring Operation: 60-48=12, Resulting Numbers: [3, 12] Generated Node #0,1,1: 44:[3, 12] Operation: 60-48=12 Exploring Operation: 60/3=20, Resulting Numbers: [48, 20] Generated Node #0,1,2: 44:[48, 20] Operation: 60/3=20 Exploring Operation: 48-3=45, Resulting Numbers: [60, 45] Generated Node #0,1,3: 44:[60, 45] Operation: 48-3=45 Moving to Node #0,1,1 Current State: 44:[3, 12], Operations: ['63-15=48', '60-48=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[48, 20], Operations: ['63-15=48', '60/3=20'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,44 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[60, 45], Operations: ['63-15=48', '48-3=45'] Exploring Operation: 60*45=2700, Resulting Numbers: [2700] 2700,44 unequal: No Solution Exploring Operation: 60+45=105, Resulting Numbers: [105] 105,44 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[48, 57], Operations: ['63-15=48', '60-3=57'] Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,44 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 97, 91, 20, 90 ]
30
[ "97-91=6", "20*6=120", "120-90=30" ]
Current State: 30:[97, 91, 20, 90], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [20, 90, 6] Generated Node #2: [20, 90, 6] from Operation: 97-91=6 Current State: 30:[20, 90, 6], Operations: ['97-91=6'] Exploring Operation: 20*6=120, Resulting Numbers: [90, 120] Generated Node #3: [90, 120] from Operation: 20*6=120 Current State: 30:[90, 120], Operations: ['97-91=6', '20*6=120'] Exploring Operation: 120-90=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[97, 91, 20, 90], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [20, 90, 6] Generated Node #0,0: 30:[20, 90, 6] Operation: 97-91=6 Moving to Node #0,0 Current State: 30:[20, 90, 6], Operations: ['97-91=6'] Exploring Operation: 90/6=15, Resulting Numbers: [20, 15] Generated Node #0,0,0: 30:[20, 15] Operation: 90/6=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[20, 15], Operations: ['97-91=6', '90/6=15'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,30 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
[ 67, 11, 31, 13 ]
96
[ "67+11=78", "31-13=18", "78+18=96" ]
Current State: 96:[67, 11, 31, 13], Operations: [] Exploring Operation: 67+11=78, Resulting Numbers: [31, 13, 78] Generated Node #2: [31, 13, 78] from Operation: 67+11=78 Current State: 96:[31, 13, 78], Operations: ['67+11=78'] Exploring Operation: 31-13=18, Resulting Numbers: [78, 18] Generated Node #3: [78, 18] from Operation: 31-13=18 Current State: 96:[78, 18], Operations: ['67+11=78', '31-13=18'] Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[67, 11, 31, 13], Operations: [] Exploring Operation: 67-31=36, Resulting Numbers: [11, 13, 36] Generated Node #0,0: 96:[11, 13, 36] Operation: 67-31=36 Exploring Operation: 67+31=98, Resulting Numbers: [11, 13, 98] Generated Node #0,1: 96:[11, 13, 98] Operation: 67+31=98 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[11, 13, 98], Operations: ['67+31=98'] Exploring Operation: 13-11=2, Resulting Numbers: [98, 2] Generated Node #0,1,0: 96:[98, 2] Operation: 13-11=2 Exploring Operation: 11+13=24, Resulting Numbers: [98, 24] Generated Node #0,1,1: 96:[98, 24] Operation: 11+13=24 Moving to Node #0,1,0 Current State: 96:[98, 2], Operations: ['67+31=98', '13-11=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[67, 11, 31, 13], Operations: [] Exploring Operation: 67+31=98, Resulting Numbers: [11, 13, 98] Generated Node #0,1: 96:[11, 13, 98] Operation: 67+31=98 Moving to Node #0,1 Current State: 96:[11, 13, 98], Operations: ['67+31=98'] Exploring Operation: 13-11=2, Resulting Numbers: [98, 2] Generated Node #0,1,0: 96:[98, 2] Operation: 13-11=2 Moving to Node #0,1,0 Current State: 96:[98, 2], Operations: ['67+31=98', '13-11=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 6, 5, 10, 33 ]
47
[ "6+10=16", "5*16=80", "80-33=47" ]
Current State: 47:[6, 5, 10, 33], Operations: [] Exploring Operation: 6+10=16, Resulting Numbers: [5, 33, 16] Generated Node #2: [5, 33, 16] from Operation: 6+10=16 Current State: 47:[5, 33, 16], Operations: ['6+10=16'] Exploring Operation: 5*16=80, Resulting Numbers: [33, 80] Generated Node #3: [33, 80] from Operation: 5*16=80 Current State: 47:[33, 80], Operations: ['6+10=16', '5*16=80'] Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[6, 5, 10, 33], Operations: [] Exploring Operation: 6*10=60, Resulting Numbers: [5, 33, 60] Generated Node #0,0: 47:[5, 33, 60] Operation: 6*10=60 Exploring Operation: 6*5=30, Resulting Numbers: [10, 33, 30] Generated Node #0,1: 47:[10, 33, 30] Operation: 6*5=30 Exploring Operation: 5*10=50, Resulting Numbers: [6, 33, 50] Generated Node #0,2: 47:[6, 33, 50] Operation: 5*10=50 Moving to Node #0,2 Current State: 47:[6, 33, 50], Operations: ['5*10=50'] Exploring Operation: 6+33=39, Resulting Numbers: [50, 39] Generated Node #0,2,0: 47:[50, 39] Operation: 6+33=39 Exploring Operation: 50-6=44, Resulting Numbers: [33, 44] Generated Node #0,2,1: 47:[33, 44] Operation: 50-6=44 Exploring Operation: 33-6=27, Resulting Numbers: [50, 27] Generated Node #0,2,2: 47:[50, 27] Operation: 33-6=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[50, 39], Operations: ['5*10=50', '6+33=39'] Exploring Operation: 50+39=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 50*39=1950, Resulting Numbers: [1950] 1950,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:[33, 44], Operations: ['5*10=50', '50-6=44'] Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,47 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 33*44=1452, Resulting Numbers: [1452] 1452,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:[50, 27], Operations: ['5*10=50', '33-6=27'] Exploring Operation: 50*27=1350, Resulting Numbers: [1350] 1350,47 unequal: No Solution Exploring Operation: 50+27=77, Resulting Numbers: [77] 77,47 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 47:[10, 33, 30], Operations: ['6*5=30'] Exploring Operation: 33-10=23, Resulting Numbers: [30, 23] Generated Node #0,1,0: 47:[30, 23] Operation: 33-10=23 Exploring Operation: 10+33=43, Resulting Numbers: [30, 43] Generated Node #0,1,1: 47:[30, 43] Operation: 10+33=43 Exploring Operation: 10+30=40, Resulting Numbers: [33, 40] Generated Node #0,1,2: 47:[33, 40] Operation: 10+30=40 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[30, 43], Operations: ['6*5=30', '10+33=43'] Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,47 unequal: No Solution Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[33, 40], Operations: ['6*5=30', '10+30=40'] Exploring Operation: 33*40=1320, Resulting Numbers: [1320] 1320,47 unequal: No Solution Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,47 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[30, 23], Operations: ['6*5=30', '33-10=23'] Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,47 unequal: No Solution Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,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:[5, 33, 60], Operations: ['6*10=60'] Exploring Operation: 5+33=38, Resulting Numbers: [60, 38] Generated Node #0,0,0: 47:[60, 38] Operation: 5+33=38 Exploring Operation: 33-5=28, Resulting Numbers: [60, 28] Generated Node #0,0,1: 47:[60, 28] Operation: 33-5=28 Exploring Operation: 60-5=55, Resulting Numbers: [33, 55] Generated Node #0,0,2: 47:[33, 55] Operation: 60-5=55 Moving to Node #0,0,0 Current State: 47:[60, 38], Operations: ['6*10=60', '5+33=38'] Exploring Operation: 60*38=2280, Resulting Numbers: [2280] 2280,47 unequal: No Solution Exploring Operation: 60+38=98, Resulting Numbers: [98] 98,47 unequal: No Solution Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[33, 55], Operations: ['6*10=60', '60-5=55'] Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 33*55=1815, Resulting Numbers: [1815] 1815,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[60, 28], Operations: ['6*10=60', '33-5=28'] Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 60*28=1680, Resulting Numbers: [1680] 1680,47 unequal: No Solution Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,47 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 85, 60, 76, 5 ]
49
[ "85-60=25", "5*25=125", "125-76=49" ]
Current State: 49:[85, 60, 76, 5], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [76, 5, 25] Generated Node #2: [76, 5, 25] from Operation: 85-60=25 Current State: 49:[76, 5, 25], Operations: ['85-60=25'] Exploring Operation: 5*25=125, Resulting Numbers: [76, 125] Generated Node #3: [76, 125] from Operation: 5*25=125 Current State: 49:[76, 125], Operations: ['85-60=25', '5*25=125'] Exploring Operation: 125-76=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[85, 60, 76, 5], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [60, 5, 9] Generated Node #0,0: 49:[60, 5, 9] Operation: 85-76=9 Moving to Node #0,0 Current State: 49:[60, 5, 9], Operations: ['85-76=9'] Exploring Operation: 60-9=51, Resulting Numbers: [5, 51] Generated Node #0,0,0: 49:[5, 51] Operation: 60-9=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[5, 51], Operations: ['85-76=9', '60-9=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,49 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