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
[ 72, 2, 56, 9 ]
29
[ "72/2=36", "56+9=65", "65-36=29" ]
Current State: 29:[72, 2, 56, 9], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [56, 9, 36] Generated Node #2: [56, 9, 36] from Operation: 72/2=36 Current State: 29:[56, 9, 36], Operations: ['72/2=36'] Exploring Operation: 56+9=65, Resulting Numbers: [36, 65] Generated Node #3: [36, 65] from Operation: 56+9=65 Current State: 29:[36, 65], Operations: ['72/2=36', '56+9=65'] Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[72, 2, 56, 9], Operations: [] Exploring Operation: 72-56=16, Resulting Numbers: [2, 9, 16] Generated Node #0,0: 29:[2, 9, 16] Operation: 72-56=16 Exploring Operation: 72/2=36, Resulting Numbers: [56, 9, 36] Generated Node #0,1: 29:[56, 9, 36] Operation: 72/2=36 Exploring Operation: 56/2=28, Resulting Numbers: [72, 9, 28] Generated Node #0,2: 29:[72, 9, 28] Operation: 56/2=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[56, 9, 36], Operations: ['72/2=36'] Exploring Operation: 56-9=47, Resulting Numbers: [36, 47] Generated Node #0,1,0: 29:[36, 47] Operation: 56-9=47 Exploring Operation: 36-9=27, Resulting Numbers: [56, 27] Generated Node #0,1,1: 29:[56, 27] Operation: 36-9=27 Exploring Operation: 56-36=20, Resulting Numbers: [9, 20] Generated Node #0,1,2: 29:[9, 20] Operation: 56-36=20 Moving to Node #0,1,0 Current State: 29:[36, 47], Operations: ['72/2=36', '56-9=47'] Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,29 unequal: No Solution Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[56, 27], Operations: ['72/2=36', '36-9=27'] Exploring Operation: 56+27=83, Resulting Numbers: [83] 83,29 unequal: No Solution Exploring Operation: 56*27=1512, Resulting Numbers: [1512] 1512,29 unequal: No Solution Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[72, 2, 56, 9], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [56, 9, 36] Generated Node #0,1: 29:[56, 9, 36] Operation: 72/2=36 Moving to Node #0,1 Current State: 29:[56, 9, 36], Operations: ['72/2=36'] Exploring Operation: 36-9=27, Resulting Numbers: [56, 27] Generated Node #0,1,1: 29:[56, 27] Operation: 36-9=27 Moving to Node #0,1,1 Current State: 29:[56, 27], Operations: ['72/2=36', '36-9=27'] Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 2, 14, 79, 7 ]
80
[ "14/2=7", "7/7=1", "79+1=80" ]
Current State: 80:[2, 14, 79, 7], Operations: [] Exploring Operation: 14/2=7, Resulting Numbers: [79, 7, 7] Generated Node #2: [79, 7, 7] from Operation: 14/2=7 Current State: 80:[79, 7, 7], Operations: ['14/2=7'] Exploring Operation: 7/7=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 7/7=1 Current State: 80:[79, 1], Operations: ['14/2=7', '7/7=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[2, 14, 79, 7], Operations: [] Exploring Operation: 2+14=16, Resulting Numbers: [79, 7, 16] Generated Node #0,0: 80:[79, 7, 16] Operation: 2+14=16 Exploring Operation: 14/2=7, Resulting Numbers: [79, 7, 7] Generated Node #0,1: 80:[79, 7, 7] Operation: 14/2=7 Exploring Operation: 14+7=21, Resulting Numbers: [2, 79, 21] Generated Node #0,2: 80:[2, 79, 21] Operation: 14+7=21 Exploring Operation: 14/7=2, Resulting Numbers: [2, 79, 2] Generated Node #0,3: 80:[2, 79, 2] Operation: 14/7=2 Exploring Operation: 14-7=7, Resulting Numbers: [2, 79, 7] Generated Node #0,4: 80:[2, 79, 7] Operation: 14-7=7 Moving to Node #0,3 Current State: 80:[2, 79, 2], Operations: ['14/7=2'] Exploring Operation: 2*2=4, Resulting Numbers: [79, 4] Generated Node #0,3,0: 80:[79, 4] Operation: 2*2=4 Exploring Operation: 79+2=81, Resulting Numbers: [2, 81] Generated Node #0,3,1: 80:[2, 81] Operation: 79+2=81 Exploring Operation: 2+79=81, Resulting Numbers: [2, 81] Generated Node #0,3,2: 80:[2, 81] Operation: 2+79=81 Exploring Operation: 2/2=1, Resulting Numbers: [79, 1] Generated Node #0,3,3: 80:[79, 1] Operation: 2/2=1 Exploring Operation: 2+2=4, Resulting Numbers: [79, 4] Generated Node #0,3,4: 80:[79, 4] Operation: 2+2=4 Moving to Node #0,2 Current State: 80:[2, 79, 21], Operations: ['14+7=21'] Exploring Operation: 2*21=42, Resulting Numbers: [79, 42] Generated Node #0,2,0: 80:[79, 42] Operation: 2*21=42 Exploring Operation: 21-2=19, Resulting Numbers: [79, 19] Generated Node #0,2,1: 80:[79, 19] Operation: 21-2=19 Exploring Operation: 2+21=23, Resulting Numbers: [79, 23] Generated Node #0,2,2: 80:[79, 23] Operation: 2+21=23 Exploring Operation: 79-2=77, Resulting Numbers: [21, 77] Generated Node #0,2,3: 80:[21, 77] Operation: 79-2=77 Exploring Operation: 2+79=81, Resulting Numbers: [21, 81] Generated Node #0,2,4: 80:[21, 81] Operation: 2+79=81 Moving to Node #0,0 Current State: 80:[79, 7, 16], Operations: ['2+14=16'] Exploring Operation: 79+16=95, Resulting Numbers: [7, 95] Generated Node #0,0,0: 80:[7, 95] Operation: 79+16=95 Exploring Operation: 79+7=86, Resulting Numbers: [16, 86] Generated Node #0,0,1: 80:[16, 86] Operation: 79+7=86 Exploring Operation: 16-7=9, Resulting Numbers: [79, 9] Generated Node #0,0,2: 80:[79, 9] Operation: 16-7=9 Exploring Operation: 79-7=72, Resulting Numbers: [16, 72] Generated Node #0,0,3: 80:[16, 72] Operation: 79-7=72 Exploring Operation: 7+16=23, Resulting Numbers: [79, 23] Generated Node #0,0,4: 80:[79, 23] Operation: 7+16=23 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[79, 9], Operations: ['2+14=16', '16-7=9'] Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,80 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,80 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 80:[79, 23], Operations: ['2+14=16', '7+16=23'] Exploring Operation: 79+23=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 79*23=1817, Resulting Numbers: [1817] 1817,80 unequal: No Solution Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[16, 86], Operations: ['2+14=16', '79+7=86'] Exploring Operation: 16+86=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 16*86=1376, Resulting Numbers: [1376] 1376,80 unequal: No Solution Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[16, 72], Operations: ['2+14=16', '79-7=72'] Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,80 unequal: No Solution Exploring Operation: 16*72=1152, Resulting Numbers: [1152] 1152,80 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[7, 95], Operations: ['2+14=16', '79+16=95'] Exploring Operation: 7*95=665, Resulting Numbers: [665] 665,80 unequal: No Solution Exploring Operation: 7+95=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,80 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: 80:[2, 79, 7], Operations: ['14-7=7'] Exploring Operation: 2+7=9, Resulting Numbers: [79, 9] Generated Node #0,4,0: 80:[79, 9] Operation: 2+7=9 Exploring Operation: 79-2=77, Resulting Numbers: [7, 77] Generated Node #0,4,1: 80:[7, 77] Operation: 79-2=77 Exploring Operation: 2*7=14, Resulting Numbers: [79, 14] Generated Node #0,4,2: 80:[79, 14] Operation: 2*7=14 Exploring Operation: 7-2=5, Resulting Numbers: [79, 5] Generated Node #0,4,3: 80:[79, 5] Operation: 7-2=5 Exploring Operation: 2+79=81, Resulting Numbers: [7, 81] Generated Node #0,4,4: 80:[7, 81] Operation: 2+79=81 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 80:[79, 5], Operations: ['14-7=7', '7-2=5'] Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,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,4,0 Current State: 80:[79, 9], Operations: ['14-7=7', '2+7=9'] Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,80 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,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,4,4 Current State: 80:[7, 81], Operations: ['14-7=7', '2+79=81'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 7*81=567, Resulting Numbers: [567] 567,80 unequal: No Solution Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,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,4,2 Current State: 80:[79, 14], Operations: ['14-7=7', '2*7=14'] Exploring Operation: 79+14=93, Resulting Numbers: [93] 93,80 unequal: No Solution Exploring Operation: 79*14=1106, Resulting Numbers: [1106] 1106,80 unequal: No Solution Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,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,4,1 Current State: 80:[7, 77], Operations: ['14-7=7', '79-2=77'] Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,80 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 7*77=539, Resulting Numbers: [539] 539,80 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 80:[79, 7, 7], Operations: ['14/2=7'] Exploring Operation: 7+7=14, Resulting Numbers: [79, 14] Generated Node #0,1,0: 80:[79, 14] Operation: 7+7=14 Exploring Operation: 7-7=0, Resulting Numbers: [79, 0] Generated Node #0,1,1: 80:[79, 0] Operation: 7-7=0 Exploring Operation: 79+7=86, Resulting Numbers: [7, 86] Generated Node #0,1,2: 80:[7, 86] Operation: 79+7=86 Exploring Operation: 7/7=1, Resulting Numbers: [79, 1] Generated Node #0,1,3: 80:[79, 1] Operation: 7/7=1 Exploring Operation: 79+7=86, Resulting Numbers: [7, 86] Generated Node #0,1,4: 80:[7, 86] Operation: 79+7=86 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[79, 1], Operations: ['14/2=7', '7/7=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,80 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,80 unequal: No Solution Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[2, 14, 79, 7], Operations: [] Exploring Operation: 14/2=7, Resulting Numbers: [79, 7, 7] Generated Node #0,1: 80:[79, 7, 7] Operation: 14/2=7 Moving to Node #0,1 Current State: 80:[79, 7, 7], Operations: ['14/2=7'] Exploring Operation: 7/7=1, Resulting Numbers: [79, 1] Generated Node #0,1,3: 80:[79, 1] Operation: 7/7=1 Moving to Node #0,1,3 Current State: 80:[79, 1], Operations: ['14/2=7', '7/7=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.940972
hs_5
mult_heuristic
[ 24, 89, 48, 31 ]
82
[ "89-24=65", "48-31=17", "65+17=82" ]
Current State: 82:[24, 89, 48, 31], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [48, 31, 65] Generated Node #2: [48, 31, 65] from Operation: 89-24=65 Current State: 82:[48, 31, 65], Operations: ['89-24=65'] Exploring Operation: 48-31=17, Resulting Numbers: [65, 17] Generated Node #3: [65, 17] from Operation: 48-31=17 Current State: 82:[65, 17], Operations: ['89-24=65', '48-31=17'] Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[24, 89, 48, 31], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [89, 31, 2] Generated Node #0,0: 82:[89, 31, 2] Operation: 48/24=2 Exploring Operation: 24+48=72, Resulting Numbers: [89, 31, 72] Generated Node #0,1: 82:[89, 31, 72] Operation: 24+48=72 Exploring Operation: 31-24=7, Resulting Numbers: [89, 48, 7] Generated Node #0,2: 82:[89, 48, 7] Operation: 31-24=7 Moving to Node #0,0 Current State: 82:[89, 31, 2], Operations: ['48/24=2'] Exploring Operation: 89-2=87, Resulting Numbers: [31, 87] Generated Node #0,0,0: 82:[31, 87] Operation: 89-2=87 Exploring Operation: 89-31=58, Resulting Numbers: [2, 58] Generated Node #0,0,1: 82:[2, 58] Operation: 89-31=58 Exploring Operation: 31+2=33, Resulting Numbers: [89, 33] Generated Node #0,0,2: 82:[89, 33] Operation: 31+2=33 Moving to Node #0,2 Current State: 82:[89, 48, 7], Operations: ['31-24=7'] Exploring Operation: 48-7=41, Resulting Numbers: [89, 41] Generated Node #0,2,0: 82:[89, 41] Operation: 48-7=41 Exploring Operation: 89-48=41, Resulting Numbers: [7, 41] Generated Node #0,2,1: 82:[7, 41] Operation: 89-48=41 Exploring Operation: 89-7=82, Resulting Numbers: [48, 82] Generated Node #0,2,2: 82:[48, 82] Operation: 89-7=82 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[7, 41], Operations: ['31-24=7', '89-48=41'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,82 unequal: No Solution Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[89, 41], Operations: ['31-24=7', '48-7=41'] Exploring Operation: 89+41=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 89*41=3649, Resulting Numbers: [3649] 3649,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[48, 82], Operations: ['31-24=7', '89-7=82'] Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 48*82=3936, Resulting Numbers: [3936] 3936,82 unequal: No Solution Exploring Operation: 48+82=130, Resulting Numbers: [130] 130,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 82:[89, 31, 72], Operations: ['24+48=72'] Exploring Operation: 72-31=41, Resulting Numbers: [89, 41] Generated Node #0,1,0: 82:[89, 41] Operation: 72-31=41 Exploring Operation: 89-72=17, Resulting Numbers: [31, 17] Generated Node #0,1,1: 82:[31, 17] Operation: 89-72=17 Exploring Operation: 89-31=58, Resulting Numbers: [72, 58] Generated Node #0,1,2: 82:[72, 58] Operation: 89-31=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[89, 41], Operations: ['24+48=72', '72-31=41'] Exploring Operation: 89*41=3649, Resulting Numbers: [3649] 3649,82 unequal: No Solution Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 89+41=130, Resulting Numbers: [130] 130,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[31, 17], Operations: ['24+48=72', '89-72=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[72, 58], Operations: ['24+48=72', '89-31=58'] Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 72+58=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 72*58=4176, Resulting Numbers: [4176] 4176,82 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: 82:[31, 87], Operations: ['48/24=2', '89-2=87'] Exploring Operation: 31*87=2697, Resulting Numbers: [2697] 2697,82 unequal: No Solution Exploring Operation: 31+87=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[89, 33], Operations: ['48/24=2', '31+2=33'] Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 89+33=122, Resulting Numbers: [122] 122,82 unequal: No Solution Exploring Operation: 89*33=2937, Resulting Numbers: [2937] 2937,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[2, 58], Operations: ['48/24=2', '89-31=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,82 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 40, 24, 56, 18 ]
12
[ "56-40=16", "18*16=288", "288/24=12" ]
Current State: 12:[40, 24, 56, 18], Operations: [] Exploring Operation: 56-40=16, Resulting Numbers: [24, 18, 16] Generated Node #2: [24, 18, 16] from Operation: 56-40=16 Current State: 12:[24, 18, 16], Operations: ['56-40=16'] Exploring Operation: 18*16=288, Resulting Numbers: [24, 288] Generated Node #3: [24, 288] from Operation: 18*16=288 Current State: 12:[24, 288], Operations: ['56-40=16', '18*16=288'] Exploring Operation: 288/24=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[40, 24, 56, 18], Operations: [] Exploring Operation: 40-24=16, Resulting Numbers: [56, 18, 16] Generated Node #0,0: 12:[56, 18, 16] Operation: 40-24=16 Exploring Operation: 56-40=16, Resulting Numbers: [24, 18, 16] Generated Node #0,1: 12:[24, 18, 16] Operation: 56-40=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[24, 18, 16], Operations: ['56-40=16'] Exploring Operation: 24-16=8, Resulting Numbers: [18, 8] Generated Node #0,1,0: 12:[18, 8] Operation: 24-16=8 Exploring Operation: 24-18=6, Resulting Numbers: [16, 6] Generated Node #0,1,1: 12:[16, 6] Operation: 24-18=6 Moving to Node #0,1,1 Current State: 12:[16, 6], Operations: ['56-40=16', '24-18=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[18, 8], Operations: ['56-40=16', '24-16=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[56, 18, 16], Operations: ['40-24=16'] Exploring Operation: 56-16=40, Resulting Numbers: [18, 40] Generated Node #0,0,0: 12:[18, 40] Operation: 56-16=40 Exploring Operation: 56-18=38, Resulting Numbers: [16, 38] Generated Node #0,0,1: 12:[16, 38] Operation: 56-18=38 Moving to Node #0,0,1 Current State: 12:[16, 38], Operations: ['40-24=16', '56-18=38'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[18, 40], Operations: ['40-24=16', '56-16=40'] Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,12 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,12 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
[ 58, 80, 47, 68 ]
93
[ "80-58=22", "47+68=115", "115-22=93" ]
Current State: 93:[58, 80, 47, 68], Operations: [] Exploring Operation: 80-58=22, Resulting Numbers: [47, 68, 22] Generated Node #2: [47, 68, 22] from Operation: 80-58=22 Current State: 93:[47, 68, 22], Operations: ['80-58=22'] Exploring Operation: 47+68=115, Resulting Numbers: [22, 115] Generated Node #3: [22, 115] from Operation: 47+68=115 Current State: 93:[22, 115], Operations: ['80-58=22', '47+68=115'] Exploring Operation: 115-22=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[58, 80, 47, 68], Operations: [] Exploring Operation: 58-47=11, Resulting Numbers: [80, 68, 11] Generated Node #0,0: 93:[80, 68, 11] Operation: 58-47=11 Exploring Operation: 68-58=10, Resulting Numbers: [80, 47, 10] Generated Node #0,1: 93:[80, 47, 10] Operation: 68-58=10 Moving to Node #0,1 Current State: 93:[80, 47, 10], Operations: ['68-58=10'] Exploring Operation: 80-47=33, Resulting Numbers: [10, 33] Generated Node #0,1,0: 93:[10, 33] Operation: 80-47=33 Exploring Operation: 80+10=90, Resulting Numbers: [47, 90] Generated Node #0,1,1: 93:[47, 90] Operation: 80+10=90 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[10, 33], Operations: ['68-58=10', '80-47=33'] Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[47, 90], Operations: ['68-58=10', '80+10=90'] Exploring Operation: 90-47=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 47+90=137, Resulting Numbers: [137] 137,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 93:[80, 68, 11], Operations: ['58-47=11'] Exploring Operation: 80+11=91, Resulting Numbers: [68, 91] Generated Node #0,0,0: 93:[68, 91] Operation: 80+11=91 Exploring Operation: 80-68=12, Resulting Numbers: [11, 12] Generated Node #0,0,1: 93:[11, 12] Operation: 80-68=12 Moving to Node #0,0,1 Current State: 93:[11, 12], Operations: ['58-47=11', '80-68=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[68, 91], Operations: ['58-47=11', '80+11=91'] Exploring Operation: 91-68=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 68+91=159, Resulting Numbers: [159] 159,93 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 98, 26, 8, 49 ]
10
[ "98*8=784", "784/49=16", "26-16=10" ]
Current State: 10:[98, 26, 8, 49], Operations: [] Exploring Operation: 98*8=784, Resulting Numbers: [26, 49, 784] Generated Node #2: [26, 49, 784] from Operation: 98*8=784 Current State: 10:[26, 49, 784], Operations: ['98*8=784'] Exploring Operation: 784/49=16, Resulting Numbers: [26, 16] Generated Node #3: [26, 16] from Operation: 784/49=16 Current State: 10:[26, 16], Operations: ['98*8=784', '784/49=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[98, 26, 8, 49], Operations: [] Exploring Operation: 49-26=23, Resulting Numbers: [98, 8, 23] Generated Node #0,0: 10:[98, 8, 23] Operation: 49-26=23 Exploring Operation: 98/49=2, Resulting Numbers: [26, 8, 2] Generated Node #0,1: 10:[26, 8, 2] Operation: 98/49=2 Exploring Operation: 98-49=49, Resulting Numbers: [26, 8, 49] Generated Node #0,2: 10:[26, 8, 49] Operation: 98-49=49 Exploring Operation: 98-26=72, Resulting Numbers: [8, 49, 72] Generated Node #0,3: 10:[8, 49, 72] Operation: 98-26=72 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[26, 8, 2], Operations: ['98/49=2'] Exploring Operation: 26-2=24, Resulting Numbers: [8, 24] Generated Node #0,1,0: 10:[8, 24] Operation: 26-2=24 Exploring Operation: 8+2=10, Resulting Numbers: [26, 10] Generated Node #0,1,1: 10:[26, 10] Operation: 8+2=10 Exploring Operation: 26-8=18, Resulting Numbers: [2, 18] Generated Node #0,1,2: 10:[2, 18] Operation: 26-8=18 Exploring Operation: 26/2=13, Resulting Numbers: [8, 13] Generated Node #0,1,3: 10:[8, 13] Operation: 26/2=13 Moving to Node #0,1,3 Current State: 10:[8, 13], Operations: ['98/49=2', '26/2=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,10 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[2, 18], Operations: ['98/49=2', '26-8=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[26, 10], Operations: ['98/49=2', '8+2=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[8, 24], Operations: ['98/49=2', '26-2=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,10 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,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,2 Current State: 10:[26, 8, 49], Operations: ['98-49=49'] Exploring Operation: 26-8=18, Resulting Numbers: [49, 18] Generated Node #0,2,0: 10:[49, 18] Operation: 26-8=18 Exploring Operation: 26+8=34, Resulting Numbers: [49, 34] Generated Node #0,2,1: 10:[49, 34] Operation: 26+8=34 Exploring Operation: 49-8=41, Resulting Numbers: [26, 41] Generated Node #0,2,2: 10:[26, 41] Operation: 49-8=41 Exploring Operation: 49-26=23, Resulting Numbers: [8, 23] Generated Node #0,2,3: 10:[8, 23] Operation: 49-26=23 Moving to Node #0,2,3 Current State: 10:[8, 23], Operations: ['98-49=49', '49-26=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[26, 41], Operations: ['98-49=49', '49-8=41'] Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,10 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[49, 18], Operations: ['98-49=49', '26-8=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,10 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[49, 34], Operations: ['98-49=49', '26+8=34'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 49*34=1666, Resulting Numbers: [1666] 1666,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 Current State: 10:[98, 8, 23], Operations: ['49-26=23'] Exploring Operation: 98-8=90, Resulting Numbers: [23, 90] Generated Node #0,0,0: 10:[23, 90] Operation: 98-8=90 Exploring Operation: 23-8=15, Resulting Numbers: [98, 15] Generated Node #0,0,1: 10:[98, 15] Operation: 23-8=15 Exploring Operation: 98+8=106, Resulting Numbers: [23, 106] Generated Node #0,0,2: 10:[23, 106] Operation: 98+8=106 Exploring Operation: 98-23=75, Resulting Numbers: [8, 75] Generated Node #0,0,3: 10:[8, 75] Operation: 98-23=75 Moving to Node #0,0,3 Current State: 10:[8, 75], Operations: ['49-26=23', '98-23=75'] Exploring Operation: 8+75=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 8*75=600, Resulting Numbers: [600] 600,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[98, 15], Operations: ['49-26=23', '23-8=15'] Exploring Operation: 98*15=1470, Resulting Numbers: [1470] 1470,10 unequal: No Solution Exploring Operation: 98+15=113, Resulting Numbers: [113] 113,10 unequal: No Solution Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[23, 90], Operations: ['49-26=23', '98-8=90'] Exploring Operation: 23*90=2070, Resulting Numbers: [2070] 2070,10 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 23+90=113, Resulting Numbers: [113] 113,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[23, 106], Operations: ['49-26=23', '98+8=106'] Exploring Operation: 106-23=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 23*106=2438, Resulting Numbers: [2438] 2438,10 unequal: No Solution Exploring Operation: 23+106=129, Resulting Numbers: [129] 129,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,3 Current State: 10:[8, 49, 72], Operations: ['98-26=72'] Exploring Operation: 72-49=23, Resulting Numbers: [8, 23] Generated Node #0,3,0: 10:[8, 23] Operation: 72-49=23 Exploring Operation: 49-8=41, Resulting Numbers: [72, 41] Generated Node #0,3,1: 10:[72, 41] Operation: 49-8=41 Exploring Operation: 72-8=64, Resulting Numbers: [49, 64] Generated Node #0,3,2: 10:[49, 64] Operation: 72-8=64 Exploring Operation: 72/8=9, Resulting Numbers: [49, 9] Generated Node #0,3,3: 10:[49, 9] Operation: 72/8=9 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 10:[8, 23], Operations: ['98-26=72', '72-49=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,10 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,10 unequal: No Solution No 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: 10:[49, 9], Operations: ['98-26=72', '72/8=9'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,10 unequal: No Solution Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,10 unequal: No Solution No 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: 10:[72, 41], Operations: ['98-26=72', '49-8=41'] Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,10 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,10 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,10 unequal: No Solution No 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: 10:[49, 64], Operations: ['98-26=72', '72-8=64'] Exploring Operation: 49*64=3136, Resulting Numbers: [3136] 3136,10 unequal: No Solution Exploring Operation: 49+64=113, Resulting Numbers: [113] 113,10 unequal: No Solution Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,10 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
[ 22, 37, 42, 20 ]
56
[ "37-22=15", "42*20=840", "840/15=56" ]
Current State: 56:[22, 37, 42, 20], Operations: [] Exploring Operation: 37-22=15, Resulting Numbers: [42, 20, 15] Generated Node #2: [42, 20, 15] from Operation: 37-22=15 Current State: 56:[42, 20, 15], Operations: ['37-22=15'] Exploring Operation: 42*20=840, Resulting Numbers: [15, 840] Generated Node #3: [15, 840] from Operation: 42*20=840 Current State: 56:[15, 840], Operations: ['37-22=15', '42*20=840'] Exploring Operation: 840/15=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[22, 37, 42, 20], Operations: [] Exploring Operation: 42-37=5, Resulting Numbers: [22, 20, 5] Generated Node #0,0: 56:[22, 20, 5] Operation: 42-37=5 Exploring Operation: 37-22=15, Resulting Numbers: [42, 20, 15] Generated Node #0,1: 56:[42, 20, 15] Operation: 37-22=15 Exploring Operation: 42-22=20, Resulting Numbers: [37, 20, 20] Generated Node #0,2: 56:[37, 20, 20] Operation: 42-22=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[22, 20, 5], Operations: ['42-37=5'] Exploring Operation: 22+5=27, Resulting Numbers: [20, 27] Generated Node #0,0,0: 56:[20, 27] Operation: 22+5=27 Exploring Operation: 22-20=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 56:[5, 2] Operation: 22-20=2 Exploring Operation: 20/5=4, Resulting Numbers: [22, 4] Generated Node #0,0,2: 56:[22, 4] Operation: 20/5=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[5, 2], Operations: ['42-37=5', '22-20=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[22, 4], Operations: ['42-37=5', '20/5=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[20, 27], Operations: ['42-37=5', '22+5=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,56 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[42, 20, 15], Operations: ['37-22=15'] Exploring Operation: 42+15=57, Resulting Numbers: [20, 57] Generated Node #0,1,0: 56:[20, 57] Operation: 42+15=57 Exploring Operation: 42-20=22, Resulting Numbers: [15, 22] Generated Node #0,1,1: 56:[15, 22] Operation: 42-20=22 Exploring Operation: 42+20=62, Resulting Numbers: [15, 62] Generated Node #0,1,2: 56:[15, 62] Operation: 42+20=62 Moving to Node #0,1,0 Current State: 56:[20, 57], Operations: ['37-22=15', '42+15=57'] Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,56 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[15, 22], Operations: ['37-22=15', '42-20=22'] Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,56 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[15, 62], Operations: ['37-22=15', '42+20=62'] Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,56 unequal: No Solution Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[37, 20, 20], Operations: ['42-22=20'] Exploring Operation: 37-20=17, Resulting Numbers: [20, 17] Generated Node #0,2,0: 56:[20, 17] Operation: 37-20=17 Exploring Operation: 37+20=57, Resulting Numbers: [20, 57] Generated Node #0,2,1: 56:[20, 57] Operation: 37+20=57 Exploring Operation: 37+20=57, Resulting Numbers: [20, 57] Generated Node #0,2,2: 56:[20, 57] Operation: 37+20=57 Moving to Node #0,2,1 Current State: 56:[20, 57], Operations: ['42-22=20', '37+20=57'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,56 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[20, 57], Operations: ['42-22=20', '37+20=57'] Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,56 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[20, 17], Operations: ['42-22=20', '37-20=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,56 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,56 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
[ 84, 44, 13, 10 ]
17
[ "84-44=40", "13+10=23", "40-23=17" ]
Current State: 17:[84, 44, 13, 10], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [13, 10, 40] Generated Node #2: [13, 10, 40] from Operation: 84-44=40 Current State: 17:[13, 10, 40], Operations: ['84-44=40'] Exploring Operation: 13+10=23, Resulting Numbers: [40, 23] Generated Node #3: [40, 23] from Operation: 13+10=23 Current State: 17:[40, 23], Operations: ['84-44=40', '13+10=23'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[84, 44, 13, 10], Operations: [] Exploring Operation: 84-10=74, Resulting Numbers: [44, 13, 74] Generated Node #0,0: 17:[44, 13, 74] Operation: 84-10=74 Exploring Operation: 84-13=71, Resulting Numbers: [44, 10, 71] Generated Node #0,1: 17:[44, 10, 71] Operation: 84-13=71 Exploring Operation: 44-10=34, Resulting Numbers: [84, 13, 34] Generated Node #0,2: 17:[84, 13, 34] Operation: 44-10=34 Exploring Operation: 84-44=40, Resulting Numbers: [13, 10, 40] Generated Node #0,3: 17:[13, 10, 40] Operation: 84-44=40 Exploring Operation: 44-13=31, Resulting Numbers: [84, 10, 31] Generated Node #0,4: 17:[84, 10, 31] Operation: 44-13=31 Moving to Node #0,3 Current State: 17:[13, 10, 40], Operations: ['84-44=40'] Exploring Operation: 40-10=30, Resulting Numbers: [13, 30] Generated Node #0,3,0: 17:[13, 30] Operation: 40-10=30 Exploring Operation: 40-13=27, Resulting Numbers: [10, 27] Generated Node #0,3,1: 17:[10, 27] Operation: 40-13=27 Exploring Operation: 13+10=23, Resulting Numbers: [40, 23] Generated Node #0,3,2: 17:[40, 23] Operation: 13+10=23 Exploring Operation: 40/10=4, Resulting Numbers: [13, 4] Generated Node #0,3,3: 17:[13, 4] Operation: 40/10=4 Exploring Operation: 13-10=3, Resulting Numbers: [40, 3] Generated Node #0,3,4: 17:[40, 3] Operation: 13-10=3 Moving to Node #0,1 Current State: 17:[44, 10, 71], Operations: ['84-13=71'] Exploring Operation: 71-44=27, Resulting Numbers: [10, 27] Generated Node #0,1,0: 17:[10, 27] Operation: 71-44=27 Exploring Operation: 44+10=54, Resulting Numbers: [71, 54] Generated Node #0,1,1: 17:[71, 54] Operation: 44+10=54 Exploring Operation: 71-10=61, Resulting Numbers: [44, 61] Generated Node #0,1,2: 17:[44, 61] Operation: 71-10=61 Exploring Operation: 44-10=34, Resulting Numbers: [71, 34] Generated Node #0,1,3: 17:[71, 34] Operation: 44-10=34 Exploring Operation: 10+71=81, Resulting Numbers: [44, 81] Generated Node #0,1,4: 17:[44, 81] Operation: 10+71=81 Moving to Node #0,4 Current State: 17:[84, 10, 31], Operations: ['44-13=31'] Exploring Operation: 31-10=21, Resulting Numbers: [84, 21] Generated Node #0,4,0: 17:[84, 21] Operation: 31-10=21 Exploring Operation: 84+10=94, Resulting Numbers: [31, 94] Generated Node #0,4,1: 17:[31, 94] Operation: 84+10=94 Exploring Operation: 84-31=53, Resulting Numbers: [10, 53] Generated Node #0,4,2: 17:[10, 53] Operation: 84-31=53 Exploring Operation: 84-10=74, Resulting Numbers: [31, 74] Generated Node #0,4,3: 17:[31, 74] Operation: 84-10=74 Exploring Operation: 10+31=41, Resulting Numbers: [84, 41] Generated Node #0,4,4: 17:[84, 41] Operation: 10+31=41 Moving to Node #0,0 Current State: 17:[44, 13, 74], Operations: ['84-10=74'] Exploring Operation: 74-13=61, Resulting Numbers: [44, 61] Generated Node #0,0,0: 17:[44, 61] Operation: 74-13=61 Exploring Operation: 44+13=57, Resulting Numbers: [74, 57] Generated Node #0,0,1: 17:[74, 57] Operation: 44+13=57 Exploring Operation: 44-13=31, Resulting Numbers: [74, 31] Generated Node #0,0,2: 17:[74, 31] Operation: 44-13=31 Exploring Operation: 13+74=87, Resulting Numbers: [44, 87] Generated Node #0,0,3: 17:[44, 87] Operation: 13+74=87 Exploring Operation: 74-44=30, Resulting Numbers: [13, 30] Generated Node #0,0,4: 17:[13, 30] Operation: 74-44=30 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[13, 30], Operations: ['84-10=74', '74-44=30'] Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,17 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[84, 44, 13, 10], Operations: [] Exploring Operation: 84-10=74, Resulting Numbers: [44, 13, 74] Generated Node #0,0: 17:[44, 13, 74] Operation: 84-10=74 Moving to Node #0,0 Current State: 17:[44, 13, 74], Operations: ['84-10=74'] Exploring Operation: 74-44=30, Resulting Numbers: [13, 30] Generated Node #0,0,4: 17:[13, 30] Operation: 74-44=30 Moving to Node #0,0,4 Current State: 17:[13, 30], Operations: ['84-10=74', '74-44=30'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_5
mult_heuristic
[ 97, 1, 58, 4 ]
31
[ "97+58=155", "1+4=5", "155/5=31" ]
Current State: 31:[97, 1, 58, 4], Operations: [] Exploring Operation: 97+58=155, Resulting Numbers: [1, 4, 155] Generated Node #2: [1, 4, 155] from Operation: 97+58=155 Current State: 31:[1, 4, 155], Operations: ['97+58=155'] Exploring Operation: 1+4=5, Resulting Numbers: [155, 5] Generated Node #3: [155, 5] from Operation: 1+4=5 Current State: 31:[155, 5], Operations: ['97+58=155', '1+4=5'] Exploring Operation: 155/5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[97, 1, 58, 4], Operations: [] Exploring Operation: 97-58=39, Resulting Numbers: [1, 4, 39] Generated Node #0,0: 31:[1, 4, 39] Operation: 97-58=39 Exploring Operation: 97-4=93, Resulting Numbers: [1, 58, 93] Generated Node #0,1: 31:[1, 58, 93] Operation: 97-4=93 Exploring Operation: 97-1=96, Resulting Numbers: [58, 4, 96] Generated Node #0,2: 31:[58, 4, 96] Operation: 97-1=96 Exploring Operation: 58-1=57, Resulting Numbers: [97, 4, 57] Generated Node #0,3: 31:[97, 4, 57] Operation: 58-1=57 Moving to Node #0,0 Current State: 31:[1, 4, 39], Operations: ['97-58=39'] Exploring Operation: 1+4=5, Resulting Numbers: [39, 5] Generated Node #0,0,0: 31:[39, 5] Operation: 1+4=5 Exploring Operation: 1*4=4, Resulting Numbers: [39, 4] Generated Node #0,0,1: 31:[39, 4] Operation: 1*4=4 Exploring Operation: 39-4=35, Resulting Numbers: [1, 35] Generated Node #0,0,2: 31:[1, 35] Operation: 39-4=35 Exploring Operation: 39-1=38, Resulting Numbers: [4, 38] Generated Node #0,0,3: 31:[4, 38] Operation: 39-1=38 Moving to Node #0,2 Current State: 31:[58, 4, 96], Operations: ['97-1=96'] Exploring Operation: 96-4=92, Resulting Numbers: [58, 92] Generated Node #0,2,0: 31:[58, 92] Operation: 96-4=92 Exploring Operation: 96-58=38, Resulting Numbers: [4, 38] Generated Node #0,2,1: 31:[4, 38] Operation: 96-58=38 Exploring Operation: 58-4=54, Resulting Numbers: [96, 54] Generated Node #0,2,2: 31:[96, 54] Operation: 58-4=54 Exploring Operation: 96/4=24, Resulting Numbers: [58, 24] Generated Node #0,2,3: 31:[58, 24] Operation: 96/4=24 Moving to Node #0,1 Current State: 31:[1, 58, 93], Operations: ['97-4=93'] Exploring Operation: 93-58=35, Resulting Numbers: [1, 35] Generated Node #0,1,0: 31:[1, 35] Operation: 93-58=35 Exploring Operation: 93-1=92, Resulting Numbers: [58, 92] Generated Node #0,1,1: 31:[58, 92] Operation: 93-1=92 Exploring Operation: 1*58=58, Resulting Numbers: [93, 58] Generated Node #0,1,2: 31:[93, 58] Operation: 1*58=58 Exploring Operation: 58-1=57, Resulting Numbers: [93, 57] Generated Node #0,1,3: 31:[93, 57] Operation: 58-1=57 Moving to Node #0,3 Current State: 31:[97, 4, 57], Operations: ['58-1=57'] Exploring Operation: 97+4=101, Resulting Numbers: [57, 101] Generated Node #0,3,0: 31:[57, 101] Operation: 97+4=101 Exploring Operation: 97-57=40, Resulting Numbers: [4, 40] Generated Node #0,3,1: 31:[4, 40] Operation: 97-57=40 Exploring Operation: 97-4=93, Resulting Numbers: [57, 93] Generated Node #0,3,2: 31:[57, 93] Operation: 97-4=93 Exploring Operation: 57-4=53, Resulting Numbers: [97, 53] Generated Node #0,3,3: 31:[97, 53] Operation: 57-4=53 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[4, 40], Operations: ['58-1=57', '97-57=40'] Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[57, 93], Operations: ['58-1=57', '97-4=93'] Exploring Operation: 93-57=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 57*93=5301, Resulting Numbers: [5301] 5301,31 unequal: No Solution Exploring Operation: 57+93=150, Resulting Numbers: [150] 150,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[97, 53], Operations: ['58-1=57', '57-4=53'] Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 97*53=5141, Resulting Numbers: [5141] 5141,31 unequal: No Solution Exploring Operation: 97+53=150, Resulting Numbers: [150] 150,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[57, 101], Operations: ['58-1=57', '97+4=101'] Exploring Operation: 57*101=5757, Resulting Numbers: [5757] 5757,31 unequal: No Solution Exploring Operation: 57+101=158, Resulting Numbers: [158] 158,31 unequal: No Solution Exploring Operation: 101-57=44, Resulting Numbers: [44] 44,31 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: 31:[39, 5], Operations: ['97-58=39', '1+4=5'] Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,31 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[4, 38], Operations: ['97-58=39', '39-1=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[58, 24], Operations: ['97-1=96', '96/4=24'] Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,31 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,31 unequal: No Solution Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[1, 35], Operations: ['97-58=39', '39-4=35'] Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[4, 38], Operations: ['97-1=96', '96-58=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[1, 35], Operations: ['97-4=93', '93-58=35'] Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[39, 4], Operations: ['97-58=39', '1*4=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[58, 92], Operations: ['97-1=96', '96-4=92'] Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 58*92=5336, Resulting Numbers: [5336] 5336,31 unequal: No Solution Exploring Operation: 58+92=150, Resulting Numbers: [150] 150,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[58, 92], Operations: ['97-4=93', '93-1=92'] Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 58+92=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 58*92=5336, Resulting Numbers: [5336] 5336,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[96, 54], Operations: ['97-1=96', '58-4=54'] Exploring Operation: 96+54=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 96*54=5184, Resulting Numbers: [5184] 5184,31 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[93, 57], Operations: ['97-4=93', '58-1=57'] Exploring Operation: 93*57=5301, Resulting Numbers: [5301] 5301,31 unequal: No Solution Exploring Operation: 93-57=36, Resulting Numbers: [36] 36,31 unequal: No Solution Exploring Operation: 93+57=150, Resulting Numbers: [150] 150,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[93, 58], Operations: ['97-4=93', '1*58=58'] Exploring Operation: 93-58=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 93+58=151, Resulting Numbers: [151] 151,31 unequal: No Solution Exploring Operation: 93*58=5394, Resulting Numbers: [5394] 5394,31 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 53, 22, 84, 60 ]
55
[ "53-22=31", "84-60=24", "31+24=55" ]
Current State: 55:[53, 22, 84, 60], Operations: [] Exploring Operation: 53-22=31, Resulting Numbers: [84, 60, 31] Generated Node #2: [84, 60, 31] from Operation: 53-22=31 Current State: 55:[84, 60, 31], Operations: ['53-22=31'] Exploring Operation: 84-60=24, Resulting Numbers: [31, 24] Generated Node #3: [31, 24] from Operation: 84-60=24 Current State: 55:[31, 24], Operations: ['53-22=31', '84-60=24'] Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[53, 22, 84, 60], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [22, 84, 7] Generated Node #0,0: 55:[22, 84, 7] Operation: 60-53=7 Exploring Operation: 84-22=62, Resulting Numbers: [53, 60, 62] Generated Node #0,1: 55:[53, 60, 62] Operation: 84-22=62 Exploring Operation: 84-53=31, Resulting Numbers: [22, 60, 31] Generated Node #0,2: 55:[22, 60, 31] Operation: 84-53=31 Exploring Operation: 84-60=24, Resulting Numbers: [53, 22, 24] Generated Node #0,3: 55:[53, 22, 24] Operation: 84-60=24 Moving to Node #0,1 Current State: 55:[53, 60, 62], Operations: ['84-22=62'] Exploring Operation: 62-53=9, Resulting Numbers: [60, 9] Generated Node #0,1,0: 55:[60, 9] Operation: 62-53=9 Exploring Operation: 60-53=7, Resulting Numbers: [62, 7] Generated Node #0,1,1: 55:[62, 7] Operation: 60-53=7 Exploring Operation: 53+60=113, Resulting Numbers: [62, 113] Generated Node #0,1,2: 55:[62, 113] Operation: 53+60=113 Exploring Operation: 62-60=2, Resulting Numbers: [53, 2] Generated Node #0,1,3: 55:[53, 2] Operation: 62-60=2 Moving to Node #0,3 Current State: 55:[53, 22, 24], Operations: ['84-60=24'] Exploring Operation: 53-24=29, Resulting Numbers: [22, 29] Generated Node #0,3,0: 55:[22, 29] Operation: 53-24=29 Exploring Operation: 24-22=2, Resulting Numbers: [53, 2] Generated Node #0,3,1: 55:[53, 2] Operation: 24-22=2 Exploring Operation: 22+24=46, Resulting Numbers: [53, 46] Generated Node #0,3,2: 55:[53, 46] Operation: 22+24=46 Exploring Operation: 53+22=75, Resulting Numbers: [24, 75] Generated Node #0,3,3: 55:[24, 75] Operation: 53+22=75 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 55:[53, 2], Operations: ['84-60=24', '24-22=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[53, 22, 84, 60], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [53, 22, 24] Generated Node #0,3: 55:[53, 22, 24] Operation: 84-60=24 Moving to Node #0,3 Current State: 55:[53, 22, 24], Operations: ['84-60=24'] Exploring Operation: 24-22=2, Resulting Numbers: [53, 2] Generated Node #0,3,1: 55:[53, 2] Operation: 24-22=2 Moving to Node #0,3,1 Current State: 55:[53, 2], Operations: ['84-60=24', '24-22=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 3, 88, 80, 31 ]
26
[ "88-3=85", "80+31=111", "111-85=26" ]
Current State: 26:[3, 88, 80, 31], Operations: [] Exploring Operation: 88-3=85, Resulting Numbers: [80, 31, 85] Generated Node #2: [80, 31, 85] from Operation: 88-3=85 Current State: 26:[80, 31, 85], Operations: ['88-3=85'] Exploring Operation: 80+31=111, Resulting Numbers: [85, 111] Generated Node #3: [85, 111] from Operation: 80+31=111 Current State: 26:[85, 111], Operations: ['88-3=85', '80+31=111'] Exploring Operation: 111-85=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[3, 88, 80, 31], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [3, 31, 8] Generated Node #0,0: 26:[3, 31, 8] Operation: 88-80=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[3, 31, 8], Operations: ['88-80=8'] Exploring Operation: 31-8=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 26:[3, 23] Operation: 31-8=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[3, 23], Operations: ['88-80=8', '31-8=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[3, 88, 80, 31], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [3, 31, 8] Generated Node #0,0: 26:[3, 31, 8] Operation: 88-80=8 Moving to Node #0,0 Current State: 26:[3, 31, 8], Operations: ['88-80=8'] Exploring Operation: 31-8=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 26:[3, 23] Operation: 31-8=23 Moving to Node #0,0,0 Current State: 26:[3, 23], Operations: ['88-80=8', '31-8=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 40, 51, 17, 62 ]
57
[ "40+62=102", "102/17=6", "51+6=57" ]
Current State: 57:[40, 51, 17, 62], Operations: [] Exploring Operation: 40+62=102, Resulting Numbers: [51, 17, 102] Generated Node #2: [51, 17, 102] from Operation: 40+62=102 Current State: 57:[51, 17, 102], Operations: ['40+62=102'] Exploring Operation: 102/17=6, Resulting Numbers: [51, 6] Generated Node #3: [51, 6] from Operation: 102/17=6 Current State: 57:[51, 6], Operations: ['40+62=102', '102/17=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[40, 51, 17, 62], Operations: [] Exploring Operation: 51-40=11, Resulting Numbers: [17, 62, 11] Generated Node #0,0: 57:[17, 62, 11] Operation: 51-40=11 Exploring Operation: 62-40=22, Resulting Numbers: [51, 17, 22] Generated Node #0,1: 57:[51, 17, 22] Operation: 62-40=22 Exploring Operation: 40+17=57, Resulting Numbers: [51, 62, 57] Generated Node #0,2: 57:[51, 62, 57] Operation: 40+17=57 Moving to Node #0,1 Current State: 57:[51, 17, 22], Operations: ['62-40=22'] Exploring Operation: 22-17=5, Resulting Numbers: [51, 5] Generated Node #0,1,0: 57:[51, 5] Operation: 22-17=5 Exploring Operation: 51/17=3, Resulting Numbers: [22, 3] Generated Node #0,1,1: 57:[22, 3] Operation: 51/17=3 Exploring Operation: 51-22=29, Resulting Numbers: [17, 29] Generated Node #0,1,2: 57:[17, 29] Operation: 51-22=29 Moving to Node #0,2 Current State: 57:[51, 62, 57], Operations: ['40+17=57'] Exploring Operation: 62-57=5, Resulting Numbers: [51, 5] Generated Node #0,2,0: 57:[51, 5] Operation: 62-57=5 Exploring Operation: 57-51=6, Resulting Numbers: [62, 6] Generated Node #0,2,1: 57:[62, 6] Operation: 57-51=6 Exploring Operation: 62-51=11, Resulting Numbers: [57, 11] Generated Node #0,2,2: 57:[57, 11] Operation: 62-51=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[51, 5], Operations: ['40+17=57', '62-57=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,57 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,57 unequal: No Solution No 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: 57:[62, 6], Operations: ['40+17=57', '57-51=6'] Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,57 unequal: No Solution Exploring Operation: 62*6=372, Resulting Numbers: [372] 372,57 unequal: No Solution No 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: 57:[57, 11], Operations: ['40+17=57', '62-51=11'] Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,57 unequal: No Solution Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,57 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,57 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: 57:[17, 62, 11], Operations: ['51-40=11'] Exploring Operation: 62-11=51, Resulting Numbers: [17, 51] Generated Node #0,0,0: 57:[17, 51] Operation: 62-11=51 Exploring Operation: 17+11=28, Resulting Numbers: [62, 28] Generated Node #0,0,1: 57:[62, 28] Operation: 17+11=28 Exploring Operation: 17-11=6, Resulting Numbers: [62, 6] Generated Node #0,0,2: 57:[62, 6] Operation: 17-11=6 Moving to Node #0,1,1 Current State: 57:[22, 3], Operations: ['62-40=22', '51/17=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[51, 5], Operations: ['62-40=22', '22-17=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[62, 6], Operations: ['51-40=11', '17-11=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,57 unequal: No Solution Exploring Operation: 62*6=372, Resulting Numbers: [372] 372,57 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[17, 51], Operations: ['51-40=11', '62-11=51'] Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,57 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 17+51=68, Resulting Numbers: [68] 68,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[17, 29], Operations: ['62-40=22', '51-22=29'] Exploring Operation: 17+29=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,57 unequal: No Solution Exploring Operation: 17*29=493, Resulting Numbers: [493] 493,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[62, 28], Operations: ['51-40=11', '17+11=28'] Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,57 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,57 unequal: No Solution Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,57 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 94, 79, 12, 24 ]
64
[ "79*24=1896", "1896/12=158", "158-94=64" ]
Current State: 64:[94, 79, 12, 24], Operations: [] Exploring Operation: 79*24=1896, Resulting Numbers: [94, 12, 1896] Generated Node #2: [94, 12, 1896] from Operation: 79*24=1896 Current State: 64:[94, 12, 1896], Operations: ['79*24=1896'] Exploring Operation: 1896/12=158, Resulting Numbers: [94, 158] Generated Node #3: [94, 158] from Operation: 1896/12=158 Current State: 64:[94, 158], Operations: ['79*24=1896', '1896/12=158'] Exploring Operation: 158-94=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[94, 79, 12, 24], Operations: [] Exploring Operation: 94-12=82, Resulting Numbers: [79, 24, 82] Generated Node #0,0: 64:[79, 24, 82] Operation: 94-12=82 Exploring Operation: 94-79=15, Resulting Numbers: [12, 24, 15] Generated Node #0,1: 64:[12, 24, 15] Operation: 94-79=15 Exploring Operation: 94-24=70, Resulting Numbers: [79, 12, 70] Generated Node #0,2: 64:[79, 12, 70] Operation: 94-24=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[12, 24, 15], Operations: ['94-79=15'] Exploring Operation: 12+24=36, Resulting Numbers: [15, 36] Generated Node #0,1,0: 64:[15, 36] Operation: 12+24=36 Exploring Operation: 24/12=2, Resulting Numbers: [15, 2] Generated Node #0,1,1: 64:[15, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [15, 12] Generated Node #0,1,2: 64:[15, 12] Operation: 24-12=12 Moving to Node #0,1,1 Current State: 64:[15, 2], Operations: ['94-79=15', '24/12=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[15, 36], Operations: ['94-79=15', '12+24=36'] Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,64 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,64 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[15, 12], Operations: ['94-79=15', '24-12=12'] Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,64 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[79, 12, 70], Operations: ['94-24=70'] Exploring Operation: 79-70=9, Resulting Numbers: [12, 9] Generated Node #0,2,0: 64:[12, 9] Operation: 79-70=9 Exploring Operation: 79-12=67, Resulting Numbers: [70, 67] Generated Node #0,2,1: 64:[70, 67] Operation: 79-12=67 Exploring Operation: 70-12=58, Resulting Numbers: [79, 58] Generated Node #0,2,2: 64:[79, 58] Operation: 70-12=58 Moving to Node #0,2,0 Current State: 64:[12, 9], Operations: ['94-24=70', '79-70=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[70, 67], Operations: ['94-24=70', '79-12=67'] Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 70+67=137, Resulting Numbers: [137] 137,64 unequal: No Solution Exploring Operation: 70*67=4690, Resulting Numbers: [4690] 4690,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[79, 58], Operations: ['94-24=70', '70-12=58'] Exploring Operation: 79+58=137, Resulting Numbers: [137] 137,64 unequal: No Solution Exploring Operation: 79*58=4582, Resulting Numbers: [4582] 4582,64 unequal: No Solution Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[79, 24, 82], Operations: ['94-12=82'] Exploring Operation: 82-24=58, Resulting Numbers: [79, 58] Generated Node #0,0,0: 64:[79, 58] Operation: 82-24=58 Exploring Operation: 82-79=3, Resulting Numbers: [24, 3] Generated Node #0,0,1: 64:[24, 3] Operation: 82-79=3 Exploring Operation: 79-24=55, Resulting Numbers: [82, 55] Generated Node #0,0,2: 64:[82, 55] Operation: 79-24=55 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[24, 3], Operations: ['94-12=82', '82-79=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[79, 58], Operations: ['94-12=82', '82-24=58'] Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 79*58=4582, Resulting Numbers: [4582] 4582,64 unequal: No Solution Exploring Operation: 79+58=137, Resulting Numbers: [137] 137,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[82, 55], Operations: ['94-12=82', '79-24=55'] Exploring Operation: 82+55=137, Resulting Numbers: [137] 137,64 unequal: No Solution Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 82*55=4510, Resulting Numbers: [4510] 4510,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 34, 2, 42, 30 ]
29
[ "34/2=17", "42-30=12", "17+12=29" ]
Current State: 29:[34, 2, 42, 30], Operations: [] Exploring Operation: 34/2=17, Resulting Numbers: [42, 30, 17] Generated Node #2: [42, 30, 17] from Operation: 34/2=17 Current State: 29:[42, 30, 17], Operations: ['34/2=17'] Exploring Operation: 42-30=12, Resulting Numbers: [17, 12] Generated Node #3: [17, 12] from Operation: 42-30=12 Current State: 29:[17, 12], Operations: ['34/2=17', '42-30=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[34, 2, 42, 30], Operations: [] Exploring Operation: 42/2=21, Resulting Numbers: [34, 30, 21] Generated Node #0,0: 29:[34, 30, 21] Operation: 42/2=21 Exploring Operation: 34-2=32, Resulting Numbers: [42, 30, 32] Generated Node #0,1: 29:[42, 30, 32] Operation: 34-2=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[34, 30, 21], Operations: ['42/2=21'] Exploring Operation: 30-21=9, Resulting Numbers: [34, 9] Generated Node #0,0,0: 29:[34, 9] Operation: 30-21=9 Exploring Operation: 34-21=13, Resulting Numbers: [30, 13] Generated Node #0,0,1: 29:[30, 13] Operation: 34-21=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[30, 13], Operations: ['42/2=21', '34-21=13'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[34, 9], Operations: ['42/2=21', '30-21=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[42, 30, 32], Operations: ['34-2=32'] Exploring Operation: 42-32=10, Resulting Numbers: [30, 10] Generated Node #0,1,0: 29:[30, 10] Operation: 42-32=10 Exploring Operation: 42-30=12, Resulting Numbers: [32, 12] Generated Node #0,1,1: 29:[32, 12] Operation: 42-30=12 Moving to Node #0,1,0 Current State: 29:[30, 10], Operations: ['34-2=32', '42-32=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[32, 12], Operations: ['34-2=32', '42-30=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,29 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
[ 88, 16, 85, 90 ]
99
[ "88+16=104", "90-85=5", "104-5=99" ]
Current State: 99:[88, 16, 85, 90], Operations: [] Exploring Operation: 88+16=104, Resulting Numbers: [85, 90, 104] Generated Node #2: [85, 90, 104] from Operation: 88+16=104 Current State: 99:[85, 90, 104], Operations: ['88+16=104'] Exploring Operation: 90-85=5, Resulting Numbers: [104, 5] Generated Node #3: [104, 5] from Operation: 90-85=5 Current State: 99:[104, 5], Operations: ['88+16=104', '90-85=5'] Exploring Operation: 104-5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[88, 16, 85, 90], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [16, 90, 3] Generated Node #0,0: 99:[16, 90, 3] Operation: 88-85=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[16, 90, 3], Operations: ['88-85=3'] Exploring Operation: 16+90=106, Resulting Numbers: [3, 106] Generated Node #0,0,0: 99:[3, 106] Operation: 16+90=106 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[3, 106], Operations: ['88-85=3', '16+90=106'] Exploring Operation: 106-3=103, Resulting Numbers: [103] 103,99 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
[ 6, 2, 24, 7 ]
29
[ "6*2=12", "24-7=17", "12+17=29" ]
Current State: 29:[6, 2, 24, 7], Operations: [] Exploring Operation: 6*2=12, Resulting Numbers: [24, 7, 12] Generated Node #2: [24, 7, 12] from Operation: 6*2=12 Current State: 29:[24, 7, 12], Operations: ['6*2=12'] Exploring Operation: 24-7=17, Resulting Numbers: [12, 17] Generated Node #3: [12, 17] from Operation: 24-7=17 Current State: 29:[12, 17], Operations: ['6*2=12', '24-7=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[6, 2, 24, 7], Operations: [] Exploring Operation: 6*2=12, Resulting Numbers: [24, 7, 12] Generated Node #0,0: 29:[24, 7, 12] Operation: 6*2=12 Exploring Operation: 6+2=8, Resulting Numbers: [24, 7, 8] Generated Node #0,1: 29:[24, 7, 8] Operation: 6+2=8 Exploring Operation: 2*7=14, Resulting Numbers: [6, 24, 14] Generated Node #0,2: 29:[6, 24, 14] Operation: 2*7=14 Exploring Operation: 6*7=42, Resulting Numbers: [2, 24, 42] Generated Node #0,3: 29:[2, 24, 42] Operation: 6*7=42 Exploring Operation: 6+7=13, Resulting Numbers: [2, 24, 13] Generated Node #0,4: 29:[2, 24, 13] Operation: 6+7=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[6, 24, 14], Operations: ['2*7=14'] Exploring Operation: 6+14=20, Resulting Numbers: [24, 20] Generated Node #0,2,0: 29:[24, 20] Operation: 6+14=20 Exploring Operation: 24+14=38, Resulting Numbers: [6, 38] Generated Node #0,2,1: 29:[6, 38] Operation: 24+14=38 Exploring Operation: 6+24=30, Resulting Numbers: [14, 30] Generated Node #0,2,2: 29:[14, 30] Operation: 6+24=30 Exploring Operation: 24-6=18, Resulting Numbers: [14, 18] Generated Node #0,2,3: 29:[14, 18] Operation: 24-6=18 Exploring Operation: 14-6=8, Resulting Numbers: [24, 8] Generated Node #0,2,4: 29:[24, 8] Operation: 14-6=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 29:[24, 20], Operations: ['2*7=14', '6+14=20'] Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,29 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 29:[14, 30], Operations: ['2*7=14', '6+24=30'] Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,29 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 29:[14, 18], Operations: ['2*7=14', '24-6=18'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,29 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 29:[24, 8], Operations: ['2*7=14', '14-6=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,29 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[6, 38], Operations: ['2*7=14', '24+14=38'] Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,29 unequal: No Solution Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[24, 7, 12], Operations: ['6*2=12'] Exploring Operation: 12-7=5, Resulting Numbers: [24, 5] Generated Node #0,0,0: 29:[24, 5] Operation: 12-7=5 Exploring Operation: 7+12=19, Resulting Numbers: [24, 19] Generated Node #0,0,1: 29:[24, 19] Operation: 7+12=19 Exploring Operation: 24-7=17, Resulting Numbers: [12, 17] Generated Node #0,0,2: 29:[12, 17] Operation: 24-7=17 Exploring Operation: 24+12=36, Resulting Numbers: [7, 36] Generated Node #0,0,3: 29:[7, 36] Operation: 24+12=36 Exploring Operation: 24+7=31, Resulting Numbers: [12, 31] Generated Node #0,0,4: 29:[12, 31] Operation: 24+7=31 Moving to Node #0,0,1 Current State: 29:[24, 19], Operations: ['6*2=12', '7+12=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,29 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[12, 31], Operations: ['6*2=12', '24+7=31'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,29 unequal: No Solution Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[24, 5], Operations: ['6*2=12', '12-7=5'] Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,29 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[6, 2, 24, 7], Operations: [] Exploring Operation: 6*2=12, Resulting Numbers: [24, 7, 12] Generated Node #0,0: 29:[24, 7, 12] Operation: 6*2=12 Moving to Node #0,0 Current State: 29:[24, 7, 12], Operations: ['6*2=12'] Exploring Operation: 12-7=5, Resulting Numbers: [24, 5] Generated Node #0,0,0: 29:[24, 5] Operation: 12-7=5 Moving to Node #0,0,0 Current State: 29:[24, 5], Operations: ['6*2=12', '12-7=5'] Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
sum_heuristic
[ 25, 77, 95, 36 ]
43
[ "25+77=102", "95-36=59", "102-59=43" ]
Current State: 43:[25, 77, 95, 36], Operations: [] Exploring Operation: 25+77=102, Resulting Numbers: [95, 36, 102] Generated Node #2: [95, 36, 102] from Operation: 25+77=102 Current State: 43:[95, 36, 102], Operations: ['25+77=102'] Exploring Operation: 95-36=59, Resulting Numbers: [102, 59] Generated Node #3: [102, 59] from Operation: 95-36=59 Current State: 43:[102, 59], Operations: ['25+77=102', '95-36=59'] Exploring Operation: 102-59=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[25, 77, 95, 36], Operations: [] Exploring Operation: 95-77=18, Resulting Numbers: [25, 36, 18] Generated Node #0,0: 43:[25, 36, 18] Operation: 95-77=18 Exploring Operation: 77-25=52, Resulting Numbers: [95, 36, 52] Generated Node #0,1: 43:[95, 36, 52] Operation: 77-25=52 Exploring Operation: 95-36=59, Resulting Numbers: [25, 77, 59] Generated Node #0,2: 43:[25, 77, 59] Operation: 95-36=59 Exploring Operation: 95-25=70, Resulting Numbers: [77, 36, 70] Generated Node #0,3: 43:[77, 36, 70] Operation: 95-25=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[25, 36, 18], Operations: ['95-77=18'] Exploring Operation: 25+18=43, Resulting Numbers: [36, 43] Generated Node #0,0,0: 43:[36, 43] Operation: 25+18=43 Exploring Operation: 25-18=7, Resulting Numbers: [36, 7] Generated Node #0,0,1: 43:[36, 7] Operation: 25-18=7 Exploring Operation: 25+36=61, Resulting Numbers: [18, 61] Generated Node #0,0,2: 43:[18, 61] Operation: 25+36=61 Exploring Operation: 36+18=54, Resulting Numbers: [25, 54] Generated Node #0,0,3: 43:[25, 54] Operation: 36+18=54 Moving to Node #0,0,0 Current State: 43:[36, 43], Operations: ['95-77=18', '25+18=43'] Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,43 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,43 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[25, 54], Operations: ['95-77=18', '36+18=54'] Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,43 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[18, 61], Operations: ['95-77=18', '25+36=61'] Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,43 unequal: No Solution Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[25, 77, 95, 36], Operations: [] Exploring Operation: 95-77=18, Resulting Numbers: [25, 36, 18] Generated Node #0,0: 43:[25, 36, 18] Operation: 95-77=18 Moving to Node #0,0 Current State: 43:[25, 36, 18], Operations: ['95-77=18'] Exploring Operation: 25+36=61, Resulting Numbers: [18, 61] Generated Node #0,0,2: 43:[18, 61] Operation: 25+36=61 Moving to Node #0,0,2 Current State: 43:[18, 61], Operations: ['95-77=18', '25+36=61'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 1, 55, 40, 80 ]
94
[ "55-1=54", "80-40=40", "54+40=94" ]
Current State: 94:[1, 55, 40, 80], Operations: [] Exploring Operation: 55-1=54, Resulting Numbers: [40, 80, 54] Generated Node #2: [40, 80, 54] from Operation: 55-1=54 Current State: 94:[40, 80, 54], Operations: ['55-1=54'] Exploring Operation: 80-40=40, Resulting Numbers: [54, 40] Generated Node #3: [54, 40] from Operation: 80-40=40 Current State: 94:[54, 40], Operations: ['55-1=54', '80-40=40'] Exploring Operation: 54+40=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[1, 55, 40, 80], Operations: [] Exploring Operation: 80-40=40, Resulting Numbers: [1, 55, 40] Generated Node #0,0: 94:[1, 55, 40] Operation: 80-40=40 Exploring Operation: 80/40=2, Resulting Numbers: [1, 55, 2] Generated Node #0,1: 94:[1, 55, 2] Operation: 80/40=2 Exploring Operation: 55-1=54, Resulting Numbers: [40, 80, 54] Generated Node #0,2: 94:[40, 80, 54] Operation: 55-1=54 Exploring Operation: 55+40=95, Resulting Numbers: [1, 80, 95] Generated Node #0,3: 94:[1, 80, 95] Operation: 55+40=95 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[1, 55, 2], Operations: ['80/40=2'] Exploring Operation: 1*55=55, Resulting Numbers: [2, 55] Generated Node #0,1,0: 94:[2, 55] Operation: 1*55=55 Exploring Operation: 55/1=55, Resulting Numbers: [2, 55] Generated Node #0,1,1: 94:[2, 55] Operation: 55/1=55 Exploring Operation: 55-1=54, Resulting Numbers: [2, 54] Generated Node #0,1,2: 94:[2, 54] Operation: 55-1=54 Exploring Operation: 55-2=53, Resulting Numbers: [1, 53] Generated Node #0,1,3: 94:[1, 53] Operation: 55-2=53 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[2, 54], Operations: ['80/40=2', '55-1=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,94 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,94 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 94:[1, 53], Operations: ['80/40=2', '55-2=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 1*53=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[2, 55], Operations: ['80/40=2', '1*55=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,94 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[2, 55], Operations: ['80/40=2', '55/1=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,94 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[1, 55, 40], Operations: ['80-40=40'] Exploring Operation: 55-1=54, Resulting Numbers: [40, 54] Generated Node #0,0,0: 94:[40, 54] Operation: 55-1=54 Exploring Operation: 1+40=41, Resulting Numbers: [55, 41] Generated Node #0,0,1: 94:[55, 41] Operation: 1+40=41 Exploring Operation: 55+40=95, Resulting Numbers: [1, 95] Generated Node #0,0,2: 94:[1, 95] Operation: 55+40=95 Exploring Operation: 55-40=15, Resulting Numbers: [1, 15] Generated Node #0,0,3: 94:[1, 15] Operation: 55-40=15 Moving to Node #0,0,2 Current State: 94:[1, 95], Operations: ['80-40=40', '55+40=95'] Exploring Operation: 1+95=96, Resulting Numbers: [96] 96,94 unequal: No Solution Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[1, 55, 40, 80], Operations: [] Exploring Operation: 80-40=40, Resulting Numbers: [1, 55, 40] Generated Node #0,0: 94:[1, 55, 40] Operation: 80-40=40 Moving to Node #0,0 Current State: 94:[1, 55, 40], Operations: ['80-40=40'] Exploring Operation: 55+40=95, Resulting Numbers: [1, 95] Generated Node #0,0,2: 94:[1, 95] Operation: 55+40=95 Moving to Node #0,0,2 Current State: 94:[1, 95], Operations: ['80-40=40', '55+40=95'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 89, 27, 28, 2 ]
91
[ "89+2=91", "28-27=1", "91*1=91" ]
Current State: 91:[89, 27, 28, 2], Operations: [] Exploring Operation: 89+2=91, Resulting Numbers: [27, 28, 91] Generated Node #2: [27, 28, 91] from Operation: 89+2=91 Current State: 91:[27, 28, 91], Operations: ['89+2=91'] Exploring Operation: 28-27=1, Resulting Numbers: [91, 1] Generated Node #3: [91, 1] from Operation: 28-27=1 Current State: 91:[91, 1], Operations: ['89+2=91', '28-27=1'] Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[89, 27, 28, 2], Operations: [] Exploring Operation: 89+2=91, Resulting Numbers: [27, 28, 91] Generated Node #0,0: 91:[27, 28, 91] Operation: 89+2=91 Exploring Operation: 27-2=25, Resulting Numbers: [89, 28, 25] Generated Node #0,1: 91:[89, 28, 25] Operation: 27-2=25 Exploring Operation: 28/2=14, Resulting Numbers: [89, 27, 14] Generated Node #0,2: 91:[89, 27, 14] Operation: 28/2=14 Exploring Operation: 28-27=1, Resulting Numbers: [89, 2, 1] Generated Node #0,3: 91:[89, 2, 1] Operation: 28-27=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[89, 2, 1], Operations: ['28-27=1'] Exploring Operation: 89+1=90, Resulting Numbers: [2, 90] Generated Node #0,3,0: 91:[2, 90] Operation: 89+1=90 Exploring Operation: 2+1=3, Resulting Numbers: [89, 3] Generated Node #0,3,1: 91:[89, 3] Operation: 2+1=3 Exploring Operation: 89+2=91, Resulting Numbers: [1, 91] Generated Node #0,3,2: 91:[1, 91] Operation: 89+2=91 Exploring Operation: 89*1=89, Resulting Numbers: [2, 89] Generated Node #0,3,3: 91:[2, 89] Operation: 89*1=89 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 91:[2, 90], Operations: ['28-27=1', '89+1=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 2*90=180, Resulting Numbers: [180] 180,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,3,1 Current State: 91:[89, 3], Operations: ['28-27=1', '2+1=3'] Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,91 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,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,3,2 Current State: 91:[1, 91], Operations: ['28-27=1', '89+2=91'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[89, 27, 28, 2], Operations: [] Exploring Operation: 28-27=1, Resulting Numbers: [89, 2, 1] Generated Node #0,3: 91:[89, 2, 1] Operation: 28-27=1 Moving to Node #0,3 Current State: 91:[89, 2, 1], Operations: ['28-27=1'] Exploring Operation: 89+2=91, Resulting Numbers: [1, 91] Generated Node #0,3,2: 91:[1, 91] Operation: 89+2=91 Moving to Node #0,3,2 Current State: 91:[1, 91], Operations: ['28-27=1', '89+2=91'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 23, 63, 17, 43 ]
82
[ "23*43=989", "63*17=1071", "1071-989=82" ]
Current State: 82:[23, 63, 17, 43], Operations: [] Exploring Operation: 23*43=989, Resulting Numbers: [63, 17, 989] Generated Node #2: [63, 17, 989] from Operation: 23*43=989 Current State: 82:[63, 17, 989], Operations: ['23*43=989'] Exploring Operation: 63*17=1071, Resulting Numbers: [989, 1071] Generated Node #3: [989, 1071] from Operation: 63*17=1071 Current State: 82:[989, 1071], Operations: ['23*43=989', '63*17=1071'] Exploring Operation: 1071-989=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[23, 63, 17, 43], Operations: [] Exploring Operation: 23+17=40, Resulting Numbers: [63, 43, 40] Generated Node #0,0: 82:[63, 43, 40] Operation: 23+17=40 Exploring Operation: 63+17=80, Resulting Numbers: [23, 43, 80] Generated Node #0,1: 82:[23, 43, 80] Operation: 63+17=80 Exploring Operation: 23-17=6, Resulting Numbers: [63, 43, 6] Generated Node #0,2: 82:[63, 43, 6] Operation: 23-17=6 Exploring Operation: 63-23=40, Resulting Numbers: [17, 43, 40] Generated Node #0,3: 82:[17, 43, 40] Operation: 63-23=40 Exploring Operation: 23+63=86, Resulting Numbers: [17, 43, 86] Generated Node #0,4: 82:[17, 43, 86] Operation: 23+63=86 Moving to Node #0,3 Current State: 82:[17, 43, 40], Operations: ['63-23=40'] Exploring Operation: 17+43=60, Resulting Numbers: [40, 60] Generated Node #0,3,0: 82:[40, 60] Operation: 17+43=60 Exploring Operation: 17+40=57, Resulting Numbers: [43, 57] Generated Node #0,3,1: 82:[43, 57] Operation: 17+40=57 Exploring Operation: 43-40=3, Resulting Numbers: [17, 3] Generated Node #0,3,2: 82:[17, 3] Operation: 43-40=3 Exploring Operation: 43-17=26, Resulting Numbers: [40, 26] Generated Node #0,3,3: 82:[40, 26] Operation: 43-17=26 Exploring Operation: 43+40=83, Resulting Numbers: [17, 83] Generated Node #0,3,4: 82:[17, 83] Operation: 43+40=83 Moving to Node #0,4 Current State: 82:[17, 43, 86], Operations: ['23+63=86'] Exploring Operation: 86/43=2, Resulting Numbers: [17, 2] Generated Node #0,4,0: 82:[17, 2] Operation: 86/43=2 Exploring Operation: 86-43=43, Resulting Numbers: [17, 43] Generated Node #0,4,1: 82:[17, 43] Operation: 86-43=43 Exploring Operation: 86-17=69, Resulting Numbers: [43, 69] Generated Node #0,4,2: 82:[43, 69] Operation: 86-17=69 Exploring Operation: 43-17=26, Resulting Numbers: [86, 26] Generated Node #0,4,3: 82:[86, 26] Operation: 43-17=26 Exploring Operation: 17+43=60, Resulting Numbers: [86, 60] Generated Node #0,4,4: 82:[86, 60] Operation: 17+43=60 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 82:[17, 2], Operations: ['23+63=86', '86/43=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[43, 69], Operations: ['23+63=86', '86-17=69'] Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[17, 43], Operations: ['23+63=86', '86-43=43'] Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,82 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 82:[86, 26], Operations: ['23+63=86', '43-17=26'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 86*26=2236, Resulting Numbers: [2236] 2236,82 unequal: No Solution Exploring Operation: 86+26=112, Resulting Numbers: [112] 112,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 82:[86, 60], Operations: ['23+63=86', '17+43=60'] Exploring Operation: 86*60=5160, Resulting Numbers: [5160] 5160,82 unequal: No Solution Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,82 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: 82:[63, 43, 40], Operations: ['23+17=40'] Exploring Operation: 63-43=20, Resulting Numbers: [40, 20] Generated Node #0,0,0: 82:[40, 20] Operation: 63-43=20 Exploring Operation: 43+40=83, Resulting Numbers: [63, 83] Generated Node #0,0,1: 82:[63, 83] Operation: 43+40=83 Exploring Operation: 63+40=103, Resulting Numbers: [43, 103] Generated Node #0,0,2: 82:[43, 103] Operation: 63+40=103 Exploring Operation: 43-40=3, Resulting Numbers: [63, 3] Generated Node #0,0,3: 82:[63, 3] Operation: 43-40=3 Exploring Operation: 63-40=23, Resulting Numbers: [43, 23] Generated Node #0,0,4: 82:[43, 23] Operation: 63-40=23 Moving to Node #0,1 Current State: 82:[23, 43, 80], Operations: ['63+17=80'] Exploring Operation: 43-23=20, Resulting Numbers: [80, 20] Generated Node #0,1,0: 82:[80, 20] Operation: 43-23=20 Exploring Operation: 80-43=37, Resulting Numbers: [23, 37] Generated Node #0,1,1: 82:[23, 37] Operation: 80-43=37 Exploring Operation: 23+43=66, Resulting Numbers: [80, 66] Generated Node #0,1,2: 82:[80, 66] Operation: 23+43=66 Exploring Operation: 23+80=103, Resulting Numbers: [43, 103] Generated Node #0,1,3: 82:[43, 103] Operation: 23+80=103 Exploring Operation: 80-23=57, Resulting Numbers: [43, 57] Generated Node #0,1,4: 82:[43, 57] Operation: 80-23=57 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[80, 66], Operations: ['63+17=80', '23+43=66'] Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 80+66=146, Resulting Numbers: [146] 146,82 unequal: No Solution Exploring Operation: 80*66=5280, Resulting Numbers: [5280] 5280,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 82:[43, 57], Operations: ['63+17=80', '80-23=57'] Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,82 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,82 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[80, 20], Operations: ['63+17=80', '43-23=20'] Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,82 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[23, 37], Operations: ['63+17=80', '80-43=37'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 82:[43, 103], Operations: ['63+17=80', '23+80=103'] Exploring Operation: 43*103=4429, Resulting Numbers: [4429] 4429,82 unequal: No Solution Exploring Operation: 103-43=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 43+103=146, Resulting Numbers: [146] 146,82 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: 82:[63, 43, 6], Operations: ['23-17=6'] Exploring Operation: 63+6=69, Resulting Numbers: [43, 69] Generated Node #0,2,0: 82:[43, 69] Operation: 63+6=69 Exploring Operation: 43-6=37, Resulting Numbers: [63, 37] Generated Node #0,2,1: 82:[63, 37] Operation: 43-6=37 Exploring Operation: 63-6=57, Resulting Numbers: [43, 57] Generated Node #0,2,2: 82:[43, 57] Operation: 63-6=57 Exploring Operation: 43+6=49, Resulting Numbers: [63, 49] Generated Node #0,2,3: 82:[63, 49] Operation: 43+6=49 Exploring Operation: 63-43=20, Resulting Numbers: [6, 20] Generated Node #0,2,4: 82:[6, 20] Operation: 63-43=20 Moving to Node #0,2,0 Current State: 82:[43, 69], Operations: ['23-17=6', '63+6=69'] Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[17, 83], Operations: ['63-23=40', '43+40=83'] Exploring Operation: 17*83=1411, Resulting Numbers: [1411] 1411,82 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[17, 3], Operations: ['63-23=40', '43-40=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[40, 26], Operations: ['63-23=40', '43-17=26'] Exploring Operation: 40+26=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 40*26=1040, Resulting Numbers: [1040] 1040,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[43, 57], Operations: ['23-17=6', '63-6=57'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,82 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[43, 57], Operations: ['63-23=40', '17+40=57'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,82 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[40, 20], Operations: ['23+17=40', '63-43=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 40*20=800, Resulting Numbers: [800] 800,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[63, 83], Operations: ['23+17=40', '43+40=83'] Exploring Operation: 63+83=146, Resulting Numbers: [146] 146,82 unequal: No Solution Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 63*83=5229, Resulting Numbers: [5229] 5229,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[40, 60], Operations: ['63-23=40', '17+43=60'] Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,82 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,82 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[43, 23], Operations: ['23+17=40', '63-40=23'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,82 unequal: No Solution Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[63, 3], Operations: ['23+17=40', '43-40=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 63*3=189, Resulting Numbers: [189] 189,82 unequal: No Solution Moving to Node #0,2,4 Current State: 82:[6, 20], Operations: ['23-17=6', '63-43=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,82 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[43, 103], Operations: ['23+17=40', '63+40=103'] Exploring Operation: 103-43=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 43*103=4429, Resulting Numbers: [4429] 4429,82 unequal: No Solution Exploring Operation: 43+103=146, Resulting Numbers: [146] 146,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[63, 37], Operations: ['23-17=6', '43-6=37'] Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,82 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,82 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[63, 49], Operations: ['23-17=6', '43+6=49'] Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,82 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,82 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 24, 22, 6, 4 ]
44
[ "24+22=46", "6-4=2", "46-2=44" ]
Current State: 44:[24, 22, 6, 4], Operations: [] Exploring Operation: 24+22=46, Resulting Numbers: [6, 4, 46] Generated Node #2: [6, 4, 46] from Operation: 24+22=46 Current State: 44:[6, 4, 46], Operations: ['24+22=46'] Exploring Operation: 6-4=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 6-4=2 Current State: 44:[46, 2], Operations: ['24+22=46', '6-4=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[24, 22, 6, 4], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [6, 4, 2] Generated Node #0,0: 44:[6, 4, 2] Operation: 24-22=2 Exploring Operation: 24/6=4, Resulting Numbers: [22, 4, 4] Generated Node #0,1: 44:[22, 4, 4] Operation: 24/6=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[22, 4, 4], Operations: ['24/6=4'] Exploring Operation: 4-4=0, Resulting Numbers: [22, 0] Generated Node #0,1,0: 44:[22, 0] Operation: 4-4=0 Exploring Operation: 4/4=1, Resulting Numbers: [22, 1] Generated Node #0,1,1: 44:[22, 1] Operation: 4/4=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[22, 1], Operations: ['24/6=4', '4/4=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,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,1,0 Current State: 44:[22, 0], Operations: ['24/6=4', '4-4=0'] Exploring Operation: 22-0=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 22+0=22, Resulting Numbers: [22] 22,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:[6, 4, 2], Operations: ['24-22=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4, 4] Generated Node #0,0,0: 44:[4, 4] Operation: 6-2=4 Exploring Operation: 6-4=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 44:[2, 2] Operation: 6-4=2 Moving to Node #0,0,0 Current State: 44:[4, 4], Operations: ['24-22=2', '6-2=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[2, 2], Operations: ['24-22=2', '6-4=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 10, 20, 45, 26 ]
75
[ "10*45=450", "26-20=6", "450/6=75" ]
Current State: 75:[10, 20, 45, 26], Operations: [] Exploring Operation: 10*45=450, Resulting Numbers: [20, 26, 450] Generated Node #2: [20, 26, 450] from Operation: 10*45=450 Current State: 75:[20, 26, 450], Operations: ['10*45=450'] Exploring Operation: 26-20=6, Resulting Numbers: [450, 6] Generated Node #3: [450, 6] from Operation: 26-20=6 Current State: 75:[450, 6], Operations: ['10*45=450', '26-20=6'] Exploring Operation: 450/6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[10, 20, 45, 26], Operations: [] Exploring Operation: 45+26=71, Resulting Numbers: [10, 20, 71] Generated Node #0,0: 75:[10, 20, 71] Operation: 45+26=71 Exploring Operation: 45-20=25, Resulting Numbers: [10, 26, 25] Generated Node #0,1: 75:[10, 26, 25] Operation: 45-20=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[10, 26, 25], Operations: ['45-20=25'] Exploring Operation: 26-10=16, Resulting Numbers: [25, 16] Generated Node #0,1,0: 75:[25, 16] Operation: 26-10=16 Exploring Operation: 25-10=15, Resulting Numbers: [26, 15] Generated Node #0,1,1: 75:[26, 15] Operation: 25-10=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[25, 16], Operations: ['45-20=25', '26-10=16'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[26, 15], Operations: ['45-20=25', '25-10=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,75 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[10, 20, 71], Operations: ['45+26=71'] Exploring Operation: 20/10=2, Resulting Numbers: [71, 2] Generated Node #0,0,0: 75:[71, 2] Operation: 20/10=2 Exploring Operation: 10+20=30, Resulting Numbers: [71, 30] Generated Node #0,0,1: 75:[71, 30] Operation: 10+20=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[71, 2], Operations: ['45+26=71', '20/10=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[71, 30], Operations: ['45+26=71', '10+20=30'] Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,75 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 29, 65, 30, 33 ]
58
[ "65-30=35", "35-33=2", "29*2=58" ]
Current State: 58:[29, 65, 30, 33], Operations: [] Exploring Operation: 65-30=35, Resulting Numbers: [29, 33, 35] Generated Node #2: [29, 33, 35] from Operation: 65-30=35 Current State: 58:[29, 33, 35], Operations: ['65-30=35'] Exploring Operation: 35-33=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 35-33=2 Current State: 58:[29, 2], Operations: ['65-30=35', '35-33=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[29, 65, 30, 33], Operations: [] Exploring Operation: 33-29=4, Resulting Numbers: [65, 30, 4] Generated Node #0,0: 58:[65, 30, 4] Operation: 33-29=4 Exploring Operation: 33-30=3, Resulting Numbers: [29, 65, 3] Generated Node #0,1: 58:[29, 65, 3] Operation: 33-30=3 Exploring Operation: 65-29=36, Resulting Numbers: [30, 33, 36] Generated Node #0,2: 58:[30, 33, 36] Operation: 65-29=36 Exploring Operation: 65-30=35, Resulting Numbers: [29, 33, 35] Generated Node #0,3: 58:[29, 33, 35] Operation: 65-30=35 Exploring Operation: 65-33=32, Resulting Numbers: [29, 30, 32] Generated Node #0,4: 58:[29, 30, 32] Operation: 65-33=32 Moving to Node #0,4 Current State: 58:[29, 30, 32], Operations: ['65-33=32'] Exploring Operation: 30-29=1, Resulting Numbers: [32, 1] Generated Node #0,4,0: 58:[32, 1] Operation: 30-29=1 Exploring Operation: 32-29=3, Resulting Numbers: [30, 3] Generated Node #0,4,1: 58:[30, 3] Operation: 32-29=3 Exploring Operation: 29+30=59, Resulting Numbers: [32, 59] Generated Node #0,4,2: 58:[32, 59] Operation: 29+30=59 Exploring Operation: 32-30=2, Resulting Numbers: [29, 2] Generated Node #0,4,3: 58:[29, 2] Operation: 32-30=2 Exploring Operation: 29+32=61, Resulting Numbers: [30, 61] Generated Node #0,4,4: 58:[30, 61] Operation: 29+32=61 Moving to Node #0,1 Current State: 58:[29, 65, 3], Operations: ['33-30=3'] Exploring Operation: 65-29=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 58:[3, 36] Operation: 65-29=36 Exploring Operation: 65+3=68, Resulting Numbers: [29, 68] Generated Node #0,1,1: 58:[29, 68] Operation: 65+3=68 Exploring Operation: 29-3=26, Resulting Numbers: [65, 26] Generated Node #0,1,2: 58:[65, 26] Operation: 29-3=26 Exploring Operation: 29+3=32, Resulting Numbers: [65, 32] Generated Node #0,1,3: 58:[65, 32] Operation: 29+3=32 Exploring Operation: 65-3=62, Resulting Numbers: [29, 62] Generated Node #0,1,4: 58:[29, 62] Operation: 65-3=62 Moving to Node #0,0 Current State: 58:[65, 30, 4], Operations: ['33-29=4'] Exploring Operation: 30-4=26, Resulting Numbers: [65, 26] Generated Node #0,0,0: 58:[65, 26] Operation: 30-4=26 Exploring Operation: 65+4=69, Resulting Numbers: [30, 69] Generated Node #0,0,1: 58:[30, 69] Operation: 65+4=69 Exploring Operation: 65-4=61, Resulting Numbers: [30, 61] Generated Node #0,0,2: 58:[30, 61] Operation: 65-4=61 Exploring Operation: 30+4=34, Resulting Numbers: [65, 34] Generated Node #0,0,3: 58:[65, 34] Operation: 30+4=34 Exploring Operation: 65-30=35, Resulting Numbers: [4, 35] Generated Node #0,0,4: 58:[4, 35] Operation: 65-30=35 Moving to Node #0,3 Current State: 58:[29, 33, 35], Operations: ['65-30=35'] Exploring Operation: 29+33=62, Resulting Numbers: [35, 62] Generated Node #0,3,0: 58:[35, 62] Operation: 29+33=62 Exploring Operation: 35-29=6, Resulting Numbers: [33, 6] Generated Node #0,3,1: 58:[33, 6] Operation: 35-29=6 Exploring Operation: 33-29=4, Resulting Numbers: [35, 4] Generated Node #0,3,2: 58:[35, 4] Operation: 33-29=4 Exploring Operation: 35-33=2, Resulting Numbers: [29, 2] Generated Node #0,3,3: 58:[29, 2] Operation: 35-33=2 Exploring Operation: 29+35=64, Resulting Numbers: [33, 64] Generated Node #0,3,4: 58:[33, 64] Operation: 29+35=64 Moving to Node #0,2 Current State: 58:[30, 33, 36], Operations: ['65-29=36'] Exploring Operation: 30+36=66, Resulting Numbers: [33, 66] Generated Node #0,2,0: 58:[33, 66] Operation: 30+36=66 Exploring Operation: 33-30=3, Resulting Numbers: [36, 3] Generated Node #0,2,1: 58:[36, 3] Operation: 33-30=3 Exploring Operation: 36-30=6, Resulting Numbers: [33, 6] Generated Node #0,2,2: 58:[33, 6] Operation: 36-30=6 Exploring Operation: 36-33=3, Resulting Numbers: [30, 3] Generated Node #0,2,3: 58:[30, 3] Operation: 36-33=3 Exploring Operation: 30+33=63, Resulting Numbers: [36, 63] Generated Node #0,2,4: 58:[36, 63] Operation: 30+33=63 Moving to Node #0,4,3 Current State: 58:[29, 2], Operations: ['65-33=32', '32-30=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[29, 65, 30, 33], Operations: [] Exploring Operation: 65-33=32, Resulting Numbers: [29, 30, 32] Generated Node #0,4: 58:[29, 30, 32] Operation: 65-33=32 Moving to Node #0,4 Current State: 58:[29, 30, 32], Operations: ['65-33=32'] Exploring Operation: 32-30=2, Resulting Numbers: [29, 2] Generated Node #0,4,3: 58:[29, 2] Operation: 32-30=2 Moving to Node #0,4,3 Current State: 58:[29, 2], Operations: ['65-33=32', '32-30=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.96875
hs_5
mult_heuristic
[ 71, 17, 54, 25 ]
24
[ "71-17=54", "54/54=1", "25-1=24" ]
Current State: 24:[71, 17, 54, 25], Operations: [] Exploring Operation: 71-17=54, Resulting Numbers: [54, 25, 54] Generated Node #2: [54, 25, 54] from Operation: 71-17=54 Current State: 24:[54, 25, 54], Operations: ['71-17=54'] Exploring Operation: 54/54=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 54/54=1 Current State: 24:[25, 1], Operations: ['71-17=54', '54/54=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[71, 17, 54, 25], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [17, 25, 17] Generated Node #0,0: 24:[17, 25, 17] Operation: 71-54=17 Exploring Operation: 71-25=46, Resulting Numbers: [17, 54, 46] Generated Node #0,1: 24:[17, 54, 46] Operation: 71-25=46 Exploring Operation: 71-17=54, Resulting Numbers: [54, 25, 54] Generated Node #0,2: 24:[54, 25, 54] Operation: 71-17=54 Exploring Operation: 54-25=29, Resulting Numbers: [71, 17, 29] Generated Node #0,3: 24:[71, 17, 29] Operation: 54-25=29 Exploring Operation: 54-17=37, Resulting Numbers: [71, 25, 37] Generated Node #0,4: 24:[71, 25, 37] Operation: 54-17=37 Moving to Node #0,0 Current State: 24:[17, 25, 17], Operations: ['71-54=17'] Exploring Operation: 17/17=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 24:[25, 1] Operation: 17/17=1 Exploring Operation: 17+17=34, Resulting Numbers: [25, 34] Generated Node #0,0,1: 24:[25, 34] Operation: 17+17=34 Exploring Operation: 25-17=8, Resulting Numbers: [17, 8] Generated Node #0,0,2: 24:[17, 8] Operation: 25-17=8 Exploring Operation: 25-17=8, Resulting Numbers: [17, 8] Generated Node #0,0,3: 24:[17, 8] Operation: 25-17=8 Exploring Operation: 17-17=0, Resulting Numbers: [25, 0] Generated Node #0,0,4: 24:[25, 0] Operation: 17-17=0 Moving to Node #0,3 Current State: 24:[71, 17, 29], Operations: ['54-25=29'] Exploring Operation: 29-17=12, Resulting Numbers: [71, 12] Generated Node #0,3,0: 24:[71, 12] Operation: 29-17=12 Exploring Operation: 71+17=88, Resulting Numbers: [29, 88] Generated Node #0,3,1: 24:[29, 88] Operation: 71+17=88 Exploring Operation: 71-17=54, Resulting Numbers: [29, 54] Generated Node #0,3,2: 24:[29, 54] Operation: 71-17=54 Exploring Operation: 17+29=46, Resulting Numbers: [71, 46] Generated Node #0,3,3: 24:[71, 46] Operation: 17+29=46 Exploring Operation: 71-29=42, Resulting Numbers: [17, 42] Generated Node #0,3,4: 24:[17, 42] Operation: 71-29=42 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 24:[17, 42], Operations: ['54-25=29', '71-29=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,24 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,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,3,2 Current State: 24:[29, 54], Operations: ['54-25=29', '71-17=54'] Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,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,3,0 Current State: 24:[71, 12], Operations: ['54-25=29', '29-17=12'] Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,24 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,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,3,1 Current State: 24:[29, 88], Operations: ['54-25=29', '71+17=88'] Exploring Operation: 29*88=2552, Resulting Numbers: [2552] 2552,24 unequal: No Solution Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,24 unequal: No Solution Exploring Operation: 29+88=117, Resulting Numbers: [117] 117,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,3,3 Current State: 24:[71, 46], Operations: ['54-25=29', '17+29=46'] Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,24 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,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:[17, 54, 46], Operations: ['71-25=46'] Exploring Operation: 54-46=8, Resulting Numbers: [17, 8] Generated Node #0,1,0: 24:[17, 8] Operation: 54-46=8 Exploring Operation: 54-17=37, Resulting Numbers: [46, 37] Generated Node #0,1,1: 24:[46, 37] Operation: 54-17=37 Exploring Operation: 17+46=63, Resulting Numbers: [54, 63] Generated Node #0,1,2: 24:[54, 63] Operation: 17+46=63 Exploring Operation: 46-17=29, Resulting Numbers: [54, 29] Generated Node #0,1,3: 24:[54, 29] Operation: 46-17=29 Exploring Operation: 17+54=71, Resulting Numbers: [46, 71] Generated Node #0,1,4: 24:[46, 71] Operation: 17+54=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[17, 8], Operations: ['71-25=46', '54-46=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,24 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,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,1,1 Current State: 24:[46, 37], Operations: ['71-25=46', '54-17=37'] Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 46*37=1702, Resulting Numbers: [1702] 1702,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,1,3 Current State: 24:[54, 29], Operations: ['71-25=46', '46-17=29'] Exploring Operation: 54+29=83, Resulting Numbers: [83] 83,24 unequal: No Solution Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 54*29=1566, Resulting Numbers: [1566] 1566,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,1,2 Current State: 24:[54, 63], Operations: ['71-25=46', '17+46=63'] Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,24 unequal: No Solution Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,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,1,4 Current State: 24:[46, 71], Operations: ['71-25=46', '17+54=71'] Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 46+71=117, Resulting Numbers: [117] 117,24 unequal: No Solution Exploring Operation: 46*71=3266, Resulting Numbers: [3266] 3266,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 24:[54, 25, 54], Operations: ['71-17=54'] Exploring Operation: 54/54=1, Resulting Numbers: [25, 1] Generated Node #0,2,0: 24:[25, 1] Operation: 54/54=1 Exploring Operation: 54-25=29, Resulting Numbers: [54, 29] Generated Node #0,2,1: 24:[54, 29] Operation: 54-25=29 Exploring Operation: 54-54=0, Resulting Numbers: [25, 0] Generated Node #0,2,2: 24:[25, 0] Operation: 54-54=0 Exploring Operation: 54-25=29, Resulting Numbers: [54, 29] Generated Node #0,2,3: 24:[54, 29] Operation: 54-25=29 Exploring Operation: 54+25=79, Resulting Numbers: [54, 79] Generated Node #0,2,4: 24:[54, 79] Operation: 54+25=79 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[25, 1], Operations: ['71-17=54', '54/54=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[71, 17, 54, 25], Operations: [] Exploring Operation: 71-17=54, Resulting Numbers: [54, 25, 54] Generated Node #0,2: 24:[54, 25, 54] Operation: 71-17=54 Moving to Node #0,2 Current State: 24:[54, 25, 54], Operations: ['71-17=54'] Exploring Operation: 54/54=1, Resulting Numbers: [25, 1] Generated Node #0,2,0: 24:[25, 1] Operation: 54/54=1 Moving to Node #0,2,0 Current State: 24:[25, 1], Operations: ['71-17=54', '54/54=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
sum_heuristic
[ 84, 77, 61, 72 ]
12
[ "72-61=11", "84*11=924", "924/77=12" ]
Current State: 12:[84, 77, 61, 72], Operations: [] Exploring Operation: 72-61=11, Resulting Numbers: [84, 77, 11] Generated Node #2: [84, 77, 11] from Operation: 72-61=11 Current State: 12:[84, 77, 11], Operations: ['72-61=11'] Exploring Operation: 84*11=924, Resulting Numbers: [77, 924] Generated Node #3: [77, 924] from Operation: 84*11=924 Current State: 12:[77, 924], Operations: ['72-61=11', '84*11=924'] Exploring Operation: 924/77=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[84, 77, 61, 72], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [84, 61, 5] Generated Node #0,0: 12:[84, 61, 5] Operation: 77-72=5 Exploring Operation: 84-77=7, Resulting Numbers: [61, 72, 7] Generated Node #0,1: 12:[61, 72, 7] Operation: 84-77=7 Exploring Operation: 84-72=12, Resulting Numbers: [77, 61, 12] Generated Node #0,2: 12:[77, 61, 12] Operation: 84-72=12 Exploring Operation: 84-61=23, Resulting Numbers: [77, 72, 23] Generated Node #0,3: 12:[77, 72, 23] Operation: 84-61=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[61, 72, 7], Operations: ['84-77=7'] Exploring Operation: 72-7=65, Resulting Numbers: [61, 65] Generated Node #0,1,0: 12:[61, 65] Operation: 72-7=65 Exploring Operation: 72-61=11, Resulting Numbers: [7, 11] Generated Node #0,1,1: 12:[7, 11] Operation: 72-61=11 Exploring Operation: 61+7=68, Resulting Numbers: [72, 68] Generated Node #0,1,2: 12:[72, 68] Operation: 61+7=68 Exploring Operation: 61-7=54, Resulting Numbers: [72, 54] Generated Node #0,1,3: 12:[72, 54] Operation: 61-7=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[7, 11], Operations: ['84-77=7', '72-61=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,12 unequal: No Solution No 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: 12:[61, 65], Operations: ['84-77=7', '72-7=65'] Exploring Operation: 61*65=3965, Resulting Numbers: [3965] 3965,12 unequal: No Solution Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 61+65=126, Resulting Numbers: [126] 126,12 unequal: No Solution No 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: 12:[72, 54], Operations: ['84-77=7', '61-7=54'] Exploring Operation: 72+54=126, Resulting Numbers: [126] 126,12 unequal: No Solution Exploring Operation: 72*54=3888, Resulting Numbers: [3888] 3888,12 unequal: No Solution Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,12 unequal: No Solution No 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: 12:[72, 68], Operations: ['84-77=7', '61+7=68'] Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 72+68=140, Resulting Numbers: [140] 140,12 unequal: No Solution Exploring Operation: 72*68=4896, Resulting Numbers: [4896] 4896,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[77, 61, 12], Operations: ['84-72=12'] Exploring Operation: 77-12=65, Resulting Numbers: [61, 65] Generated Node #0,2,0: 12:[61, 65] Operation: 77-12=65 Exploring Operation: 77+61=138, Resulting Numbers: [12, 138] Generated Node #0,2,1: 12:[12, 138] Operation: 77+61=138 Exploring Operation: 77-61=16, Resulting Numbers: [12, 16] Generated Node #0,2,2: 12:[12, 16] Operation: 77-61=16 Exploring Operation: 61-12=49, Resulting Numbers: [77, 49] Generated Node #0,2,3: 12:[77, 49] Operation: 61-12=49 Moving to Node #0,2,2 Current State: 12:[12, 16], Operations: ['84-72=12', '77-61=16'] Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,12 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[77, 49], Operations: ['84-72=12', '61-12=49'] Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 77*49=3773, Resulting Numbers: [3773] 3773,12 unequal: No Solution Exploring Operation: 77+49=126, Resulting Numbers: [126] 126,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[61, 65], Operations: ['84-72=12', '77-12=65'] Exploring Operation: 61+65=126, Resulting Numbers: [126] 126,12 unequal: No Solution Exploring Operation: 61*65=3965, Resulting Numbers: [3965] 3965,12 unequal: No Solution Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[12, 138], Operations: ['84-72=12', '77+61=138'] Exploring Operation: 12*138=1656, Resulting Numbers: [1656] 1656,12 unequal: No Solution Exploring Operation: 138-12=126, Resulting Numbers: [126] 126,12 unequal: No Solution Exploring Operation: 12+138=150, Resulting Numbers: [150] 150,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[84, 61, 5], Operations: ['77-72=5'] Exploring Operation: 84-5=79, Resulting Numbers: [61, 79] Generated Node #0,0,0: 12:[61, 79] Operation: 84-5=79 Exploring Operation: 84+5=89, Resulting Numbers: [61, 89] Generated Node #0,0,1: 12:[61, 89] Operation: 84+5=89 Exploring Operation: 84-61=23, Resulting Numbers: [5, 23] Generated Node #0,0,2: 12:[5, 23] Operation: 84-61=23 Exploring Operation: 61-5=56, Resulting Numbers: [84, 56] Generated Node #0,0,3: 12:[84, 56] Operation: 61-5=56 Moving to Node #0,0,2 Current State: 12:[5, 23], Operations: ['77-72=5', '84-61=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[84, 56], Operations: ['77-72=5', '61-5=56'] Exploring Operation: 84+56=140, Resulting Numbers: [140] 140,12 unequal: No Solution Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 84*56=4704, Resulting Numbers: [4704] 4704,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[61, 79], Operations: ['77-72=5', '84-5=79'] Exploring Operation: 61*79=4819, Resulting Numbers: [4819] 4819,12 unequal: No Solution Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 61+79=140, Resulting Numbers: [140] 140,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[61, 89], Operations: ['77-72=5', '84+5=89'] Exploring Operation: 61+89=150, Resulting Numbers: [150] 150,12 unequal: No Solution Exploring Operation: 61*89=5429, Resulting Numbers: [5429] 5429,12 unequal: No Solution Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[77, 72, 23], Operations: ['84-61=23'] Exploring Operation: 77+72=149, Resulting Numbers: [23, 149] Generated Node #0,3,0: 12:[23, 149] Operation: 77+72=149 Exploring Operation: 72-23=49, Resulting Numbers: [77, 49] Generated Node #0,3,1: 12:[77, 49] Operation: 72-23=49 Exploring Operation: 77-23=54, Resulting Numbers: [72, 54] Generated Node #0,3,2: 12:[72, 54] Operation: 77-23=54 Exploring Operation: 77-72=5, Resulting Numbers: [23, 5] Generated Node #0,3,3: 12:[23, 5] Operation: 77-72=5 Moving to Node #0,3,3 Current State: 12:[23, 5], Operations: ['84-61=23', '77-72=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,12 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[72, 54], Operations: ['84-61=23', '77-23=54'] Exploring Operation: 72*54=3888, Resulting Numbers: [3888] 3888,12 unequal: No Solution Exploring Operation: 72+54=126, Resulting Numbers: [126] 126,12 unequal: No Solution Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[77, 49], Operations: ['84-61=23', '72-23=49'] Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 77*49=3773, Resulting Numbers: [3773] 3773,12 unequal: No Solution Exploring Operation: 77+49=126, Resulting Numbers: [126] 126,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[23, 149], Operations: ['84-61=23', '77+72=149'] Exploring Operation: 23*149=3427, Resulting Numbers: [3427] 3427,12 unequal: No Solution Exploring Operation: 23+149=172, Resulting Numbers: [172] 172,12 unequal: No Solution Exploring Operation: 149-23=126, Resulting Numbers: [126] 126,12 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
[ 7, 15, 14, 35 ]
22
[ "14/7=2", "35-15=20", "2+20=22" ]
Current State: 22:[7, 15, 14, 35], Operations: [] Exploring Operation: 14/7=2, Resulting Numbers: [15, 35, 2] Generated Node #2: [15, 35, 2] from Operation: 14/7=2 Current State: 22:[15, 35, 2], Operations: ['14/7=2'] Exploring Operation: 35-15=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 35-15=20 Current State: 22:[2, 20], Operations: ['14/7=2', '35-15=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[7, 15, 14, 35], Operations: [] Exploring Operation: 35-14=21, Resulting Numbers: [7, 15, 21] Generated Node #0,0: 22:[7, 15, 21] Operation: 35-14=21 Exploring Operation: 35-15=20, Resulting Numbers: [7, 14, 20] Generated Node #0,1: 22:[7, 14, 20] Operation: 35-15=20 Moving to Node #0,0 Current State: 22:[7, 15, 21], Operations: ['35-14=21'] Exploring Operation: 7+15=22, Resulting Numbers: [21, 22] Generated Node #0,0,0: 22:[21, 22] Operation: 7+15=22 Exploring Operation: 15-7=8, Resulting Numbers: [21, 8] Generated Node #0,0,1: 22:[21, 8] Operation: 15-7=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[21, 22], Operations: ['35-14=21', '7+15=22'] Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,22 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[21, 8], Operations: ['35-14=21', '15-7=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,22 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,22 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: 22:[7, 14, 20], Operations: ['35-15=20'] Exploring Operation: 7+14=21, Resulting Numbers: [20, 21] Generated Node #0,1,0: 22:[20, 21] Operation: 7+14=21 Exploring Operation: 14/7=2, Resulting Numbers: [20, 2] Generated Node #0,1,1: 22:[20, 2] Operation: 14/7=2 Moving to Node #0,1,1 Current State: 22:[20, 2], Operations: ['35-15=20', '14/7=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[7, 15, 14, 35], Operations: [] Exploring Operation: 35-15=20, Resulting Numbers: [7, 14, 20] Generated Node #0,1: 22:[7, 14, 20] Operation: 35-15=20 Moving to Node #0,1 Current State: 22:[7, 14, 20], Operations: ['35-15=20'] Exploring Operation: 14/7=2, Resulting Numbers: [20, 2] Generated Node #0,1,1: 22:[20, 2] Operation: 14/7=2 Moving to Node #0,1,1 Current State: 22:[20, 2], Operations: ['35-15=20', '14/7=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 3, 63, 37, 87 ]
58
[ "3+63=66", "37+87=124", "124-66=58" ]
Current State: 58:[3, 63, 37, 87], Operations: [] Exploring Operation: 3+63=66, Resulting Numbers: [37, 87, 66] Generated Node #2: [37, 87, 66] from Operation: 3+63=66 Current State: 58:[37, 87, 66], Operations: ['3+63=66'] Exploring Operation: 37+87=124, Resulting Numbers: [66, 124] Generated Node #3: [66, 124] from Operation: 37+87=124 Current State: 58:[66, 124], Operations: ['3+63=66', '37+87=124'] Exploring Operation: 124-66=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[3, 63, 37, 87], Operations: [] Exploring Operation: 87-37=50, Resulting Numbers: [3, 63, 50] Generated Node #0,0: 58:[3, 63, 50] Operation: 87-37=50 Exploring Operation: 87/3=29, Resulting Numbers: [63, 37, 29] Generated Node #0,1: 58:[63, 37, 29] Operation: 87/3=29 Exploring Operation: 87-63=24, Resulting Numbers: [3, 37, 24] Generated Node #0,2: 58:[3, 37, 24] Operation: 87-63=24 Moving to Node #0,1 Current State: 58:[63, 37, 29], Operations: ['87/3=29'] Exploring Operation: 63-29=34, Resulting Numbers: [37, 34] Generated Node #0,1,0: 58:[37, 34] Operation: 63-29=34 Exploring Operation: 63-37=26, Resulting Numbers: [29, 26] Generated Node #0,1,1: 58:[29, 26] Operation: 63-37=26 Exploring Operation: 37-29=8, Resulting Numbers: [63, 8] Generated Node #0,1,2: 58:[63, 8] Operation: 37-29=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[29, 26], Operations: ['87/3=29', '63-37=26'] Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 29*26=754, Resulting Numbers: [754] 754,58 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,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,2 Current State: 58:[63, 8], Operations: ['87/3=29', '37-29=8'] Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,58 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,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:[37, 34], Operations: ['87/3=29', '63-29=34'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 37*34=1258, Resulting Numbers: [1258] 1258,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:[3, 63, 50], Operations: ['87-37=50'] Exploring Operation: 63-50=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 58:[3, 13] Operation: 63-50=13 Exploring Operation: 3+50=53, Resulting Numbers: [63, 53] Generated Node #0,0,1: 58:[63, 53] Operation: 3+50=53 Exploring Operation: 63-3=60, Resulting Numbers: [50, 60] Generated Node #0,0,2: 58:[50, 60] Operation: 63-3=60 Moving to Node #0,2 Current State: 58:[3, 37, 24], Operations: ['87-63=24'] Exploring Operation: 37-3=34, Resulting Numbers: [24, 34] Generated Node #0,2,0: 58:[24, 34] Operation: 37-3=34 Exploring Operation: 37+24=61, Resulting Numbers: [3, 61] Generated Node #0,2,1: 58:[3, 61] Operation: 37+24=61 Exploring Operation: 3+24=27, Resulting Numbers: [37, 27] Generated Node #0,2,2: 58:[37, 27] Operation: 3+24=27 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[3, 61], Operations: ['87-63=24', '37+24=61'] Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,58 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[3, 63, 37, 87], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [3, 37, 24] Generated Node #0,2: 58:[3, 37, 24] Operation: 87-63=24 Moving to Node #0,2 Current State: 58:[3, 37, 24], Operations: ['87-63=24'] Exploring Operation: 37+24=61, Resulting Numbers: [3, 61] Generated Node #0,2,1: 58:[3, 61] Operation: 37+24=61 Moving to Node #0,2,1 Current State: 58:[3, 61], Operations: ['87-63=24', '37+24=61'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 69, 60, 86, 17 ]
78
[ "69-60=9", "86-17=69", "9+69=78" ]
Current State: 78:[69, 60, 86, 17], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [86, 17, 9] Generated Node #2: [86, 17, 9] from Operation: 69-60=9 Current State: 78:[86, 17, 9], Operations: ['69-60=9'] Exploring Operation: 86-17=69, Resulting Numbers: [9, 69] Generated Node #3: [9, 69] from Operation: 86-17=69 Current State: 78:[9, 69], Operations: ['69-60=9', '86-17=69'] Exploring Operation: 9+69=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[69, 60, 86, 17], Operations: [] Exploring Operation: 86-69=17, Resulting Numbers: [60, 17, 17] Generated Node #0,0: 78:[60, 17, 17] Operation: 86-69=17 Exploring Operation: 86-60=26, Resulting Numbers: [69, 17, 26] Generated Node #0,1: 78:[69, 17, 26] Operation: 86-60=26 Exploring Operation: 69-60=9, Resulting Numbers: [86, 17, 9] Generated Node #0,2: 78:[86, 17, 9] Operation: 69-60=9 Exploring Operation: 60-17=43, Resulting Numbers: [69, 86, 43] Generated Node #0,3: 78:[69, 86, 43] Operation: 60-17=43 Exploring Operation: 60+17=77, Resulting Numbers: [69, 86, 77] Generated Node #0,4: 78:[69, 86, 77] Operation: 60+17=77 Moving to Node #0,1 Current State: 78:[69, 17, 26], Operations: ['86-60=26'] Exploring Operation: 69-26=43, Resulting Numbers: [17, 43] Generated Node #0,1,0: 78:[17, 43] Operation: 69-26=43 Exploring Operation: 69-17=52, Resulting Numbers: [26, 52] Generated Node #0,1,1: 78:[26, 52] Operation: 69-17=52 Exploring Operation: 17+26=43, Resulting Numbers: [69, 43] Generated Node #0,1,2: 78:[69, 43] Operation: 17+26=43 Exploring Operation: 26-17=9, Resulting Numbers: [69, 9] Generated Node #0,1,3: 78:[69, 9] Operation: 26-17=9 Exploring Operation: 69+17=86, Resulting Numbers: [26, 86] Generated Node #0,1,4: 78:[26, 86] Operation: 69+17=86 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[17, 43], Operations: ['86-60=26', '69-26=43'] Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,78 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 78:[26, 86], Operations: ['86-60=26', '69+17=86'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,78 unequal: No Solution Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 78:[69, 9], Operations: ['86-60=26', '26-17=9'] Exploring Operation: 69*9=621, Resulting Numbers: [621] 621,78 unequal: No Solution Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[69, 60, 86, 17], Operations: [] Exploring Operation: 86-60=26, Resulting Numbers: [69, 17, 26] Generated Node #0,1: 78:[69, 17, 26] Operation: 86-60=26 Moving to Node #0,1 Current State: 78:[69, 17, 26], Operations: ['86-60=26'] Exploring Operation: 26-17=9, Resulting Numbers: [69, 9] Generated Node #0,1,3: 78:[69, 9] Operation: 26-17=9 Moving to Node #0,1,3 Current State: 78:[69, 9], Operations: ['86-60=26', '26-17=9'] Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 14, 33, 36, 4 ]
97
[ "14+33=47", "36*4=144", "144-47=97" ]
Current State: 97:[14, 33, 36, 4], Operations: [] Exploring Operation: 14+33=47, Resulting Numbers: [36, 4, 47] Generated Node #2: [36, 4, 47] from Operation: 14+33=47 Current State: 97:[36, 4, 47], Operations: ['14+33=47'] Exploring Operation: 36*4=144, Resulting Numbers: [47, 144] Generated Node #3: [47, 144] from Operation: 36*4=144 Current State: 97:[47, 144], Operations: ['14+33=47', '36*4=144'] Exploring Operation: 144-47=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[14, 33, 36, 4], Operations: [] Exploring Operation: 33*4=132, Resulting Numbers: [14, 36, 132] Generated Node #0,0: 97:[14, 36, 132] Operation: 33*4=132 Exploring Operation: 14*4=56, Resulting Numbers: [33, 36, 56] Generated Node #0,1: 97:[33, 36, 56] Operation: 14*4=56 Moving to Node #0,1 Current State: 97:[33, 36, 56], Operations: ['14*4=56'] Exploring Operation: 33+56=89, Resulting Numbers: [36, 89] Generated Node #0,1,0: 97:[36, 89] Operation: 33+56=89 Exploring Operation: 33+36=69, Resulting Numbers: [56, 69] Generated Node #0,1,1: 97:[56, 69] Operation: 33+36=69 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[36, 89], Operations: ['14*4=56', '33+56=89'] Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,97 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[56, 69], Operations: ['14*4=56', '33+36=69'] Exploring Operation: 56+69=125, Resulting Numbers: [125] 125,97 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 97:[14, 36, 132], Operations: ['33*4=132'] Exploring Operation: 14+36=50, Resulting Numbers: [132, 50] Generated Node #0,0,0: 97:[132, 50] Operation: 14+36=50 Exploring Operation: 132-14=118, Resulting Numbers: [36, 118] Generated Node #0,0,1: 97:[36, 118] Operation: 132-14=118 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[132, 50], Operations: ['33*4=132', '14+36=50'] Exploring Operation: 132+50=182, Resulting Numbers: [182] 182,97 unequal: No Solution Exploring Operation: 132-50=82, Resulting Numbers: [82] 82,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[36, 118], Operations: ['33*4=132', '132-14=118'] Exploring Operation: 36+118=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 118-36=82, Resulting Numbers: [82] 82,97 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
[ 78, 68, 10, 67 ]
33
[ "78-68=10", "10*10=100", "100-67=33" ]
Current State: 33:[78, 68, 10, 67], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [10, 67, 10] Generated Node #2: [10, 67, 10] from Operation: 78-68=10 Current State: 33:[10, 67, 10], Operations: ['78-68=10'] Exploring Operation: 10*10=100, Resulting Numbers: [67, 100] Generated Node #3: [67, 100] from Operation: 10*10=100 Current State: 33:[67, 100], Operations: ['78-68=10', '10*10=100'] Exploring Operation: 100-67=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[78, 68, 10, 67], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [10, 67, 10] Generated Node #0,0: 33:[10, 67, 10] Operation: 78-68=10 Exploring Operation: 78-67=11, Resulting Numbers: [68, 10, 11] Generated Node #0,1: 33:[68, 10, 11] Operation: 78-67=11 Moving to Node #0,0 Current State: 33:[10, 67, 10], Operations: ['78-68=10'] Exploring Operation: 67-10=57, Resulting Numbers: [10, 57] Generated Node #0,0,0: 33:[10, 57] Operation: 67-10=57 Exploring Operation: 67-10=57, Resulting Numbers: [10, 57] Generated Node #0,0,1: 33:[10, 57] Operation: 67-10=57 Moving to Node #0,1 Current State: 33:[68, 10, 11], Operations: ['78-67=11'] Exploring Operation: 68-10=58, Resulting Numbers: [11, 58] Generated Node #0,1,0: 33:[11, 58] Operation: 68-10=58 Exploring Operation: 68-11=57, Resulting Numbers: [10, 57] Generated Node #0,1,1: 33:[10, 57] Operation: 68-11=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[11, 58], Operations: ['78-67=11', '68-10=58'] Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,33 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,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,1,1 Current State: 33:[10, 57], Operations: ['78-67=11', '68-11=57'] Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,33 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: 33:[10, 57], Operations: ['78-68=10', '67-10=57'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,33 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[10, 57], Operations: ['78-68=10', '67-10=57'] Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,33 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 41, 71, 28, 27 ]
67
[ "71*27=1917", "1917-41=1876", "1876/28=67" ]
Current State: 67:[41, 71, 28, 27], Operations: [] Exploring Operation: 71*27=1917, Resulting Numbers: [41, 28, 1917] Generated Node #2: [41, 28, 1917] from Operation: 71*27=1917 Current State: 67:[41, 28, 1917], Operations: ['71*27=1917'] Exploring Operation: 1917-41=1876, Resulting Numbers: [28, 1876] Generated Node #3: [28, 1876] from Operation: 1917-41=1876 Current State: 67:[28, 1876], Operations: ['71*27=1917', '1917-41=1876'] Exploring Operation: 1876/28=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[41, 71, 28, 27], Operations: [] Exploring Operation: 28+27=55, Resulting Numbers: [41, 71, 55] Generated Node #0,0: 67:[41, 71, 55] Operation: 28+27=55 Exploring Operation: 71-27=44, Resulting Numbers: [41, 28, 44] Generated Node #0,1: 67:[41, 28, 44] Operation: 71-27=44 Exploring Operation: 41+27=68, Resulting Numbers: [71, 28, 68] Generated Node #0,2: 67:[71, 28, 68] Operation: 41+27=68 Exploring Operation: 41+28=69, Resulting Numbers: [71, 27, 69] Generated Node #0,3: 67:[71, 27, 69] Operation: 41+28=69 Exploring Operation: 71-28=43, Resulting Numbers: [41, 27, 43] Generated Node #0,4: 67:[41, 27, 43] Operation: 71-28=43 Moving to Node #0,0 Current State: 67:[41, 71, 55], Operations: ['28+27=55'] Exploring Operation: 41+55=96, Resulting Numbers: [71, 96] Generated Node #0,0,0: 67:[71, 96] Operation: 41+55=96 Exploring Operation: 71-55=16, Resulting Numbers: [41, 16] Generated Node #0,0,1: 67:[41, 16] Operation: 71-55=16 Exploring Operation: 71-41=30, Resulting Numbers: [55, 30] Generated Node #0,0,2: 67:[55, 30] Operation: 71-41=30 Exploring Operation: 41+71=112, Resulting Numbers: [55, 112] Generated Node #0,0,3: 67:[55, 112] Operation: 41+71=112 Exploring Operation: 55-41=14, Resulting Numbers: [71, 14] Generated Node #0,0,4: 67:[71, 14] Operation: 55-41=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[71, 96], Operations: ['28+27=55', '41+55=96'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 71+96=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 71*96=6816, Resulting Numbers: [6816] 6816,67 unequal: No Solution No 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: 67:[55, 30], Operations: ['28+27=55', '71-41=30'] Exploring Operation: 55*30=1650, Resulting Numbers: [1650] 1650,67 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 55+30=85, Resulting Numbers: [85] 85,67 unequal: No Solution No 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: 67:[55, 112], Operations: ['28+27=55', '41+71=112'] Exploring Operation: 112-55=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 55+112=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 55*112=6160, Resulting Numbers: [6160] 6160,67 unequal: No Solution No 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: 67:[71, 14], Operations: ['28+27=55', '55-41=14'] Exploring Operation: 71*14=994, Resulting Numbers: [994] 994,67 unequal: No Solution Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,67 unequal: No Solution No 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: 67:[41, 16], Operations: ['28+27=55', '71-55=16'] Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,67 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: 67:[71, 28, 68], Operations: ['41+27=68'] Exploring Operation: 71-68=3, Resulting Numbers: [28, 3] Generated Node #0,2,0: 67:[28, 3] Operation: 71-68=3 Exploring Operation: 68-28=40, Resulting Numbers: [71, 40] Generated Node #0,2,1: 67:[71, 40] Operation: 68-28=40 Exploring Operation: 71+28=99, Resulting Numbers: [68, 99] Generated Node #0,2,2: 67:[68, 99] Operation: 71+28=99 Exploring Operation: 71-28=43, Resulting Numbers: [68, 43] Generated Node #0,2,3: 67:[68, 43] Operation: 71-28=43 Exploring Operation: 28+68=96, Resulting Numbers: [71, 96] Generated Node #0,2,4: 67:[71, 96] Operation: 28+68=96 Moving to Node #0,3 Current State: 67:[71, 27, 69], Operations: ['41+28=69'] Exploring Operation: 71-69=2, Resulting Numbers: [27, 2] Generated Node #0,3,0: 67:[27, 2] Operation: 71-69=2 Exploring Operation: 27+69=96, Resulting Numbers: [71, 96] Generated Node #0,3,1: 67:[71, 96] Operation: 27+69=96 Exploring Operation: 71-27=44, Resulting Numbers: [69, 44] Generated Node #0,3,2: 67:[69, 44] Operation: 71-27=44 Exploring Operation: 71+27=98, Resulting Numbers: [69, 98] Generated Node #0,3,3: 67:[69, 98] Operation: 71+27=98 Exploring Operation: 69-27=42, Resulting Numbers: [71, 42] Generated Node #0,3,4: 67:[71, 42] Operation: 69-27=42 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 67:[69, 44], Operations: ['41+28=69', '71-27=44'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,67 unequal: No Solution No 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: 67:[71, 42], Operations: ['41+28=69', '69-27=42'] Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,67 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,67 unequal: No Solution No 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: 67:[71, 96], Operations: ['41+28=69', '27+69=96'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 71+96=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 71*96=6816, Resulting Numbers: [6816] 6816,67 unequal: No Solution No 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: 67:[69, 98], Operations: ['41+28=69', '71+27=98'] Exploring Operation: 98-69=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 69*98=6762, Resulting Numbers: [6762] 6762,67 unequal: No Solution Exploring Operation: 69+98=167, Resulting Numbers: [167] 167,67 unequal: No Solution No 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: 67:[27, 2], Operations: ['41+28=69', '71-69=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,67 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,67 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: 67:[41, 28, 44], Operations: ['71-27=44'] Exploring Operation: 41+28=69, Resulting Numbers: [44, 69] Generated Node #0,1,0: 67:[44, 69] Operation: 41+28=69 Exploring Operation: 44-28=16, Resulting Numbers: [41, 16] Generated Node #0,1,1: 67:[41, 16] Operation: 44-28=16 Exploring Operation: 41-28=13, Resulting Numbers: [44, 13] Generated Node #0,1,2: 67:[44, 13] Operation: 41-28=13 Exploring Operation: 28+44=72, Resulting Numbers: [41, 72] Generated Node #0,1,3: 67:[41, 72] Operation: 28+44=72 Exploring Operation: 41+44=85, Resulting Numbers: [28, 85] Generated Node #0,1,4: 67:[28, 85] Operation: 41+44=85 Moving to Node #0,4 Current State: 67:[41, 27, 43], Operations: ['71-28=43'] Exploring Operation: 41+43=84, Resulting Numbers: [27, 84] Generated Node #0,4,0: 67:[27, 84] Operation: 41+43=84 Exploring Operation: 41+27=68, Resulting Numbers: [43, 68] Generated Node #0,4,1: 67:[43, 68] Operation: 41+27=68 Exploring Operation: 27+43=70, Resulting Numbers: [41, 70] Generated Node #0,4,2: 67:[41, 70] Operation: 27+43=70 Exploring Operation: 41-27=14, Resulting Numbers: [43, 14] Generated Node #0,4,3: 67:[43, 14] Operation: 41-27=14 Exploring Operation: 43-27=16, Resulting Numbers: [41, 16] Generated Node #0,4,4: 67:[41, 16] Operation: 43-27=16 Moving to Node #0,2,3 Current State: 67:[68, 43], Operations: ['41+27=68', '71-28=43'] Exploring Operation: 68*43=2924, Resulting Numbers: [2924] 2924,67 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 68+43=111, Resulting Numbers: [111] 111,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[44, 69], Operations: ['71-27=44', '41+28=69'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[43, 68], Operations: ['71-28=43', '41+27=68'] Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,67 unequal: No Solution Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,67 unequal: No Solution Moving to Node #0,4,2 Current State: 67:[41, 70], Operations: ['71-28=43', '27+43=70'] Exploring Operation: 41+70=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 41*70=2870, Resulting Numbers: [2870] 2870,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[41, 72], Operations: ['71-27=44', '28+44=72'] Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,67 unequal: No Solution Exploring Operation: 41+72=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 41*72=2952, Resulting Numbers: [2952] 2952,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[71, 40], Operations: ['41+27=68', '68-28=40'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,67 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,67 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[68, 99], Operations: ['41+27=68', '71+28=99'] Exploring Operation: 68*99=6732, Resulting Numbers: [6732] 6732,67 unequal: No Solution Exploring Operation: 68+99=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 99-68=31, Resulting Numbers: [31] 31,67 unequal: No Solution Moving to Node #0,2,4 Current State: 67:[71, 96], Operations: ['41+27=68', '28+68=96'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 71+96=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 71*96=6816, Resulting Numbers: [6816] 6816,67 unequal: No Solution Moving to Node #0,4,0 Current State: 67:[27, 84], Operations: ['71-28=43', '41+43=84'] Exploring Operation: 27+84=111, Resulting Numbers: [111] 111,67 unequal: No Solution Exploring Operation: 27*84=2268, Resulting Numbers: [2268] 2268,67 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,67 unequal: No Solution Moving to Node #0,1,4 Current State: 67:[28, 85], Operations: ['71-27=44', '41+44=85'] Exploring Operation: 28*85=2380, Resulting Numbers: [2380] 2380,67 unequal: No Solution Exploring Operation: 28+85=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,67 unequal: No Solution Moving to Node #0,4,4 Current State: 67:[41, 16], Operations: ['71-28=43', '43-27=16'] Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,67 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[41, 16], Operations: ['71-27=44', '44-28=16'] Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,67 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[44, 13], Operations: ['71-27=44', '41-28=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,67 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[43, 14], Operations: ['71-28=43', '41-27=14'] Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,67 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[28, 3], Operations: ['41+27=68', '71-68=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,67 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,67 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 62, 97, 96, 36 ]
24
[ "62*36=2232", "96+2232=2328", "2328/97=24" ]
Current State: 24:[62, 97, 96, 36], Operations: [] Exploring Operation: 62*36=2232, Resulting Numbers: [97, 96, 2232] Generated Node #2: [97, 96, 2232] from Operation: 62*36=2232 Current State: 24:[97, 96, 2232], Operations: ['62*36=2232'] Exploring Operation: 96+2232=2328, Resulting Numbers: [97, 2328] Generated Node #3: [97, 2328] from Operation: 96+2232=2328 Current State: 24:[97, 2328], Operations: ['62*36=2232', '96+2232=2328'] Exploring Operation: 2328/97=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[62, 97, 96, 36], Operations: [] Exploring Operation: 97-96=1, Resulting Numbers: [62, 36, 1] Generated Node #0,0: 24:[62, 36, 1] Operation: 97-96=1 Exploring Operation: 97-62=35, Resulting Numbers: [96, 36, 35] Generated Node #0,1: 24:[96, 36, 35] Operation: 97-62=35 Moving to Node #0,0 Current State: 24:[62, 36, 1], Operations: ['97-96=1'] Exploring Operation: 62-36=26, Resulting Numbers: [1, 26] Generated Node #0,0,0: 24:[1, 26] Operation: 62-36=26 Exploring Operation: 62-1=61, Resulting Numbers: [36, 61] Generated Node #0,0,1: 24:[36, 61] Operation: 62-1=61 Moving to Node #0,1 Current State: 24:[96, 36, 35], Operations: ['97-62=35'] Exploring Operation: 96-36=60, Resulting Numbers: [35, 60] Generated Node #0,1,0: 24:[35, 60] Operation: 96-36=60 Exploring Operation: 96-35=61, Resulting Numbers: [36, 61] Generated Node #0,1,1: 24:[36, 61] Operation: 96-35=61 Moving to Node #0,0,0 Current State: 24:[1, 26], Operations: ['97-96=1', '62-36=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[35, 60], Operations: ['97-62=35', '96-36=60'] Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 35+60=95, Resulting Numbers: [95] 95,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[36, 61], Operations: ['97-96=1', '62-1=61'] Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[36, 61], Operations: ['97-62=35', '96-35=61'] Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,24 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,24 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 97, 69, 80, 56 ]
88
[ "97*56=5432", "69*80=5520", "5520-5432=88" ]
Current State: 88:[97, 69, 80, 56], Operations: [] Exploring Operation: 97*56=5432, Resulting Numbers: [69, 80, 5432] Generated Node #2: [69, 80, 5432] from Operation: 97*56=5432 Current State: 88:[69, 80, 5432], Operations: ['97*56=5432'] Exploring Operation: 69*80=5520, Resulting Numbers: [5432, 5520] Generated Node #3: [5432, 5520] from Operation: 69*80=5520 Current State: 88:[5432, 5520], Operations: ['97*56=5432', '69*80=5520'] Exploring Operation: 5520-5432=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[97, 69, 80, 56], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [80, 56, 28] Generated Node #0,0: 88:[80, 56, 28] Operation: 97-69=28 Exploring Operation: 80-69=11, Resulting Numbers: [97, 56, 11] Generated Node #0,1: 88:[97, 56, 11] Operation: 80-69=11 Exploring Operation: 69-56=13, Resulting Numbers: [97, 80, 13] Generated Node #0,2: 88:[97, 80, 13] Operation: 69-56=13 Exploring Operation: 97-56=41, Resulting Numbers: [69, 80, 41] Generated Node #0,3: 88:[69, 80, 41] Operation: 97-56=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[97, 80, 13], Operations: ['69-56=13'] Exploring Operation: 80+13=93, Resulting Numbers: [97, 93] Generated Node #0,2,0: 88:[97, 93] Operation: 80+13=93 Exploring Operation: 97+13=110, Resulting Numbers: [80, 110] Generated Node #0,2,1: 88:[80, 110] Operation: 97+13=110 Exploring Operation: 97-13=84, Resulting Numbers: [80, 84] Generated Node #0,2,2: 88:[80, 84] Operation: 97-13=84 Exploring Operation: 97-80=17, Resulting Numbers: [13, 17] Generated Node #0,2,3: 88:[13, 17] Operation: 97-80=17 Moving to Node #0,2,3 Current State: 88:[13, 17], Operations: ['69-56=13', '97-80=17'] Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[80, 84], Operations: ['69-56=13', '97-13=84'] Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 80*84=6720, Resulting Numbers: [6720] 6720,88 unequal: No Solution Exploring Operation: 80+84=164, Resulting Numbers: [164] 164,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[97, 93], Operations: ['69-56=13', '80+13=93'] Exploring Operation: 97+93=190, Resulting Numbers: [190] 190,88 unequal: No Solution Exploring Operation: 97*93=9021, Resulting Numbers: [9021] 9021,88 unequal: No Solution Exploring Operation: 97-93=4, Resulting Numbers: [4] 4,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[80, 110], Operations: ['69-56=13', '97+13=110'] Exploring Operation: 80*110=8800, Resulting Numbers: [8800] 8800,88 unequal: No Solution Exploring Operation: 110-80=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 80+110=190, Resulting Numbers: [190] 190,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[97, 56, 11], Operations: ['80-69=11'] Exploring Operation: 97-11=86, Resulting Numbers: [56, 86] Generated Node #0,1,0: 88:[56, 86] Operation: 97-11=86 Exploring Operation: 56+11=67, Resulting Numbers: [97, 67] Generated Node #0,1,1: 88:[97, 67] Operation: 56+11=67 Exploring Operation: 97-56=41, Resulting Numbers: [11, 41] Generated Node #0,1,2: 88:[11, 41] Operation: 97-56=41 Exploring Operation: 56-11=45, Resulting Numbers: [97, 45] Generated Node #0,1,3: 88:[97, 45] Operation: 56-11=45 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 88:[11, 41], Operations: ['80-69=11', '97-56=41'] Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,88 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 88:[97, 45], Operations: ['80-69=11', '56-11=45'] Exploring Operation: 97+45=142, Resulting Numbers: [142] 142,88 unequal: No Solution Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 97*45=4365, Resulting Numbers: [4365] 4365,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[56, 86], Operations: ['80-69=11', '97-11=86'] Exploring Operation: 56+86=142, Resulting Numbers: [142] 142,88 unequal: No Solution Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 56*86=4816, Resulting Numbers: [4816] 4816,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[97, 67], Operations: ['80-69=11', '56+11=67'] Exploring Operation: 97-67=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 97+67=164, Resulting Numbers: [164] 164,88 unequal: No Solution Exploring Operation: 97*67=6499, Resulting Numbers: [6499] 6499,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[80, 56, 28], Operations: ['97-69=28'] Exploring Operation: 80-56=24, Resulting Numbers: [28, 24] Generated Node #0,0,0: 88:[28, 24] Operation: 80-56=24 Exploring Operation: 56/28=2, Resulting Numbers: [80, 2] Generated Node #0,0,1: 88:[80, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [80, 28] Generated Node #0,0,2: 88:[80, 28] Operation: 56-28=28 Exploring Operation: 56+28=84, Resulting Numbers: [80, 84] Generated Node #0,0,3: 88:[80, 84] Operation: 56+28=84 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[28, 24], Operations: ['97-69=28', '80-56=24'] Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,88 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[80, 2], Operations: ['97-69=28', '56/28=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,88 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 88:[80, 84], Operations: ['97-69=28', '56+28=84'] Exploring Operation: 80*84=6720, Resulting Numbers: [6720] 6720,88 unequal: No Solution Exploring Operation: 80+84=164, Resulting Numbers: [164] 164,88 unequal: No Solution Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[80, 28], Operations: ['97-69=28', '56-28=28'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,88 unequal: No Solution Exploring Operation: 80*28=2240, Resulting Numbers: [2240] 2240,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[69, 80, 41], Operations: ['97-56=41'] Exploring Operation: 80-69=11, Resulting Numbers: [41, 11] Generated Node #0,3,0: 88:[41, 11] Operation: 80-69=11 Exploring Operation: 69-41=28, Resulting Numbers: [80, 28] Generated Node #0,3,1: 88:[80, 28] Operation: 69-41=28 Exploring Operation: 80-41=39, Resulting Numbers: [69, 39] Generated Node #0,3,2: 88:[69, 39] Operation: 80-41=39 Exploring Operation: 69+41=110, Resulting Numbers: [80, 110] Generated Node #0,3,3: 88:[80, 110] Operation: 69+41=110 Moving to Node #0,3,0 Current State: 88:[41, 11], Operations: ['97-56=41', '80-69=11'] Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,88 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[80, 28], Operations: ['97-56=41', '69-41=28'] Exploring Operation: 80*28=2240, Resulting Numbers: [2240] 2240,88 unequal: No Solution Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,88 unequal: No Solution Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[69, 39], Operations: ['97-56=41', '80-41=39'] Exploring Operation: 69+39=108, Resulting Numbers: [108] 108,88 unequal: No Solution Exploring Operation: 69*39=2691, Resulting Numbers: [2691] 2691,88 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[80, 110], Operations: ['97-56=41', '69+41=110'] Exploring Operation: 80*110=8800, Resulting Numbers: [8800] 8800,88 unequal: No Solution Exploring Operation: 80+110=190, Resulting Numbers: [190] 190,88 unequal: No Solution Exploring Operation: 110-80=30, Resulting Numbers: [30] 30,88 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
[ 89, 82, 89, 84 ]
77
[ "89-82=7", "84/7=12", "89-12=77" ]
Current State: 77:[89, 82, 89, 84], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [84, 7] Generated Node #2: [84, 7] from Operation: 89-82=7 Current State: 77:[84, 7], Operations: ['89-82=7'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,77 equal: Goal Reached Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[89, 82, 89, 84], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [89, 84, 7] Generated Node #0,0: 77:[89, 84, 7] Operation: 89-82=7 Exploring Operation: 89/89=1, Resulting Numbers: [82, 84, 1] Generated Node #0,1: 77:[82, 84, 1] Operation: 89/89=1 Exploring Operation: 89-89=0, Resulting Numbers: [82, 84, 0] Generated Node #0,2: 77:[82, 84, 0] Operation: 89-89=0 Moving to Node #0,1 Current State: 77:[82, 84, 1], Operations: ['89/89=1'] Exploring Operation: 84-1=83, Resulting Numbers: [82, 83] Generated Node #0,1,0: 77:[82, 83] Operation: 84-1=83 Exploring Operation: 82-1=81, Resulting Numbers: [84, 81] Generated Node #0,1,1: 77:[84, 81] Operation: 82-1=81 Exploring Operation: 84-82=2, Resulting Numbers: [1, 2] Generated Node #0,1,2: 77:[1, 2] Operation: 84-82=2 Moving to Node #0,0 Current State: 77:[89, 84, 7], Operations: ['89-82=7'] Exploring Operation: 84-7=77, Resulting Numbers: [89, 77] Generated Node #0,0,0: 77:[89, 77] Operation: 84-7=77 Exploring Operation: 89-84=5, Resulting Numbers: [7, 5] Generated Node #0,0,1: 77:[7, 5] Operation: 89-84=5 Exploring Operation: 89-7=82, Resulting Numbers: [84, 82] Generated Node #0,0,2: 77:[84, 82] Operation: 89-7=82 Moving to Node #0,2 Current State: 77:[82, 84, 0], Operations: ['89-89=0'] Exploring Operation: 84-82=2, Resulting Numbers: [0, 2] Generated Node #0,2,0: 77:[0, 2] Operation: 84-82=2 Exploring Operation: 82-0=82, Resulting Numbers: [84, 82] Generated Node #0,2,1: 77:[84, 82] Operation: 82-0=82 Exploring Operation: 82+0=82, Resulting Numbers: [84, 82] Generated Node #0,2,2: 77:[84, 82] Operation: 82+0=82 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[0, 2], Operations: ['89-89=0', '84-82=2'] Exploring Operation: 0*2=0, Resulting Numbers: [0] 0,77 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 0+2=2, Resulting Numbers: [2] 2,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[84, 82], Operations: ['89-89=0', '82-0=82'] Exploring Operation: 84+82=166, Resulting Numbers: [166] 166,77 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 84*82=6888, Resulting Numbers: [6888] 6888,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[84, 82], Operations: ['89-89=0', '82+0=82'] Exploring Operation: 84*82=6888, Resulting Numbers: [6888] 6888,77 unequal: No Solution Exploring Operation: 84+82=166, Resulting Numbers: [166] 166,77 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,77 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: 77:[7, 5], Operations: ['89-82=7', '89-84=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[1, 2], Operations: ['89/89=1', '84-82=2'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[82, 83], Operations: ['89/89=1', '84-1=83'] Exploring Operation: 82+83=165, Resulting Numbers: [165] 165,77 unequal: No Solution Exploring Operation: 83-82=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 82*83=6806, Resulting Numbers: [6806] 6806,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[84, 81], Operations: ['89/89=1', '82-1=81'] Exploring Operation: 84+81=165, Resulting Numbers: [165] 165,77 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 84*81=6804, Resulting Numbers: [6804] 6804,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[89, 77], Operations: ['89-82=7', '84-7=77'] Exploring Operation: 89*77=6853, Resulting Numbers: [6853] 6853,77 unequal: No Solution Exploring Operation: 89+77=166, Resulting Numbers: [166] 166,77 unequal: No Solution Exploring Operation: 89-77=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[84, 82], Operations: ['89-82=7', '89-7=82'] Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 84*82=6888, Resulting Numbers: [6888] 6888,77 unequal: No Solution Exploring Operation: 84+82=166, Resulting Numbers: [166] 166,77 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 86, 24, 90, 34 ]
32
[ "86+34=120", "24*120=2880", "2880/90=32" ]
Current State: 32:[86, 24, 90, 34], Operations: [] Exploring Operation: 86+34=120, Resulting Numbers: [24, 90, 120] Generated Node #2: [24, 90, 120] from Operation: 86+34=120 Current State: 32:[24, 90, 120], Operations: ['86+34=120'] Exploring Operation: 24*120=2880, Resulting Numbers: [90, 2880] Generated Node #3: [90, 2880] from Operation: 24*120=2880 Current State: 32:[90, 2880], Operations: ['86+34=120', '24*120=2880'] Exploring Operation: 2880/90=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[86, 24, 90, 34], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [24, 34, 4] Generated Node #0,0: 32:[24, 34, 4] Operation: 90-86=4 Moving to Node #0,0 Current State: 32:[24, 34, 4], Operations: ['90-86=4'] Exploring Operation: 34-24=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 32:[4, 10] Operation: 34-24=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[4, 10], Operations: ['90-86=4', '34-24=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,32 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
[ 10, 35, 82, 40 ]
84
[ "40-35=5", "10/5=2", "82+2=84" ]
Current State: 84:[10, 35, 82, 40], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [10, 82, 5] Generated Node #2: [10, 82, 5] from Operation: 40-35=5 Current State: 84:[10, 82, 5], Operations: ['40-35=5'] Exploring Operation: 10/5=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 10/5=2 Current State: 84:[82, 2], Operations: ['40-35=5', '10/5=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[10, 35, 82, 40], Operations: [] Exploring Operation: 10+35=45, Resulting Numbers: [82, 40, 45] Generated Node #0,0: 84:[82, 40, 45] Operation: 10+35=45 Exploring Operation: 35-10=25, Resulting Numbers: [82, 40, 25] Generated Node #0,1: 84:[82, 40, 25] Operation: 35-10=25 Exploring Operation: 40-35=5, Resulting Numbers: [10, 82, 5] Generated Node #0,2: 84:[10, 82, 5] Operation: 40-35=5 Exploring Operation: 40/10=4, Resulting Numbers: [35, 82, 4] Generated Node #0,3: 84:[35, 82, 4] Operation: 40/10=4 Exploring Operation: 82-35=47, Resulting Numbers: [10, 40, 47] Generated Node #0,4: 84:[10, 40, 47] Operation: 82-35=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[10, 82, 5], Operations: ['40-35=5'] Exploring Operation: 10-5=5, Resulting Numbers: [82, 5] Generated Node #0,2,0: 84:[82, 5] Operation: 10-5=5 Exploring Operation: 82+5=87, Resulting Numbers: [10, 87] Generated Node #0,2,1: 84:[10, 87] Operation: 82+5=87 Exploring Operation: 10+82=92, Resulting Numbers: [5, 92] Generated Node #0,2,2: 84:[5, 92] Operation: 10+82=92 Exploring Operation: 10/5=2, Resulting Numbers: [82, 2] Generated Node #0,2,3: 84:[82, 2] Operation: 10/5=2 Exploring Operation: 10+5=15, Resulting Numbers: [82, 15] Generated Node #0,2,4: 84:[82, 15] Operation: 10+5=15 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[82, 2], Operations: ['40-35=5', '10/5=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,84 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,84 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[10, 35, 82, 40], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [10, 82, 5] Generated Node #0,2: 84:[10, 82, 5] Operation: 40-35=5 Moving to Node #0,2 Current State: 84:[10, 82, 5], Operations: ['40-35=5'] Exploring Operation: 10/5=2, Resulting Numbers: [82, 2] Generated Node #0,2,3: 84:[82, 2] Operation: 10/5=2 Moving to Node #0,2,3 Current State: 84:[82, 2], Operations: ['40-35=5', '10/5=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 92, 89, 93, 87 ]
60
[ "92-89=3", "93+87=180", "180/3=60" ]
Current State: 60:[92, 89, 93, 87], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [93, 87, 3] Generated Node #2: [93, 87, 3] from Operation: 92-89=3 Current State: 60:[93, 87, 3], Operations: ['92-89=3'] Exploring Operation: 93+87=180, Resulting Numbers: [3, 180] Generated Node #3: [3, 180] from Operation: 93+87=180 Current State: 60:[3, 180], Operations: ['92-89=3', '93+87=180'] Exploring Operation: 180/3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[92, 89, 93, 87], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [89, 87, 1] Generated Node #0,0: 60:[89, 87, 1] Operation: 93-92=1 Moving to Node #0,0 Current State: 60:[89, 87, 1], Operations: ['93-92=1'] Exploring Operation: 89-87=2, Resulting Numbers: [1, 2] Generated Node #0,0,0: 60:[1, 2] Operation: 89-87=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[1, 2], Operations: ['93-92=1', '89-87=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,60 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
[ 31, 42, 75, 44 ]
43
[ "75-31=44", "44/44=1", "42+1=43" ]
Current State: 43:[31, 42, 75, 44], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [42, 44, 44] Generated Node #2: [42, 44, 44] from Operation: 75-31=44 Current State: 43:[42, 44, 44], Operations: ['75-31=44'] Exploring Operation: 44/44=1, Resulting Numbers: [42, 1] Generated Node #3: [42, 1] from Operation: 44/44=1 Current State: 43:[42, 1], Operations: ['75-31=44', '44/44=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[31, 42, 75, 44], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [42, 44, 44] Generated Node #0,0: 43:[42, 44, 44] Operation: 75-31=44 Exploring Operation: 75-42=33, Resulting Numbers: [31, 44, 33] Generated Node #0,1: 43:[31, 44, 33] Operation: 75-42=33 Exploring Operation: 75-44=31, Resulting Numbers: [31, 42, 31] Generated Node #0,2: 43:[31, 42, 31] Operation: 75-44=31 Moving to Node #0,0 Current State: 43:[42, 44, 44], Operations: ['75-31=44'] Exploring Operation: 44/44=1, Resulting Numbers: [42, 1] Generated Node #0,0,0: 43:[42, 1] Operation: 44/44=1 Exploring Operation: 44-42=2, Resulting Numbers: [44, 2] Generated Node #0,0,1: 43:[44, 2] Operation: 44-42=2 Exploring Operation: 44-42=2, Resulting Numbers: [44, 2] Generated Node #0,0,2: 43:[44, 2] Operation: 44-42=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[44, 2], Operations: ['75-31=44', '44-42=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[44, 2], Operations: ['75-31=44', '44-42=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,43 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[42, 1], Operations: ['75-31=44', '44/44=1'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[31, 42, 75, 44], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [42, 44, 44] Generated Node #0,0: 43:[42, 44, 44] Operation: 75-31=44 Moving to Node #0,0 Current State: 43:[42, 44, 44], Operations: ['75-31=44'] Exploring Operation: 44/44=1, Resulting Numbers: [42, 1] Generated Node #0,0,0: 43:[42, 1] Operation: 44/44=1 Moving to Node #0,0,0 Current State: 43:[42, 1], Operations: ['75-31=44', '44/44=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 99, 97, 29, 18 ]
76
[ "99-97=2", "29*2=58", "18+58=76" ]
Current State: 76:[99, 97, 29, 18], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [29, 18, 2] Generated Node #2: [29, 18, 2] from Operation: 99-97=2 Current State: 76:[29, 18, 2], Operations: ['99-97=2'] Exploring Operation: 29*2=58, Resulting Numbers: [18, 58] Generated Node #3: [18, 58] from Operation: 29*2=58 Current State: 76:[18, 58], Operations: ['99-97=2', '29*2=58'] Exploring Operation: 18+58=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[99, 97, 29, 18], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [29, 18, 2] Generated Node #0,0: 76:[29, 18, 2] Operation: 99-97=2 Exploring Operation: 99-29=70, Resulting Numbers: [97, 18, 70] Generated Node #0,1: 76:[97, 18, 70] Operation: 99-29=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[29, 18, 2], Operations: ['99-97=2'] Exploring Operation: 29+2=31, Resulting Numbers: [18, 31] Generated Node #0,0,0: 76:[18, 31] Operation: 29+2=31 Exploring Operation: 29-18=11, Resulting Numbers: [2, 11] Generated Node #0,0,1: 76:[2, 11] Operation: 29-18=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[2, 11], Operations: ['99-97=2', '29-18=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[18, 31], Operations: ['99-97=2', '29+2=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[97, 18, 70], Operations: ['99-29=70'] Exploring Operation: 97-18=79, Resulting Numbers: [70, 79] Generated Node #0,1,0: 76:[70, 79] Operation: 97-18=79 Exploring Operation: 97-70=27, Resulting Numbers: [18, 27] Generated Node #0,1,1: 76:[18, 27] Operation: 97-70=27 Moving to Node #0,1,0 Current State: 76:[70, 79], Operations: ['99-29=70', '97-18=79'] Exploring Operation: 70+79=149, Resulting Numbers: [149] 149,76 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[18, 27], Operations: ['99-29=70', '97-70=27'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,76 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
[ 13, 59, 31, 36 ]
51
[ "59-13=46", "36-31=5", "46+5=51" ]
Current State: 51:[13, 59, 31, 36], Operations: [] Exploring Operation: 59-13=46, Resulting Numbers: [31, 36, 46] Generated Node #2: [31, 36, 46] from Operation: 59-13=46 Current State: 51:[31, 36, 46], Operations: ['59-13=46'] Exploring Operation: 36-31=5, Resulting Numbers: [46, 5] Generated Node #3: [46, 5] from Operation: 36-31=5 Current State: 51:[46, 5], Operations: ['59-13=46', '36-31=5'] Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[13, 59, 31, 36], Operations: [] Exploring Operation: 59-36=23, Resulting Numbers: [13, 31, 23] Generated Node #0,0: 51:[13, 31, 23] Operation: 59-36=23 Exploring Operation: 13+36=49, Resulting Numbers: [59, 31, 49] Generated Node #0,1: 51:[59, 31, 49] Operation: 13+36=49 Exploring Operation: 31-13=18, Resulting Numbers: [59, 36, 18] Generated Node #0,2: 51:[59, 36, 18] Operation: 31-13=18 Exploring Operation: 36-31=5, Resulting Numbers: [13, 59, 5] Generated Node #0,3: 51:[13, 59, 5] Operation: 36-31=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[13, 59, 5], Operations: ['36-31=5'] Exploring Operation: 59-13=46, Resulting Numbers: [5, 46] Generated Node #0,3,0: 51:[5, 46] Operation: 59-13=46 Exploring Operation: 13+5=18, Resulting Numbers: [59, 18] Generated Node #0,3,1: 51:[59, 18] Operation: 13+5=18 Exploring Operation: 59-5=54, Resulting Numbers: [13, 54] Generated Node #0,3,2: 51:[13, 54] Operation: 59-5=54 Exploring Operation: 13-5=8, Resulting Numbers: [59, 8] Generated Node #0,3,3: 51:[59, 8] Operation: 13-5=8 Moving to Node #0,3,0 Current State: 51:[5, 46], Operations: ['36-31=5', '59-13=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,51 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[13, 59, 31, 36], Operations: [] Exploring Operation: 36-31=5, Resulting Numbers: [13, 59, 5] Generated Node #0,3: 51:[13, 59, 5] Operation: 36-31=5 Moving to Node #0,3 Current State: 51:[13, 59, 5], Operations: ['36-31=5'] Exploring Operation: 59-13=46, Resulting Numbers: [5, 46] Generated Node #0,3,0: 51:[5, 46] Operation: 59-13=46 Moving to Node #0,3,0 Current State: 51:[5, 46], Operations: ['36-31=5', '59-13=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 81, 7, 25, 73 ]
31
[ "81-73=8", "7*8=56", "56-25=31" ]
Current State: 31:[81, 7, 25, 73], Operations: [] Exploring Operation: 81-73=8, Resulting Numbers: [7, 25, 8] Generated Node #2: [7, 25, 8] from Operation: 81-73=8 Current State: 31:[7, 25, 8], Operations: ['81-73=8'] Exploring Operation: 7*8=56, Resulting Numbers: [25, 56] Generated Node #3: [25, 56] from Operation: 7*8=56 Current State: 31:[25, 56], Operations: ['81-73=8', '7*8=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[81, 7, 25, 73], Operations: [] Exploring Operation: 81-25=56, Resulting Numbers: [7, 73, 56] Generated Node #0,0: 31:[7, 73, 56] Operation: 81-25=56 Exploring Operation: 81-73=8, Resulting Numbers: [7, 25, 8] Generated Node #0,1: 31:[7, 25, 8] Operation: 81-73=8 Exploring Operation: 81-7=74, Resulting Numbers: [25, 73, 74] Generated Node #0,2: 31:[25, 73, 74] Operation: 81-7=74 Exploring Operation: 73-7=66, Resulting Numbers: [81, 25, 66] Generated Node #0,3: 31:[81, 25, 66] Operation: 73-7=66 Moving to Node #0,1 Current State: 31:[7, 25, 8], Operations: ['81-73=8'] Exploring Operation: 7+8=15, Resulting Numbers: [25, 15] Generated Node #0,1,0: 31:[25, 15] Operation: 7+8=15 Exploring Operation: 7+25=32, Resulting Numbers: [8, 32] Generated Node #0,1,1: 31:[8, 32] Operation: 7+25=32 Exploring Operation: 7*8=56, Resulting Numbers: [25, 56] Generated Node #0,1,2: 31:[25, 56] Operation: 7*8=56 Exploring Operation: 25+8=33, Resulting Numbers: [7, 33] Generated Node #0,1,3: 31:[7, 33] Operation: 25+8=33 Moving to Node #0,2 Current State: 31:[25, 73, 74], Operations: ['81-7=74'] Exploring Operation: 25+73=98, Resulting Numbers: [74, 98] Generated Node #0,2,0: 31:[74, 98] Operation: 25+73=98 Exploring Operation: 74-25=49, Resulting Numbers: [73, 49] Generated Node #0,2,1: 31:[73, 49] Operation: 74-25=49 Exploring Operation: 73-25=48, Resulting Numbers: [74, 48] Generated Node #0,2,2: 31:[74, 48] Operation: 73-25=48 Exploring Operation: 74-73=1, Resulting Numbers: [25, 1] Generated Node #0,2,3: 31:[25, 1] Operation: 74-73=1 Moving to Node #0,0 Current State: 31:[7, 73, 56], Operations: ['81-25=56'] Exploring Operation: 56/7=8, Resulting Numbers: [73, 8] Generated Node #0,0,0: 31:[73, 8] Operation: 56/7=8 Exploring Operation: 56-7=49, Resulting Numbers: [73, 49] Generated Node #0,0,1: 31:[73, 49] Operation: 56-7=49 Exploring Operation: 73-7=66, Resulting Numbers: [56, 66] Generated Node #0,0,2: 31:[56, 66] Operation: 73-7=66 Exploring Operation: 73-56=17, Resulting Numbers: [7, 17] Generated Node #0,0,3: 31:[7, 17] Operation: 73-56=17 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 31:[7, 17], Operations: ['81-25=56', '73-56=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,31 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[73, 49], Operations: ['81-25=56', '56-7=49'] Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,31 unequal: No Solution Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,31 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 31:[56, 66], Operations: ['81-25=56', '73-7=66'] Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 56*66=3696, Resulting Numbers: [3696] 3696,31 unequal: No Solution Exploring Operation: 56+66=122, Resulting Numbers: [122] 122,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[73, 8], Operations: ['81-25=56', '56/7=8'] Exploring Operation: 73*8=584, Resulting Numbers: [584] 584,31 unequal: No Solution Exploring Operation: 73+8=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,31 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: 31:[81, 25, 66], Operations: ['73-7=66'] Exploring Operation: 81+25=106, Resulting Numbers: [66, 106] Generated Node #0,3,0: 31:[66, 106] Operation: 81+25=106 Exploring Operation: 81-25=56, Resulting Numbers: [66, 56] Generated Node #0,3,1: 31:[66, 56] Operation: 81-25=56 Exploring Operation: 66-25=41, Resulting Numbers: [81, 41] Generated Node #0,3,2: 31:[81, 41] Operation: 66-25=41 Exploring Operation: 81-66=15, Resulting Numbers: [25, 15] Generated Node #0,3,3: 31:[25, 15] Operation: 81-66=15 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[25, 15], Operations: ['73-7=66', '81-66=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[66, 56], Operations: ['73-7=66', '81-25=56'] Exploring Operation: 66+56=122, Resulting Numbers: [122] 122,31 unequal: No Solution Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 66*56=3696, Resulting Numbers: [3696] 3696,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[81, 41], Operations: ['73-7=66', '66-25=41'] Exploring Operation: 81*41=3321, Resulting Numbers: [3321] 3321,31 unequal: No Solution Exploring Operation: 81-41=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 81+41=122, Resulting Numbers: [122] 122,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[66, 106], Operations: ['73-7=66', '81+25=106'] Exploring Operation: 66*106=6996, Resulting Numbers: [6996] 6996,31 unequal: No Solution Exploring Operation: 106-66=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 66+106=172, Resulting Numbers: [172] 172,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 31:[25, 15], Operations: ['81-73=8', '7+8=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,31 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[8, 32], Operations: ['81-73=8', '7+25=32'] Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,31 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[7, 33], Operations: ['81-73=8', '25+8=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[25, 56], Operations: ['81-73=8', '7*8=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[81, 7, 25, 73], Operations: [] Exploring Operation: 81-73=8, Resulting Numbers: [7, 25, 8] Generated Node #0,1: 31:[7, 25, 8] Operation: 81-73=8 Moving to Node #0,1 Current State: 31:[7, 25, 8], Operations: ['81-73=8'] Exploring Operation: 7*8=56, Resulting Numbers: [25, 56] Generated Node #0,1,2: 31:[25, 56] Operation: 7*8=56 Moving to Node #0,1,2 Current State: 31:[25, 56], Operations: ['81-73=8', '7*8=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.948785
hs_4
mult_heuristic
[ 99, 27, 1, 89 ]
37
[ "99+27=126", "1*89=89", "126-89=37" ]
Current State: 37:[99, 27, 1, 89], Operations: [] Exploring Operation: 99+27=126, Resulting Numbers: [1, 89, 126] Generated Node #2: [1, 89, 126] from Operation: 99+27=126 Current State: 37:[1, 89, 126], Operations: ['99+27=126'] Exploring Operation: 1*89=89, Resulting Numbers: [126, 89] Generated Node #3: [126, 89] from Operation: 1*89=89 Current State: 37:[126, 89], Operations: ['99+27=126', '1*89=89'] Exploring Operation: 126-89=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[99, 27, 1, 89], Operations: [] Exploring Operation: 99-1=98, Resulting Numbers: [27, 89, 98] Generated Node #0,0: 37:[27, 89, 98] Operation: 99-1=98 Exploring Operation: 99-89=10, Resulting Numbers: [27, 1, 10] Generated Node #0,1: 37:[27, 1, 10] Operation: 99-89=10 Exploring Operation: 99-27=72, Resulting Numbers: [1, 89, 72] Generated Node #0,2: 37:[1, 89, 72] Operation: 99-27=72 Moving to Node #0,1 Current State: 37:[27, 1, 10], Operations: ['99-89=10'] Exploring Operation: 27+10=37, Resulting Numbers: [1, 37] Generated Node #0,1,0: 37:[1, 37] Operation: 27+10=37 Exploring Operation: 1+10=11, Resulting Numbers: [27, 11] Generated Node #0,1,1: 37:[27, 11] Operation: 1+10=11 Exploring Operation: 27+1=28, Resulting Numbers: [10, 28] Generated Node #0,1,2: 37:[10, 28] Operation: 27+1=28 Moving to Node #0,0 Current State: 37:[27, 89, 98], Operations: ['99-1=98'] Exploring Operation: 89-27=62, Resulting Numbers: [98, 62] Generated Node #0,0,0: 37:[98, 62] Operation: 89-27=62 Exploring Operation: 98-27=71, Resulting Numbers: [89, 71] Generated Node #0,0,1: 37:[89, 71] Operation: 98-27=71 Exploring Operation: 98-89=9, Resulting Numbers: [27, 9] Generated Node #0,0,2: 37:[27, 9] Operation: 98-89=9 Moving to Node #0,2 Current State: 37:[1, 89, 72], Operations: ['99-27=72'] Exploring Operation: 89-72=17, Resulting Numbers: [1, 17] Generated Node #0,2,0: 37:[1, 17] Operation: 89-72=17 Exploring Operation: 72-1=71, Resulting Numbers: [89, 71] Generated Node #0,2,1: 37:[89, 71] Operation: 72-1=71 Exploring Operation: 89-1=88, Resulting Numbers: [72, 88] Generated Node #0,2,2: 37:[72, 88] Operation: 89-1=88 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[1, 17], Operations: ['99-27=72', '89-72=17'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,37 unequal: No Solution Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[89, 71], Operations: ['99-27=72', '72-1=71'] Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 89+71=160, Resulting Numbers: [160] 160,37 unequal: No Solution Exploring Operation: 89*71=6319, Resulting Numbers: [6319] 6319,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[72, 88], Operations: ['99-27=72', '89-1=88'] Exploring Operation: 72+88=160, Resulting Numbers: [160] 160,37 unequal: No Solution Exploring Operation: 72*88=6336, Resulting Numbers: [6336] 6336,37 unequal: No Solution Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 37:[1, 37], Operations: ['99-89=10', '27+10=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[99, 27, 1, 89], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [27, 1, 10] Generated Node #0,1: 37:[27, 1, 10] Operation: 99-89=10 Moving to Node #0,1 Current State: 37:[27, 1, 10], Operations: ['99-89=10'] Exploring Operation: 27+10=37, Resulting Numbers: [1, 37] Generated Node #0,1,0: 37:[1, 37] Operation: 27+10=37 Moving to Node #0,1,0 Current State: 37:[1, 37], Operations: ['99-89=10', '27+10=37'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 19, 95, 97, 67 ]
24
[ "67-19=48", "97-95=2", "48/2=24" ]
Current State: 24:[19, 95, 97, 67], Operations: [] Exploring Operation: 67-19=48, Resulting Numbers: [95, 97, 48] Generated Node #2: [95, 97, 48] from Operation: 67-19=48 Current State: 24:[95, 97, 48], Operations: ['67-19=48'] Exploring Operation: 97-95=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 97-95=2 Current State: 24:[48, 2], Operations: ['67-19=48', '97-95=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[19, 95, 97, 67], Operations: [] Exploring Operation: 95-19=76, Resulting Numbers: [97, 67, 76] Generated Node #0,0: 24:[97, 67, 76] Operation: 95-19=76 Exploring Operation: 95/19=5, Resulting Numbers: [97, 67, 5] Generated Node #0,1: 24:[97, 67, 5] Operation: 95/19=5 Exploring Operation: 97-67=30, Resulting Numbers: [19, 95, 30] Generated Node #0,2: 24:[19, 95, 30] Operation: 97-67=30 Exploring Operation: 95-67=28, Resulting Numbers: [19, 97, 28] Generated Node #0,3: 24:[19, 97, 28] Operation: 95-67=28 Exploring Operation: 97-95=2, Resulting Numbers: [19, 67, 2] Generated Node #0,4: 24:[19, 67, 2] Operation: 97-95=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 24:[19, 67, 2], Operations: ['97-95=2'] Exploring Operation: 67-2=65, Resulting Numbers: [19, 65] Generated Node #0,4,0: 24:[19, 65] Operation: 67-2=65 Exploring Operation: 19+2=21, Resulting Numbers: [67, 21] Generated Node #0,4,1: 24:[67, 21] Operation: 19+2=21 Exploring Operation: 67+2=69, Resulting Numbers: [19, 69] Generated Node #0,4,2: 24:[19, 69] Operation: 67+2=69 Exploring Operation: 67-19=48, Resulting Numbers: [2, 48] Generated Node #0,4,3: 24:[2, 48] Operation: 67-19=48 Exploring Operation: 19-2=17, Resulting Numbers: [67, 17] Generated Node #0,4,4: 24:[67, 17] Operation: 19-2=17 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 24:[2, 48], Operations: ['97-95=2', '67-19=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,24 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,24 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,24 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[19, 95, 97, 67], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [19, 67, 2] Generated Node #0,4: 24:[19, 67, 2] Operation: 97-95=2 Moving to Node #0,4 Current State: 24:[19, 67, 2], Operations: ['97-95=2'] Exploring Operation: 67-19=48, Resulting Numbers: [2, 48] Generated Node #0,4,3: 24:[2, 48] Operation: 67-19=48 Moving to Node #0,4,3 Current State: 24:[2, 48], Operations: ['97-95=2', '67-19=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 12, 35, 58, 69 ]
22
[ "12*69=828", "828-58=770", "770/35=22" ]
Current State: 22:[12, 35, 58, 69], Operations: [] Exploring Operation: 12*69=828, Resulting Numbers: [35, 58, 828] Generated Node #2: [35, 58, 828] from Operation: 12*69=828 Current State: 22:[35, 58, 828], Operations: ['12*69=828'] Exploring Operation: 828-58=770, Resulting Numbers: [35, 770] Generated Node #3: [35, 770] from Operation: 828-58=770 Current State: 22:[35, 770], Operations: ['12*69=828', '828-58=770'] Exploring Operation: 770/35=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[12, 35, 58, 69], Operations: [] Exploring Operation: 58-12=46, Resulting Numbers: [35, 69, 46] Generated Node #0,0: 22:[35, 69, 46] Operation: 58-12=46 Exploring Operation: 69-58=11, Resulting Numbers: [12, 35, 11] Generated Node #0,1: 22:[12, 35, 11] Operation: 69-58=11 Exploring Operation: 69-35=34, Resulting Numbers: [12, 58, 34] Generated Node #0,2: 22:[12, 58, 34] Operation: 69-35=34 Exploring Operation: 35-12=23, Resulting Numbers: [58, 69, 23] Generated Node #0,3: 22:[58, 69, 23] Operation: 35-12=23 Exploring Operation: 58-35=23, Resulting Numbers: [12, 69, 23] Generated Node #0,4: 22:[12, 69, 23] Operation: 58-35=23 Moving to Node #0,1 Current State: 22:[12, 35, 11], Operations: ['69-58=11'] Exploring Operation: 12+11=23, Resulting Numbers: [35, 23] Generated Node #0,1,0: 22:[35, 23] Operation: 12+11=23 Exploring Operation: 12+35=47, Resulting Numbers: [11, 47] Generated Node #0,1,1: 22:[11, 47] Operation: 12+35=47 Exploring Operation: 35-11=24, Resulting Numbers: [12, 24] Generated Node #0,1,2: 22:[12, 24] Operation: 35-11=24 Exploring Operation: 35-12=23, Resulting Numbers: [11, 23] Generated Node #0,1,3: 22:[11, 23] Operation: 35-12=23 Exploring Operation: 12-11=1, Resulting Numbers: [35, 1] Generated Node #0,1,4: 22:[35, 1] Operation: 12-11=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 22:[11, 23], Operations: ['69-58=11', '35-12=23'] Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,22 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[12, 24], Operations: ['69-58=11', '35-11=24'] Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,22 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[35, 23], Operations: ['69-58=11', '12+11=23'] Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,22 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,22 unequal: No Solution Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 22:[35, 1], Operations: ['69-58=11', '12-11=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[11, 47], Operations: ['69-58=11', '12+35=47'] Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,22 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 22:[12, 69, 23], Operations: ['58-35=23'] Exploring Operation: 69-23=46, Resulting Numbers: [12, 46] Generated Node #0,4,0: 22:[12, 46] Operation: 69-23=46 Exploring Operation: 69/23=3, Resulting Numbers: [12, 3] Generated Node #0,4,1: 22:[12, 3] Operation: 69/23=3 Exploring Operation: 69-12=57, Resulting Numbers: [23, 57] Generated Node #0,4,2: 22:[23, 57] Operation: 69-12=57 Exploring Operation: 23-12=11, Resulting Numbers: [69, 11] Generated Node #0,4,3: 22:[69, 11] Operation: 23-12=11 Exploring Operation: 12+69=81, Resulting Numbers: [23, 81] Generated Node #0,4,4: 22:[23, 81] Operation: 12+69=81 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 22:[12, 3], Operations: ['58-35=23', '69/23=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,22 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 22:[12, 46], Operations: ['58-35=23', '69-23=46'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,22 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 22:[23, 57], Operations: ['58-35=23', '69-12=57'] Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,22 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 23*57=1311, Resulting Numbers: [1311] 1311,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 22:[69, 11], Operations: ['58-35=23', '23-12=11'] Exploring Operation: 69*11=759, Resulting Numbers: [759] 759,22 unequal: No Solution Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,22 unequal: No Solution Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[23, 81], Operations: ['58-35=23', '12+69=81'] Exploring Operation: 23*81=1863, Resulting Numbers: [1863] 1863,22 unequal: No Solution Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,22 unequal: No Solution Exploring Operation: 23+81=104, Resulting Numbers: [104] 104,22 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: 22:[12, 58, 34], Operations: ['69-35=34'] Exploring Operation: 12+58=70, Resulting Numbers: [34, 70] Generated Node #0,2,0: 22:[34, 70] Operation: 12+58=70 Exploring Operation: 12+34=46, Resulting Numbers: [58, 46] Generated Node #0,2,1: 22:[58, 46] Operation: 12+34=46 Exploring Operation: 58-12=46, Resulting Numbers: [34, 46] Generated Node #0,2,2: 22:[34, 46] Operation: 58-12=46 Exploring Operation: 34-12=22, Resulting Numbers: [58, 22] Generated Node #0,2,3: 22:[58, 22] Operation: 34-12=22 Exploring Operation: 58-34=24, Resulting Numbers: [12, 24] Generated Node #0,2,4: 22:[12, 24] Operation: 58-34=24 Moving to Node #0,0 Current State: 22:[35, 69, 46], Operations: ['58-12=46'] Exploring Operation: 46-35=11, Resulting Numbers: [69, 11] Generated Node #0,0,0: 22:[69, 11] Operation: 46-35=11 Exploring Operation: 69-35=34, Resulting Numbers: [46, 34] Generated Node #0,0,1: 22:[46, 34] Operation: 69-35=34 Exploring Operation: 69-46=23, Resulting Numbers: [35, 23] Generated Node #0,0,2: 22:[35, 23] Operation: 69-46=23 Exploring Operation: 35+46=81, Resulting Numbers: [69, 81] Generated Node #0,0,3: 22:[69, 81] Operation: 35+46=81 Exploring Operation: 35+69=104, Resulting Numbers: [46, 104] Generated Node #0,0,4: 22:[46, 104] Operation: 35+69=104 Moving to Node #0,3 Current State: 22:[58, 69, 23], Operations: ['35-12=23'] Exploring Operation: 69-58=11, Resulting Numbers: [23, 11] Generated Node #0,3,0: 22:[23, 11] Operation: 69-58=11 Exploring Operation: 69-23=46, Resulting Numbers: [58, 46] Generated Node #0,3,1: 22:[58, 46] Operation: 69-23=46 Exploring Operation: 69/23=3, Resulting Numbers: [58, 3] Generated Node #0,3,2: 22:[58, 3] Operation: 69/23=3 Exploring Operation: 58-23=35, Resulting Numbers: [69, 35] Generated Node #0,3,3: 22:[69, 35] Operation: 58-23=35 Exploring Operation: 58+69=127, Resulting Numbers: [23, 127] Generated Node #0,3,4: 22:[23, 127] Operation: 58+69=127 Moving to Node #0,3,0 Current State: 22:[23, 11], Operations: ['35-12=23', '69-58=11'] Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,22 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,22 unequal: No Solution Moving to Node #0,2,4 Current State: 22:[12, 24], Operations: ['69-35=34', '58-34=24'] Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,22 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[35, 23], Operations: ['58-12=46', '69-46=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,22 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[46, 34], Operations: ['58-12=46', '69-35=34'] Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,22 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[58, 22], Operations: ['69-35=34', '34-12=22'] Exploring Operation: 58+22=80, Resulting Numbers: [80] 80,22 unequal: No Solution Exploring Operation: 58-22=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 58*22=1276, Resulting Numbers: [1276] 1276,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[34, 46], Operations: ['69-35=34', '58-12=46'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,22 unequal: No Solution Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[58, 3], Operations: ['35-12=23', '69/23=3'] Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,22 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,22 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[69, 11], Operations: ['58-12=46', '46-35=11'] Exploring Operation: 69*11=759, Resulting Numbers: [759] 759,22 unequal: No Solution Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,22 unequal: No Solution Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[69, 35], Operations: ['35-12=23', '58-23=35'] Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,22 unequal: No Solution Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,22 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[58, 46], Operations: ['35-12=23', '69-23=46'] Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,22 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[58, 46], Operations: ['69-35=34', '12+34=46'] Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,22 unequal: No Solution Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,22 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[34, 70], Operations: ['69-35=34', '12+58=70'] Exploring Operation: 34*70=2380, Resulting Numbers: [2380] 2380,22 unequal: No Solution Exploring Operation: 34+70=104, Resulting Numbers: [104] 104,22 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,22 unequal: No Solution Moving to Node #0,3,4 Current State: 22:[23, 127], Operations: ['35-12=23', '58+69=127'] Exploring Operation: 23*127=2921, Resulting Numbers: [2921] 2921,22 unequal: No Solution Exploring Operation: 127-23=104, Resulting Numbers: [104] 104,22 unequal: No Solution Exploring Operation: 23+127=150, Resulting Numbers: [150] 150,22 unequal: No Solution Moving to Node #0,0,4 Current State: 22:[46, 104], Operations: ['58-12=46', '35+69=104'] Exploring Operation: 46*104=4784, Resulting Numbers: [4784] 4784,22 unequal: No Solution Exploring Operation: 46+104=150, Resulting Numbers: [150] 150,22 unequal: No Solution Exploring Operation: 104-46=58, Resulting Numbers: [58] 58,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[69, 81], Operations: ['58-12=46', '35+46=81'] Exploring Operation: 69*81=5589, Resulting Numbers: [5589] 5589,22 unequal: No Solution Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 69+81=150, Resulting Numbers: [150] 150,22 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 62, 95, 46, 85 ]
72
[ "95-62=33", "85-46=39", "33+39=72" ]
Current State: 72:[62, 95, 46, 85], Operations: [] Exploring Operation: 95-62=33, Resulting Numbers: [46, 85, 33] Generated Node #2: [46, 85, 33] from Operation: 95-62=33 Current State: 72:[46, 85, 33], Operations: ['95-62=33'] Exploring Operation: 85-46=39, Resulting Numbers: [33, 39] Generated Node #3: [33, 39] from Operation: 85-46=39 Current State: 72:[33, 39], Operations: ['95-62=33', '85-46=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[62, 95, 46, 85], Operations: [] Exploring Operation: 95-85=10, Resulting Numbers: [62, 46, 10] Generated Node #0,0: 72:[62, 46, 10] Operation: 95-85=10 Exploring Operation: 95-62=33, Resulting Numbers: [46, 85, 33] Generated Node #0,1: 72:[46, 85, 33] Operation: 95-62=33 Exploring Operation: 95-46=49, Resulting Numbers: [62, 85, 49] Generated Node #0,2: 72:[62, 85, 49] Operation: 95-46=49 Exploring Operation: 85-62=23, Resulting Numbers: [95, 46, 23] Generated Node #0,3: 72:[95, 46, 23] Operation: 85-62=23 Exploring Operation: 85-46=39, Resulting Numbers: [62, 95, 39] Generated Node #0,4: 72:[62, 95, 39] Operation: 85-46=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[62, 46, 10], Operations: ['95-85=10'] Exploring Operation: 46+10=56, Resulting Numbers: [62, 56] Generated Node #0,0,0: 72:[62, 56] Operation: 46+10=56 Exploring Operation: 62-10=52, Resulting Numbers: [46, 52] Generated Node #0,0,1: 72:[46, 52] Operation: 62-10=52 Exploring Operation: 46-10=36, Resulting Numbers: [62, 36] Generated Node #0,0,2: 72:[62, 36] Operation: 46-10=36 Exploring Operation: 62+10=72, Resulting Numbers: [46, 72] Generated Node #0,0,3: 72:[46, 72] Operation: 62+10=72 Exploring Operation: 62-46=16, Resulting Numbers: [10, 16] Generated Node #0,0,4: 72:[10, 16] Operation: 62-46=16 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 72:[10, 16], Operations: ['95-85=10', '62-46=16'] Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,72 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,72 unequal: No Solution No 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: 72:[62, 36], Operations: ['95-85=10', '46-10=36'] Exploring Operation: 62+36=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 62*36=2232, Resulting Numbers: [2232] 2232,72 unequal: No Solution No 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: 72:[46, 72], Operations: ['95-85=10', '62+10=72'] Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 46+72=118, Resulting Numbers: [118] 118,72 unequal: No Solution Exploring Operation: 46*72=3312, Resulting Numbers: [3312] 3312,72 unequal: No Solution No 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: 72:[62, 56], Operations: ['95-85=10', '46+10=56'] Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,72 unequal: No Solution Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,72 unequal: No Solution No 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: 72:[46, 52], Operations: ['95-85=10', '62-10=52'] Exploring Operation: 46+52=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 46*52=2392, Resulting Numbers: [2392] 2392,72 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: 72:[46, 85, 33], Operations: ['95-62=33'] Exploring Operation: 85-46=39, Resulting Numbers: [33, 39] Generated Node #0,1,0: 72:[33, 39] Operation: 85-46=39 Exploring Operation: 85-33=52, Resulting Numbers: [46, 52] Generated Node #0,1,1: 72:[46, 52] Operation: 85-33=52 Exploring Operation: 85+33=118, Resulting Numbers: [46, 118] Generated Node #0,1,2: 72:[46, 118] Operation: 85+33=118 Exploring Operation: 46+33=79, Resulting Numbers: [85, 79] Generated Node #0,1,3: 72:[85, 79] Operation: 46+33=79 Exploring Operation: 46-33=13, Resulting Numbers: [85, 13] Generated Node #0,1,4: 72:[85, 13] Operation: 46-33=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[33, 39], Operations: ['95-62=33', '85-46=39'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[62, 95, 46, 85], Operations: [] Exploring Operation: 95-62=33, Resulting Numbers: [46, 85, 33] Generated Node #0,1: 72:[46, 85, 33] Operation: 95-62=33 Moving to Node #0,1 Current State: 72:[46, 85, 33], Operations: ['95-62=33'] Exploring Operation: 85-46=39, Resulting Numbers: [33, 39] Generated Node #0,1,0: 72:[33, 39] Operation: 85-46=39 Moving to Node #0,1,0 Current State: 72:[33, 39], Operations: ['95-62=33', '85-46=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 63, 62, 16, 55 ]
39
[ "63-62=1", "55-16=39", "1*39=39" ]
Current State: 39:[63, 62, 16, 55], Operations: [] Exploring Operation: 63-62=1, Resulting Numbers: [16, 55, 1] Generated Node #2: [16, 55, 1] from Operation: 63-62=1 Current State: 39:[16, 55, 1], Operations: ['63-62=1'] Exploring Operation: 55-16=39, Resulting Numbers: [1, 39] Generated Node #3: [1, 39] from Operation: 55-16=39 Current State: 39:[1, 39], Operations: ['63-62=1', '55-16=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[63, 62, 16, 55], Operations: [] Exploring Operation: 62-55=7, Resulting Numbers: [63, 16, 7] Generated Node #0,0: 39:[63, 16, 7] Operation: 62-55=7 Exploring Operation: 63-55=8, Resulting Numbers: [62, 16, 8] Generated Node #0,1: 39:[62, 16, 8] Operation: 63-55=8 Exploring Operation: 63-62=1, Resulting Numbers: [16, 55, 1] Generated Node #0,2: 39:[16, 55, 1] Operation: 63-62=1 Exploring Operation: 63-16=47, Resulting Numbers: [62, 55, 47] Generated Node #0,3: 39:[62, 55, 47] Operation: 63-16=47 Moving to Node #0,2 Current State: 39:[16, 55, 1], Operations: ['63-62=1'] Exploring Operation: 16-1=15, Resulting Numbers: [55, 15] Generated Node #0,2,0: 39:[55, 15] Operation: 16-1=15 Exploring Operation: 55-1=54, Resulting Numbers: [16, 54] Generated Node #0,2,1: 39:[16, 54] Operation: 55-1=54 Exploring Operation: 55-16=39, Resulting Numbers: [1, 39] Generated Node #0,2,2: 39:[1, 39] Operation: 55-16=39 Exploring Operation: 16*1=16, Resulting Numbers: [55, 16] Generated Node #0,2,3: 39:[55, 16] Operation: 16*1=16 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[1, 39], Operations: ['63-62=1', '55-16=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[63, 62, 16, 55], Operations: [] Exploring Operation: 63-62=1, Resulting Numbers: [16, 55, 1] Generated Node #0,2: 39:[16, 55, 1] Operation: 63-62=1 Moving to Node #0,2 Current State: 39:[16, 55, 1], Operations: ['63-62=1'] Exploring Operation: 55-16=39, Resulting Numbers: [1, 39] Generated Node #0,2,2: 39:[1, 39] Operation: 55-16=39 Moving to Node #0,2,2 Current State: 39:[1, 39], Operations: ['63-62=1', '55-16=39'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 93, 25, 75, 22 ]
15
[ "93-25=68", "75-22=53", "68-53=15" ]
Current State: 15:[93, 25, 75, 22], Operations: [] Exploring Operation: 93-25=68, Resulting Numbers: [75, 22, 68] Generated Node #2: [75, 22, 68] from Operation: 93-25=68 Current State: 15:[75, 22, 68], Operations: ['93-25=68'] Exploring Operation: 75-22=53, Resulting Numbers: [68, 53] Generated Node #3: [68, 53] from Operation: 75-22=53 Current State: 15:[68, 53], Operations: ['93-25=68', '75-22=53'] Exploring Operation: 68-53=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[93, 25, 75, 22], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [25, 22, 18] Generated Node #0,0: 15:[25, 22, 18] Operation: 93-75=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[25, 22, 18], Operations: ['93-75=18'] Exploring Operation: 25-22=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 15:[18, 3] Operation: 25-22=3 Moving to Node #0,0,0 Current State: 15:[18, 3], Operations: ['93-75=18', '25-22=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[93, 25, 75, 22], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [25, 22, 18] Generated Node #0,0: 15:[25, 22, 18] Operation: 93-75=18 Moving to Node #0,0 Current State: 15:[25, 22, 18], Operations: ['93-75=18'] Exploring Operation: 25-22=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 15:[18, 3] Operation: 25-22=3 Moving to Node #0,0,0 Current State: 15:[18, 3], Operations: ['93-75=18', '25-22=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 41, 19, 68, 65 ]
48
[ "68+65=133", "133/19=7", "41+7=48" ]
Current State: 48:[41, 19, 68, 65], Operations: [] Exploring Operation: 68+65=133, Resulting Numbers: [41, 19, 133] Generated Node #2: [41, 19, 133] from Operation: 68+65=133 Current State: 48:[41, 19, 133], Operations: ['68+65=133'] Exploring Operation: 133/19=7, Resulting Numbers: [41, 7] Generated Node #3: [41, 7] from Operation: 133/19=7 Current State: 48:[41, 7], Operations: ['68+65=133', '133/19=7'] Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[41, 19, 68, 65], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [41, 19, 3] Generated Node #0,0: 48:[41, 19, 3] Operation: 68-65=3 Exploring Operation: 68-41=27, Resulting Numbers: [19, 65, 27] Generated Node #0,1: 48:[19, 65, 27] Operation: 68-41=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[41, 19, 3], Operations: ['68-65=3'] Exploring Operation: 41-19=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 48:[3, 22] Operation: 41-19=22 Exploring Operation: 41+3=44, Resulting Numbers: [19, 44] Generated Node #0,0,1: 48:[19, 44] Operation: 41+3=44 Moving to Node #0,0,0 Current State: 48:[3, 22], Operations: ['68-65=3', '41-19=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[19, 44], Operations: ['68-65=3', '41+3=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[19, 65, 27], Operations: ['68-41=27'] Exploring Operation: 65-19=46, Resulting Numbers: [27, 46] Generated Node #0,1,0: 48:[27, 46] Operation: 65-19=46 Exploring Operation: 65-27=38, Resulting Numbers: [19, 38] Generated Node #0,1,1: 48:[19, 38] Operation: 65-27=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[27, 46], Operations: ['68-41=27', '65-19=46'] Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,48 unequal: No Solution No 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: 48:[19, 38], Operations: ['68-41=27', '65-27=38'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,48 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
[ 42, 39, 90, 48 ]
46
[ "42-39=3", "90+48=138", "138/3=46" ]
Current State: 46:[42, 39, 90, 48], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [90, 48, 3] Generated Node #2: [90, 48, 3] from Operation: 42-39=3 Current State: 46:[90, 48, 3], Operations: ['42-39=3'] Exploring Operation: 90+48=138, Resulting Numbers: [3, 138] Generated Node #3: [3, 138] from Operation: 90+48=138 Current State: 46:[3, 138], Operations: ['42-39=3', '90+48=138'] Exploring Operation: 138/3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[42, 39, 90, 48], Operations: [] Exploring Operation: 90-39=51, Resulting Numbers: [42, 48, 51] Generated Node #0,0: 46:[42, 48, 51] Operation: 90-39=51 Exploring Operation: 90-42=48, Resulting Numbers: [39, 48, 48] Generated Node #0,1: 46:[39, 48, 48] Operation: 90-42=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[42, 48, 51], Operations: ['90-39=51'] Exploring Operation: 51-48=3, Resulting Numbers: [42, 3] Generated Node #0,0,0: 46:[42, 3] Operation: 51-48=3 Exploring Operation: 48-42=6, Resulting Numbers: [51, 6] Generated Node #0,0,1: 46:[51, 6] Operation: 48-42=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[42, 3], Operations: ['90-39=51', '51-48=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[51, 6], Operations: ['90-39=51', '48-42=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[39, 48, 48], Operations: ['90-42=48'] Exploring Operation: 48-39=9, Resulting Numbers: [48, 9] Generated Node #0,1,0: 46:[48, 9] Operation: 48-39=9 Exploring Operation: 48/48=1, Resulting Numbers: [39, 1] Generated Node #0,1,1: 46:[39, 1] Operation: 48/48=1 Moving to Node #0,1,1 Current State: 46:[39, 1], Operations: ['90-42=48', '48/48=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[48, 9], Operations: ['90-42=48', '48-39=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,46 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
[ 66, 23, 91, 33 ]
34
[ "66/33=2", "91-23=68", "68/2=34" ]
Current State: 34:[66, 23, 91, 33], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [23, 91, 2] Generated Node #2: [23, 91, 2] from Operation: 66/33=2 Current State: 34:[23, 91, 2], Operations: ['66/33=2'] Exploring Operation: 91-23=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 91-23=68 Current State: 34:[2, 68], Operations: ['66/33=2', '91-23=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[66, 23, 91, 33], Operations: [] Exploring Operation: 91-33=58, Resulting Numbers: [66, 23, 58] Generated Node #0,0: 34:[66, 23, 58] Operation: 91-33=58 Exploring Operation: 91-66=25, Resulting Numbers: [23, 33, 25] Generated Node #0,1: 34:[23, 33, 25] Operation: 91-66=25 Moving to Node #0,1 Current State: 34:[23, 33, 25], Operations: ['91-66=25'] Exploring Operation: 25-23=2, Resulting Numbers: [33, 2] Generated Node #0,1,0: 34:[33, 2] Operation: 25-23=2 Exploring Operation: 33-25=8, Resulting Numbers: [23, 8] Generated Node #0,1,1: 34:[23, 8] Operation: 33-25=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[33, 2], Operations: ['91-66=25', '25-23=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[23, 8], Operations: ['91-66=25', '33-25=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,34 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: 34:[66, 23, 58], Operations: ['91-33=58'] Exploring Operation: 66-23=43, Resulting Numbers: [58, 43] Generated Node #0,0,0: 34:[58, 43] Operation: 66-23=43 Exploring Operation: 66-58=8, Resulting Numbers: [23, 8] Generated Node #0,0,1: 34:[23, 8] Operation: 66-58=8 Moving to Node #0,0,1 Current State: 34:[23, 8], Operations: ['91-33=58', '66-58=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[58, 43], Operations: ['91-33=58', '66-23=43'] Exploring Operation: 58+43=101, Resulting Numbers: [101] 101,34 unequal: No Solution Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,34 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 96, 91, 2, 25 ]
75
[ "96-91=5", "5-2=3", "25*3=75" ]
Current State: 75:[96, 91, 2, 25], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [2, 25, 5] Generated Node #2: [2, 25, 5] from Operation: 96-91=5 Current State: 75:[2, 25, 5], Operations: ['96-91=5'] Exploring Operation: 5-2=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 5-2=3 Current State: 75:[25, 3], Operations: ['96-91=5', '5-2=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[96, 91, 2, 25], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [96, 2, 66] Generated Node #0,0: 75:[96, 2, 66] Operation: 91-25=66 Exploring Operation: 91-2=89, Resulting Numbers: [96, 25, 89] Generated Node #0,1: 75:[96, 25, 89] Operation: 91-2=89 Exploring Operation: 96-2=94, Resulting Numbers: [91, 25, 94] Generated Node #0,2: 75:[91, 25, 94] Operation: 96-2=94 Exploring Operation: 96-91=5, Resulting Numbers: [2, 25, 5] Generated Node #0,3: 75:[2, 25, 5] Operation: 96-91=5 Exploring Operation: 96-25=71, Resulting Numbers: [91, 2, 71] Generated Node #0,4: 75:[91, 2, 71] Operation: 96-25=71 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[2, 25, 5], Operations: ['96-91=5'] Exploring Operation: 25/5=5, Resulting Numbers: [2, 5] Generated Node #0,3,0: 75:[2, 5] Operation: 25/5=5 Exploring Operation: 25-2=23, Resulting Numbers: [5, 23] Generated Node #0,3,1: 75:[5, 23] Operation: 25-2=23 Exploring Operation: 5-2=3, Resulting Numbers: [25, 3] Generated Node #0,3,2: 75:[25, 3] Operation: 5-2=3 Exploring Operation: 2+25=27, Resulting Numbers: [5, 27] Generated Node #0,3,3: 75:[5, 27] Operation: 2+25=27 Exploring Operation: 2+5=7, Resulting Numbers: [25, 7] Generated Node #0,3,4: 75:[25, 7] Operation: 2+5=7 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 75:[25, 3], Operations: ['96-91=5', '5-2=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[96, 91, 2, 25], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [2, 25, 5] Generated Node #0,3: 75:[2, 25, 5] Operation: 96-91=5 Moving to Node #0,3 Current State: 75:[2, 25, 5], Operations: ['96-91=5'] Exploring Operation: 5-2=3, Resulting Numbers: [25, 3] Generated Node #0,3,2: 75:[25, 3] Operation: 5-2=3 Moving to Node #0,3,2 Current State: 75:[25, 3], Operations: ['96-91=5', '5-2=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 27, 33, 21, 98 ]
75
[ "21*98=2058", "2058-33=2025", "2025/27=75" ]
Current State: 75:[27, 33, 21, 98], Operations: [] Exploring Operation: 21*98=2058, Resulting Numbers: [27, 33, 2058] Generated Node #2: [27, 33, 2058] from Operation: 21*98=2058 Current State: 75:[27, 33, 2058], Operations: ['21*98=2058'] Exploring Operation: 2058-33=2025, Resulting Numbers: [27, 2025] Generated Node #3: [27, 2025] from Operation: 2058-33=2025 Current State: 75:[27, 2025], Operations: ['21*98=2058', '2058-33=2025'] Exploring Operation: 2025/27=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[27, 33, 21, 98], Operations: [] Exploring Operation: 98-27=71, Resulting Numbers: [33, 21, 71] Generated Node #0,0: 75:[33, 21, 71] Operation: 98-27=71 Exploring Operation: 98-21=77, Resulting Numbers: [27, 33, 77] Generated Node #0,1: 75:[27, 33, 77] Operation: 98-21=77 Exploring Operation: 98-33=65, Resulting Numbers: [27, 21, 65] Generated Node #0,2: 75:[27, 21, 65] Operation: 98-33=65 Exploring Operation: 33-27=6, Resulting Numbers: [21, 98, 6] Generated Node #0,3: 75:[21, 98, 6] Operation: 33-27=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[27, 33, 77], Operations: ['98-21=77'] Exploring Operation: 33-27=6, Resulting Numbers: [77, 6] Generated Node #0,1,0: 75:[77, 6] Operation: 33-27=6 Exploring Operation: 77-27=50, Resulting Numbers: [33, 50] Generated Node #0,1,1: 75:[33, 50] Operation: 77-27=50 Exploring Operation: 27+33=60, Resulting Numbers: [77, 60] Generated Node #0,1,2: 75:[77, 60] Operation: 27+33=60 Exploring Operation: 77-33=44, Resulting Numbers: [27, 44] Generated Node #0,1,3: 75:[27, 44] Operation: 77-33=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[77, 6], Operations: ['98-21=77', '33-27=6'] Exploring Operation: 77*6=462, Resulting Numbers: [462] 462,75 unequal: No Solution Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,75 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[77, 60], Operations: ['98-21=77', '27+33=60'] Exploring Operation: 77+60=137, Resulting Numbers: [137] 137,75 unequal: No Solution Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,75 unequal: No Solution Exploring Operation: 77*60=4620, Resulting Numbers: [4620] 4620,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[27, 44], Operations: ['98-21=77', '77-33=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,75 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[33, 50], Operations: ['98-21=77', '77-27=50'] Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,75 unequal: No Solution Exploring Operation: 33+50=83, Resulting Numbers: [83] 83,75 unequal: No Solution Exploring Operation: 33*50=1650, Resulting Numbers: [1650] 1650,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[33, 21, 71], Operations: ['98-27=71'] Exploring Operation: 33+21=54, Resulting Numbers: [71, 54] Generated Node #0,0,0: 75:[71, 54] Operation: 33+21=54 Exploring Operation: 71-33=38, Resulting Numbers: [21, 38] Generated Node #0,0,1: 75:[21, 38] Operation: 71-33=38 Exploring Operation: 33-21=12, Resulting Numbers: [71, 12] Generated Node #0,0,2: 75:[71, 12] Operation: 33-21=12 Exploring Operation: 21+71=92, Resulting Numbers: [33, 92] Generated Node #0,0,3: 75:[33, 92] Operation: 21+71=92 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[71, 12], Operations: ['98-27=71', '33-21=12'] Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,75 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[21, 38], Operations: ['98-27=71', '71-33=38'] Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,75 unequal: No Solution Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[71, 54], Operations: ['98-27=71', '33+21=54'] Exploring Operation: 71*54=3834, Resulting Numbers: [3834] 3834,75 unequal: No Solution Exploring Operation: 71+54=125, Resulting Numbers: [125] 125,75 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 75:[33, 92], Operations: ['98-27=71', '21+71=92'] Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 33*92=3036, Resulting Numbers: [3036] 3036,75 unequal: No Solution Exploring Operation: 33+92=125, Resulting Numbers: [125] 125,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[27, 21, 65], Operations: ['98-33=65'] Exploring Operation: 65-27=38, Resulting Numbers: [21, 38] Generated Node #0,2,0: 75:[21, 38] Operation: 65-27=38 Exploring Operation: 27-21=6, Resulting Numbers: [65, 6] Generated Node #0,2,1: 75:[65, 6] Operation: 27-21=6 Exploring Operation: 21+65=86, Resulting Numbers: [27, 86] Generated Node #0,2,2: 75:[27, 86] Operation: 21+65=86 Exploring Operation: 27+65=92, Resulting Numbers: [21, 92] Generated Node #0,2,3: 75:[21, 92] Operation: 27+65=92 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 75:[65, 6], Operations: ['98-33=65', '27-21=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 65*6=390, Resulting Numbers: [390] 390,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 75:[27, 86], Operations: ['98-33=65', '21+65=86'] Exploring Operation: 86-27=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 27+86=113, Resulting Numbers: [113] 113,75 unequal: No Solution Exploring Operation: 27*86=2322, Resulting Numbers: [2322] 2322,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[21, 38], Operations: ['98-33=65', '65-27=38'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,75 unequal: No Solution Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,75 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 75:[21, 92], Operations: ['98-33=65', '27+65=92'] Exploring Operation: 21+92=113, Resulting Numbers: [113] 113,75 unequal: No Solution Exploring Operation: 21*92=1932, Resulting Numbers: [1932] 1932,75 unequal: No Solution Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[21, 98, 6], Operations: ['33-27=6'] Exploring Operation: 98-21=77, Resulting Numbers: [6, 77] Generated Node #0,3,0: 75:[6, 77] Operation: 98-21=77 Exploring Operation: 21+6=27, Resulting Numbers: [98, 27] Generated Node #0,3,1: 75:[98, 27] Operation: 21+6=27 Exploring Operation: 98-6=92, Resulting Numbers: [21, 92] Generated Node #0,3,2: 75:[21, 92] Operation: 98-6=92 Exploring Operation: 21-6=15, Resulting Numbers: [98, 15] Generated Node #0,3,3: 75:[98, 15] Operation: 21-6=15 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 75:[6, 77], Operations: ['33-27=6', '98-21=77'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,75 unequal: No Solution Exploring Operation: 6*77=462, Resulting Numbers: [462] 462,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 75:[21, 92], Operations: ['33-27=6', '98-6=92'] Exploring Operation: 21+92=113, Resulting Numbers: [113] 113,75 unequal: No Solution Exploring Operation: 21*92=1932, Resulting Numbers: [1932] 1932,75 unequal: No Solution Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 75:[98, 15], Operations: ['33-27=6', '21-6=15'] Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,75 unequal: No Solution Exploring Operation: 98*15=1470, Resulting Numbers: [1470] 1470,75 unequal: No Solution Exploring Operation: 98+15=113, Resulting Numbers: [113] 113,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 75:[98, 27], Operations: ['33-27=6', '21+6=27'] Exploring Operation: 98+27=125, Resulting Numbers: [125] 125,75 unequal: No Solution Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 98*27=2646, Resulting Numbers: [2646] 2646,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 22, 7, 69, 18 ]
31
[ "22+69=91", "91/7=13", "18+13=31" ]
Current State: 31:[22, 7, 69, 18], Operations: [] Exploring Operation: 22+69=91, Resulting Numbers: [7, 18, 91] Generated Node #2: [7, 18, 91] from Operation: 22+69=91 Current State: 31:[7, 18, 91], Operations: ['22+69=91'] Exploring Operation: 91/7=13, Resulting Numbers: [18, 13] Generated Node #3: [18, 13] from Operation: 91/7=13 Current State: 31:[18, 13], Operations: ['22+69=91', '91/7=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[22, 7, 69, 18], Operations: [] Exploring Operation: 22+7=29, Resulting Numbers: [69, 18, 29] Generated Node #0,0: 31:[69, 18, 29] Operation: 22+7=29 Moving to Node #0,0 Current State: 31:[69, 18, 29], Operations: ['22+7=29'] Exploring Operation: 69-18=51, Resulting Numbers: [29, 51] Generated Node #0,0,0: 31:[29, 51] Operation: 69-18=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[29, 51], Operations: ['22+7=29', '69-18=51'] Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,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
[ 46, 10, 60, 8 ]
76
[ "10-8=2", "60/2=30", "46+30=76" ]
Current State: 76:[46, 10, 60, 8], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [46, 60, 2] Generated Node #2: [46, 60, 2] from Operation: 10-8=2 Current State: 76:[46, 60, 2], Operations: ['10-8=2'] Exploring Operation: 60/2=30, Resulting Numbers: [46, 30] Generated Node #3: [46, 30] from Operation: 60/2=30 Current State: 76:[46, 30], Operations: ['10-8=2', '60/2=30'] Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[46, 10, 60, 8], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [46, 8, 6] Generated Node #0,0: 76:[46, 8, 6] Operation: 60/10=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[46, 8, 6], Operations: ['60/10=6'] Exploring Operation: 46-8=38, Resulting Numbers: [6, 38] Generated Node #0,0,0: 76:[6, 38] Operation: 46-8=38 Moving to Node #0,0,0 Current State: 76:[6, 38], Operations: ['60/10=6', '46-8=38'] Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 27, 46, 63, 81 ]
51
[ "81/27=3", "63-46=17", "3*17=51" ]
Current State: 51:[27, 46, 63, 81], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [46, 63, 3] Generated Node #2: [46, 63, 3] from Operation: 81/27=3 Current State: 51:[46, 63, 3], Operations: ['81/27=3'] Exploring Operation: 63-46=17, Resulting Numbers: [3, 17] Generated Node #3: [3, 17] from Operation: 63-46=17 Current State: 51:[3, 17], Operations: ['81/27=3', '63-46=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[27, 46, 63, 81], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [46, 63, 3] Generated Node #0,0: 51:[46, 63, 3] Operation: 81/27=3 Exploring Operation: 81-63=18, Resulting Numbers: [27, 46, 18] Generated Node #0,1: 51:[27, 46, 18] Operation: 81-63=18 Exploring Operation: 81-27=54, Resulting Numbers: [46, 63, 54] Generated Node #0,2: 51:[46, 63, 54] Operation: 81-27=54 Moving to Node #0,1 Current State: 51:[27, 46, 18], Operations: ['81-63=18'] Exploring Operation: 27+18=45, Resulting Numbers: [46, 45] Generated Node #0,1,0: 51:[46, 45] Operation: 27+18=45 Exploring Operation: 46-27=19, Resulting Numbers: [18, 19] Generated Node #0,1,1: 51:[18, 19] Operation: 46-27=19 Exploring Operation: 27-18=9, Resulting Numbers: [46, 9] Generated Node #0,1,2: 51:[46, 9] Operation: 27-18=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[18, 19], Operations: ['81-63=18', '46-27=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[46, 45], Operations: ['81-63=18', '27+18=45'] Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 46+45=91, Resulting Numbers: [91] 91,51 unequal: No Solution Exploring Operation: 46*45=2070, Resulting Numbers: [2070] 2070,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 51:[46, 9], Operations: ['81-63=18', '27-18=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,51 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,51 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: 51:[46, 63, 3], Operations: ['81/27=3'] Exploring Operation: 63/3=21, Resulting Numbers: [46, 21] Generated Node #0,0,0: 51:[46, 21] Operation: 63/3=21 Exploring Operation: 46+3=49, Resulting Numbers: [63, 49] Generated Node #0,0,1: 51:[63, 49] Operation: 46+3=49 Exploring Operation: 63-46=17, Resulting Numbers: [3, 17] Generated Node #0,0,2: 51:[3, 17] Operation: 63-46=17 Moving to Node #0,2 Current State: 51:[46, 63, 54], Operations: ['81-27=54'] Exploring Operation: 63-54=9, Resulting Numbers: [46, 9] Generated Node #0,2,0: 51:[46, 9] Operation: 63-54=9 Exploring Operation: 54-46=8, Resulting Numbers: [63, 8] Generated Node #0,2,1: 51:[63, 8] Operation: 54-46=8 Exploring Operation: 63-46=17, Resulting Numbers: [54, 17] Generated Node #0,2,2: 51:[54, 17] Operation: 63-46=17 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[54, 17], Operations: ['81-27=54', '63-46=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,51 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[46, 9], Operations: ['81-27=54', '63-54=9'] Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,51 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[63, 8], Operations: ['81-27=54', '54-46=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,51 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: 51:[3, 17], Operations: ['81/27=3', '63-46=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[27, 46, 63, 81], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [46, 63, 3] Generated Node #0,0: 51:[46, 63, 3] Operation: 81/27=3 Moving to Node #0,0 Current State: 51:[46, 63, 3], Operations: ['81/27=3'] Exploring Operation: 63-46=17, Resulting Numbers: [3, 17] Generated Node #0,0,2: 51:[3, 17] Operation: 63-46=17 Moving to Node #0,0,2 Current State: 51:[3, 17], Operations: ['81/27=3', '63-46=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.967882
hs_3
mult_heuristic
[ 46, 73, 57, 82 ]
94
[ "46+73=119", "82-57=25", "119-25=94" ]
Current State: 94:[46, 73, 57, 82], Operations: [] Exploring Operation: 46+73=119, Resulting Numbers: [57, 82, 119] Generated Node #2: [57, 82, 119] from Operation: 46+73=119 Current State: 94:[57, 82, 119], Operations: ['46+73=119'] Exploring Operation: 82-57=25, Resulting Numbers: [119, 25] Generated Node #3: [119, 25] from Operation: 82-57=25 Current State: 94:[119, 25], Operations: ['46+73=119', '82-57=25'] Exploring Operation: 119-25=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[46, 73, 57, 82], Operations: [] Exploring Operation: 46+57=103, Resulting Numbers: [73, 82, 103] Generated Node #0,0: 94:[73, 82, 103] Operation: 46+57=103 Exploring Operation: 73-57=16, Resulting Numbers: [46, 82, 16] Generated Node #0,1: 94:[46, 82, 16] Operation: 73-57=16 Exploring Operation: 82-73=9, Resulting Numbers: [46, 57, 9] Generated Node #0,2: 94:[46, 57, 9] Operation: 82-73=9 Exploring Operation: 73-46=27, Resulting Numbers: [57, 82, 27] Generated Node #0,3: 94:[57, 82, 27] Operation: 73-46=27 Moving to Node #0,2 Current State: 94:[46, 57, 9], Operations: ['82-73=9'] Exploring Operation: 46+9=55, Resulting Numbers: [57, 55] Generated Node #0,2,0: 94:[57, 55] Operation: 46+9=55 Exploring Operation: 57-9=48, Resulting Numbers: [46, 48] Generated Node #0,2,1: 94:[46, 48] Operation: 57-9=48 Exploring Operation: 57-46=11, Resulting Numbers: [9, 11] Generated Node #0,2,2: 94:[9, 11] Operation: 57-46=11 Exploring Operation: 46+57=103, Resulting Numbers: [9, 103] Generated Node #0,2,3: 94:[9, 103] Operation: 46+57=103 Moving to Node #0,1 Current State: 94:[46, 82, 16], Operations: ['73-57=16'] Exploring Operation: 82+16=98, Resulting Numbers: [46, 98] Generated Node #0,1,0: 94:[46, 98] Operation: 82+16=98 Exploring Operation: 82-16=66, Resulting Numbers: [46, 66] Generated Node #0,1,1: 94:[46, 66] Operation: 82-16=66 Exploring Operation: 82-46=36, Resulting Numbers: [16, 36] Generated Node #0,1,2: 94:[16, 36] Operation: 82-46=36 Exploring Operation: 46+16=62, Resulting Numbers: [82, 62] Generated Node #0,1,3: 94:[82, 62] Operation: 46+16=62 Moving to Node #0,3 Current State: 94:[57, 82, 27], Operations: ['73-46=27'] Exploring Operation: 82+27=109, Resulting Numbers: [57, 109] Generated Node #0,3,0: 94:[57, 109] Operation: 82+27=109 Exploring Operation: 57-27=30, Resulting Numbers: [82, 30] Generated Node #0,3,1: 94:[82, 30] Operation: 57-27=30 Exploring Operation: 57+27=84, Resulting Numbers: [82, 84] Generated Node #0,3,2: 94:[82, 84] Operation: 57+27=84 Exploring Operation: 82-27=55, Resulting Numbers: [57, 55] Generated Node #0,3,3: 94:[57, 55] Operation: 82-27=55 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[57, 55], Operations: ['73-46=27', '82-27=55'] Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,94 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[82, 84], Operations: ['73-46=27', '57+27=84'] Exploring Operation: 82*84=6888, Resulting Numbers: [6888] 6888,94 unequal: No Solution Exploring Operation: 82+84=166, Resulting Numbers: [166] 166,94 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[57, 109], Operations: ['73-46=27', '82+27=109'] Exploring Operation: 57+109=166, Resulting Numbers: [166] 166,94 unequal: No Solution Exploring Operation: 109-57=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 57*109=6213, Resulting Numbers: [6213] 6213,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[82, 30], Operations: ['73-46=27', '57-27=30'] Exploring Operation: 82*30=2460, Resulting Numbers: [2460] 2460,94 unequal: No Solution Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,94 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: 94:[73, 82, 103], Operations: ['46+57=103'] Exploring Operation: 82-73=9, Resulting Numbers: [103, 9] Generated Node #0,0,0: 94:[103, 9] Operation: 82-73=9 Exploring Operation: 103-82=21, Resulting Numbers: [73, 21] Generated Node #0,0,1: 94:[73, 21] Operation: 103-82=21 Exploring Operation: 103-73=30, Resulting Numbers: [82, 30] Generated Node #0,0,2: 94:[82, 30] Operation: 103-73=30 Exploring Operation: 73+82=155, Resulting Numbers: [103, 155] Generated Node #0,0,3: 94:[103, 155] Operation: 73+82=155 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[103, 9], Operations: ['46+57=103', '82-73=9'] Exploring Operation: 103+9=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 103-9=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[46, 73, 57, 82], Operations: [] Exploring Operation: 46+57=103, Resulting Numbers: [73, 82, 103] Generated Node #0,0: 94:[73, 82, 103] Operation: 46+57=103 Moving to Node #0,0 Current State: 94:[73, 82, 103], Operations: ['46+57=103'] Exploring Operation: 82-73=9, Resulting Numbers: [103, 9] Generated Node #0,0,0: 94:[103, 9] Operation: 82-73=9 Moving to Node #0,0,0 Current State: 94:[103, 9], Operations: ['46+57=103', '82-73=9'] Exploring Operation: 103-9=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
sum_heuristic
[ 74, 58, 33, 45 ]
31
[ "74-45=29", "58/29=2", "33-2=31" ]
Current State: 31:[74, 58, 33, 45], Operations: [] Exploring Operation: 74-45=29, Resulting Numbers: [58, 33, 29] Generated Node #2: [58, 33, 29] from Operation: 74-45=29 Current State: 31:[58, 33, 29], Operations: ['74-45=29'] Exploring Operation: 58/29=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 58/29=2 Current State: 31:[33, 2], Operations: ['74-45=29', '58/29=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[74, 58, 33, 45], Operations: [] Exploring Operation: 74-58=16, Resulting Numbers: [33, 45, 16] Generated Node #0,0: 31:[33, 45, 16] Operation: 74-58=16 Moving to Node #0,0 Current State: 31:[33, 45, 16], Operations: ['74-58=16'] Exploring Operation: 45-16=29, Resulting Numbers: [33, 29] Generated Node #0,0,0: 31:[33, 29] Operation: 45-16=29 Moving to Node #0,0,0 Current State: 31:[33, 29], Operations: ['74-58=16', '45-16=29'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 44, 43, 84, 65 ]
42
[ "65-43=22", "44/22=2", "84/2=42" ]
Current State: 42:[44, 43, 84, 65], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [44, 84, 22] Generated Node #2: [44, 84, 22] from Operation: 65-43=22 Current State: 42:[44, 84, 22], Operations: ['65-43=22'] Exploring Operation: 44/22=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 44/22=2 Current State: 42:[84, 2], Operations: ['65-43=22', '44/22=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[44, 43, 84, 65], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [44, 43, 19] Generated Node #0,0: 42:[44, 43, 19] Operation: 84-65=19 Exploring Operation: 84-44=40, Resulting Numbers: [43, 65, 40] Generated Node #0,1: 42:[43, 65, 40] Operation: 84-44=40 Exploring Operation: 84-43=41, Resulting Numbers: [44, 65, 41] Generated Node #0,2: 42:[44, 65, 41] Operation: 84-43=41 Exploring Operation: 65-44=21, Resulting Numbers: [43, 84, 21] Generated Node #0,3: 42:[43, 84, 21] Operation: 65-44=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[44, 43, 19], Operations: ['84-65=19'] Exploring Operation: 43-19=24, Resulting Numbers: [44, 24] Generated Node #0,0,0: 42:[44, 24] Operation: 43-19=24 Exploring Operation: 44+19=63, Resulting Numbers: [43, 63] Generated Node #0,0,1: 42:[43, 63] Operation: 44+19=63 Exploring Operation: 44-43=1, Resulting Numbers: [19, 1] Generated Node #0,0,2: 42:[19, 1] Operation: 44-43=1 Exploring Operation: 44-19=25, Resulting Numbers: [43, 25] Generated Node #0,0,3: 42:[43, 25] Operation: 44-19=25 Moving to Node #0,0,2 Current State: 42:[19, 1], Operations: ['84-65=19', '44-43=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[43, 25], Operations: ['84-65=19', '44-19=25'] Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 43*25=1075, Resulting Numbers: [1075] 1075,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[44, 24], Operations: ['84-65=19', '43-19=24'] Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,42 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[43, 63], Operations: ['84-65=19', '44+19=63'] Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 43*63=2709, Resulting Numbers: [2709] 2709,42 unequal: No Solution Exploring Operation: 43+63=106, Resulting Numbers: [106] 106,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[43, 65, 40], Operations: ['84-44=40'] Exploring Operation: 43-40=3, Resulting Numbers: [65, 3] Generated Node #0,1,0: 42:[65, 3] Operation: 43-40=3 Exploring Operation: 65-40=25, Resulting Numbers: [43, 25] Generated Node #0,1,1: 42:[43, 25] Operation: 65-40=25 Exploring Operation: 43+40=83, Resulting Numbers: [65, 83] Generated Node #0,1,2: 42:[65, 83] Operation: 43+40=83 Exploring Operation: 65-43=22, Resulting Numbers: [40, 22] Generated Node #0,1,3: 42:[40, 22] Operation: 65-43=22 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 42:[40, 22], Operations: ['84-44=40', '65-43=22'] Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[43, 25], Operations: ['84-44=40', '65-40=25'] Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 43*25=1075, Resulting Numbers: [1075] 1075,42 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[65, 3], Operations: ['84-44=40', '43-40=3'] Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,42 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[65, 83], Operations: ['84-44=40', '43+40=83'] Exploring Operation: 65*83=5395, Resulting Numbers: [5395] 5395,42 unequal: No Solution Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 65+83=148, Resulting Numbers: [148] 148,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[44, 65, 41], Operations: ['84-43=41'] Exploring Operation: 44-41=3, Resulting Numbers: [65, 3] Generated Node #0,2,0: 42:[65, 3] Operation: 44-41=3 Exploring Operation: 65-44=21, Resulting Numbers: [41, 21] Generated Node #0,2,1: 42:[41, 21] Operation: 65-44=21 Exploring Operation: 44+41=85, Resulting Numbers: [65, 85] Generated Node #0,2,2: 42:[65, 85] Operation: 44+41=85 Exploring Operation: 65-41=24, Resulting Numbers: [44, 24] Generated Node #0,2,3: 42:[44, 24] Operation: 65-41=24 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 42:[41, 21], Operations: ['84-43=41', '65-44=21'] Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,42 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 42:[44, 24], Operations: ['84-43=41', '65-41=24'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[65, 3], Operations: ['84-43=41', '44-41=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 42:[65, 85], Operations: ['84-43=41', '44+41=85'] Exploring Operation: 65+85=150, Resulting Numbers: [150] 150,42 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 65*85=5525, Resulting Numbers: [5525] 5525,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[43, 84, 21], Operations: ['65-44=21'] Exploring Operation: 84/21=4, Resulting Numbers: [43, 4] Generated Node #0,3,0: 42:[43, 4] Operation: 84/21=4 Exploring Operation: 84-43=41, Resulting Numbers: [21, 41] Generated Node #0,3,1: 42:[21, 41] Operation: 84-43=41 Exploring Operation: 43-21=22, Resulting Numbers: [84, 22] Generated Node #0,3,2: 42:[84, 22] Operation: 43-21=22 Exploring Operation: 84-21=63, Resulting Numbers: [43, 63] Generated Node #0,3,3: 42:[43, 63] Operation: 84-21=63 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[21, 41], Operations: ['65-44=21', '84-43=41'] Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 21*41=861, Resulting Numbers: [861] 861,42 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 42:[43, 4], Operations: ['65-44=21', '84/21=4'] Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,42 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 42:[43, 63], Operations: ['65-44=21', '84-21=63'] Exploring Operation: 43*63=2709, Resulting Numbers: [2709] 2709,42 unequal: No Solution Exploring Operation: 43+63=106, Resulting Numbers: [106] 106,42 unequal: No Solution Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 42:[84, 22], Operations: ['65-44=21', '43-21=22'] Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 84*22=1848, Resulting Numbers: [1848] 1848,42 unequal: No Solution Exploring Operation: 84+22=106, Resulting Numbers: [106] 106,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 96, 17, 97, 47 ]
29
[ "96-17=79", "97-47=50", "79-50=29" ]
Current State: 29:[96, 17, 97, 47], Operations: [] Exploring Operation: 96-17=79, Resulting Numbers: [97, 47, 79] Generated Node #2: [97, 47, 79] from Operation: 96-17=79 Current State: 29:[97, 47, 79], Operations: ['96-17=79'] Exploring Operation: 97-47=50, Resulting Numbers: [79, 50] Generated Node #3: [79, 50] from Operation: 97-47=50 Current State: 29:[79, 50], Operations: ['96-17=79', '97-47=50'] Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[96, 17, 97, 47], Operations: [] Exploring Operation: 97-96=1, Resulting Numbers: [17, 47, 1] Generated Node #0,0: 29:[17, 47, 1] Operation: 97-96=1 Exploring Operation: 96-47=49, Resulting Numbers: [17, 97, 49] Generated Node #0,1: 29:[17, 97, 49] Operation: 96-47=49 Moving to Node #0,0 Current State: 29:[17, 47, 1], Operations: ['97-96=1'] Exploring Operation: 17+1=18, Resulting Numbers: [47, 18] Generated Node #0,0,0: 29:[47, 18] Operation: 17+1=18 Exploring Operation: 47-17=30, Resulting Numbers: [1, 30] Generated Node #0,0,1: 29:[1, 30] Operation: 47-17=30 Moving to Node #0,1 Current State: 29:[17, 97, 49], Operations: ['96-47=49'] Exploring Operation: 97-17=80, Resulting Numbers: [49, 80] Generated Node #0,1,0: 29:[49, 80] Operation: 97-17=80 Exploring Operation: 97-49=48, Resulting Numbers: [17, 48] Generated Node #0,1,1: 29:[17, 48] Operation: 97-49=48 Moving to Node #0,0,0 Current State: 29:[47, 18], Operations: ['97-96=1', '17+1=18'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[96, 17, 97, 47], Operations: [] Exploring Operation: 97-96=1, Resulting Numbers: [17, 47, 1] Generated Node #0,0: 29:[17, 47, 1] Operation: 97-96=1 Moving to Node #0,0 Current State: 29:[17, 47, 1], Operations: ['97-96=1'] Exploring Operation: 17+1=18, Resulting Numbers: [47, 18] Generated Node #0,0,0: 29:[47, 18] Operation: 17+1=18 Moving to Node #0,0,0 Current State: 29:[47, 18], Operations: ['97-96=1', '17+1=18'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 40, 83, 10, 18 ]
71
[ "83-40=43", "10+18=28", "43+28=71" ]
Current State: 71:[40, 83, 10, 18], Operations: [] Exploring Operation: 83-40=43, Resulting Numbers: [10, 18, 43] Generated Node #2: [10, 18, 43] from Operation: 83-40=43 Current State: 71:[10, 18, 43], Operations: ['83-40=43'] Exploring Operation: 10+18=28, Resulting Numbers: [43, 28] Generated Node #3: [43, 28] from Operation: 10+18=28 Current State: 71:[43, 28], Operations: ['83-40=43', '10+18=28'] Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[40, 83, 10, 18], Operations: [] Exploring Operation: 40+10=50, Resulting Numbers: [83, 18, 50] Generated Node #0,0: 71:[83, 18, 50] Operation: 40+10=50 Exploring Operation: 40+18=58, Resulting Numbers: [83, 10, 58] Generated Node #0,1: 71:[83, 10, 58] Operation: 40+18=58 Exploring Operation: 83-10=73, Resulting Numbers: [40, 18, 73] Generated Node #0,2: 71:[40, 18, 73] Operation: 83-10=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[83, 18, 50], Operations: ['40+10=50'] Exploring Operation: 18+50=68, Resulting Numbers: [83, 68] Generated Node #0,0,0: 71:[83, 68] Operation: 18+50=68 Exploring Operation: 83-18=65, Resulting Numbers: [50, 65] Generated Node #0,0,1: 71:[50, 65] Operation: 83-18=65 Exploring Operation: 83+18=101, Resulting Numbers: [50, 101] Generated Node #0,0,2: 71:[50, 101] Operation: 83+18=101 Moving to Node #0,0,0 Current State: 71:[83, 68], Operations: ['40+10=50', '18+50=68'] Exploring Operation: 83+68=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 83*68=5644, Resulting Numbers: [5644] 5644,71 unequal: No Solution Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[50, 65], Operations: ['40+10=50', '83-18=65'] Exploring Operation: 50*65=3250, Resulting Numbers: [3250] 3250,71 unequal: No Solution Exploring Operation: 50+65=115, Resulting Numbers: [115] 115,71 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[50, 101], Operations: ['40+10=50', '83+18=101'] Exploring Operation: 50+101=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 101-50=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 50*101=5050, Resulting Numbers: [5050] 5050,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 Current State: 71:[83, 10, 58], Operations: ['40+18=58'] Exploring Operation: 10+58=68, Resulting Numbers: [83, 68] Generated Node #0,1,0: 71:[83, 68] Operation: 10+58=68 Exploring Operation: 83+10=93, Resulting Numbers: [58, 93] Generated Node #0,1,1: 71:[58, 93] Operation: 83+10=93 Exploring Operation: 83-10=73, Resulting Numbers: [58, 73] Generated Node #0,1,2: 71:[58, 73] Operation: 83-10=73 Moving to Node #0,1,0 Current State: 71:[83, 68], Operations: ['40+18=58', '10+58=68'] Exploring Operation: 83+68=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 83*68=5644, Resulting Numbers: [5644] 5644,71 unequal: No Solution Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[58, 73], Operations: ['40+18=58', '83-10=73'] Exploring Operation: 58*73=4234, Resulting Numbers: [4234] 4234,71 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[58, 93], Operations: ['40+18=58', '83+10=93'] Exploring Operation: 58*93=5394, Resulting Numbers: [5394] 5394,71 unequal: No Solution Exploring Operation: 93-58=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 58+93=151, Resulting Numbers: [151] 151,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[40, 18, 73], Operations: ['83-10=73'] Exploring Operation: 40+18=58, Resulting Numbers: [73, 58] Generated Node #0,2,0: 71:[73, 58] Operation: 40+18=58 Exploring Operation: 73-18=55, Resulting Numbers: [40, 55] Generated Node #0,2,1: 71:[40, 55] Operation: 73-18=55 Exploring Operation: 40-18=22, Resulting Numbers: [73, 22] Generated Node #0,2,2: 71:[73, 22] Operation: 40-18=22 Moving to Node #0,2,0 Current State: 71:[73, 58], Operations: ['83-10=73', '40+18=58'] Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,71 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[40, 55], Operations: ['83-10=73', '73-18=55'] Exploring Operation: 40*55=2200, Resulting Numbers: [2200] 2200,71 unequal: No Solution Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[73, 22], Operations: ['83-10=73', '40-18=22'] Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,71 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
[ 75, 79, 96, 9 ]
67
[ "75+79=154", "96-9=87", "154-87=67" ]
Current State: 67:[75, 79, 96, 9], Operations: [] Exploring Operation: 75+79=154, Resulting Numbers: [96, 9, 154] Generated Node #2: [96, 9, 154] from Operation: 75+79=154 Current State: 67:[96, 9, 154], Operations: ['75+79=154'] Exploring Operation: 96-9=87, Resulting Numbers: [154, 87] Generated Node #3: [154, 87] from Operation: 96-9=87 Current State: 67:[154, 87], Operations: ['75+79=154', '96-9=87'] Exploring Operation: 154-87=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[75, 79, 96, 9], Operations: [] Exploring Operation: 96-9=87, Resulting Numbers: [75, 79, 87] Generated Node #0,0: 67:[75, 79, 87] Operation: 96-9=87 Exploring Operation: 79-9=70, Resulting Numbers: [75, 96, 70] Generated Node #0,1: 67:[75, 96, 70] Operation: 79-9=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[75, 79, 87], Operations: ['96-9=87'] Exploring Operation: 87-75=12, Resulting Numbers: [79, 12] Generated Node #0,0,0: 67:[79, 12] Operation: 87-75=12 Exploring Operation: 87-79=8, Resulting Numbers: [75, 8] Generated Node #0,0,1: 67:[75, 8] Operation: 87-79=8 Moving to Node #0,0,0 Current State: 67:[79, 12], Operations: ['96-9=87', '87-75=12'] Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[75, 79, 96, 9], Operations: [] Exploring Operation: 96-9=87, Resulting Numbers: [75, 79, 87] Generated Node #0,0: 67:[75, 79, 87] Operation: 96-9=87 Moving to Node #0,0 Current State: 67:[75, 79, 87], Operations: ['96-9=87'] Exploring Operation: 87-75=12, Resulting Numbers: [79, 12] Generated Node #0,0,0: 67:[79, 12] Operation: 87-75=12 Moving to Node #0,0,0 Current State: 67:[79, 12], Operations: ['96-9=87', '87-75=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 97, 81, 76, 78 ]
95
[ "97-78=19", "81-76=5", "19*5=95" ]
Current State: 95:[97, 81, 76, 78], Operations: [] Exploring Operation: 97-78=19, Resulting Numbers: [81, 76, 19] Generated Node #2: [81, 76, 19] from Operation: 97-78=19 Current State: 95:[81, 76, 19], Operations: ['97-78=19'] Exploring Operation: 81-76=5, Resulting Numbers: [19, 5] Generated Node #3: [19, 5] from Operation: 81-76=5 Current State: 95:[19, 5], Operations: ['97-78=19', '81-76=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[97, 81, 76, 78], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [97, 78, 5] Generated Node #0,0: 95:[97, 78, 5] Operation: 81-76=5 Exploring Operation: 78-76=2, Resulting Numbers: [97, 81, 2] Generated Node #0,1: 95:[97, 81, 2] Operation: 78-76=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[97, 78, 5], Operations: ['81-76=5'] Exploring Operation: 97-78=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 95:[5, 19] Operation: 97-78=19 Exploring Operation: 78+5=83, Resulting Numbers: [97, 83] Generated Node #0,0,1: 95:[97, 83] Operation: 78+5=83 Moving to Node #0,0,0 Current State: 95:[5, 19], Operations: ['81-76=5', '97-78=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[97, 81, 76, 78], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [97, 78, 5] Generated Node #0,0: 95:[97, 78, 5] Operation: 81-76=5 Moving to Node #0,0 Current State: 95:[97, 78, 5], Operations: ['81-76=5'] Exploring Operation: 97-78=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 95:[5, 19] Operation: 97-78=19 Moving to Node #0,0,0 Current State: 95:[5, 19], Operations: ['81-76=5', '97-78=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 66, 65, 74, 13 ]
70
[ "66+65=131", "74-13=61", "131-61=70" ]
Current State: 70:[66, 65, 74, 13], Operations: [] Exploring Operation: 66+65=131, Resulting Numbers: [74, 13, 131] Generated Node #2: [74, 13, 131] from Operation: 66+65=131 Current State: 70:[74, 13, 131], Operations: ['66+65=131'] Exploring Operation: 74-13=61, Resulting Numbers: [131, 61] Generated Node #3: [131, 61] from Operation: 74-13=61 Current State: 70:[131, 61], Operations: ['66+65=131', '74-13=61'] Exploring Operation: 131-61=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[66, 65, 74, 13], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [74, 13, 1] Generated Node #0,0: 70:[74, 13, 1] Operation: 66-65=1 Moving to Node #0,0 Current State: 70:[74, 13, 1], Operations: ['66-65=1'] Exploring Operation: 74-1=73, Resulting Numbers: [13, 73] Generated Node #0,0,0: 70:[13, 73] Operation: 74-1=73 Moving to Node #0,0,0 Current State: 70:[13, 73], Operations: ['66-65=1', '74-1=73'] Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,70 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 79, 84, 35, 59 ]
89
[ "84-79=5", "35+59=94", "94-5=89" ]
Current State: 89:[79, 84, 35, 59], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [35, 59, 5] Generated Node #2: [35, 59, 5] from Operation: 84-79=5 Current State: 89:[35, 59, 5], Operations: ['84-79=5'] Exploring Operation: 35+59=94, Resulting Numbers: [5, 94] Generated Node #3: [5, 94] from Operation: 35+59=94 Current State: 89:[5, 94], Operations: ['84-79=5', '35+59=94'] Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[79, 84, 35, 59], Operations: [] Exploring Operation: 79+35=114, Resulting Numbers: [84, 59, 114] Generated Node #0,0: 89:[84, 59, 114] Operation: 79+35=114 Exploring Operation: 35+59=94, Resulting Numbers: [79, 84, 94] Generated Node #0,1: 89:[79, 84, 94] Operation: 35+59=94 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[79, 84, 94], Operations: ['35+59=94'] Exploring Operation: 94-79=15, Resulting Numbers: [84, 15] Generated Node #0,1,0: 89:[84, 15] Operation: 94-79=15 Exploring Operation: 79+84=163, Resulting Numbers: [94, 163] Generated Node #0,1,1: 89:[94, 163] Operation: 79+84=163 Moving to Node #0,1,0 Current State: 89:[84, 15], Operations: ['35+59=94', '94-79=15'] Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,89 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[94, 163], Operations: ['35+59=94', '79+84=163'] Exploring Operation: 163-94=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 94+163=257, Resulting Numbers: [257] 257,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[84, 59, 114], Operations: ['79+35=114'] Exploring Operation: 114-59=55, Resulting Numbers: [84, 55] Generated Node #0,0,0: 89:[84, 55] Operation: 114-59=55 Exploring Operation: 84+59=143, Resulting Numbers: [114, 143] Generated Node #0,0,1: 89:[114, 143] Operation: 84+59=143 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[84, 55], Operations: ['79+35=114', '114-59=55'] Exploring Operation: 84+55=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[114, 143], Operations: ['79+35=114', '84+59=143'] Exploring Operation: 114+143=257, Resulting Numbers: [257] 257,89 unequal: No Solution Exploring Operation: 143-114=29, Resulting Numbers: [29] 29,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 80, 70, 95, 49 ]
36
[ "80-70=10", "95-49=46", "46-10=36" ]
Current State: 36:[80, 70, 95, 49], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [95, 49, 10] Generated Node #2: [95, 49, 10] from Operation: 80-70=10 Current State: 36:[95, 49, 10], Operations: ['80-70=10'] Exploring Operation: 95-49=46, Resulting Numbers: [10, 46] Generated Node #3: [10, 46] from Operation: 95-49=46 Current State: 36:[10, 46], Operations: ['80-70=10', '95-49=46'] Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[80, 70, 95, 49], Operations: [] Exploring Operation: 80-49=31, Resulting Numbers: [70, 95, 31] Generated Node #0,0: 36:[70, 95, 31] Operation: 80-49=31 Exploring Operation: 95-49=46, Resulting Numbers: [80, 70, 46] Generated Node #0,1: 36:[80, 70, 46] Operation: 95-49=46 Exploring Operation: 95-70=25, Resulting Numbers: [80, 49, 25] Generated Node #0,2: 36:[80, 49, 25] Operation: 95-70=25 Exploring Operation: 95-80=15, Resulting Numbers: [70, 49, 15] Generated Node #0,3: 36:[70, 49, 15] Operation: 95-80=15 Exploring Operation: 80-70=10, Resulting Numbers: [95, 49, 10] Generated Node #0,4: 36:[95, 49, 10] Operation: 80-70=10 Moving to Node #0,3 Current State: 36:[70, 49, 15], Operations: ['95-80=15'] Exploring Operation: 49-15=34, Resulting Numbers: [70, 34] Generated Node #0,3,0: 36:[70, 34] Operation: 49-15=34 Exploring Operation: 49+15=64, Resulting Numbers: [70, 64] Generated Node #0,3,1: 36:[70, 64] Operation: 49+15=64 Exploring Operation: 70+15=85, Resulting Numbers: [49, 85] Generated Node #0,3,2: 36:[49, 85] Operation: 70+15=85 Exploring Operation: 70-49=21, Resulting Numbers: [15, 21] Generated Node #0,3,3: 36:[15, 21] Operation: 70-49=21 Exploring Operation: 70-15=55, Resulting Numbers: [49, 55] Generated Node #0,3,4: 36:[49, 55] Operation: 70-15=55 Moving to Node #0,2 Current State: 36:[80, 49, 25], Operations: ['95-70=25'] Exploring Operation: 49+25=74, Resulting Numbers: [80, 74] Generated Node #0,2,0: 36:[80, 74] Operation: 49+25=74 Exploring Operation: 80+25=105, Resulting Numbers: [49, 105] Generated Node #0,2,1: 36:[49, 105] Operation: 80+25=105 Exploring Operation: 49-25=24, Resulting Numbers: [80, 24] Generated Node #0,2,2: 36:[80, 24] Operation: 49-25=24 Exploring Operation: 80-25=55, Resulting Numbers: [49, 55] Generated Node #0,2,3: 36:[49, 55] Operation: 80-25=55 Exploring Operation: 80-49=31, Resulting Numbers: [25, 31] Generated Node #0,2,4: 36:[25, 31] Operation: 80-49=31 Moving to Node #0,4 Current State: 36:[95, 49, 10], Operations: ['80-70=10'] Exploring Operation: 95-10=85, Resulting Numbers: [49, 85] Generated Node #0,4,0: 36:[49, 85] Operation: 95-10=85 Exploring Operation: 95-49=46, Resulting Numbers: [10, 46] Generated Node #0,4,1: 36:[10, 46] Operation: 95-49=46 Exploring Operation: 49-10=39, Resulting Numbers: [95, 39] Generated Node #0,4,2: 36:[95, 39] Operation: 49-10=39 Exploring Operation: 95+10=105, Resulting Numbers: [49, 105] Generated Node #0,4,3: 36:[49, 105] Operation: 95+10=105 Exploring Operation: 49+10=59, Resulting Numbers: [95, 59] Generated Node #0,4,4: 36:[95, 59] Operation: 49+10=59 Moving to Node #0,1 Current State: 36:[80, 70, 46], Operations: ['95-49=46'] Exploring Operation: 80+46=126, Resulting Numbers: [70, 126] Generated Node #0,1,0: 36:[70, 126] Operation: 80+46=126 Exploring Operation: 80-46=34, Resulting Numbers: [70, 34] Generated Node #0,1,1: 36:[70, 34] Operation: 80-46=34 Exploring Operation: 70-46=24, Resulting Numbers: [80, 24] Generated Node #0,1,2: 36:[80, 24] Operation: 70-46=24 Exploring Operation: 80+70=150, Resulting Numbers: [46, 150] Generated Node #0,1,3: 36:[46, 150] Operation: 80+70=150 Exploring Operation: 80-70=10, Resulting Numbers: [46, 10] Generated Node #0,1,4: 36:[46, 10] Operation: 80-70=10 Moving to Node #0,0 Current State: 36:[70, 95, 31], Operations: ['80-49=31'] Exploring Operation: 95-70=25, Resulting Numbers: [31, 25] Generated Node #0,0,0: 36:[31, 25] Operation: 95-70=25 Exploring Operation: 95-31=64, Resulting Numbers: [70, 64] Generated Node #0,0,1: 36:[70, 64] Operation: 95-31=64 Exploring Operation: 70+31=101, Resulting Numbers: [95, 101] Generated Node #0,0,2: 36:[95, 101] Operation: 70+31=101 Exploring Operation: 70-31=39, Resulting Numbers: [95, 39] Generated Node #0,0,3: 36:[95, 39] Operation: 70-31=39 Exploring Operation: 95+31=126, Resulting Numbers: [70, 126] Generated Node #0,0,4: 36:[70, 126] Operation: 95+31=126 Moving to Node #0,3,3 Current State: 36:[15, 21], Operations: ['95-80=15', '70-49=21'] Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[80, 70, 95, 49], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [70, 49, 15] Generated Node #0,3: 36:[70, 49, 15] Operation: 95-80=15 Moving to Node #0,3 Current State: 36:[70, 49, 15], Operations: ['95-80=15'] Exploring Operation: 70-49=21, Resulting Numbers: [15, 21] Generated Node #0,3,3: 36:[15, 21] Operation: 70-49=21 Moving to Node #0,3,3 Current State: 36:[15, 21], Operations: ['95-80=15', '70-49=21'] Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.969618
hs_5
sum_heuristic
[ 39, 60, 30, 57 ]
100
[ "57-39=18", "60*30=1800", "1800/18=100" ]
Current State: 100:[39, 60, 30, 57], Operations: [] Exploring Operation: 57-39=18, Resulting Numbers: [60, 30, 18] Generated Node #2: [60, 30, 18] from Operation: 57-39=18 Current State: 100:[60, 30, 18], Operations: ['57-39=18'] Exploring Operation: 60*30=1800, Resulting Numbers: [18, 1800] Generated Node #3: [18, 1800] from Operation: 60*30=1800 Current State: 100:[18, 1800], Operations: ['57-39=18', '60*30=1800'] Exploring Operation: 1800/18=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[39, 60, 30, 57], Operations: [] Exploring Operation: 39+60=99, Resulting Numbers: [30, 57, 99] Generated Node #0,0: 100:[30, 57, 99] Operation: 39+60=99 Exploring Operation: 57-39=18, Resulting Numbers: [60, 30, 18] Generated Node #0,1: 100:[60, 30, 18] Operation: 57-39=18 Exploring Operation: 60-39=21, Resulting Numbers: [30, 57, 21] Generated Node #0,2: 100:[30, 57, 21] Operation: 60-39=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[30, 57, 99], Operations: ['39+60=99'] Exploring Operation: 57-30=27, Resulting Numbers: [99, 27] Generated Node #0,0,0: 100:[99, 27] Operation: 57-30=27 Exploring Operation: 99-57=42, Resulting Numbers: [30, 42] Generated Node #0,0,1: 100:[30, 42] Operation: 99-57=42 Exploring Operation: 30+57=87, Resulting Numbers: [99, 87] Generated Node #0,0,2: 100:[99, 87] Operation: 30+57=87 Moving to Node #0,0,0 Current State: 100:[99, 27], Operations: ['39+60=99', '57-30=27'] Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 99*27=2673, Resulting Numbers: [2673] 2673,100 unequal: No Solution Exploring Operation: 99+27=126, Resulting Numbers: [126] 126,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[30, 42], Operations: ['39+60=99', '99-57=42'] Exploring Operation: 30*42=1260, Resulting Numbers: [1260] 1260,100 unequal: No Solution Exploring Operation: 30+42=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[99, 87], Operations: ['39+60=99', '30+57=87'] Exploring Operation: 99-87=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 99*87=8613, Resulting Numbers: [8613] 8613,100 unequal: No Solution Exploring Operation: 99+87=186, Resulting Numbers: [186] 186,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[30, 57, 21], Operations: ['60-39=21'] Exploring Operation: 57-30=27, Resulting Numbers: [21, 27] Generated Node #0,2,0: 100:[21, 27] Operation: 57-30=27 Exploring Operation: 30-21=9, Resulting Numbers: [57, 9] Generated Node #0,2,1: 100:[57, 9] Operation: 30-21=9 Exploring Operation: 30+21=51, Resulting Numbers: [57, 51] Generated Node #0,2,2: 100:[57, 51] Operation: 30+21=51 Moving to Node #0,2,0 Current State: 100:[21, 27], Operations: ['60-39=21', '57-30=27'] Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[57, 9], Operations: ['60-39=21', '30-21=9'] Exploring Operation: 57+9=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 57*9=513, Resulting Numbers: [513] 513,100 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[57, 51], Operations: ['60-39=21', '30+21=51'] Exploring Operation: 57*51=2907, Resulting Numbers: [2907] 2907,100 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 57+51=108, Resulting Numbers: [108] 108,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[60, 30, 18], Operations: ['57-39=18'] Exploring Operation: 60/30=2, Resulting Numbers: [18, 2] Generated Node #0,1,0: 100:[18, 2] Operation: 60/30=2 Exploring Operation: 60+30=90, Resulting Numbers: [18, 90] Generated Node #0,1,1: 100:[18, 90] Operation: 60+30=90 Exploring Operation: 60-30=30, Resulting Numbers: [18, 30] Generated Node #0,1,2: 100:[18, 30] Operation: 60-30=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[18, 2], Operations: ['57-39=18', '60/30=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[18, 30], Operations: ['57-39=18', '60-30=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,100 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[18, 90], Operations: ['57-39=18', '60+30=90'] Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 18+90=108, Resulting Numbers: [108] 108,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 3, 71, 66, 44 ]
75
[ "71-44=27", "27/3=9", "66+9=75" ]
Current State: 75:[3, 71, 66, 44], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [3, 66, 27] Generated Node #2: [3, 66, 27] from Operation: 71-44=27 Current State: 75:[3, 66, 27], Operations: ['71-44=27'] Exploring Operation: 27/3=9, Resulting Numbers: [66, 9] Generated Node #3: [66, 9] from Operation: 27/3=9 Current State: 75:[66, 9], Operations: ['71-44=27', '27/3=9'] Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[3, 71, 66, 44], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [3, 71, 22] Generated Node #0,0: 75:[3, 71, 22] Operation: 66-44=22 Moving to Node #0,0 Current State: 75:[3, 71, 22], Operations: ['66-44=22'] Exploring Operation: 3+71=74, Resulting Numbers: [22, 74] Generated Node #0,0,0: 75:[22, 74] Operation: 3+71=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[22, 74], Operations: ['66-44=22', '3+71=74'] Exploring Operation: 22+74=96, Resulting Numbers: [96] 96,75 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
[ 4, 72, 72, 97 ]
97
[ "72-72=0", "4*0=0", "97+0=97" ]
Current State: 97:[4, 72, 72, 97], Operations: [] Exploring Operation: 72-72=0, Resulting Numbers: [4, 97, 0] Generated Node #2: [4, 97, 0] from Operation: 72-72=0 Current State: 97:[4, 97, 0], Operations: ['72-72=0'] Exploring Operation: 4*0=0, Resulting Numbers: [97, 0] Generated Node #3: [97, 0] from Operation: 4*0=0 Current State: 97:[97, 0], Operations: ['72-72=0', '4*0=0'] Exploring Operation: 97+0=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[4, 72, 72, 97], Operations: [] Exploring Operation: 4+72=76, Resulting Numbers: [72, 97, 76] Generated Node #0,0: 97:[72, 97, 76] Operation: 4+72=76 Exploring Operation: 4+72=76, Resulting Numbers: [72, 97, 76] Generated Node #0,1: 97:[72, 97, 76] Operation: 4+72=76 Exploring Operation: 72-4=68, Resulting Numbers: [72, 97, 68] Generated Node #0,2: 97:[72, 97, 68] Operation: 72-4=68 Exploring Operation: 72-4=68, Resulting Numbers: [72, 97, 68] Generated Node #0,3: 97:[72, 97, 68] Operation: 72-4=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[72, 97, 76], Operations: ['4+72=76'] Exploring Operation: 97-72=25, Resulting Numbers: [76, 25] Generated Node #0,0,0: 97:[76, 25] Operation: 97-72=25 Exploring Operation: 76-72=4, Resulting Numbers: [97, 4] Generated Node #0,0,1: 97:[97, 4] Operation: 76-72=4 Exploring Operation: 72+76=148, Resulting Numbers: [97, 148] Generated Node #0,0,2: 97:[97, 148] Operation: 72+76=148 Exploring Operation: 72+97=169, Resulting Numbers: [76, 169] Generated Node #0,0,3: 97:[76, 169] Operation: 72+97=169 Moving to Node #0,0,2 Current State: 97:[97, 148], Operations: ['4+72=76', '72+76=148'] Exploring Operation: 97*148=14356, Resulting Numbers: [14356] 14356,97 unequal: No Solution Exploring Operation: 148-97=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 97+148=245, Resulting Numbers: [245] 245,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[97, 4], Operations: ['4+72=76', '76-72=4'] Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,97 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[76, 25], Operations: ['4+72=76', '97-72=25'] Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 76*25=1900, Resulting Numbers: [1900] 1900,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[76, 169], Operations: ['4+72=76', '72+97=169'] Exploring Operation: 169-76=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 76+169=245, Resulting Numbers: [245] 245,97 unequal: No Solution Exploring Operation: 76*169=12844, Resulting Numbers: [12844] 12844,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:[72, 97, 76], Operations: ['4+72=76'] Exploring Operation: 72+97=169, Resulting Numbers: [76, 169] Generated Node #0,1,0: 97:[76, 169] Operation: 72+97=169 Exploring Operation: 72+76=148, Resulting Numbers: [97, 148] Generated Node #0,1,1: 97:[97, 148] Operation: 72+76=148 Exploring Operation: 76-72=4, Resulting Numbers: [97, 4] Generated Node #0,1,2: 97:[97, 4] Operation: 76-72=4 Exploring Operation: 97-72=25, Resulting Numbers: [76, 25] Generated Node #0,1,3: 97:[76, 25] Operation: 97-72=25 Moving to Node #0,1,1 Current State: 97:[97, 148], Operations: ['4+72=76', '72+76=148'] Exploring Operation: 97*148=14356, Resulting Numbers: [14356] 14356,97 unequal: No Solution Exploring Operation: 97+148=245, Resulting Numbers: [245] 245,97 unequal: No Solution Exploring Operation: 148-97=51, Resulting Numbers: [51] 51,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[97, 4], Operations: ['4+72=76', '76-72=4'] Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,97 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[76, 169], Operations: ['4+72=76', '72+97=169'] Exploring Operation: 169-76=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 76*169=12844, Resulting Numbers: [12844] 12844,97 unequal: No Solution Exploring Operation: 76+169=245, Resulting Numbers: [245] 245,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[76, 25], Operations: ['4+72=76', '97-72=25'] Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 76*25=1900, Resulting Numbers: [1900] 1900,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,2 Current State: 97:[72, 97, 68], Operations: ['72-4=68'] Exploring Operation: 97+68=165, Resulting Numbers: [72, 165] Generated Node #0,2,0: 97:[72, 165] Operation: 97+68=165 Exploring Operation: 72+68=140, Resulting Numbers: [97, 140] Generated Node #0,2,1: 97:[97, 140] Operation: 72+68=140 Exploring Operation: 72-68=4, Resulting Numbers: [97, 4] Generated Node #0,2,2: 97:[97, 4] Operation: 72-68=4 Exploring Operation: 97-68=29, Resulting Numbers: [72, 29] Generated Node #0,2,3: 97:[72, 29] Operation: 97-68=29 Moving to Node #0,2,1 Current State: 97:[97, 140], Operations: ['72-4=68', '72+68=140'] Exploring Operation: 97*140=13580, Resulting Numbers: [13580] 13580,97 unequal: No Solution Exploring Operation: 140-97=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 97+140=237, Resulting Numbers: [237] 237,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[97, 4], Operations: ['72-4=68', '72-68=4'] Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,97 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[72, 165], Operations: ['72-4=68', '97+68=165'] Exploring Operation: 72*165=11880, Resulting Numbers: [11880] 11880,97 unequal: No Solution Exploring Operation: 72+165=237, Resulting Numbers: [237] 237,97 unequal: No Solution Exploring Operation: 165-72=93, Resulting Numbers: [93] 93,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[72, 29], Operations: ['72-4=68', '97-68=29'] Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,97 unequal: No Solution Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[72, 97, 68], Operations: ['72-4=68'] Exploring Operation: 72-68=4, Resulting Numbers: [97, 4] Generated Node #0,3,0: 97:[97, 4] Operation: 72-68=4 Exploring Operation: 72+68=140, Resulting Numbers: [97, 140] Generated Node #0,3,1: 97:[97, 140] Operation: 72+68=140 Exploring Operation: 97-68=29, Resulting Numbers: [72, 29] Generated Node #0,3,2: 97:[72, 29] Operation: 97-68=29 Exploring Operation: 97+68=165, Resulting Numbers: [72, 165] Generated Node #0,3,3: 97:[72, 165] Operation: 97+68=165 Moving to Node #0,3,1 Current State: 97:[97, 140], Operations: ['72-4=68', '72+68=140'] Exploring Operation: 140-97=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 97*140=13580, Resulting Numbers: [13580] 13580,97 unequal: No Solution Exploring Operation: 97+140=237, Resulting Numbers: [237] 237,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[72, 29], Operations: ['72-4=68', '97-68=29'] Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,97 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[97, 4], Operations: ['72-4=68', '72-68=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,97 unequal: No Solution Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[72, 165], Operations: ['72-4=68', '97+68=165'] Exploring Operation: 165-72=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 72+165=237, Resulting Numbers: [237] 237,97 unequal: No Solution Exploring Operation: 72*165=11880, Resulting Numbers: [11880] 11880,97 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
[ 76, 96, 24, 4 ]
84
[ "76+4=80", "96/24=4", "80+4=84" ]
Current State: 84:[76, 96, 24, 4], Operations: [] Exploring Operation: 76+4=80, Resulting Numbers: [96, 24, 80] Generated Node #2: [96, 24, 80] from Operation: 76+4=80 Current State: 84:[96, 24, 80], Operations: ['76+4=80'] Exploring Operation: 96/24=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 96/24=4 Current State: 84:[80, 4], Operations: ['76+4=80', '96/24=4'] Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[76, 96, 24, 4], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [24, 4, 20] Generated Node #0,0: 84:[24, 4, 20] Operation: 96-76=20 Exploring Operation: 96/24=4, Resulting Numbers: [76, 4, 4] Generated Node #0,1: 84:[76, 4, 4] Operation: 96/24=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[24, 4, 20], Operations: ['96-76=20'] Exploring Operation: 24+4=28, Resulting Numbers: [20, 28] Generated Node #0,0,0: 84:[20, 28] Operation: 24+4=28 Exploring Operation: 24-20=4, Resulting Numbers: [4, 4] Generated Node #0,0,1: 84:[4, 4] Operation: 24-20=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[4, 4], Operations: ['96-76=20', '24-20=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,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,0,0 Current State: 84:[20, 28], Operations: ['96-76=20', '24+4=28'] Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,84 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,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,1 Current State: 84:[76, 4, 4], Operations: ['96/24=4'] Exploring Operation: 76/4=19, Resulting Numbers: [4, 19] Generated Node #0,1,0: 84:[4, 19] Operation: 76/4=19 Exploring Operation: 76/4=19, Resulting Numbers: [4, 19] Generated Node #0,1,1: 84:[4, 19] Operation: 76/4=19 Moving to Node #0,1,0 Current State: 84:[4, 19], Operations: ['96/24=4', '76/4=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,84 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[4, 19], Operations: ['96/24=4', '76/4=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,84 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,84 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
[ 60, 1, 29, 6 ]
39
[ "60*1=60", "60/6=10", "29+10=39" ]
Current State: 39:[60, 1, 29, 6], Operations: [] Exploring Operation: 60*1=60, Resulting Numbers: [29, 6, 60] Generated Node #2: [29, 6, 60] from Operation: 60*1=60 Current State: 39:[29, 6, 60], Operations: ['60*1=60'] Exploring Operation: 60/6=10, Resulting Numbers: [29, 10] Generated Node #3: [29, 10] from Operation: 60/6=10 Current State: 39:[29, 10], Operations: ['60*1=60', '60/6=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[60, 1, 29, 6], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [1, 29, 10] Generated Node #0,0: 39:[1, 29, 10] Operation: 60/6=10 Exploring Operation: 60-29=31, Resulting Numbers: [1, 6, 31] Generated Node #0,1: 39:[1, 6, 31] Operation: 60-29=31 Moving to Node #0,1 Current State: 39:[1, 6, 31], Operations: ['60-29=31'] Exploring Operation: 6-1=5, Resulting Numbers: [31, 5] Generated Node #0,1,0: 39:[31, 5] Operation: 6-1=5 Exploring Operation: 6+31=37, Resulting Numbers: [1, 37] Generated Node #0,1,1: 39:[1, 37] Operation: 6+31=37 Moving to Node #0,0 Current State: 39:[1, 29, 10], Operations: ['60/6=10'] Exploring Operation: 29-10=19, Resulting Numbers: [1, 19] Generated Node #0,0,0: 39:[1, 19] Operation: 29-10=19 Exploring Operation: 29+10=39, Resulting Numbers: [1, 39] Generated Node #0,0,1: 39:[1, 39] Operation: 29+10=39 Moving to Node #0,0,1 Current State: 39:[1, 39], Operations: ['60/6=10', '29+10=39'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[60, 1, 29, 6], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [1, 29, 10] Generated Node #0,0: 39:[1, 29, 10] Operation: 60/6=10 Moving to Node #0,0 Current State: 39:[1, 29, 10], Operations: ['60/6=10'] Exploring Operation: 29+10=39, Resulting Numbers: [1, 39] Generated Node #0,0,1: 39:[1, 39] Operation: 29+10=39 Moving to Node #0,0,1 Current State: 39:[1, 39], Operations: ['60/6=10', '29+10=39'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 11, 65, 74, 68 ]
13
[ "74-11=63", "68-63=5", "65/5=13" ]
Current State: 13:[11, 65, 74, 68], Operations: [] Exploring Operation: 74-11=63, Resulting Numbers: [65, 68, 63] Generated Node #2: [65, 68, 63] from Operation: 74-11=63 Current State: 13:[65, 68, 63], Operations: ['74-11=63'] Exploring Operation: 68-63=5, Resulting Numbers: [65, 5] Generated Node #3: [65, 5] from Operation: 68-63=5 Current State: 13:[65, 5], Operations: ['74-11=63', '68-63=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[11, 65, 74, 68], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [11, 74, 3] Generated Node #0,0: 13:[11, 74, 3] Operation: 68-65=3 Exploring Operation: 74-68=6, Resulting Numbers: [11, 65, 6] Generated Node #0,1: 13:[11, 65, 6] Operation: 74-68=6 Exploring Operation: 74-65=9, Resulting Numbers: [11, 68, 9] Generated Node #0,2: 13:[11, 68, 9] Operation: 74-65=9 Moving to Node #0,1 Current State: 13:[11, 65, 6], Operations: ['74-68=6'] Exploring Operation: 11+6=17, Resulting Numbers: [65, 17] Generated Node #0,1,0: 13:[65, 17] Operation: 11+6=17 Exploring Operation: 65-11=54, Resulting Numbers: [6, 54] Generated Node #0,1,1: 13:[6, 54] Operation: 65-11=54 Exploring Operation: 65-6=59, Resulting Numbers: [11, 59] Generated Node #0,1,2: 13:[11, 59] Operation: 65-6=59 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[6, 54], Operations: ['74-68=6', '65-11=54'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 6+54=60, Resulting Numbers: [60] 60,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[11, 59], Operations: ['74-68=6', '65-6=59'] Exploring Operation: 11*59=649, Resulting Numbers: [649] 649,13 unequal: No Solution Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,13 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[65, 17], Operations: ['74-68=6', '11+6=17'] Exploring Operation: 65*17=1105, Resulting Numbers: [1105] 1105,13 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 13:[11, 68, 9], Operations: ['74-65=9'] Exploring Operation: 68-9=59, Resulting Numbers: [11, 59] Generated Node #0,2,0: 13:[11, 59] Operation: 68-9=59 Exploring Operation: 68-11=57, Resulting Numbers: [9, 57] Generated Node #0,2,1: 13:[9, 57] Operation: 68-11=57 Exploring Operation: 11+9=20, Resulting Numbers: [68, 20] Generated Node #0,2,2: 13:[68, 20] Operation: 11+9=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[11, 59], Operations: ['74-65=9', '68-9=59'] Exploring Operation: 11*59=649, Resulting Numbers: [649] 649,13 unequal: No Solution Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,13 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[9, 57], Operations: ['74-65=9', '68-11=57'] Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[68, 20], Operations: ['74-65=9', '11+9=20'] Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,13 unequal: No Solution Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,13 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: 13:[11, 74, 3], Operations: ['68-65=3'] Exploring Operation: 11+3=14, Resulting Numbers: [74, 14] Generated Node #0,0,0: 13:[74, 14] Operation: 11+3=14 Exploring Operation: 74-3=71, Resulting Numbers: [11, 71] Generated Node #0,0,1: 13:[11, 71] Operation: 74-3=71 Exploring Operation: 74-11=63, Resulting Numbers: [3, 63] Generated Node #0,0,2: 13:[3, 63] Operation: 74-11=63 Moving to Node #0,0,1 Current State: 13:[11, 71], Operations: ['68-65=3', '74-3=71'] Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,13 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[3, 63], Operations: ['68-65=3', '74-11=63'] Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,13 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[74, 14], Operations: ['68-65=3', '11+3=14'] Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 74*14=1036, Resulting Numbers: [1036] 1036,13 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 14, 6, 60, 18 ]
86
[ "14-6=8", "60+18=78", "8+78=86" ]
Current State: 86:[14, 6, 60, 18], Operations: [] Exploring Operation: 14-6=8, Resulting Numbers: [60, 18, 8] Generated Node #2: [60, 18, 8] from Operation: 14-6=8 Current State: 86:[60, 18, 8], Operations: ['14-6=8'] Exploring Operation: 60+18=78, Resulting Numbers: [8, 78] Generated Node #3: [8, 78] from Operation: 60+18=78 Current State: 86:[8, 78], Operations: ['14-6=8', '60+18=78'] Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[14, 6, 60, 18], Operations: [] Exploring Operation: 60-18=42, Resulting Numbers: [14, 6, 42] Generated Node #0,0: 86:[14, 6, 42] Operation: 60-18=42 Exploring Operation: 60-14=46, Resulting Numbers: [6, 18, 46] Generated Node #0,1: 86:[6, 18, 46] Operation: 60-14=46 Exploring Operation: 18/6=3, Resulting Numbers: [14, 60, 3] Generated Node #0,2: 86:[14, 60, 3] Operation: 18/6=3 Exploring Operation: 60+18=78, Resulting Numbers: [14, 6, 78] Generated Node #0,3: 86:[14, 6, 78] Operation: 60+18=78 Exploring Operation: 18-14=4, Resulting Numbers: [6, 60, 4] Generated Node #0,4: 86:[6, 60, 4] Operation: 18-14=4 Moving to Node #0,0 Current State: 86:[14, 6, 42], Operations: ['60-18=42'] Exploring Operation: 6+42=48, Resulting Numbers: [14, 48] Generated Node #0,0,0: 86:[14, 48] Operation: 6+42=48 Exploring Operation: 14+42=56, Resulting Numbers: [6, 56] Generated Node #0,0,1: 86:[6, 56] Operation: 14+42=56 Exploring Operation: 14-6=8, Resulting Numbers: [42, 8] Generated Node #0,0,2: 86:[42, 8] Operation: 14-6=8 Exploring Operation: 42/14=3, Resulting Numbers: [6, 3] Generated Node #0,0,3: 86:[6, 3] Operation: 42/14=3 Exploring Operation: 14*6=84, Resulting Numbers: [42, 84] Generated Node #0,0,4: 86:[42, 84] Operation: 14*6=84 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 86:[42, 84], Operations: ['60-18=42', '14*6=84'] Exploring Operation: 42*84=3528, Resulting Numbers: [3528] 3528,86 unequal: No Solution Exploring Operation: 42+84=126, Resulting Numbers: [126] 126,86 unequal: No Solution Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,86 unequal: No Solution No 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: 86:[6, 3], Operations: ['60-18=42', '42/14=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,86 unequal: No Solution No 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: 86:[42, 8], Operations: ['60-18=42', '14-6=8'] Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,86 unequal: No Solution No 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: 86:[14, 48], Operations: ['60-18=42', '6+42=48'] Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,86 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,86 unequal: No Solution No 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: 86:[6, 56], Operations: ['60-18=42', '14+42=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,86 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: 86:[6, 60, 4], Operations: ['18-14=4'] Exploring Operation: 60/6=10, Resulting Numbers: [4, 10] Generated Node #0,4,0: 86:[4, 10] Operation: 60/6=10 Exploring Operation: 60-4=56, Resulting Numbers: [6, 56] Generated Node #0,4,1: 86:[6, 56] Operation: 60-4=56 Exploring Operation: 6-4=2, Resulting Numbers: [60, 2] Generated Node #0,4,2: 86:[60, 2] Operation: 6-4=2 Exploring Operation: 60-6=54, Resulting Numbers: [4, 54] Generated Node #0,4,3: 86:[4, 54] Operation: 60-6=54 Exploring Operation: 60/4=15, Resulting Numbers: [6, 15] Generated Node #0,4,4: 86:[6, 15] Operation: 60/4=15 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 86:[4, 10], Operations: ['18-14=4', '60/6=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,86 unequal: No Solution No 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: 86:[4, 54], Operations: ['18-14=4', '60-6=54'] Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,86 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,86 unequal: No Solution No 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: 86:[6, 56], Operations: ['18-14=4', '60-4=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,86 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,86 unequal: No Solution No 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: 86:[60, 2], Operations: ['18-14=4', '6-4=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,86 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,86 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,86 unequal: No Solution No 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: 86:[6, 15], Operations: ['18-14=4', '60/4=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,86 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,86 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: 86:[6, 18, 46], Operations: ['60-14=46'] Exploring Operation: 46-6=40, Resulting Numbers: [18, 40] Generated Node #0,1,0: 86:[18, 40] Operation: 46-6=40 Exploring Operation: 18-6=12, Resulting Numbers: [46, 12] Generated Node #0,1,1: 86:[46, 12] Operation: 18-6=12 Exploring Operation: 6+18=24, Resulting Numbers: [46, 24] Generated Node #0,1,2: 86:[46, 24] Operation: 6+18=24 Exploring Operation: 46-18=28, Resulting Numbers: [6, 28] Generated Node #0,1,3: 86:[6, 28] Operation: 46-18=28 Exploring Operation: 18/6=3, Resulting Numbers: [46, 3] Generated Node #0,1,4: 86:[46, 3] Operation: 18/6=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 86:[46, 3], Operations: ['60-14=46', '18/6=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,86 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,86 unequal: No Solution No 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: 86:[46, 12], Operations: ['60-14=46', '18-6=12'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,86 unequal: No Solution Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,86 unequal: No Solution No 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: 86:[18, 40], Operations: ['60-14=46', '46-6=40'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,86 unequal: No Solution Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,86 unequal: No Solution Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,86 unequal: No Solution No 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: 86:[6, 28], Operations: ['60-14=46', '46-18=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,86 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,86 unequal: No Solution No 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: 86:[46, 24], Operations: ['60-14=46', '6+18=24'] Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,86 unequal: No Solution Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,86 unequal: No Solution Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,86 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: 86:[14, 6, 78], Operations: ['60+18=78'] Exploring Operation: 14+78=92, Resulting Numbers: [6, 92] Generated Node #0,3,0: 86:[6, 92] Operation: 14+78=92 Exploring Operation: 6+78=84, Resulting Numbers: [14, 84] Generated Node #0,3,1: 86:[14, 84] Operation: 6+78=84 Exploring Operation: 14-6=8, Resulting Numbers: [78, 8] Generated Node #0,3,2: 86:[78, 8] Operation: 14-6=8 Exploring Operation: 14*6=84, Resulting Numbers: [78, 84] Generated Node #0,3,3: 86:[78, 84] Operation: 14*6=84 Exploring Operation: 78/6=13, Resulting Numbers: [14, 13] Generated Node #0,3,4: 86:[14, 13] Operation: 78/6=13 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[6, 92], Operations: ['60+18=78', '14+78=92'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[14, 6, 60, 18], Operations: [] Exploring Operation: 60+18=78, Resulting Numbers: [14, 6, 78] Generated Node #0,3: 86:[14, 6, 78] Operation: 60+18=78 Moving to Node #0,3 Current State: 86:[14, 6, 78], Operations: ['60+18=78'] Exploring Operation: 14+78=92, Resulting Numbers: [6, 92] Generated Node #0,3,0: 86:[6, 92] Operation: 14+78=92 Moving to Node #0,3,0 Current State: 86:[6, 92], Operations: ['60+18=78', '14+78=92'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.932292
hs_5
mult_heuristic
[ 93, 7, 5, 49 ]
42
[ "93-7=86", "49-5=44", "86-44=42" ]
Current State: 42:[93, 7, 5, 49], Operations: [] Exploring Operation: 93-7=86, Resulting Numbers: [5, 49, 86] Generated Node #2: [5, 49, 86] from Operation: 93-7=86 Current State: 42:[5, 49, 86], Operations: ['93-7=86'] Exploring Operation: 49-5=44, Resulting Numbers: [86, 44] Generated Node #3: [86, 44] from Operation: 49-5=44 Current State: 42:[86, 44], Operations: ['93-7=86', '49-5=44'] Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[93, 7, 5, 49], Operations: [] Exploring Operation: 93-49=44, Resulting Numbers: [7, 5, 44] Generated Node #0,0: 42:[7, 5, 44] Operation: 93-49=44 Exploring Operation: 49/7=7, Resulting Numbers: [93, 5, 7] Generated Node #0,1: 42:[93, 5, 7] Operation: 49/7=7 Exploring Operation: 93-7=86, Resulting Numbers: [5, 49, 86] Generated Node #0,2: 42:[5, 49, 86] Operation: 93-7=86 Exploring Operation: 49-7=42, Resulting Numbers: [93, 5, 42] Generated Node #0,3: 42:[93, 5, 42] Operation: 49-7=42 Exploring Operation: 93-5=88, Resulting Numbers: [7, 49, 88] Generated Node #0,4: 42:[7, 49, 88] Operation: 93-5=88 Moving to Node #0,0 Current State: 42:[7, 5, 44], Operations: ['93-49=44'] Exploring Operation: 44-7=37, Resulting Numbers: [5, 37] Generated Node #0,0,0: 42:[5, 37] Operation: 44-7=37 Exploring Operation: 7+5=12, Resulting Numbers: [44, 12] Generated Node #0,0,1: 42:[44, 12] Operation: 7+5=12 Exploring Operation: 5+44=49, Resulting Numbers: [7, 49] Generated Node #0,0,2: 42:[7, 49] Operation: 5+44=49 Exploring Operation: 44-5=39, Resulting Numbers: [7, 39] Generated Node #0,0,3: 42:[7, 39] Operation: 44-5=39 Exploring Operation: 7-5=2, Resulting Numbers: [44, 2] Generated Node #0,0,4: 42:[44, 2] Operation: 7-5=2 Moving to Node #0,2 Current State: 42:[5, 49, 86], Operations: ['93-7=86'] Exploring Operation: 86-5=81, Resulting Numbers: [49, 81] Generated Node #0,2,0: 42:[49, 81] Operation: 86-5=81 Exploring Operation: 49-5=44, Resulting Numbers: [86, 44] Generated Node #0,2,1: 42:[86, 44] Operation: 49-5=44 Exploring Operation: 5+49=54, Resulting Numbers: [86, 54] Generated Node #0,2,2: 42:[86, 54] Operation: 5+49=54 Exploring Operation: 5+86=91, Resulting Numbers: [49, 91] Generated Node #0,2,3: 42:[49, 91] Operation: 5+86=91 Exploring Operation: 86-49=37, Resulting Numbers: [5, 37] Generated Node #0,2,4: 42:[5, 37] Operation: 86-49=37 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 42:[5, 37], Operations: ['93-7=86', '86-49=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,42 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[93, 7, 5, 49], Operations: [] Exploring Operation: 93-7=86, Resulting Numbers: [5, 49, 86] Generated Node #0,2: 42:[5, 49, 86] Operation: 93-7=86 Moving to Node #0,2 Current State: 42:[5, 49, 86], Operations: ['93-7=86'] Exploring Operation: 86-49=37, Resulting Numbers: [5, 37] Generated Node #0,2,4: 42:[5, 37] Operation: 86-49=37 Moving to Node #0,2,4 Current State: 42:[5, 37], Operations: ['93-7=86', '86-49=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 29, 40, 24, 91 ]
46
[ "29+40=69", "24+91=115", "115-69=46" ]
Current State: 46:[29, 40, 24, 91], Operations: [] Exploring Operation: 29+40=69, Resulting Numbers: [24, 91, 69] Generated Node #2: [24, 91, 69] from Operation: 29+40=69 Current State: 46:[24, 91, 69], Operations: ['29+40=69'] Exploring Operation: 24+91=115, Resulting Numbers: [69, 115] Generated Node #3: [69, 115] from Operation: 24+91=115 Current State: 46:[69, 115], Operations: ['29+40=69', '24+91=115'] Exploring Operation: 115-69=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[29, 40, 24, 91], Operations: [] Exploring Operation: 91-40=51, Resulting Numbers: [29, 24, 51] Generated Node #0,0: 46:[29, 24, 51] Operation: 91-40=51 Moving to Node #0,0 Current State: 46:[29, 24, 51], Operations: ['91-40=51'] Exploring Operation: 51-29=22, Resulting Numbers: [24, 22] Generated Node #0,0,0: 46:[24, 22] Operation: 51-29=22 Moving to Node #0,0,0 Current State: 46:[24, 22], Operations: ['91-40=51', '51-29=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[29, 40, 24, 91], Operations: [] Exploring Operation: 91-40=51, Resulting Numbers: [29, 24, 51] Generated Node #0,0: 46:[29, 24, 51] Operation: 91-40=51 Moving to Node #0,0 Current State: 46:[29, 24, 51], Operations: ['91-40=51'] Exploring Operation: 51-29=22, Resulting Numbers: [24, 22] Generated Node #0,0,0: 46:[24, 22] Operation: 51-29=22 Moving to Node #0,0,0 Current State: 46:[24, 22], Operations: ['91-40=51', '51-29=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 2, 74, 80, 86 ]
94
[ "74-2=72", "80+86=166", "166-72=94" ]
Current State: 94:[2, 74, 80, 86], Operations: [] Exploring Operation: 74-2=72, Resulting Numbers: [80, 86, 72] Generated Node #2: [80, 86, 72] from Operation: 74-2=72 Current State: 94:[80, 86, 72], Operations: ['74-2=72'] Exploring Operation: 80+86=166, Resulting Numbers: [72, 166] Generated Node #3: [72, 166] from Operation: 80+86=166 Current State: 94:[72, 166], Operations: ['74-2=72', '80+86=166'] Exploring Operation: 166-72=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[2, 74, 80, 86], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [2, 86, 6] Generated Node #0,0: 94:[2, 86, 6] Operation: 80-74=6 Exploring Operation: 86-74=12, Resulting Numbers: [2, 80, 12] Generated Node #0,1: 94:[2, 80, 12] Operation: 86-74=12 Exploring Operation: 80/2=40, Resulting Numbers: [74, 86, 40] Generated Node #0,2: 94:[74, 86, 40] Operation: 80/2=40 Exploring Operation: 86-80=6, Resulting Numbers: [2, 74, 6] Generated Node #0,3: 94:[2, 74, 6] Operation: 86-80=6 Exploring Operation: 74/2=37, Resulting Numbers: [80, 86, 37] Generated Node #0,4: 94:[80, 86, 37] Operation: 74/2=37 Moving to Node #0,0 Current State: 94:[2, 86, 6], Operations: ['80-74=6'] Exploring Operation: 6-2=4, Resulting Numbers: [86, 4] Generated Node #0,0,0: 94:[86, 4] Operation: 6-2=4 Exploring Operation: 2+86=88, Resulting Numbers: [6, 88] Generated Node #0,0,1: 94:[6, 88] Operation: 2+86=88 Exploring Operation: 6/2=3, Resulting Numbers: [86, 3] Generated Node #0,0,2: 94:[86, 3] Operation: 6/2=3 Exploring Operation: 86+6=92, Resulting Numbers: [2, 92] Generated Node #0,0,3: 94:[2, 92] Operation: 86+6=92 Exploring Operation: 86/2=43, Resulting Numbers: [6, 43] Generated Node #0,0,4: 94:[6, 43] Operation: 86/2=43 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[2, 92], Operations: ['80-74=6', '86+6=92'] Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[2, 74, 80, 86], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [2, 86, 6] Generated Node #0,0: 94:[2, 86, 6] Operation: 80-74=6 Moving to Node #0,0 Current State: 94:[2, 86, 6], Operations: ['80-74=6'] Exploring Operation: 86+6=92, Resulting Numbers: [2, 92] Generated Node #0,0,3: 94:[2, 92] Operation: 86+6=92 Moving to Node #0,0,3 Current State: 94:[2, 92], Operations: ['80-74=6', '86+6=92'] Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 83, 22, 49, 79 ]
67
[ "83-22=61", "49+79=128", "128-61=67" ]
Current State: 67:[83, 22, 49, 79], Operations: [] Exploring Operation: 83-22=61, Resulting Numbers: [49, 79, 61] Generated Node #2: [49, 79, 61] from Operation: 83-22=61 Current State: 67:[49, 79, 61], Operations: ['83-22=61'] Exploring Operation: 49+79=128, Resulting Numbers: [61, 128] Generated Node #3: [61, 128] from Operation: 49+79=128 Current State: 67:[61, 128], Operations: ['83-22=61', '49+79=128'] Exploring Operation: 128-61=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[83, 22, 49, 79], Operations: [] Exploring Operation: 22+49=71, Resulting Numbers: [83, 79, 71] Generated Node #0,0: 67:[83, 79, 71] Operation: 22+49=71 Moving to Node #0,0 Current State: 67:[83, 79, 71], Operations: ['22+49=71'] Exploring Operation: 83-79=4, Resulting Numbers: [71, 4] Generated Node #0,0,0: 67:[71, 4] Operation: 83-79=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[71, 4], Operations: ['22+49=71', '83-79=4'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[83, 22, 49, 79], Operations: [] Exploring Operation: 22+49=71, Resulting Numbers: [83, 79, 71] Generated Node #0,0: 67:[83, 79, 71] Operation: 22+49=71 Moving to Node #0,0 Current State: 67:[83, 79, 71], Operations: ['22+49=71'] Exploring Operation: 83-79=4, Resulting Numbers: [71, 4] Generated Node #0,0,0: 67:[71, 4] Operation: 83-79=4 Moving to Node #0,0,0 Current State: 67:[71, 4], Operations: ['22+49=71', '83-79=4'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 51, 12, 8, 47 ]
92
[ "51-47=4", "12*8=96", "96-4=92" ]
Current State: 92:[51, 12, 8, 47], Operations: [] Exploring Operation: 51-47=4, Resulting Numbers: [12, 8, 4] Generated Node #2: [12, 8, 4] from Operation: 51-47=4 Current State: 92:[12, 8, 4], Operations: ['51-47=4'] Exploring Operation: 12*8=96, Resulting Numbers: [4, 96] Generated Node #3: [4, 96] from Operation: 12*8=96 Current State: 92:[4, 96], Operations: ['51-47=4', '12*8=96'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[51, 12, 8, 47], Operations: [] Exploring Operation: 12*8=96, Resulting Numbers: [51, 47, 96] Generated Node #0,0: 92:[51, 47, 96] Operation: 12*8=96 Exploring Operation: 12+8=20, Resulting Numbers: [51, 47, 20] Generated Node #0,1: 92:[51, 47, 20] Operation: 12+8=20 Exploring Operation: 12-8=4, Resulting Numbers: [51, 47, 4] Generated Node #0,2: 92:[51, 47, 4] Operation: 12-8=4 Moving to Node #0,2 Current State: 92:[51, 47, 4], Operations: ['12-8=4'] Exploring Operation: 51+47=98, Resulting Numbers: [4, 98] Generated Node #0,2,0: 92:[4, 98] Operation: 51+47=98 Exploring Operation: 51-47=4, Resulting Numbers: [4, 4] Generated Node #0,2,1: 92:[4, 4] Operation: 51-47=4 Exploring Operation: 51-4=47, Resulting Numbers: [47, 47] Generated Node #0,2,2: 92:[47, 47] Operation: 51-4=47 Moving to Node #0,1 Current State: 92:[51, 47, 20], Operations: ['12+8=20'] Exploring Operation: 51-47=4, Resulting Numbers: [20, 4] Generated Node #0,1,0: 92:[20, 4] Operation: 51-47=4 Exploring Operation: 51-20=31, Resulting Numbers: [47, 31] Generated Node #0,1,1: 92:[47, 31] Operation: 51-20=31 Exploring Operation: 51+47=98, Resulting Numbers: [20, 98] Generated Node #0,1,2: 92:[20, 98] Operation: 51+47=98 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[20, 4], Operations: ['12+8=20', '51-47=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[47, 31], Operations: ['12+8=20', '51-20=31'] Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,92 unequal: No Solution Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[20, 98], Operations: ['12+8=20', '51+47=98'] Exploring Operation: 20+98=118, Resulting Numbers: [118] 118,92 unequal: No Solution Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 20*98=1960, Resulting Numbers: [1960] 1960,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 92:[51, 47, 96], Operations: ['12*8=96'] Exploring Operation: 96-51=45, Resulting Numbers: [47, 45] Generated Node #0,0,0: 92:[47, 45] Operation: 96-51=45 Exploring Operation: 96-47=49, Resulting Numbers: [51, 49] Generated Node #0,0,1: 92:[51, 49] Operation: 96-47=49 Exploring Operation: 51-47=4, Resulting Numbers: [96, 4] Generated Node #0,0,2: 92:[96, 4] Operation: 51-47=4 Moving to Node #0,2,1 Current State: 92:[4, 4], Operations: ['12-8=4', '51-47=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[47, 47], Operations: ['12-8=4', '51-4=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,92 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[47, 45], Operations: ['12*8=96', '96-51=45'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[51, 12, 8, 47], Operations: [] Exploring Operation: 12*8=96, Resulting Numbers: [51, 47, 96] Generated Node #0,0: 92:[51, 47, 96] Operation: 12*8=96 Moving to Node #0,0 Current State: 92:[51, 47, 96], Operations: ['12*8=96'] Exploring Operation: 96-51=45, Resulting Numbers: [47, 45] Generated Node #0,0,0: 92:[47, 45] Operation: 96-51=45 Moving to Node #0,0,0 Current State: 92:[47, 45], Operations: ['12*8=96', '96-51=45'] Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.971354
hs_3
mult_heuristic
[ 59, 59, 13, 70 ]
61
[ "59+59=118", "70-13=57", "118-57=61" ]
Current State: 61:[59, 59, 13, 70], Operations: [] Exploring Operation: 59+59=118, Resulting Numbers: [13, 70, 118] Generated Node #2: [13, 70, 118] from Operation: 59+59=118 Current State: 61:[13, 70, 118], Operations: ['59+59=118'] Exploring Operation: 70-13=57, Resulting Numbers: [118, 57] Generated Node #3: [118, 57] from Operation: 70-13=57 Current State: 61:[118, 57], Operations: ['59+59=118', '70-13=57'] Exploring Operation: 118-57=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[59, 59, 13, 70], Operations: [] Exploring Operation: 70-13=57, Resulting Numbers: [59, 59, 57] Generated Node #0,0: 61:[59, 59, 57] Operation: 70-13=57 Exploring Operation: 59-13=46, Resulting Numbers: [59, 70, 46] Generated Node #0,1: 61:[59, 70, 46] Operation: 59-13=46 Exploring Operation: 59+13=72, Resulting Numbers: [59, 70, 72] Generated Node #0,2: 61:[59, 70, 72] Operation: 59+13=72 Exploring Operation: 59-13=46, Resulting Numbers: [59, 70, 46] Generated Node #0,3: 61:[59, 70, 46] Operation: 59-13=46 Exploring Operation: 59+13=72, Resulting Numbers: [59, 70, 72] Generated Node #0,4: 61:[59, 70, 72] Operation: 59+13=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[59, 59, 57], Operations: ['70-13=57'] Exploring Operation: 59+59=118, Resulting Numbers: [57, 118] Generated Node #0,0,0: 61:[57, 118] Operation: 59+59=118 Exploring Operation: 59+57=116, Resulting Numbers: [59, 116] Generated Node #0,0,1: 61:[59, 116] Operation: 59+57=116 Exploring Operation: 59-57=2, Resulting Numbers: [59, 2] Generated Node #0,0,2: 61:[59, 2] Operation: 59-57=2 Exploring Operation: 59-57=2, Resulting Numbers: [59, 2] Generated Node #0,0,3: 61:[59, 2] Operation: 59-57=2 Exploring Operation: 59+57=116, Resulting Numbers: [59, 116] Generated Node #0,0,4: 61:[59, 116] Operation: 59+57=116 Moving to Node #0,0,1 Current State: 61:[59, 116], Operations: ['70-13=57', '59+57=116'] Exploring Operation: 116-59=57, Resulting Numbers: [57] 57,61 unequal: No Solution Exploring Operation: 59*116=6844, Resulting Numbers: [6844] 6844,61 unequal: No Solution Exploring Operation: 59+116=175, Resulting Numbers: [175] 175,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[59, 116], Operations: ['70-13=57', '59+57=116'] Exploring Operation: 116-59=57, Resulting Numbers: [57] 57,61 unequal: No Solution Exploring Operation: 59*116=6844, Resulting Numbers: [6844] 6844,61 unequal: No Solution Exploring Operation: 59+116=175, Resulting Numbers: [175] 175,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[57, 118], Operations: ['70-13=57', '59+59=118'] Exploring Operation: 118-57=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[59, 59, 13, 70], Operations: [] Exploring Operation: 70-13=57, Resulting Numbers: [59, 59, 57] Generated Node #0,0: 61:[59, 59, 57] Operation: 70-13=57 Moving to Node #0,0 Current State: 61:[59, 59, 57], Operations: ['70-13=57'] Exploring Operation: 59+59=118, Resulting Numbers: [57, 118] Generated Node #0,0,0: 61:[57, 118] Operation: 59+59=118 Moving to Node #0,0,0 Current State: 61:[57, 118], Operations: ['70-13=57', '59+59=118'] Exploring Operation: 118-57=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 98, 69, 73, 95 ]
96
[ "98-95=3", "69/3=23", "73+23=96" ]
Current State: 96:[98, 69, 73, 95], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [69, 73, 3] Generated Node #2: [69, 73, 3] from Operation: 98-95=3 Current State: 96:[69, 73, 3], Operations: ['98-95=3'] Exploring Operation: 69/3=23, Resulting Numbers: [73, 23] Generated Node #3: [73, 23] from Operation: 69/3=23 Current State: 96:[73, 23], Operations: ['98-95=3', '69/3=23'] Exploring Operation: 73+23=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[98, 69, 73, 95], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [98, 95, 4] Generated Node #0,0: 96:[98, 95, 4] Operation: 73-69=4 Exploring Operation: 95-73=22, Resulting Numbers: [98, 69, 22] Generated Node #0,1: 96:[98, 69, 22] Operation: 95-73=22 Exploring Operation: 98-73=25, Resulting Numbers: [69, 95, 25] Generated Node #0,2: 96:[69, 95, 25] Operation: 98-73=25 Moving to Node #0,0 Current State: 96:[98, 95, 4], Operations: ['73-69=4'] Exploring Operation: 98-95=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 96:[4, 3] Operation: 98-95=3 Exploring Operation: 95+4=99, Resulting Numbers: [98, 99] Generated Node #0,0,1: 96:[98, 99] Operation: 95+4=99 Exploring Operation: 98-4=94, Resulting Numbers: [95, 94] Generated Node #0,0,2: 96:[95, 94] Operation: 98-4=94 Moving to Node #0,2 Current State: 96:[69, 95, 25], Operations: ['98-73=25'] Exploring Operation: 69+25=94, Resulting Numbers: [95, 94] Generated Node #0,2,0: 96:[95, 94] Operation: 69+25=94 Exploring Operation: 95-69=26, Resulting Numbers: [25, 26] Generated Node #0,2,1: 96:[25, 26] Operation: 95-69=26 Exploring Operation: 69-25=44, Resulting Numbers: [95, 44] Generated Node #0,2,2: 96:[95, 44] Operation: 69-25=44 Moving to Node #0,1 Current State: 96:[98, 69, 22], Operations: ['95-73=22'] Exploring Operation: 98-69=29, Resulting Numbers: [22, 29] Generated Node #0,1,0: 96:[22, 29] Operation: 98-69=29 Exploring Operation: 69+22=91, Resulting Numbers: [98, 91] Generated Node #0,1,1: 96:[98, 91] Operation: 69+22=91 Exploring Operation: 69-22=47, Resulting Numbers: [98, 47] Generated Node #0,1,2: 96:[98, 47] Operation: 69-22=47 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[98, 47], Operations: ['95-73=22', '69-22=47'] Exploring Operation: 98+47=145, Resulting Numbers: [145] 145,96 unequal: No Solution Exploring Operation: 98*47=4606, Resulting Numbers: [4606] 4606,96 unequal: No Solution Exploring Operation: 98-47=51, Resulting Numbers: [51] 51,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:[22, 29], Operations: ['95-73=22', '98-69=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,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,1 Current State: 96:[98, 91], Operations: ['95-73=22', '69+22=91'] Exploring Operation: 98-91=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 98*91=8918, Resulting Numbers: [8918] 8918,96 unequal: No Solution Exploring Operation: 98+91=189, Resulting Numbers: [189] 189,96 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: 96:[4, 3], Operations: ['73-69=4', '98-95=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[95, 94], Operations: ['73-69=4', '98-4=94'] Exploring Operation: 95+94=189, Resulting Numbers: [189] 189,96 unequal: No Solution Exploring Operation: 95*94=8930, Resulting Numbers: [8930] 8930,96 unequal: No Solution Exploring Operation: 95-94=1, Resulting Numbers: [1] 1,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[25, 26], Operations: ['98-73=25', '95-69=26'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[95, 94], Operations: ['98-73=25', '69+25=94'] Exploring Operation: 95*94=8930, Resulting Numbers: [8930] 8930,96 unequal: No Solution Exploring Operation: 95+94=189, Resulting Numbers: [189] 189,96 unequal: No Solution Exploring Operation: 95-94=1, Resulting Numbers: [1] 1,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[95, 44], Operations: ['98-73=25', '69-25=44'] Exploring Operation: 95-44=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 95+44=139, Resulting Numbers: [139] 139,96 unequal: No Solution Exploring Operation: 95*44=4180, Resulting Numbers: [4180] 4180,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[98, 99], Operations: ['73-69=4', '95+4=99'] Exploring Operation: 99-98=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 98+99=197, Resulting Numbers: [197] 197,96 unequal: No Solution Exploring Operation: 98*99=9702, Resulting Numbers: [9702] 9702,96 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 72, 94, 34, 15 ]
71
[ "94-72=22", "34+15=49", "22+49=71" ]
Current State: 71:[72, 94, 34, 15], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [34, 15, 22] Generated Node #2: [34, 15, 22] from Operation: 94-72=22 Current State: 71:[34, 15, 22], Operations: ['94-72=22'] Exploring Operation: 34+15=49, Resulting Numbers: [22, 49] Generated Node #3: [22, 49] from Operation: 34+15=49 Current State: 71:[22, 49], Operations: ['94-72=22', '34+15=49'] Exploring Operation: 22+49=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[72, 94, 34, 15], Operations: [] Exploring Operation: 34+15=49, Resulting Numbers: [72, 94, 49] Generated Node #0,0: 71:[72, 94, 49] Operation: 34+15=49 Exploring Operation: 94-34=60, Resulting Numbers: [72, 15, 60] Generated Node #0,1: 71:[72, 15, 60] Operation: 94-34=60 Exploring Operation: 94-15=79, Resulting Numbers: [72, 34, 79] Generated Node #0,2: 71:[72, 34, 79] Operation: 94-15=79 Moving to Node #0,0 Current State: 71:[72, 94, 49], Operations: ['34+15=49'] Exploring Operation: 94-72=22, Resulting Numbers: [49, 22] Generated Node #0,0,0: 71:[49, 22] Operation: 94-72=22 Exploring Operation: 94-49=45, Resulting Numbers: [72, 45] Generated Node #0,0,1: 71:[72, 45] Operation: 94-49=45 Exploring Operation: 72-49=23, Resulting Numbers: [94, 23] Generated Node #0,0,2: 71:[94, 23] Operation: 72-49=23 Moving to Node #0,2 Current State: 71:[72, 34, 79], Operations: ['94-15=79'] Exploring Operation: 72-34=38, Resulting Numbers: [79, 38] Generated Node #0,2,0: 71:[79, 38] Operation: 72-34=38 Exploring Operation: 79-34=45, Resulting Numbers: [72, 45] Generated Node #0,2,1: 71:[72, 45] Operation: 79-34=45 Exploring Operation: 72+34=106, Resulting Numbers: [79, 106] Generated Node #0,2,2: 71:[79, 106] Operation: 72+34=106 Moving to Node #0,1 Current State: 71:[72, 15, 60], Operations: ['94-34=60'] Exploring Operation: 15+60=75, Resulting Numbers: [72, 75] Generated Node #0,1,0: 71:[72, 75] Operation: 15+60=75 Exploring Operation: 72+15=87, Resulting Numbers: [60, 87] Generated Node #0,1,1: 71:[60, 87] Operation: 72+15=87 Exploring Operation: 72-15=57, Resulting Numbers: [60, 57] Generated Node #0,1,2: 71:[60, 57] Operation: 72-15=57 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[72, 75], Operations: ['94-34=60', '15+60=75'] Exploring Operation: 72*75=5400, Resulting Numbers: [5400] 5400,71 unequal: No Solution Exploring Operation: 72+75=147, Resulting Numbers: [147] 147,71 unequal: No Solution Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,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:[60, 57], Operations: ['94-34=60', '72-15=57'] Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 60+57=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 60*57=3420, Resulting Numbers: [3420] 3420,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:[60, 87], Operations: ['94-34=60', '72+15=87'] Exploring Operation: 60*87=5220, Resulting Numbers: [5220] 5220,71 unequal: No Solution Exploring Operation: 60+87=147, Resulting Numbers: [147] 147,71 unequal: No Solution Exploring Operation: 87-60=27, Resulting Numbers: [27] 27,71 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: 71:[72, 45], Operations: ['34+15=49', '94-49=45'] Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,71 unequal: No Solution Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[72, 45], Operations: ['94-15=79', '79-34=45'] Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,71 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[79, 38], Operations: ['94-15=79', '72-34=38'] Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,71 unequal: No Solution Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,71 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[79, 106], Operations: ['94-15=79', '72+34=106'] Exploring Operation: 79*106=8374, Resulting Numbers: [8374] 8374,71 unequal: No Solution Exploring Operation: 106-79=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 79+106=185, Resulting Numbers: [185] 185,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[49, 22], Operations: ['34+15=49', '94-72=22'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[72, 94, 34, 15], Operations: [] Exploring Operation: 34+15=49, Resulting Numbers: [72, 94, 49] Generated Node #0,0: 71:[72, 94, 49] Operation: 34+15=49 Moving to Node #0,0 Current State: 71:[72, 94, 49], Operations: ['34+15=49'] Exploring Operation: 94-72=22, Resulting Numbers: [49, 22] Generated Node #0,0,0: 71:[49, 22] Operation: 94-72=22 Moving to Node #0,0,0 Current State: 71:[49, 22], Operations: ['34+15=49', '94-72=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.966146
hs_3
mult_heuristic
[ 27, 28, 8, 61 ]
48
[ "27+28=55", "61-55=6", "8*6=48" ]
Current State: 48:[27, 28, 8, 61], Operations: [] Exploring Operation: 27+28=55, Resulting Numbers: [8, 61, 55] Generated Node #2: [8, 61, 55] from Operation: 27+28=55 Current State: 48:[8, 61, 55], Operations: ['27+28=55'] Exploring Operation: 61-55=6, Resulting Numbers: [8, 6] Generated Node #3: [8, 6] from Operation: 61-55=6 Current State: 48:[8, 6], Operations: ['27+28=55', '61-55=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[27, 28, 8, 61], Operations: [] Exploring Operation: 61-28=33, Resulting Numbers: [27, 8, 33] Generated Node #0,0: 48:[27, 8, 33] Operation: 61-28=33 Exploring Operation: 28-27=1, Resulting Numbers: [8, 61, 1] Generated Node #0,1: 48:[8, 61, 1] Operation: 28-27=1 Exploring Operation: 61-8=53, Resulting Numbers: [27, 28, 53] Generated Node #0,2: 48:[27, 28, 53] Operation: 61-8=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[27, 8, 33], Operations: ['61-28=33'] Exploring Operation: 8+33=41, Resulting Numbers: [27, 41] Generated Node #0,0,0: 48:[27, 41] Operation: 8+33=41 Exploring Operation: 33-8=25, Resulting Numbers: [27, 25] Generated Node #0,0,1: 48:[27, 25] Operation: 33-8=25 Exploring Operation: 33-27=6, Resulting Numbers: [8, 6] Generated Node #0,0,2: 48:[8, 6] Operation: 33-27=6 Moving to Node #0,0,2 Current State: 48:[8, 6], Operations: ['61-28=33', '33-27=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[27, 28, 8, 61], Operations: [] Exploring Operation: 61-28=33, Resulting Numbers: [27, 8, 33] Generated Node #0,0: 48:[27, 8, 33] Operation: 61-28=33 Moving to Node #0,0 Current State: 48:[27, 8, 33], Operations: ['61-28=33'] Exploring Operation: 33-27=6, Resulting Numbers: [8, 6] Generated Node #0,0,2: 48:[8, 6] Operation: 33-27=6 Moving to Node #0,0,2 Current State: 48:[8, 6], Operations: ['61-28=33', '33-27=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 14, 14, 49, 84 ]
35
[ "14-14=0", "84-49=35", "0+35=35" ]
Current State: 35:[14, 14, 49, 84], Operations: [] Exploring Operation: 14-14=0, Resulting Numbers: [49, 84, 0] Generated Node #2: [49, 84, 0] from Operation: 14-14=0 Current State: 35:[49, 84, 0], Operations: ['14-14=0'] Exploring Operation: 84-49=35, Resulting Numbers: [0, 35] Generated Node #3: [0, 35] from Operation: 84-49=35 Current State: 35:[0, 35], Operations: ['14-14=0', '84-49=35'] Exploring Operation: 0+35=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[14, 14, 49, 84], Operations: [] Exploring Operation: 84-14=70, Resulting Numbers: [14, 49, 70] Generated Node #0,0: 35:[14, 49, 70] Operation: 84-14=70 Exploring Operation: 49-14=35, Resulting Numbers: [14, 84, 35] Generated Node #0,1: 35:[14, 84, 35] Operation: 49-14=35 Exploring Operation: 84-49=35, Resulting Numbers: [14, 14, 35] Generated Node #0,2: 35:[14, 14, 35] Operation: 84-49=35 Exploring Operation: 84/14=6, Resulting Numbers: [14, 49, 6] Generated Node #0,3: 35:[14, 49, 6] Operation: 84/14=6 Exploring Operation: 84/14=6, Resulting Numbers: [14, 49, 6] Generated Node #0,4: 35:[14, 49, 6] Operation: 84/14=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[14, 14, 35], Operations: ['84-49=35'] Exploring Operation: 14/14=1, Resulting Numbers: [35, 1] Generated Node #0,2,0: 35:[35, 1] Operation: 14/14=1 Exploring Operation: 14+14=28, Resulting Numbers: [35, 28] Generated Node #0,2,1: 35:[35, 28] Operation: 14+14=28 Exploring Operation: 35-14=21, Resulting Numbers: [14, 21] Generated Node #0,2,2: 35:[14, 21] Operation: 35-14=21 Exploring Operation: 14-14=0, Resulting Numbers: [35, 0] Generated Node #0,2,3: 35:[35, 0] Operation: 14-14=0 Exploring Operation: 14+35=49, Resulting Numbers: [14, 49] Generated Node #0,2,4: 35:[14, 49] Operation: 14+35=49 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[35, 1], Operations: ['84-49=35', '14/14=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[14, 14, 49, 84], Operations: [] Exploring Operation: 84-49=35, Resulting Numbers: [14, 14, 35] Generated Node #0,2: 35:[14, 14, 35] Operation: 84-49=35 Moving to Node #0,2 Current State: 35:[14, 14, 35], Operations: ['84-49=35'] Exploring Operation: 14/14=1, Resulting Numbers: [35, 1] Generated Node #0,2,0: 35:[35, 1] Operation: 14/14=1 Moving to Node #0,2,0 Current State: 35:[35, 1], Operations: ['84-49=35', '14/14=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 6, 15, 36, 88 ]
34
[ "6*15=90", "36+88=124", "124-90=34" ]
Current State: 34:[6, 15, 36, 88], Operations: [] Exploring Operation: 6*15=90, Resulting Numbers: [36, 88, 90] Generated Node #2: [36, 88, 90] from Operation: 6*15=90 Current State: 34:[36, 88, 90], Operations: ['6*15=90'] Exploring Operation: 36+88=124, Resulting Numbers: [90, 124] Generated Node #3: [90, 124] from Operation: 36+88=124 Current State: 34:[90, 124], Operations: ['6*15=90', '36+88=124'] Exploring Operation: 124-90=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[6, 15, 36, 88], Operations: [] Exploring Operation: 88-36=52, Resulting Numbers: [6, 15, 52] Generated Node #0,0: 34:[6, 15, 52] Operation: 88-36=52 Exploring Operation: 6+15=21, Resulting Numbers: [36, 88, 21] Generated Node #0,1: 34:[36, 88, 21] Operation: 6+15=21 Exploring Operation: 88-15=73, Resulting Numbers: [6, 36, 73] Generated Node #0,2: 34:[6, 36, 73] Operation: 88-15=73 Exploring Operation: 88-6=82, Resulting Numbers: [15, 36, 82] Generated Node #0,3: 34:[15, 36, 82] Operation: 88-6=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[6, 15, 52], Operations: ['88-36=52'] Exploring Operation: 52-6=46, Resulting Numbers: [15, 46] Generated Node #0,0,0: 34:[15, 46] Operation: 52-6=46 Exploring Operation: 52-15=37, Resulting Numbers: [6, 37] Generated Node #0,0,1: 34:[6, 37] Operation: 52-15=37 Exploring Operation: 15-6=9, Resulting Numbers: [52, 9] Generated Node #0,0,2: 34:[52, 9] Operation: 15-6=9 Exploring Operation: 6+15=21, Resulting Numbers: [52, 21] Generated Node #0,0,3: 34:[52, 21] Operation: 6+15=21 Moving to Node #0,0,1 Current State: 34:[6, 37], Operations: ['88-36=52', '52-15=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[15, 46], Operations: ['88-36=52', '52-6=46'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 15*46=690, Resulting Numbers: [690] 690,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[52, 21], Operations: ['88-36=52', '6+15=21'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,34 unequal: No Solution Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[52, 9], Operations: ['88-36=52', '15-6=9'] Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,34 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[6, 36, 73], Operations: ['88-15=73'] Exploring Operation: 36-6=30, Resulting Numbers: [73, 30] Generated Node #0,2,0: 34:[73, 30] Operation: 36-6=30 Exploring Operation: 73-6=67, Resulting Numbers: [36, 67] Generated Node #0,2,1: 34:[36, 67] Operation: 73-6=67 Exploring Operation: 73-36=37, Resulting Numbers: [6, 37] Generated Node #0,2,2: 34:[6, 37] Operation: 73-36=37 Exploring Operation: 36/6=6, Resulting Numbers: [73, 6] Generated Node #0,2,3: 34:[73, 6] Operation: 36/6=6 Moving to Node #0,2,2 Current State: 34:[6, 37], Operations: ['88-15=73', '73-36=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[36, 67], Operations: ['88-15=73', '73-6=67'] Exploring Operation: 36*67=2412, Resulting Numbers: [2412] 2412,34 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[73, 6], Operations: ['88-15=73', '36/6=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,34 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[73, 30], Operations: ['88-15=73', '36-6=30'] Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,34 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[15, 36, 82], Operations: ['88-6=82'] Exploring Operation: 82-15=67, Resulting Numbers: [36, 67] Generated Node #0,3,0: 34:[36, 67] Operation: 82-15=67 Exploring Operation: 15+36=51, Resulting Numbers: [82, 51] Generated Node #0,3,1: 34:[82, 51] Operation: 15+36=51 Exploring Operation: 36-15=21, Resulting Numbers: [82, 21] Generated Node #0,3,2: 34:[82, 21] Operation: 36-15=21 Exploring Operation: 82-36=46, Resulting Numbers: [15, 46] Generated Node #0,3,3: 34:[15, 46] Operation: 82-36=46 Moving to Node #0,3,3 Current State: 34:[15, 46], Operations: ['88-6=82', '82-36=46'] Exploring Operation: 15*46=690, Resulting Numbers: [690] 690,34 unequal: No Solution Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[36, 67], Operations: ['88-6=82', '82-15=67'] Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,34 unequal: No Solution Exploring Operation: 36*67=2412, Resulting Numbers: [2412] 2412,34 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[82, 21], Operations: ['88-6=82', '36-15=21'] Exploring Operation: 82+21=103, Resulting Numbers: [103] 103,34 unequal: No Solution Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 82*21=1722, Resulting Numbers: [1722] 1722,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[82, 51], Operations: ['88-6=82', '15+36=51'] Exploring Operation: 82+51=133, Resulting Numbers: [133] 133,34 unequal: No Solution Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 82*51=4182, Resulting Numbers: [4182] 4182,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[36, 88, 21], Operations: ['6+15=21'] Exploring Operation: 88-36=52, Resulting Numbers: [21, 52] Generated Node #0,1,0: 34:[21, 52] Operation: 88-36=52 Exploring Operation: 36-21=15, Resulting Numbers: [88, 15] Generated Node #0,1,1: 34:[88, 15] Operation: 36-21=15 Exploring Operation: 36+21=57, Resulting Numbers: [88, 57] Generated Node #0,1,2: 34:[88, 57] Operation: 36+21=57 Exploring Operation: 88-21=67, Resulting Numbers: [36, 67] Generated Node #0,1,3: 34:[36, 67] Operation: 88-21=67 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[21, 52], Operations: ['6+15=21', '88-36=52'] Exploring Operation: 21*52=1092, Resulting Numbers: [1092] 1092,34 unequal: No Solution Exploring Operation: 21+52=73, Resulting Numbers: [73] 73,34 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,34 unequal: No Solution No 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: 34:[36, 67], Operations: ['6+15=21', '88-21=67'] Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 36*67=2412, Resulting Numbers: [2412] 2412,34 unequal: No Solution Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,34 unequal: No Solution No 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: 34:[88, 15], Operations: ['6+15=21', '36-21=15'] Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,34 unequal: No Solution Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,34 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,34 unequal: No Solution No 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: 34:[88, 57], Operations: ['6+15=21', '36+21=57'] Exploring Operation: 88*57=5016, Resulting Numbers: [5016] 5016,34 unequal: No Solution Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 88+57=145, Resulting Numbers: [145] 145,34 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
[ 20, 19, 69, 53 ]
16
[ "20-19=1", "69-53=16", "1*16=16" ]
Current State: 16:[20, 19, 69, 53], Operations: [] Exploring Operation: 20-19=1, Resulting Numbers: [69, 53, 1] Generated Node #2: [69, 53, 1] from Operation: 20-19=1 Current State: 16:[69, 53, 1], Operations: ['20-19=1'] Exploring Operation: 69-53=16, Resulting Numbers: [1, 16] Generated Node #3: [1, 16] from Operation: 69-53=16 Current State: 16:[1, 16], Operations: ['20-19=1', '69-53=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[20, 19, 69, 53], Operations: [] Exploring Operation: 69-19=50, Resulting Numbers: [20, 53, 50] Generated Node #0,0: 16:[20, 53, 50] Operation: 69-19=50 Exploring Operation: 69-20=49, Resulting Numbers: [19, 53, 49] Generated Node #0,1: 16:[19, 53, 49] Operation: 69-20=49 Exploring Operation: 53-19=34, Resulting Numbers: [20, 69, 34] Generated Node #0,2: 16:[20, 69, 34] Operation: 53-19=34 Exploring Operation: 53-20=33, Resulting Numbers: [19, 69, 33] Generated Node #0,3: 16:[19, 69, 33] Operation: 53-20=33 Exploring Operation: 69-53=16, Resulting Numbers: [20, 19, 16] Generated Node #0,4: 16:[20, 19, 16] Operation: 69-53=16 Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[20, 19, 16], Operations: ['69-53=16'] Exploring Operation: 19-16=3, Resulting Numbers: [20, 3] Generated Node #0,4,0: 16:[20, 3] Operation: 19-16=3 Exploring Operation: 20-19=1, Resulting Numbers: [16, 1] Generated Node #0,4,1: 16:[16, 1] Operation: 20-19=1 Exploring Operation: 20-16=4, Resulting Numbers: [19, 4] Generated Node #0,4,2: 16:[19, 4] Operation: 20-16=4 Exploring Operation: 20+16=36, Resulting Numbers: [19, 36] Generated Node #0,4,3: 16:[19, 36] Operation: 20+16=36 Exploring Operation: 20+19=39, Resulting Numbers: [16, 39] Generated Node #0,4,4: 16:[16, 39] Operation: 20+19=39 Moving to Node #0,4,1 Current State: 16:[16, 1], Operations: ['69-53=16', '20-19=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[20, 19, 69, 53], Operations: [] Exploring Operation: 69-53=16, Resulting Numbers: [20, 19, 16] Generated Node #0,4: 16:[20, 19, 16] Operation: 69-53=16 Moving to Node #0,4 Current State: 16:[20, 19, 16], Operations: ['69-53=16'] Exploring Operation: 20-19=1, Resulting Numbers: [16, 1] Generated Node #0,4,1: 16:[16, 1] Operation: 20-19=1 Moving to Node #0,4,1 Current State: 16:[16, 1], Operations: ['69-53=16', '20-19=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 50, 70, 70, 74 ]
80
[ "70-50=20", "74-70=4", "20*4=80" ]
Current State: 80:[50, 70, 70, 74], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [74, 20] Generated Node #2: [74, 20] from Operation: 70-50=20 Current State: 80:[74, 20], Operations: ['70-50=20'] Exploring Operation: 74-70=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 74-70=4 Current State: 80:[20, 4], Operations: ['70-50=20', '74-70=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[50, 70, 70, 74], Operations: [] Exploring Operation: 70/70=1, Resulting Numbers: [50, 74, 1] Generated Node #0,0: 80:[50, 74, 1] Operation: 70/70=1 Exploring Operation: 70-50=20, Resulting Numbers: [70, 74, 20] Generated Node #0,1: 80:[70, 74, 20] Operation: 70-50=20 Exploring Operation: 70-50=20, Resulting Numbers: [70, 74, 20] Generated Node #0,2: 80:[70, 74, 20] Operation: 70-50=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[70, 74, 20], Operations: ['70-50=20'] Exploring Operation: 70-20=50, Resulting Numbers: [74, 50] Generated Node #0,1,0: 80:[74, 50] Operation: 70-20=50 Exploring Operation: 74-70=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 80:[20, 4] Operation: 74-70=4 Exploring Operation: 70+20=90, Resulting Numbers: [74, 90] Generated Node #0,1,2: 80:[74, 90] Operation: 70+20=90 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[20, 4], Operations: ['70-50=20', '74-70=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[50, 70, 70, 74], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [70, 74, 20] Generated Node #0,1: 80:[70, 74, 20] Operation: 70-50=20 Moving to Node #0,1 Current State: 80:[70, 74, 20], Operations: ['70-50=20'] Exploring Operation: 74-70=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 80:[20, 4] Operation: 74-70=4 Moving to Node #0,1,1 Current State: 80:[20, 4], Operations: ['70-50=20', '74-70=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 85, 5, 7, 59 ]
13
[ "85-59=26", "7-5=2", "26/2=13" ]
Current State: 13:[85, 5, 7, 59], Operations: [] Exploring Operation: 85-59=26, Resulting Numbers: [5, 7, 26] Generated Node #2: [5, 7, 26] from Operation: 85-59=26 Current State: 13:[5, 7, 26], Operations: ['85-59=26'] Exploring Operation: 7-5=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 7-5=2 Current State: 13:[26, 2], Operations: ['85-59=26', '7-5=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[85, 5, 7, 59], Operations: [] Exploring Operation: 85-59=26, Resulting Numbers: [5, 7, 26] Generated Node #0,0: 13:[5, 7, 26] Operation: 85-59=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[5, 7, 26], Operations: ['85-59=26'] Exploring Operation: 5+7=12, Resulting Numbers: [26, 12] Generated Node #0,0,0: 13:[26, 12] Operation: 5+7=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[26, 12], Operations: ['85-59=26', '5+7=12'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,13 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
[ 80, 36, 56, 11 ]
15
[ "56-36=20", "80/20=4", "11+4=15" ]
Current State: 15:[80, 36, 56, 11], Operations: [] Exploring Operation: 56-36=20, Resulting Numbers: [80, 11, 20] Generated Node #2: [80, 11, 20] from Operation: 56-36=20 Current State: 15:[80, 11, 20], Operations: ['56-36=20'] Exploring Operation: 80/20=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 80/20=4 Current State: 15:[11, 4], Operations: ['56-36=20', '80/20=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[80, 36, 56, 11], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [36, 11, 24] Generated Node #0,0: 15:[36, 11, 24] Operation: 80-56=24 Exploring Operation: 80-36=44, Resulting Numbers: [56, 11, 44] Generated Node #0,1: 15:[56, 11, 44] Operation: 80-36=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[36, 11, 24], Operations: ['80-56=24'] Exploring Operation: 36-24=12, Resulting Numbers: [11, 12] Generated Node #0,0,0: 15:[11, 12] Operation: 36-24=12 Exploring Operation: 36-11=25, Resulting Numbers: [24, 25] Generated Node #0,0,1: 15:[24, 25] Operation: 36-11=25 Moving to Node #0,0,0 Current State: 15:[11, 12], Operations: ['80-56=24', '36-24=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[24, 25], Operations: ['80-56=24', '36-11=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[56, 11, 44], Operations: ['80-36=44'] Exploring Operation: 44/11=4, Resulting Numbers: [56, 4] Generated Node #0,1,0: 15:[56, 4] Operation: 44/11=4 Exploring Operation: 56-44=12, Resulting Numbers: [11, 12] Generated Node #0,1,1: 15:[11, 12] Operation: 56-44=12 Moving to Node #0,1,1 Current State: 15:[11, 12], Operations: ['80-36=44', '56-44=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[56, 4], Operations: ['80-36=44', '44/11=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,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
[ 45, 17, 67, 52 ]
38
[ "67+52=119", "119/17=7", "45-7=38" ]
Current State: 38:[45, 17, 67, 52], Operations: [] Exploring Operation: 67+52=119, Resulting Numbers: [45, 17, 119] Generated Node #2: [45, 17, 119] from Operation: 67+52=119 Current State: 38:[45, 17, 119], Operations: ['67+52=119'] Exploring Operation: 119/17=7, Resulting Numbers: [45, 7] Generated Node #3: [45, 7] from Operation: 119/17=7 Current State: 38:[45, 7], Operations: ['67+52=119', '119/17=7'] Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[45, 17, 67, 52], Operations: [] Exploring Operation: 67-52=15, Resulting Numbers: [45, 17, 15] Generated Node #0,0: 38:[45, 17, 15] Operation: 67-52=15 Exploring Operation: 67-17=50, Resulting Numbers: [45, 52, 50] Generated Node #0,1: 38:[45, 52, 50] Operation: 67-17=50 Exploring Operation: 67-45=22, Resulting Numbers: [17, 52, 22] Generated Node #0,2: 38:[17, 52, 22] Operation: 67-45=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[45, 17, 15], Operations: ['67-52=15'] Exploring Operation: 17-15=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 38:[45, 2] Operation: 17-15=2 Exploring Operation: 45-15=30, Resulting Numbers: [17, 30] Generated Node #0,0,1: 38:[17, 30] Operation: 45-15=30 Exploring Operation: 45/15=3, Resulting Numbers: [17, 3] Generated Node #0,0,2: 38:[17, 3] Operation: 45/15=3 Moving to Node #0,0,2 Current State: 38:[17, 3], Operations: ['67-52=15', '45/15=3'] Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[45, 2], Operations: ['67-52=15', '17-15=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[17, 30], Operations: ['67-52=15', '45-15=30'] Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,38 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[17, 52, 22], Operations: ['67-45=22'] Exploring Operation: 17+22=39, Resulting Numbers: [52, 39] Generated Node #0,2,0: 38:[52, 39] Operation: 17+22=39 Exploring Operation: 52-17=35, Resulting Numbers: [22, 35] Generated Node #0,2,1: 38:[22, 35] Operation: 52-17=35 Exploring Operation: 52-22=30, Resulting Numbers: [17, 30] Generated Node #0,2,2: 38:[17, 30] Operation: 52-22=30 Moving to Node #0,2,1 Current State: 38:[22, 35], Operations: ['67-45=22', '52-17=35'] Exploring Operation: 22+35=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 22*35=770, Resulting Numbers: [770] 770,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[17, 30], Operations: ['67-45=22', '52-22=30'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[52, 39], Operations: ['67-45=22', '17+22=39'] Exploring Operation: 52*39=2028, Resulting Numbers: [2028] 2028,38 unequal: No Solution Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 52+39=91, Resulting Numbers: [91] 91,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[45, 52, 50], Operations: ['67-17=50'] Exploring Operation: 50-45=5, Resulting Numbers: [52, 5] Generated Node #0,1,0: 38:[52, 5] Operation: 50-45=5 Exploring Operation: 52-45=7, Resulting Numbers: [50, 7] Generated Node #0,1,1: 38:[50, 7] Operation: 52-45=7 Exploring Operation: 52-50=2, Resulting Numbers: [45, 2] Generated Node #0,1,2: 38:[45, 2] Operation: 52-50=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[45, 2], Operations: ['67-17=50', '52-50=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,38 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[52, 5], Operations: ['67-17=50', '50-45=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,38 unequal: No Solution Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,38 unequal: No Solution Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[50, 7], Operations: ['67-17=50', '52-45=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,38 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 34, 25, 37, 34 ]
25
[ "34-34=0", "37*0=0", "25+0=25" ]
Current State: 25:[34, 25, 37, 34], Operations: [] Exploring Operation: 34-34=0, Resulting Numbers: [25, 37, 0] Generated Node #2: [25, 37, 0] from Operation: 34-34=0 Current State: 25:[25, 37, 0], Operations: ['34-34=0'] Exploring Operation: 37*0=0, Resulting Numbers: [25, 0] Generated Node #3: [25, 0] from Operation: 37*0=0 Current State: 25:[25, 0], Operations: ['34-34=0', '37*0=0'] Exploring Operation: 25+0=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[34, 25, 37, 34], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [25, 34, 3] Generated Node #0,0: 25:[25, 34, 3] Operation: 37-34=3 Exploring Operation: 37-34=3, Resulting Numbers: [34, 25, 3] Generated Node #0,1: 25:[34, 25, 3] Operation: 37-34=3 Exploring Operation: 34/34=1, Resulting Numbers: [25, 37, 1] Generated Node #0,2: 25:[25, 37, 1] Operation: 34/34=1 Moving to Node #0,0 Current State: 25:[25, 34, 3], Operations: ['37-34=3'] Exploring Operation: 25+3=28, Resulting Numbers: [34, 28] Generated Node #0,0,0: 25:[34, 28] Operation: 25+3=28 Exploring Operation: 34-25=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 25:[3, 9] Operation: 34-25=9 Exploring Operation: 34-3=31, Resulting Numbers: [25, 31] Generated Node #0,0,2: 25:[25, 31] Operation: 34-3=31 Moving to Node #0,1 Current State: 25:[34, 25, 3], Operations: ['37-34=3'] Exploring Operation: 34-3=31, Resulting Numbers: [25, 31] Generated Node #0,1,0: 25:[25, 31] Operation: 34-3=31 Exploring Operation: 34+3=37, Resulting Numbers: [25, 37] Generated Node #0,1,1: 25:[25, 37] Operation: 34+3=37 Exploring Operation: 34-25=9, Resulting Numbers: [3, 9] Generated Node #0,1,2: 25:[3, 9] Operation: 34-25=9 Moving to Node #0,2 Current State: 25:[25, 37, 1], Operations: ['34/34=1'] Exploring Operation: 25*1=25, Resulting Numbers: [37, 25] Generated Node #0,2,0: 25:[37, 25] Operation: 25*1=25 Exploring Operation: 37-25=12, Resulting Numbers: [1, 12] Generated Node #0,2,1: 25:[1, 12] Operation: 37-25=12 Exploring Operation: 37-1=36, Resulting Numbers: [25, 36] Generated Node #0,2,2: 25:[25, 36] Operation: 37-1=36 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[1, 12], Operations: ['34/34=1', '37-25=12'] Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[25, 36], Operations: ['34/34=1', '37-1=36'] Exploring Operation: 25*36=900, Resulting Numbers: [900] 900,25 unequal: No Solution Exploring Operation: 25+36=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[37, 25], Operations: ['34/34=1', '25*1=25'] Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,25 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 25:[3, 9], Operations: ['37-34=3', '34-25=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[25, 31], Operations: ['37-34=3', '34-3=31'] Exploring Operation: 25*31=775, Resulting Numbers: [775] 775,25 unequal: No Solution Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[3, 9], Operations: ['37-34=3', '34-25=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,25 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[25, 31], Operations: ['37-34=3', '34-3=31'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 25*31=775, Resulting Numbers: [775] 775,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[25, 37], Operations: ['37-34=3', '34+3=37'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,25 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[34, 28], Operations: ['37-34=3', '25+3=28'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,25 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 7, 92, 5, 78 ]
28
[ "7-5=2", "92-78=14", "2*14=28" ]
Current State: 28:[7, 92, 5, 78], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [92, 78, 2] Generated Node #2: [92, 78, 2] from Operation: 7-5=2 Current State: 28:[92, 78, 2], Operations: ['7-5=2'] Exploring Operation: 92-78=14, Resulting Numbers: [2, 14] Generated Node #3: [2, 14] from Operation: 92-78=14 Current State: 28:[2, 14], Operations: ['7-5=2', '92-78=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[7, 92, 5, 78], Operations: [] Exploring Operation: 92-7=85, Resulting Numbers: [5, 78, 85] Generated Node #0,0: 28:[5, 78, 85] Operation: 92-7=85 Exploring Operation: 92-78=14, Resulting Numbers: [7, 5, 14] Generated Node #0,1: 28:[7, 5, 14] Operation: 92-78=14 Moving to Node #0,1 Current State: 28:[7, 5, 14], Operations: ['92-78=14'] Exploring Operation: 14-7=7, Resulting Numbers: [5, 7] Generated Node #0,1,0: 28:[5, 7] Operation: 14-7=7 Exploring Operation: 7-5=2, Resulting Numbers: [14, 2] Generated Node #0,1,1: 28:[14, 2] Operation: 7-5=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[14, 2], Operations: ['92-78=14', '7-5=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[7, 92, 5, 78], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [7, 5, 14] Generated Node #0,1: 28:[7, 5, 14] Operation: 92-78=14 Moving to Node #0,1 Current State: 28:[7, 5, 14], Operations: ['92-78=14'] Exploring Operation: 7-5=2, Resulting Numbers: [14, 2] Generated Node #0,1,1: 28:[14, 2] Operation: 7-5=2 Moving to Node #0,1,1 Current State: 28:[14, 2], Operations: ['92-78=14', '7-5=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 44, 4, 19, 79 ]
58
[ "44-4=40", "19+79=98", "98-40=58" ]
Current State: 58:[44, 4, 19, 79], Operations: [] Exploring Operation: 44-4=40, Resulting Numbers: [19, 79, 40] Generated Node #2: [19, 79, 40] from Operation: 44-4=40 Current State: 58:[19, 79, 40], Operations: ['44-4=40'] Exploring Operation: 19+79=98, Resulting Numbers: [40, 98] Generated Node #3: [40, 98] from Operation: 19+79=98 Current State: 58:[40, 98], Operations: ['44-4=40', '19+79=98'] Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[44, 4, 19, 79], Operations: [] Exploring Operation: 79-19=60, Resulting Numbers: [44, 4, 60] Generated Node #0,0: 58:[44, 4, 60] Operation: 79-19=60 Exploring Operation: 44-19=25, Resulting Numbers: [4, 79, 25] Generated Node #0,1: 58:[4, 79, 25] Operation: 44-19=25 Exploring Operation: 44+19=63, Resulting Numbers: [4, 79, 63] Generated Node #0,2: 58:[4, 79, 63] Operation: 44+19=63 Exploring Operation: 79-44=35, Resulting Numbers: [4, 19, 35] Generated Node #0,3: 58:[4, 19, 35] Operation: 79-44=35 Moving to Node #0,0 Current State: 58:[44, 4, 60], Operations: ['79-19=60'] Exploring Operation: 60-44=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 58:[4, 16] Operation: 60-44=16 Exploring Operation: 44+4=48, Resulting Numbers: [60, 48] Generated Node #0,0,1: 58:[60, 48] Operation: 44+4=48 Exploring Operation: 44-4=40, Resulting Numbers: [60, 40] Generated Node #0,0,2: 58:[60, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [60, 11] Generated Node #0,0,3: 58:[60, 11] Operation: 44/4=11 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 58:[60, 11], Operations: ['79-19=60', '44/4=11'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 60*11=660, Resulting Numbers: [660] 660,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,0,1 Current State: 58:[60, 48], Operations: ['79-19=60', '44+4=48'] Exploring Operation: 60*48=2880, Resulting Numbers: [2880] 2880,58 unequal: No Solution Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,58 unequal: No Solution Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,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,0,2 Current State: 58:[60, 40], Operations: ['79-19=60', '44-4=40'] Exploring Operation: 60*40=2400, Resulting Numbers: [2400] 2400,58 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 60+40=100, Resulting Numbers: [100] 100,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,0,0 Current State: 58:[4, 16], Operations: ['79-19=60', '60-44=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,58 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,58 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: 58:[4, 19, 35], Operations: ['79-44=35'] Exploring Operation: 4+19=23, Resulting Numbers: [35, 23] Generated Node #0,3,0: 58:[35, 23] Operation: 4+19=23 Exploring Operation: 19+35=54, Resulting Numbers: [4, 54] Generated Node #0,3,1: 58:[4, 54] Operation: 19+35=54 Exploring Operation: 35-4=31, Resulting Numbers: [19, 31] Generated Node #0,3,2: 58:[19, 31] Operation: 35-4=31 Exploring Operation: 35-19=16, Resulting Numbers: [4, 16] Generated Node #0,3,3: 58:[4, 16] Operation: 35-19=16 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 58:[4, 54], Operations: ['79-44=35', '19+35=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,58 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[44, 4, 19, 79], Operations: [] Exploring Operation: 79-44=35, Resulting Numbers: [4, 19, 35] Generated Node #0,3: 58:[4, 19, 35] Operation: 79-44=35 Moving to Node #0,3 Current State: 58:[4, 19, 35], Operations: ['79-44=35'] Exploring Operation: 19+35=54, Resulting Numbers: [4, 54] Generated Node #0,3,1: 58:[4, 54] Operation: 19+35=54 Moving to Node #0,3,1 Current State: 58:[4, 54], Operations: ['79-44=35', '19+35=54'] Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 1, 32, 16, 83 ]
81
[ "1*32=32", "32/16=2", "83-2=81" ]
Current State: 81:[1, 32, 16, 83], Operations: [] Exploring Operation: 1*32=32, Resulting Numbers: [16, 83, 32] Generated Node #2: [16, 83, 32] from Operation: 1*32=32 Current State: 81:[16, 83, 32], Operations: ['1*32=32'] Exploring Operation: 32/16=2, Resulting Numbers: [83, 2] Generated Node #3: [83, 2] from Operation: 32/16=2 Current State: 81:[83, 2], Operations: ['1*32=32', '32/16=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[1, 32, 16, 83], Operations: [] Exploring Operation: 32-16=16, Resulting Numbers: [1, 83, 16] Generated Node #0,0: 81:[1, 83, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [1, 83, 2] Generated Node #0,1: 81:[1, 83, 2] Operation: 32/16=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[1, 83, 2], Operations: ['32/16=2'] Exploring Operation: 83-1=82, Resulting Numbers: [2, 82] Generated Node #0,1,0: 81:[2, 82] Operation: 83-1=82 Exploring Operation: 1+2=3, Resulting Numbers: [83, 3] Generated Node #0,1,1: 81:[83, 3] Operation: 1+2=3 Moving to Node #0,1,0 Current State: 81:[2, 82], Operations: ['32/16=2', '83-1=82'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[83, 3], Operations: ['32/16=2', '1+2=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[1, 83, 16], Operations: ['32-16=16'] Exploring Operation: 16-1=15, Resulting Numbers: [83, 15] Generated Node #0,0,0: 81:[83, 15] Operation: 16-1=15 Exploring Operation: 83-1=82, Resulting Numbers: [16, 82] Generated Node #0,0,1: 81:[16, 82] Operation: 83-1=82 Moving to Node #0,0,0 Current State: 81:[83, 15], Operations: ['32-16=16', '16-1=15'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,81 unequal: No Solution Exploring Operation: 83+15=98, Resulting Numbers: [98] 98,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[16, 82], Operations: ['32-16=16', '83-1=82'] Exploring Operation: 16+82=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 36, 46, 92, 3 ]
62
[ "46-36=10", "3*10=30", "92-30=62" ]
Current State: 62:[36, 46, 92, 3], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [92, 3, 10] Generated Node #2: [92, 3, 10] from Operation: 46-36=10 Current State: 62:[92, 3, 10], Operations: ['46-36=10'] Exploring Operation: 3*10=30, Resulting Numbers: [92, 30] Generated Node #3: [92, 30] from Operation: 3*10=30 Current State: 62:[92, 30], Operations: ['46-36=10', '3*10=30'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[36, 46, 92, 3], Operations: [] Exploring Operation: 92-36=56, Resulting Numbers: [46, 3, 56] Generated Node #0,0: 62:[46, 3, 56] Operation: 92-36=56 Exploring Operation: 92/46=2, Resulting Numbers: [36, 3, 2] Generated Node #0,1: 62:[36, 3, 2] Operation: 92/46=2 Exploring Operation: 92-46=46, Resulting Numbers: [36, 3, 46] Generated Node #0,2: 62:[36, 3, 46] Operation: 92-46=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[36, 3, 2], Operations: ['92/46=2'] Exploring Operation: 3-2=1, Resulting Numbers: [36, 1] Generated Node #0,1,0: 62:[36, 1] Operation: 3-2=1 Exploring Operation: 36-3=33, Resulting Numbers: [2, 33] Generated Node #0,1,1: 62:[2, 33] Operation: 36-3=33 Exploring Operation: 36-2=34, Resulting Numbers: [3, 34] Generated Node #0,1,2: 62:[3, 34] Operation: 36-2=34 Moving to Node #0,1,1 Current State: 62:[2, 33], Operations: ['92/46=2', '36-3=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[3, 34], Operations: ['92/46=2', '36-2=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,62 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[36, 1], Operations: ['92/46=2', '3-2=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,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 Current State: 62:[36, 3, 46], Operations: ['92-46=46'] Exploring Operation: 46-36=10, Resulting Numbers: [3, 10] Generated Node #0,2,0: 62:[3, 10] Operation: 46-36=10 Exploring Operation: 36-3=33, Resulting Numbers: [46, 33] Generated Node #0,2,1: 62:[46, 33] Operation: 36-3=33 Exploring Operation: 46-3=43, Resulting Numbers: [36, 43] Generated Node #0,2,2: 62:[36, 43] Operation: 46-3=43 Moving to Node #0,2,0 Current State: 62:[3, 10], Operations: ['92-46=46', '46-36=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[46, 33], Operations: ['92-46=46', '36-3=33'] Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,62 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[36, 43], Operations: ['92-46=46', '46-3=43'] Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,62 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,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 Current State: 62:[46, 3, 56], Operations: ['92-36=56'] Exploring Operation: 46-3=43, Resulting Numbers: [56, 43] Generated Node #0,0,0: 62:[56, 43] Operation: 46-3=43 Exploring Operation: 3+56=59, Resulting Numbers: [46, 59] Generated Node #0,0,1: 62:[46, 59] Operation: 3+56=59 Exploring Operation: 56-46=10, Resulting Numbers: [3, 10] Generated Node #0,0,2: 62:[3, 10] Operation: 56-46=10 Moving to Node #0,0,2 Current State: 62:[3, 10], Operations: ['92-36=56', '56-46=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[56, 43], Operations: ['92-36=56', '46-3=43'] Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 56+43=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 56*43=2408, Resulting Numbers: [2408] 2408,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[46, 59], Operations: ['92-36=56', '3+56=59'] Exploring Operation: 46+59=105, Resulting Numbers: [105] 105,62 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 46*59=2714, Resulting Numbers: [2714] 2714,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 36, 52, 56, 14 ]
11
[ "52+56=108", "108/36=3", "14-3=11" ]
Current State: 11:[36, 52, 56, 14], Operations: [] Exploring Operation: 52+56=108, Resulting Numbers: [36, 14, 108] Generated Node #2: [36, 14, 108] from Operation: 52+56=108 Current State: 11:[36, 14, 108], Operations: ['52+56=108'] Exploring Operation: 108/36=3, Resulting Numbers: [14, 3] Generated Node #3: [14, 3] from Operation: 108/36=3 Current State: 11:[14, 3], Operations: ['52+56=108', '108/36=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[36, 52, 56, 14], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [56, 14, 16] Generated Node #0,0: 11:[56, 14, 16] Operation: 52-36=16 Exploring Operation: 56-52=4, Resulting Numbers: [36, 14, 4] Generated Node #0,1: 11:[36, 14, 4] Operation: 56-52=4 Exploring Operation: 56-36=20, Resulting Numbers: [52, 14, 20] Generated Node #0,2: 11:[52, 14, 20] Operation: 56-36=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[36, 14, 4], Operations: ['56-52=4'] Exploring Operation: 36-4=32, Resulting Numbers: [14, 32] Generated Node #0,1,0: 11:[14, 32] Operation: 36-4=32 Exploring Operation: 36-14=22, Resulting Numbers: [4, 22] Generated Node #0,1,1: 11:[4, 22] Operation: 36-14=22 Exploring Operation: 36/4=9, Resulting Numbers: [14, 9] Generated Node #0,1,2: 11:[14, 9] Operation: 36/4=9 Moving to Node #0,1,2 Current State: 11:[14, 9], Operations: ['56-52=4', '36/4=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[4, 22], Operations: ['56-52=4', '36-14=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[14, 32], Operations: ['56-52=4', '36-4=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[56, 14, 16], Operations: ['52-36=16'] Exploring Operation: 56/14=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 11:[16, 4] Operation: 56/14=4 Exploring Operation: 56-16=40, Resulting Numbers: [14, 40] Generated Node #0,0,1: 11:[14, 40] Operation: 56-16=40 Exploring Operation: 56-14=42, Resulting Numbers: [16, 42] Generated Node #0,0,2: 11:[16, 42] Operation: 56-14=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[16, 4], Operations: ['52-36=16', '56/14=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[14, 40], Operations: ['52-36=16', '56-16=40'] Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,11 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 11:[16, 42], Operations: ['52-36=16', '56-14=42'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[52, 14, 20], Operations: ['56-36=20'] Exploring Operation: 52-14=38, Resulting Numbers: [20, 38] Generated Node #0,2,0: 11:[20, 38] Operation: 52-14=38 Exploring Operation: 52-20=32, Resulting Numbers: [14, 32] Generated Node #0,2,1: 11:[14, 32] Operation: 52-20=32 Exploring Operation: 20-14=6, Resulting Numbers: [52, 6] Generated Node #0,2,2: 11:[52, 6] Operation: 20-14=6 Moving to Node #0,2,1 Current State: 11:[14, 32], Operations: ['56-36=20', '52-20=32'] Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,11 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[20, 38], Operations: ['56-36=20', '52-14=38'] Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,11 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[52, 6], Operations: ['56-36=20', '20-14=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 93, 2, 26, 62 ]
29
[ "93*2=186", "186/62=3", "26+3=29" ]
Current State: 29:[93, 2, 26, 62], Operations: [] Exploring Operation: 93*2=186, Resulting Numbers: [26, 62, 186] Generated Node #2: [26, 62, 186] from Operation: 93*2=186 Current State: 29:[26, 62, 186], Operations: ['93*2=186'] Exploring Operation: 186/62=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 186/62=3 Current State: 29:[26, 3], Operations: ['93*2=186', '186/62=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[93, 2, 26, 62], Operations: [] Exploring Operation: 93-62=31, Resulting Numbers: [2, 26, 31] Generated Node #0,0: 29:[2, 26, 31] Operation: 93-62=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[2, 26, 31], Operations: ['93-62=31'] Exploring Operation: 2+26=28, Resulting Numbers: [31, 28] Generated Node #0,0,0: 29:[31, 28] Operation: 2+26=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[31, 28], Operations: ['93-62=31', '2+26=28'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,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
[ 99, 75, 9, 65 ]
32
[ "99-75=24", "65-9=56", "56-24=32" ]
Current State: 32:[99, 75, 9, 65], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [9, 65, 24] Generated Node #2: [9, 65, 24] from Operation: 99-75=24 Current State: 32:[9, 65, 24], Operations: ['99-75=24'] Exploring Operation: 65-9=56, Resulting Numbers: [24, 56] Generated Node #3: [24, 56] from Operation: 65-9=56 Current State: 32:[24, 56], Operations: ['99-75=24', '65-9=56'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[99, 75, 9, 65], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [9, 65, 24] Generated Node #0,0: 32:[9, 65, 24] Operation: 99-75=24 Exploring Operation: 99/9=11, Resulting Numbers: [75, 65, 11] Generated Node #0,1: 32:[75, 65, 11] Operation: 99/9=11 Exploring Operation: 75-65=10, Resulting Numbers: [99, 9, 10] Generated Node #0,2: 32:[99, 9, 10] Operation: 75-65=10 Exploring Operation: 99-65=34, Resulting Numbers: [75, 9, 34] Generated Node #0,3: 32:[75, 9, 34] Operation: 99-65=34 Exploring Operation: 99-9=90, Resulting Numbers: [75, 65, 90] Generated Node #0,4: 32:[75, 65, 90] Operation: 99-9=90 Moving to Node #0,0 Current State: 32:[9, 65, 24], Operations: ['99-75=24'] Exploring Operation: 9+24=33, Resulting Numbers: [65, 33] Generated Node #0,0,0: 32:[65, 33] Operation: 9+24=33 Exploring Operation: 24-9=15, Resulting Numbers: [65, 15] Generated Node #0,0,1: 32:[65, 15] Operation: 24-9=15 Exploring Operation: 65-24=41, Resulting Numbers: [9, 41] Generated Node #0,0,2: 32:[9, 41] Operation: 65-24=41 Exploring Operation: 9+65=74, Resulting Numbers: [24, 74] Generated Node #0,0,3: 32:[24, 74] Operation: 9+65=74 Exploring Operation: 65-9=56, Resulting Numbers: [24, 56] Generated Node #0,0,4: 32:[24, 56] Operation: 65-9=56 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[9, 41], Operations: ['99-75=24', '65-24=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[99, 75, 9, 65], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [9, 65, 24] Generated Node #0,0: 32:[9, 65, 24] Operation: 99-75=24 Moving to Node #0,0 Current State: 32:[9, 65, 24], Operations: ['99-75=24'] Exploring Operation: 65-24=41, Resulting Numbers: [9, 41] Generated Node #0,0,2: 32:[9, 41] Operation: 65-24=41 Moving to Node #0,0,2 Current State: 32:[9, 41], Operations: ['99-75=24', '65-24=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 12, 85, 98, 61 ]
15
[ "85+98=183", "183/61=3", "12+3=15" ]
Current State: 15:[12, 85, 98, 61], Operations: [] Exploring Operation: 85+98=183, Resulting Numbers: [12, 61, 183] Generated Node #2: [12, 61, 183] from Operation: 85+98=183 Current State: 15:[12, 61, 183], Operations: ['85+98=183'] Exploring Operation: 183/61=3, Resulting Numbers: [12, 3] Generated Node #3: [12, 3] from Operation: 183/61=3 Current State: 15:[12, 3], Operations: ['85+98=183', '183/61=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[12, 85, 98, 61], Operations: [] Exploring Operation: 98-61=37, Resulting Numbers: [12, 85, 37] Generated Node #0,0: 15:[12, 85, 37] Operation: 98-61=37 Exploring Operation: 98-85=13, Resulting Numbers: [12, 61, 13] Generated Node #0,1: 15:[12, 61, 13] Operation: 98-85=13 Exploring Operation: 85-61=24, Resulting Numbers: [12, 98, 24] Generated Node #0,2: 15:[12, 98, 24] Operation: 85-61=24 Exploring Operation: 85-12=73, Resulting Numbers: [98, 61, 73] Generated Node #0,3: 15:[98, 61, 73] Operation: 85-12=73 Moving to Node #0,1 Current State: 15:[12, 61, 13], Operations: ['98-85=13'] Exploring Operation: 13-12=1, Resulting Numbers: [61, 1] Generated Node #0,1,0: 15:[61, 1] Operation: 13-12=1 Exploring Operation: 61-13=48, Resulting Numbers: [12, 48] Generated Node #0,1,1: 15:[12, 48] Operation: 61-13=48 Exploring Operation: 12+13=25, Resulting Numbers: [61, 25] Generated Node #0,1,2: 15:[61, 25] Operation: 12+13=25 Exploring Operation: 61-12=49, Resulting Numbers: [13, 49] Generated Node #0,1,3: 15:[13, 49] Operation: 61-12=49 Moving to Node #0,2 Current State: 15:[12, 98, 24], Operations: ['85-61=24'] Exploring Operation: 98-12=86, Resulting Numbers: [24, 86] Generated Node #0,2,0: 15:[24, 86] Operation: 98-12=86 Exploring Operation: 24-12=12, Resulting Numbers: [98, 12] Generated Node #0,2,1: 15:[98, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [98, 2] Generated Node #0,2,2: 15:[98, 2] Operation: 24/12=2 Exploring Operation: 98-24=74, Resulting Numbers: [12, 74] Generated Node #0,2,3: 15:[12, 74] Operation: 98-24=74 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[12, 74], Operations: ['85-61=24', '98-24=74'] Exploring Operation: 12+74=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 12*74=888, Resulting Numbers: [888] 888,15 unequal: No Solution Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[24, 86], Operations: ['85-61=24', '98-12=86'] Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 24*86=2064, Resulting Numbers: [2064] 2064,15 unequal: No Solution Exploring Operation: 24+86=110, Resulting Numbers: [110] 110,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[98, 2], Operations: ['85-61=24', '24/12=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,15 unequal: No Solution Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,15 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[98, 12], Operations: ['85-61=24', '24-12=12'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,15 unequal: No Solution Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,15 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: 15:[12, 85, 37], Operations: ['98-61=37'] Exploring Operation: 12+85=97, Resulting Numbers: [37, 97] Generated Node #0,0,0: 15:[37, 97] Operation: 12+85=97 Exploring Operation: 85-12=73, Resulting Numbers: [37, 73] Generated Node #0,0,1: 15:[37, 73] Operation: 85-12=73 Exploring Operation: 85-37=48, Resulting Numbers: [12, 48] Generated Node #0,0,2: 15:[12, 48] Operation: 85-37=48 Exploring Operation: 37-12=25, Resulting Numbers: [85, 25] Generated Node #0,0,3: 15:[85, 25] Operation: 37-12=25 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[12, 48], Operations: ['98-61=37', '85-37=48'] Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,15 unequal: No Solution Exploring Operation: 12*48=576, Resulting Numbers: [576] 576,15 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[37, 73], Operations: ['98-61=37', '85-12=73'] Exploring Operation: 37+73=110, Resulting Numbers: [110] 110,15 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 37*73=2701, Resulting Numbers: [2701] 2701,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 15:[85, 25], Operations: ['98-61=37', '37-12=25'] Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,15 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,15 unequal: No Solution Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[37, 97], Operations: ['98-61=37', '12+85=97'] Exploring Operation: 37+97=134, Resulting Numbers: [134] 134,15 unequal: No Solution Exploring Operation: 37*97=3589, Resulting Numbers: [3589] 3589,15 unequal: No Solution Exploring Operation: 97-37=60, Resulting Numbers: [60] 60,15 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: 15:[98, 61, 73], Operations: ['85-12=73'] Exploring Operation: 98+61=159, Resulting Numbers: [73, 159] Generated Node #0,3,0: 15:[73, 159] Operation: 98+61=159 Exploring Operation: 98-61=37, Resulting Numbers: [73, 37] Generated Node #0,3,1: 15:[73, 37] Operation: 98-61=37 Exploring Operation: 73-61=12, Resulting Numbers: [98, 12] Generated Node #0,3,2: 15:[98, 12] Operation: 73-61=12 Exploring Operation: 98-73=25, Resulting Numbers: [61, 25] Generated Node #0,3,3: 15:[61, 25] Operation: 98-73=25 Moving to Node #0,1,1 Current State: 15:[12, 48], Operations: ['98-85=13', '61-13=48'] Exploring Operation: 12*48=576, Resulting Numbers: [576] 576,15 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[13, 49], Operations: ['98-85=13', '61-12=49'] Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,15 unequal: No Solution Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[61, 1], Operations: ['98-85=13', '13-12=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[61, 25], Operations: ['85-12=73', '98-73=25'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,15 unequal: No Solution Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[61, 25], Operations: ['98-85=13', '12+13=25'] Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,15 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[73, 37], Operations: ['85-12=73', '98-61=37'] Exploring Operation: 73*37=2701, Resulting Numbers: [2701] 2701,15 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[98, 12], Operations: ['85-12=73', '73-61=12'] Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,15 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[73, 159], Operations: ['85-12=73', '98+61=159'] Exploring Operation: 73*159=11607, Resulting Numbers: [11607] 11607,15 unequal: No Solution Exploring Operation: 159-73=86, Resulting Numbers: [86] 86,15 unequal: No Solution Exploring Operation: 73+159=232, Resulting Numbers: [232] 232,15 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 86, 81, 80, 40 ]
88
[ "86-81=5", "40/5=8", "80+8=88" ]
Current State: 88:[86, 81, 80, 40], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [80, 40, 5] Generated Node #2: [80, 40, 5] from Operation: 86-81=5 Current State: 88:[80, 40, 5], Operations: ['86-81=5'] Exploring Operation: 40/5=8, Resulting Numbers: [80, 8] Generated Node #3: [80, 8] from Operation: 40/5=8 Current State: 88:[80, 8], Operations: ['86-81=5', '40/5=8'] Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[86, 81, 80, 40], Operations: [] Exploring Operation: 81-40=41, Resulting Numbers: [86, 80, 41] Generated Node #0,0: 88:[86, 80, 41] Operation: 81-40=41 Exploring Operation: 81-80=1, Resulting Numbers: [86, 40, 1] Generated Node #0,1: 88:[86, 40, 1] Operation: 81-80=1 Exploring Operation: 86-81=5, Resulting Numbers: [80, 40, 5] Generated Node #0,2: 88:[80, 40, 5] Operation: 86-81=5 Exploring Operation: 80/40=2, Resulting Numbers: [86, 81, 2] Generated Node #0,3: 88:[86, 81, 2] Operation: 80/40=2 Exploring Operation: 86-80=6, Resulting Numbers: [81, 40, 6] Generated Node #0,4: 88:[81, 40, 6] Operation: 86-80=6 Moving to Node #0,1 Current State: 88:[86, 40, 1], Operations: ['81-80=1'] Exploring Operation: 40+1=41, Resulting Numbers: [86, 41] Generated Node #0,1,0: 88:[86, 41] Operation: 40+1=41 Exploring Operation: 86+1=87, Resulting Numbers: [40, 87] Generated Node #0,1,1: 88:[40, 87] Operation: 86+1=87 Exploring Operation: 86*1=86, Resulting Numbers: [40, 86] Generated Node #0,1,2: 88:[40, 86] Operation: 86*1=86 Exploring Operation: 86-40=46, Resulting Numbers: [1, 46] Generated Node #0,1,3: 88:[1, 46] Operation: 86-40=46 Exploring Operation: 86/1=86, Resulting Numbers: [40, 86] Generated Node #0,1,4: 88:[40, 86] Operation: 86/1=86 Moving to Node #0,3 Current State: 88:[86, 81, 2], Operations: ['80/40=2'] Exploring Operation: 86+2=88, Resulting Numbers: [81, 88] Generated Node #0,3,0: 88:[81, 88] Operation: 86+2=88 Exploring Operation: 81+2=83, Resulting Numbers: [86, 83] Generated Node #0,3,1: 88:[86, 83] Operation: 81+2=83 Exploring Operation: 86-2=84, Resulting Numbers: [81, 84] Generated Node #0,3,2: 88:[81, 84] Operation: 86-2=84 Exploring Operation: 86-81=5, Resulting Numbers: [2, 5] Generated Node #0,3,3: 88:[2, 5] Operation: 86-81=5 Exploring Operation: 86/2=43, Resulting Numbers: [81, 43] Generated Node #0,3,4: 88:[81, 43] Operation: 86/2=43 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[2, 5], Operations: ['80/40=2', '86-81=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[81, 88], Operations: ['80/40=2', '86+2=88'] Exploring Operation: 81+88=169, Resulting Numbers: [169] 169,88 unequal: No Solution Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 81*88=7128, Resulting Numbers: [7128] 7128,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 88:[86, 83], Operations: ['80/40=2', '81+2=83'] Exploring Operation: 86-83=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 86+83=169, Resulting Numbers: [169] 169,88 unequal: No Solution Exploring Operation: 86*83=7138, Resulting Numbers: [7138] 7138,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 88:[81, 43], Operations: ['80/40=2', '86/2=43'] Exploring Operation: 81*43=3483, Resulting Numbers: [3483] 3483,88 unequal: No Solution Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,88 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 88:[81, 84], Operations: ['80/40=2', '86-2=84'] Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,88 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,88 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: 88:[86, 80, 41], Operations: ['81-40=41'] Exploring Operation: 86-41=45, Resulting Numbers: [80, 45] Generated Node #0,0,0: 88:[80, 45] Operation: 86-41=45 Exploring Operation: 86+41=127, Resulting Numbers: [80, 127] Generated Node #0,0,1: 88:[80, 127] Operation: 86+41=127 Exploring Operation: 80-41=39, Resulting Numbers: [86, 39] Generated Node #0,0,2: 88:[86, 39] Operation: 80-41=39 Exploring Operation: 80+41=121, Resulting Numbers: [86, 121] Generated Node #0,0,3: 88:[86, 121] Operation: 80+41=121 Exploring Operation: 86-80=6, Resulting Numbers: [41, 6] Generated Node #0,0,4: 88:[41, 6] Operation: 86-80=6 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 88:[41, 6], Operations: ['81-40=41', '86-80=6'] Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,88 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[86, 39], Operations: ['81-40=41', '80-41=39'] Exploring Operation: 86*39=3354, Resulting Numbers: [3354] 3354,88 unequal: No Solution Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 86+39=125, Resulting Numbers: [125] 125,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[80, 45], Operations: ['81-40=41', '86-41=45'] Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[86, 121], Operations: ['81-40=41', '80+41=121'] Exploring Operation: 86+121=207, Resulting Numbers: [207] 207,88 unequal: No Solution Exploring Operation: 86*121=10406, Resulting Numbers: [10406] 10406,88 unequal: No Solution Exploring Operation: 121-86=35, Resulting Numbers: [35] 35,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[80, 127], Operations: ['81-40=41', '86+41=127'] Exploring Operation: 127-80=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 80*127=10160, Resulting Numbers: [10160] 10160,88 unequal: No Solution Exploring Operation: 80+127=207, Resulting Numbers: [207] 207,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 88:[80, 40, 5], Operations: ['86-81=5'] Exploring Operation: 80+5=85, Resulting Numbers: [40, 85] Generated Node #0,2,0: 88:[40, 85] Operation: 80+5=85 Exploring Operation: 80-40=40, Resulting Numbers: [5, 40] Generated Node #0,2,1: 88:[5, 40] Operation: 80-40=40 Exploring Operation: 40/5=8, Resulting Numbers: [80, 8] Generated Node #0,2,2: 88:[80, 8] Operation: 40/5=8 Exploring Operation: 80/40=2, Resulting Numbers: [5, 2] Generated Node #0,2,3: 88:[5, 2] Operation: 80/40=2 Exploring Operation: 80/5=16, Resulting Numbers: [40, 16] Generated Node #0,2,4: 88:[40, 16] Operation: 80/5=16 Moving to Node #0,4 Current State: 88:[81, 40, 6], Operations: ['86-80=6'] Exploring Operation: 81+6=87, Resulting Numbers: [40, 87] Generated Node #0,4,0: 88:[40, 87] Operation: 81+6=87 Exploring Operation: 40+6=46, Resulting Numbers: [81, 46] Generated Node #0,4,1: 88:[81, 46] Operation: 40+6=46 Exploring Operation: 81-6=75, Resulting Numbers: [40, 75] Generated Node #0,4,2: 88:[40, 75] Operation: 81-6=75 Exploring Operation: 40-6=34, Resulting Numbers: [81, 34] Generated Node #0,4,3: 88:[81, 34] Operation: 40-6=34 Exploring Operation: 81-40=41, Resulting Numbers: [6, 41] Generated Node #0,4,4: 88:[6, 41] Operation: 81-40=41 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[40, 87], Operations: ['86-80=6', '81+6=87'] Exploring Operation: 40*87=3480, Resulting Numbers: [3480] 3480,88 unequal: No Solution Exploring Operation: 40+87=127, Resulting Numbers: [127] 127,88 unequal: No Solution Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[6, 41], Operations: ['86-80=6', '81-40=41'] Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,88 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 88:[81, 46], Operations: ['86-80=6', '40+6=46'] Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,88 unequal: No Solution Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 88:[40, 75], Operations: ['86-80=6', '81-6=75'] Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,88 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 40*75=3000, Resulting Numbers: [3000] 3000,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 88:[81, 34], Operations: ['86-80=6', '40-6=34'] Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,88 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 88:[5, 2], Operations: ['86-81=5', '80/40=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[1, 46], Operations: ['81-80=1', '86-40=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[5, 40], Operations: ['86-81=5', '80-40=40'] Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,88 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[40, 87], Operations: ['81-80=1', '86+1=87'] Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 40+87=127, Resulting Numbers: [127] 127,88 unequal: No Solution Exploring Operation: 40*87=3480, Resulting Numbers: [3480] 3480,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[86, 41], Operations: ['81-80=1', '40+1=41'] Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 86*41=3526, Resulting Numbers: [3526] 3526,88 unequal: No Solution Exploring Operation: 86+41=127, Resulting Numbers: [127] 127,88 unequal: No Solution Moving to Node #0,1,4 Current State: 88:[40, 86], Operations: ['81-80=1', '86/1=86'] Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,88 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,88 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[40, 86], Operations: ['81-80=1', '86*1=86'] Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,88 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[40, 85], Operations: ['86-81=5', '80+5=85'] Exploring Operation: 40+85=125, Resulting Numbers: [125] 125,88 unequal: No Solution Exploring Operation: 40*85=3400, Resulting Numbers: [3400] 3400,88 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[80, 8], Operations: ['86-81=5', '40/5=8'] Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[86, 81, 80, 40], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [80, 40, 5] Generated Node #0,2: 88:[80, 40, 5] Operation: 86-81=5 Moving to Node #0,2 Current State: 88:[80, 40, 5], Operations: ['86-81=5'] Exploring Operation: 40/5=8, Resulting Numbers: [80, 8] Generated Node #0,2,2: 88:[80, 8] Operation: 40/5=8 Moving to Node #0,2,2 Current State: 88:[80, 8], Operations: ['86-81=5', '40/5=8'] Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.907986
hs_5
sum_heuristic
[ 90, 41, 94, 62 ]
58
[ "90*41=3690", "3690-94=3596", "3596/62=58" ]
Current State: 58:[90, 41, 94, 62], Operations: [] Exploring Operation: 90*41=3690, Resulting Numbers: [94, 62, 3690] Generated Node #2: [94, 62, 3690] from Operation: 90*41=3690 Current State: 58:[94, 62, 3690], Operations: ['90*41=3690'] Exploring Operation: 3690-94=3596, Resulting Numbers: [62, 3596] Generated Node #3: [62, 3596] from Operation: 3690-94=3596 Current State: 58:[62, 3596], Operations: ['90*41=3690', '3690-94=3596'] Exploring Operation: 3596/62=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[90, 41, 94, 62], Operations: [] Exploring Operation: 94-62=32, Resulting Numbers: [90, 41, 32] Generated Node #0,0: 58:[90, 41, 32] Operation: 94-62=32 Exploring Operation: 94-41=53, Resulting Numbers: [90, 62, 53] Generated Node #0,1: 58:[90, 62, 53] Operation: 94-41=53 Exploring Operation: 94-90=4, Resulting Numbers: [41, 62, 4] Generated Node #0,2: 58:[41, 62, 4] Operation: 94-90=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[41, 62, 4], Operations: ['94-90=4'] Exploring Operation: 41-4=37, Resulting Numbers: [62, 37] Generated Node #0,2,0: 58:[62, 37] Operation: 41-4=37 Exploring Operation: 62-41=21, Resulting Numbers: [4, 21] Generated Node #0,2,1: 58:[4, 21] Operation: 62-41=21 Exploring Operation: 62-4=58, Resulting Numbers: [41, 58] Generated Node #0,2,2: 58:[41, 58] Operation: 62-4=58 Moving to Node #0,2,1 Current State: 58:[4, 21], Operations: ['94-90=4', '62-41=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,58 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[62, 37], Operations: ['94-90=4', '41-4=37'] Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 62+37=99, Resulting Numbers: [99] 99,58 unequal: No Solution Exploring Operation: 62*37=2294, Resulting Numbers: [2294] 2294,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[41, 58], Operations: ['94-90=4', '62-4=58'] Exploring Operation: 41+58=99, Resulting Numbers: [99] 99,58 unequal: No Solution Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,58 unequal: No Solution Exploring Operation: 41*58=2378, Resulting Numbers: [2378] 2378,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 Current State: 58:[90, 62, 53], Operations: ['94-41=53'] Exploring Operation: 62-53=9, Resulting Numbers: [90, 9] Generated Node #0,1,0: 58:[90, 9] Operation: 62-53=9 Exploring Operation: 90-53=37, Resulting Numbers: [62, 37] Generated Node #0,1,1: 58:[62, 37] Operation: 90-53=37 Exploring Operation: 90-62=28, Resulting Numbers: [53, 28] Generated Node #0,1,2: 58:[53, 28] Operation: 90-62=28 Moving to Node #0,1,2 Current State: 58:[53, 28], Operations: ['94-41=53', '90-62=28'] Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,58 unequal: No Solution Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,58 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[62, 37], Operations: ['94-41=53', '90-53=37'] Exploring Operation: 62+37=99, Resulting Numbers: [99] 99,58 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 62*37=2294, Resulting Numbers: [2294] 2294,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[90, 9], Operations: ['94-41=53', '62-53=9'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,58 unequal: No Solution Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,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,0 Current State: 58:[90, 41, 32], Operations: ['94-62=32'] Exploring Operation: 41-32=9, Resulting Numbers: [90, 9] Generated Node #0,0,0: 58:[90, 9] Operation: 41-32=9 Exploring Operation: 90-32=58, Resulting Numbers: [41, 58] Generated Node #0,0,1: 58:[41, 58] Operation: 90-32=58 Exploring Operation: 90-41=49, Resulting Numbers: [32, 49] Generated Node #0,0,2: 58:[32, 49] Operation: 90-41=49 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[41, 58], Operations: ['94-62=32', '90-32=58'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,58 unequal: No Solution Exploring Operation: 41+58=99, Resulting Numbers: [99] 99,58 unequal: No Solution Exploring Operation: 41*58=2378, Resulting Numbers: [2378] 2378,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[32, 49], Operations: ['94-62=32', '90-41=49'] Exploring Operation: 32*49=1568, Resulting Numbers: [1568] 1568,58 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,58 unequal: No Solution Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[90, 9], Operations: ['94-62=32', '41-32=9'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,58 unequal: No Solution Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 86, 74, 8, 42 ]
54
[ "86-74=12", "8*12=96", "96-42=54" ]
Current State: 54:[86, 74, 8, 42], Operations: [] Exploring Operation: 86-74=12, Resulting Numbers: [8, 42, 12] Generated Node #2: [8, 42, 12] from Operation: 86-74=12 Current State: 54:[8, 42, 12], Operations: ['86-74=12'] Exploring Operation: 8*12=96, Resulting Numbers: [42, 96] Generated Node #3: [42, 96] from Operation: 8*12=96 Current State: 54:[42, 96], Operations: ['86-74=12', '8*12=96'] Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[86, 74, 8, 42], Operations: [] Exploring Operation: 86-74=12, Resulting Numbers: [8, 42, 12] Generated Node #0,0: 54:[8, 42, 12] Operation: 86-74=12 Exploring Operation: 86-42=44, Resulting Numbers: [74, 8, 44] Generated Node #0,1: 54:[74, 8, 44] Operation: 86-42=44 Moving to Node #0,0 Current State: 54:[8, 42, 12], Operations: ['86-74=12'] Exploring Operation: 42-12=30, Resulting Numbers: [8, 30] Generated Node #0,0,0: 54:[8, 30] Operation: 42-12=30 Exploring Operation: 42+12=54, Resulting Numbers: [8, 54] Generated Node #0,0,1: 54:[8, 54] Operation: 42+12=54 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[8, 54], Operations: ['86-74=12', '42+12=54'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,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:[8, 30], Operations: ['86-74=12', '42-12=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,54 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: 54:[74, 8, 44], Operations: ['86-42=44'] Exploring Operation: 74-44=30, Resulting Numbers: [8, 30] Generated Node #0,1,0: 54:[8, 30] Operation: 74-44=30 Exploring Operation: 74-8=66, Resulting Numbers: [44, 66] Generated Node #0,1,1: 54:[44, 66] Operation: 74-8=66 Moving to Node #0,1,0 Current State: 54:[8, 30], Operations: ['86-42=44', '74-44=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,54 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[44, 66], Operations: ['86-42=44', '74-8=66'] Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,54 unequal: No Solution No solution found.
0
hs_2
sum_heuristic