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
[ 18, 24, 80, 39 ]
99
[ "18*80=1440", "1440/24=60", "39+60=99" ]
Current State: 99:[18, 24, 80, 39], Operations: [] Exploring Operation: 18*80=1440, Resulting Numbers: [24, 39, 1440] Generated Node #2: [24, 39, 1440] from Operation: 18*80=1440 Current State: 99:[24, 39, 1440], Operations: ['18*80=1440'] Exploring Operation: 1440/24=60, Resulting Numbers: [39, 60] Generated Node #3: [39, 60] from Operation: 1440/24=60 Current State: 99:[39, 60], Operations: ['18*80=1440', '1440/24=60'] Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[18, 24, 80, 39], Operations: [] Exploring Operation: 24+80=104, Resulting Numbers: [18, 39, 104] Generated Node #0,0: 99:[18, 39, 104] Operation: 24+80=104 Exploring Operation: 18+80=98, Resulting Numbers: [24, 39, 98] Generated Node #0,1: 99:[24, 39, 98] Operation: 18+80=98 Moving to Node #0,1 Current State: 99:[24, 39, 98], Operations: ['18+80=98'] Exploring Operation: 24+98=122, Resulting Numbers: [39, 122] Generated Node #0,1,0: 99:[39, 122] Operation: 24+98=122 Exploring Operation: 39-24=15, Resulting Numbers: [98, 15] Generated Node #0,1,1: 99:[98, 15] Operation: 39-24=15 Moving to Node #0,0 Current State: 99:[18, 39, 104], Operations: ['24+80=104'] Exploring Operation: 39-18=21, Resulting Numbers: [104, 21] Generated Node #0,0,0: 99:[104, 21] Operation: 39-18=21 Exploring Operation: 104-18=86, Resulting Numbers: [39, 86] Generated Node #0,0,1: 99:[39, 86] Operation: 104-18=86 Moving to Node #0,1,1 Current State: 99:[98, 15], Operations: ['18+80=98', '39-24=15'] Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,99 unequal: No Solution Exploring Operation: 98+15=113, Resulting Numbers: [113] 113,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[104, 21], Operations: ['24+80=104', '39-18=21'] Exploring Operation: 104+21=125, Resulting Numbers: [125] 125,99 unequal: No Solution Exploring Operation: 104-21=83, Resulting Numbers: [83] 83,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[39, 86], Operations: ['24+80=104', '104-18=86'] Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 39+86=125, Resulting Numbers: [125] 125,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[39, 122], Operations: ['18+80=98', '24+98=122'] Exploring Operation: 39+122=161, Resulting Numbers: [161] 161,99 unequal: No Solution Exploring Operation: 122-39=83, Resulting Numbers: [83] 83,99 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 2, 75, 90, 55 ]
100
[ "75-55=20", "20/2=10", "90+10=100" ]
Current State: 100:[2, 75, 90, 55], Operations: [] Exploring Operation: 75-55=20, Resulting Numbers: [2, 90, 20] Generated Node #2: [2, 90, 20] from Operation: 75-55=20 Current State: 100:[2, 90, 20], Operations: ['75-55=20'] Exploring Operation: 20/2=10, Resulting Numbers: [90, 10] Generated Node #3: [90, 10] from Operation: 20/2=10 Current State: 100:[90, 10], Operations: ['75-55=20', '20/2=10'] Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[2, 75, 90, 55], Operations: [] Exploring Operation: 90-55=35, Resulting Numbers: [2, 75, 35] Generated Node #0,0: 100:[2, 75, 35] Operation: 90-55=35 Exploring Operation: 90-75=15, Resulting Numbers: [2, 55, 15] Generated Node #0,1: 100:[2, 55, 15] Operation: 90-75=15 Exploring Operation: 75-55=20, Resulting Numbers: [2, 90, 20] Generated Node #0,2: 100:[2, 90, 20] Operation: 75-55=20 Exploring Operation: 90/2=45, Resulting Numbers: [75, 55, 45] Generated Node #0,3: 100:[75, 55, 45] Operation: 90/2=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[2, 55, 15], Operations: ['90-75=15'] Exploring Operation: 15-2=13, Resulting Numbers: [55, 13] Generated Node #0,1,0: 100:[55, 13] Operation: 15-2=13 Exploring Operation: 2*15=30, Resulting Numbers: [55, 30] Generated Node #0,1,1: 100:[55, 30] Operation: 2*15=30 Exploring Operation: 2+15=17, Resulting Numbers: [55, 17] Generated Node #0,1,2: 100:[55, 17] Operation: 2+15=17 Exploring Operation: 55-2=53, Resulting Numbers: [15, 53] Generated Node #0,1,3: 100:[15, 53] Operation: 55-2=53 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[55, 13], Operations: ['90-75=15', '15-2=13'] Exploring Operation: 55*13=715, Resulting Numbers: [715] 715,100 unequal: No Solution Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,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:[55, 17], Operations: ['90-75=15', '2+15=17'] Exploring Operation: 55*17=935, Resulting Numbers: [935] 935,100 unequal: No Solution Exploring Operation: 55+17=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,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,3 Current State: 100:[15, 53], Operations: ['90-75=15', '55-2=53'] Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 15*53=795, Resulting Numbers: [795] 795,100 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,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:[55, 30], Operations: ['90-75=15', '2*15=30'] Exploring Operation: 55+30=85, Resulting Numbers: [85] 85,100 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 55*30=1650, Resulting Numbers: [1650] 1650,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[2, 90, 20], Operations: ['75-55=20'] Exploring Operation: 2+90=92, Resulting Numbers: [20, 92] Generated Node #0,2,0: 100:[20, 92] Operation: 2+90=92 Exploring Operation: 90+20=110, Resulting Numbers: [2, 110] Generated Node #0,2,1: 100:[2, 110] Operation: 90+20=110 Exploring Operation: 90/2=45, Resulting Numbers: [20, 45] Generated Node #0,2,2: 100:[20, 45] Operation: 90/2=45 Exploring Operation: 20/2=10, Resulting Numbers: [90, 10] Generated Node #0,2,3: 100:[90, 10] Operation: 20/2=10 Moving to Node #0,2,2 Current State: 100:[20, 45], Operations: ['75-55=20', '90/2=45'] Exploring Operation: 20*45=900, Resulting Numbers: [900] 900,100 unequal: No Solution Exploring Operation: 20+45=65, Resulting Numbers: [65] 65,100 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[20, 92], Operations: ['75-55=20', '2+90=92'] Exploring Operation: 92-20=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 20*92=1840, Resulting Numbers: [1840] 1840,100 unequal: No Solution Exploring Operation: 20+92=112, Resulting Numbers: [112] 112,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[90, 10], Operations: ['75-55=20', '20/2=10'] Exploring Operation: 90*10=900, Resulting Numbers: [900] 900,100 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,100 unequal: No Solution Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[2, 75, 90, 55], Operations: [] Exploring Operation: 75-55=20, Resulting Numbers: [2, 90, 20] Generated Node #0,2: 100:[2, 90, 20] Operation: 75-55=20 Moving to Node #0,2 Current State: 100:[2, 90, 20], Operations: ['75-55=20'] Exploring Operation: 20/2=10, Resulting Numbers: [90, 10] Generated Node #0,2,3: 100:[90, 10] Operation: 20/2=10 Moving to Node #0,2,3 Current State: 100:[90, 10], Operations: ['75-55=20', '20/2=10'] Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 78, 94, 50, 15 ]
50
[ "94-78=16", "16-15=1", "50*1=50" ]
Current State: 50:[78, 94, 50, 15], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [50, 15, 16] Generated Node #2: [50, 15, 16] from Operation: 94-78=16 Current State: 50:[50, 15, 16], Operations: ['94-78=16'] Exploring Operation: 16-15=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 16-15=1 Current State: 50:[50, 1], Operations: ['94-78=16', '16-15=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[78, 94, 50, 15], Operations: [] Exploring Operation: 94-50=44, Resulting Numbers: [78, 15, 44] Generated Node #0,0: 50:[78, 15, 44] Operation: 94-50=44 Exploring Operation: 94-78=16, Resulting Numbers: [50, 15, 16] Generated Node #0,1: 50:[50, 15, 16] Operation: 94-78=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[50, 15, 16], Operations: ['94-78=16'] Exploring Operation: 15+16=31, Resulting Numbers: [50, 31] Generated Node #0,1,0: 50:[50, 31] Operation: 15+16=31 Exploring Operation: 16-15=1, Resulting Numbers: [50, 1] Generated Node #0,1,1: 50:[50, 1] Operation: 16-15=1 Moving to Node #0,1,1 Current State: 50:[50, 1], Operations: ['94-78=16', '16-15=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[78, 94, 50, 15], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [50, 15, 16] Generated Node #0,1: 50:[50, 15, 16] Operation: 94-78=16 Moving to Node #0,1 Current State: 50:[50, 15, 16], Operations: ['94-78=16'] Exploring Operation: 16-15=1, Resulting Numbers: [50, 1] Generated Node #0,1,1: 50:[50, 1] Operation: 16-15=1 Moving to Node #0,1,1 Current State: 50:[50, 1], Operations: ['94-78=16', '16-15=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 41, 82, 67, 90 ]
46
[ "82/41=2", "90-67=23", "2*23=46" ]
Current State: 46:[41, 82, 67, 90], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [67, 90, 2] Generated Node #2: [67, 90, 2] from Operation: 82/41=2 Current State: 46:[67, 90, 2], Operations: ['82/41=2'] Exploring Operation: 90-67=23, Resulting Numbers: [2, 23] Generated Node #3: [2, 23] from Operation: 90-67=23 Current State: 46:[2, 23], Operations: ['82/41=2', '90-67=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[41, 82, 67, 90], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [41, 67, 8] Generated Node #0,0: 46:[41, 67, 8] Operation: 90-82=8 Exploring Operation: 90-67=23, Resulting Numbers: [41, 82, 23] Generated Node #0,1: 46:[41, 82, 23] Operation: 90-67=23 Exploring Operation: 82-67=15, Resulting Numbers: [41, 90, 15] Generated Node #0,2: 46:[41, 90, 15] Operation: 82-67=15 Moving to Node #0,0 Current State: 46:[41, 67, 8], Operations: ['90-82=8'] Exploring Operation: 41+8=49, Resulting Numbers: [67, 49] Generated Node #0,0,0: 46:[67, 49] Operation: 41+8=49 Exploring Operation: 67-8=59, Resulting Numbers: [41, 59] Generated Node #0,0,1: 46:[41, 59] Operation: 67-8=59 Exploring Operation: 67-41=26, Resulting Numbers: [8, 26] Generated Node #0,0,2: 46:[8, 26] Operation: 67-41=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[8, 26], Operations: ['90-82=8', '67-41=26'] Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[41, 59], Operations: ['90-82=8', '67-8=59'] Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 41+59=100, Resulting Numbers: [100] 100,46 unequal: No Solution Exploring Operation: 41*59=2419, Resulting Numbers: [2419] 2419,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[67, 49], Operations: ['90-82=8', '41+8=49'] Exploring Operation: 67*49=3283, Resulting Numbers: [3283] 3283,46 unequal: No Solution Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 67+49=116, Resulting Numbers: [116] 116,46 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: 46:[41, 82, 23], Operations: ['90-67=23'] Exploring Operation: 82-41=41, Resulting Numbers: [23, 41] Generated Node #0,1,0: 46:[23, 41] Operation: 82-41=41 Exploring Operation: 82/41=2, Resulting Numbers: [23, 2] Generated Node #0,1,1: 46:[23, 2] Operation: 82/41=2 Exploring Operation: 82-23=59, Resulting Numbers: [41, 59] Generated Node #0,1,2: 46:[41, 59] Operation: 82-23=59 Moving to Node #0,2 Current State: 46:[41, 90, 15], Operations: ['82-67=15'] Exploring Operation: 90-15=75, Resulting Numbers: [41, 75] Generated Node #0,2,0: 46:[41, 75] Operation: 90-15=75 Exploring Operation: 90-41=49, Resulting Numbers: [15, 49] Generated Node #0,2,1: 46:[15, 49] Operation: 90-41=49 Exploring Operation: 90/15=6, Resulting Numbers: [41, 6] Generated Node #0,2,2: 46:[41, 6] Operation: 90/15=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[41, 6], Operations: ['82-67=15', '90/15=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,46 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[15, 49], Operations: ['82-67=15', '90-41=49'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[41, 75], Operations: ['82-67=15', '90-15=75'] Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 41*75=3075, Resulting Numbers: [3075] 3075,46 unequal: No Solution Exploring Operation: 41+75=116, Resulting Numbers: [116] 116,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 46:[23, 2], Operations: ['90-67=23', '82/41=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[41, 82, 67, 90], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [41, 82, 23] Generated Node #0,1: 46:[41, 82, 23] Operation: 90-67=23 Moving to Node #0,1 Current State: 46:[41, 82, 23], Operations: ['90-67=23'] Exploring Operation: 82/41=2, Resulting Numbers: [23, 2] Generated Node #0,1,1: 46:[23, 2] Operation: 82/41=2 Moving to Node #0,1,1 Current State: 46:[23, 2], Operations: ['90-67=23', '82/41=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.967882
hs_3
mult_heuristic
[ 56, 38, 26, 28 ]
32
[ "56/28=2", "38+26=64", "64/2=32" ]
Current State: 32:[56, 38, 26, 28], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [38, 26, 2] Generated Node #2: [38, 26, 2] from Operation: 56/28=2 Current State: 32:[38, 26, 2], Operations: ['56/28=2'] Exploring Operation: 38+26=64, Resulting Numbers: [2, 64] Generated Node #3: [2, 64] from Operation: 38+26=64 Current State: 32:[2, 64], Operations: ['56/28=2', '38+26=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[56, 38, 26, 28], Operations: [] Exploring Operation: 56-26=30, Resulting Numbers: [38, 28, 30] Generated Node #0,0: 32:[38, 28, 30] Operation: 56-26=30 Exploring Operation: 56-38=18, Resulting Numbers: [26, 28, 18] Generated Node #0,1: 32:[26, 28, 18] Operation: 56-38=18 Exploring Operation: 56/28=2, Resulting Numbers: [38, 26, 2] Generated Node #0,2: 32:[38, 26, 2] Operation: 56/28=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[38, 28, 30], Operations: ['56-26=30'] Exploring Operation: 30-28=2, Resulting Numbers: [38, 2] Generated Node #0,0,0: 32:[38, 2] Operation: 30-28=2 Exploring Operation: 38-28=10, Resulting Numbers: [30, 10] Generated Node #0,0,1: 32:[30, 10] Operation: 38-28=10 Exploring Operation: 38-30=8, Resulting Numbers: [28, 8] Generated Node #0,0,2: 32:[28, 8] Operation: 38-30=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[30, 10], Operations: ['56-26=30', '38-28=10'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,32 unequal: No Solution No 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: 32:[28, 8], Operations: ['56-26=30', '38-30=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,32 unequal: No Solution No 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: 32:[38, 2], Operations: ['56-26=30', '30-28=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,32 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,32 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: 32:[26, 28, 18], Operations: ['56-38=18'] Exploring Operation: 26-18=8, Resulting Numbers: [28, 8] Generated Node #0,1,0: 32:[28, 8] Operation: 26-18=8 Exploring Operation: 28-26=2, Resulting Numbers: [18, 2] Generated Node #0,1,1: 32:[18, 2] Operation: 28-26=2 Exploring Operation: 28-18=10, Resulting Numbers: [26, 10] Generated Node #0,1,2: 32:[26, 10] Operation: 28-18=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[18, 2], Operations: ['56-38=18', '28-26=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,32 unequal: No Solution No 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: 32:[28, 8], Operations: ['56-38=18', '26-18=8'] Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,32 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,32 unequal: No Solution No 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: 32:[26, 10], Operations: ['56-38=18', '28-18=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,32 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,32 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: 32:[38, 26, 2], Operations: ['56/28=2'] Exploring Operation: 38-26=12, Resulting Numbers: [2, 12] Generated Node #0,2,0: 32:[2, 12] Operation: 38-26=12 Exploring Operation: 38/2=19, Resulting Numbers: [26, 19] Generated Node #0,2,1: 32:[26, 19] Operation: 38/2=19 Exploring Operation: 26/2=13, Resulting Numbers: [38, 13] Generated Node #0,2,2: 32:[38, 13] Operation: 26/2=13 Moving to Node #0,2,0 Current State: 32:[2, 12], Operations: ['56/28=2', '38-26=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[26, 19], Operations: ['56/28=2', '38/2=19'] Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,32 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[38, 13], Operations: ['56/28=2', '26/2=13'] Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,32 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,32 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
[ 92, 82, 30, 42 ]
69
[ "92*30=2760", "82-42=40", "2760/40=69" ]
Current State: 69:[92, 82, 30, 42], Operations: [] Exploring Operation: 92*30=2760, Resulting Numbers: [82, 42, 2760] Generated Node #2: [82, 42, 2760] from Operation: 92*30=2760 Current State: 69:[82, 42, 2760], Operations: ['92*30=2760'] Exploring Operation: 82-42=40, Resulting Numbers: [2760, 40] Generated Node #3: [2760, 40] from Operation: 82-42=40 Current State: 69:[2760, 40], Operations: ['92*30=2760', '82-42=40'] Exploring Operation: 2760/40=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[92, 82, 30, 42], Operations: [] Exploring Operation: 92-42=50, Resulting Numbers: [82, 30, 50] Generated Node #0,0: 69:[82, 30, 50] Operation: 92-42=50 Exploring Operation: 30+42=72, Resulting Numbers: [92, 82, 72] Generated Node #0,1: 69:[92, 82, 72] Operation: 30+42=72 Exploring Operation: 92-82=10, Resulting Numbers: [30, 42, 10] Generated Node #0,2: 69:[30, 42, 10] Operation: 92-82=10 Exploring Operation: 92-30=62, Resulting Numbers: [82, 42, 62] Generated Node #0,3: 69:[82, 42, 62] Operation: 92-30=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[30, 42, 10], Operations: ['92-82=10'] Exploring Operation: 42-30=12, Resulting Numbers: [10, 12] Generated Node #0,2,0: 69:[10, 12] Operation: 42-30=12 Exploring Operation: 30/10=3, Resulting Numbers: [42, 3] Generated Node #0,2,1: 69:[42, 3] Operation: 30/10=3 Exploring Operation: 30+42=72, Resulting Numbers: [10, 72] Generated Node #0,2,2: 69:[10, 72] Operation: 30+42=72 Exploring Operation: 42-10=32, Resulting Numbers: [30, 32] Generated Node #0,2,3: 69:[30, 32] Operation: 42-10=32 Moving to Node #0,2,2 Current State: 69:[10, 72], Operations: ['92-82=10', '30+42=72'] Exploring Operation: 10*72=720, Resulting Numbers: [720] 720,69 unequal: No Solution Exploring Operation: 10+72=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[30, 32], Operations: ['92-82=10', '42-10=32'] Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 30*32=960, Resulting Numbers: [960] 960,69 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[10, 12], Operations: ['92-82=10', '42-30=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,69 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[42, 3], Operations: ['92-82=10', '30/10=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,69 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[82, 30, 50], Operations: ['92-42=50'] Exploring Operation: 50-30=20, Resulting Numbers: [82, 20] Generated Node #0,0,0: 69:[82, 20] Operation: 50-30=20 Exploring Operation: 30+50=80, Resulting Numbers: [82, 80] Generated Node #0,0,1: 69:[82, 80] Operation: 30+50=80 Exploring Operation: 82-50=32, Resulting Numbers: [30, 32] Generated Node #0,0,2: 69:[30, 32] Operation: 82-50=32 Exploring Operation: 82-30=52, Resulting Numbers: [50, 52] Generated Node #0,0,3: 69:[50, 52] Operation: 82-30=52 Moving to Node #0,0,0 Current State: 69:[82, 20], Operations: ['92-42=50', '50-30=20'] Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 82+20=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 82*20=1640, Resulting Numbers: [1640] 1640,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[30, 32], Operations: ['92-42=50', '82-50=32'] Exploring Operation: 30*32=960, Resulting Numbers: [960] 960,69 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[82, 80], Operations: ['92-42=50', '30+50=80'] Exploring Operation: 82*80=6560, Resulting Numbers: [6560] 6560,69 unequal: No Solution Exploring Operation: 82-80=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 82+80=162, Resulting Numbers: [162] 162,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[50, 52], Operations: ['92-42=50', '82-30=52'] Exploring Operation: 50*52=2600, Resulting Numbers: [2600] 2600,69 unequal: No Solution Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[92, 82, 72], Operations: ['30+42=72'] Exploring Operation: 92-72=20, Resulting Numbers: [82, 20] Generated Node #0,1,0: 69:[82, 20] Operation: 92-72=20 Exploring Operation: 92-82=10, Resulting Numbers: [72, 10] Generated Node #0,1,1: 69:[72, 10] Operation: 92-82=10 Exploring Operation: 82-72=10, Resulting Numbers: [92, 10] Generated Node #0,1,2: 69:[92, 10] Operation: 82-72=10 Exploring Operation: 92+82=174, Resulting Numbers: [72, 174] Generated Node #0,1,3: 69:[72, 174] Operation: 92+82=174 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[72, 10], Operations: ['30+42=72', '92-82=10'] Exploring Operation: 72*10=720, Resulting Numbers: [720] 720,69 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 72+10=82, Resulting Numbers: [82] 82,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[82, 20], Operations: ['30+42=72', '92-72=20'] Exploring Operation: 82*20=1640, Resulting Numbers: [1640] 1640,69 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 82+20=102, Resulting Numbers: [102] 102,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[92, 10], Operations: ['30+42=72', '82-72=10'] Exploring Operation: 92+10=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 92*10=920, Resulting Numbers: [920] 920,69 unequal: No Solution Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 69:[72, 174], Operations: ['30+42=72', '92+82=174'] Exploring Operation: 174-72=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 72*174=12528, Resulting Numbers: [12528] 12528,69 unequal: No Solution Exploring Operation: 72+174=246, Resulting Numbers: [246] 246,69 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: 69:[82, 42, 62], Operations: ['92-30=62'] Exploring Operation: 42+62=104, Resulting Numbers: [82, 104] Generated Node #0,3,0: 69:[82, 104] Operation: 42+62=104 Exploring Operation: 62-42=20, Resulting Numbers: [82, 20] Generated Node #0,3,1: 69:[82, 20] Operation: 62-42=20 Exploring Operation: 82-62=20, Resulting Numbers: [42, 20] Generated Node #0,3,2: 69:[42, 20] Operation: 82-62=20 Exploring Operation: 82-42=40, Resulting Numbers: [62, 40] Generated Node #0,3,3: 69:[62, 40] Operation: 82-42=40 Moving to Node #0,3,1 Current State: 69:[82, 20], Operations: ['92-30=62', '62-42=20'] Exploring Operation: 82+20=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 82*20=1640, Resulting Numbers: [1640] 1640,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[42, 20], Operations: ['92-30=62', '82-62=20'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[62, 40], Operations: ['92-30=62', '82-42=40'] Exploring Operation: 62-40=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 62*40=2480, Resulting Numbers: [2480] 2480,69 unequal: No Solution Exploring Operation: 62+40=102, Resulting Numbers: [102] 102,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[82, 104], Operations: ['92-30=62', '42+62=104'] Exploring Operation: 82*104=8528, Resulting Numbers: [8528] 8528,69 unequal: No Solution Exploring Operation: 104-82=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 82+104=186, Resulting Numbers: [186] 186,69 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
[ 23, 67, 60, 94 ]
15
[ "23+67=90", "94-90=4", "60/4=15" ]
Current State: 15:[23, 67, 60, 94], Operations: [] Exploring Operation: 23+67=90, Resulting Numbers: [60, 94, 90] Generated Node #2: [60, 94, 90] from Operation: 23+67=90 Current State: 15:[60, 94, 90], Operations: ['23+67=90'] Exploring Operation: 94-90=4, Resulting Numbers: [60, 4] Generated Node #3: [60, 4] from Operation: 94-90=4 Current State: 15:[60, 4], Operations: ['23+67=90', '94-90=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[23, 67, 60, 94], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [23, 67, 34] Generated Node #0,0: 15:[23, 67, 34] Operation: 94-60=34 Exploring Operation: 94-67=27, Resulting Numbers: [23, 60, 27] Generated Node #0,1: 15:[23, 60, 27] Operation: 94-67=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[23, 60, 27], Operations: ['94-67=27'] Exploring Operation: 60-23=37, Resulting Numbers: [27, 37] Generated Node #0,1,0: 15:[27, 37] Operation: 60-23=37 Exploring Operation: 60-27=33, Resulting Numbers: [23, 33] Generated Node #0,1,1: 15:[23, 33] Operation: 60-27=33 Moving to Node #0,1,1 Current State: 15:[23, 33], Operations: ['94-67=27', '60-27=33'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[27, 37], Operations: ['94-67=27', '60-23=37'] Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,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 Current State: 15:[23, 67, 34], Operations: ['94-60=34'] Exploring Operation: 67-34=33, Resulting Numbers: [23, 33] Generated Node #0,0,0: 15:[23, 33] Operation: 67-34=33 Exploring Operation: 67-23=44, Resulting Numbers: [34, 44] Generated Node #0,0,1: 15:[34, 44] Operation: 67-23=44 Moving to Node #0,0,0 Current State: 15:[23, 33], Operations: ['94-60=34', '67-34=33'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[34, 44], Operations: ['94-60=34', '67-23=44'] Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,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
[ 13, 90, 77, 48 ]
48
[ "90-13=77", "77+48=125", "125-77=48" ]
Current State: 48:[13, 90, 77, 48], Operations: [] Exploring Operation: 90-13=77, Resulting Numbers: [77, 48, 77] Generated Node #2: [77, 48, 77] from Operation: 90-13=77 Current State: 48:[77, 48, 77], Operations: ['90-13=77'] Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,48 equal: Goal Reached Exploring Operation: 125-77=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[13, 90, 77, 48], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [13, 48, 13] Generated Node #0,0: 48:[13, 48, 13] Operation: 90-77=13 Exploring Operation: 90-48=42, Resulting Numbers: [13, 77, 42] Generated Node #0,1: 48:[13, 77, 42] Operation: 90-48=42 Exploring Operation: 90-13=77, Resulting Numbers: [77, 48, 77] Generated Node #0,2: 48:[77, 48, 77] Operation: 90-13=77 Exploring Operation: 77-48=29, Resulting Numbers: [13, 90, 29] Generated Node #0,3: 48:[13, 90, 29] Operation: 77-48=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[13, 48, 13], Operations: ['90-77=13'] Exploring Operation: 13/13=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 48:[48, 1] Operation: 13/13=1 Exploring Operation: 13-13=0, Resulting Numbers: [48, 0] Generated Node #0,0,1: 48:[48, 0] Operation: 13-13=0 Exploring Operation: 48-13=35, Resulting Numbers: [13, 35] Generated Node #0,0,2: 48:[13, 35] Operation: 48-13=35 Exploring Operation: 13+13=26, Resulting Numbers: [48, 26] Generated Node #0,0,3: 48:[48, 26] Operation: 13+13=26 Moving to Node #0,0,0 Current State: 48:[48, 1], Operations: ['90-77=13', '13/13=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[13, 90, 77, 48], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [13, 48, 13] Generated Node #0,0: 48:[13, 48, 13] Operation: 90-77=13 Moving to Node #0,0 Current State: 48:[13, 48, 13], Operations: ['90-77=13'] Exploring Operation: 13/13=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 48:[48, 1] Operation: 13/13=1 Moving to Node #0,0,0 Current State: 48:[48, 1], Operations: ['90-77=13', '13/13=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 27, 96, 25, 65 ]
62
[ "27-25=2", "96-65=31", "2*31=62" ]
Current State: 62:[27, 96, 25, 65], Operations: [] Exploring Operation: 27-25=2, Resulting Numbers: [96, 65, 2] Generated Node #2: [96, 65, 2] from Operation: 27-25=2 Current State: 62:[96, 65, 2], Operations: ['27-25=2'] Exploring Operation: 96-65=31, Resulting Numbers: [2, 31] Generated Node #3: [2, 31] from Operation: 96-65=31 Current State: 62:[2, 31], Operations: ['27-25=2', '96-65=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[27, 96, 25, 65], Operations: [] Exploring Operation: 96-65=31, Resulting Numbers: [27, 25, 31] Generated Node #0,0: 62:[27, 25, 31] Operation: 96-65=31 Moving to Node #0,0 Current State: 62:[27, 25, 31], Operations: ['96-65=31'] Exploring Operation: 27-25=2, Resulting Numbers: [31, 2] Generated Node #0,0,0: 62:[31, 2] Operation: 27-25=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[31, 2], Operations: ['96-65=31', '27-25=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[27, 96, 25, 65], Operations: [] Exploring Operation: 96-65=31, Resulting Numbers: [27, 25, 31] Generated Node #0,0: 62:[27, 25, 31] Operation: 96-65=31 Moving to Node #0,0 Current State: 62:[27, 25, 31], Operations: ['96-65=31'] Exploring Operation: 27-25=2, Resulting Numbers: [31, 2] Generated Node #0,0,0: 62:[31, 2] Operation: 27-25=2 Moving to Node #0,0,0 Current State: 62:[31, 2], Operations: ['96-65=31', '27-25=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 76, 89, 4, 79 ]
90
[ "76+89=165", "79-4=75", "165-75=90" ]
Current State: 90:[76, 89, 4, 79], Operations: [] Exploring Operation: 76+89=165, Resulting Numbers: [4, 79, 165] Generated Node #2: [4, 79, 165] from Operation: 76+89=165 Current State: 90:[4, 79, 165], Operations: ['76+89=165'] Exploring Operation: 79-4=75, Resulting Numbers: [165, 75] Generated Node #3: [165, 75] from Operation: 79-4=75 Current State: 90:[165, 75], Operations: ['76+89=165', '79-4=75'] Exploring Operation: 165-75=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[76, 89, 4, 79], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [89, 4, 3] Generated Node #0,0: 90:[89, 4, 3] Operation: 79-76=3 Exploring Operation: 76/4=19, Resulting Numbers: [89, 79, 19] Generated Node #0,1: 90:[89, 79, 19] Operation: 76/4=19 Moving to Node #0,0 Current State: 90:[89, 4, 3], Operations: ['79-76=3'] Exploring Operation: 4-3=1, Resulting Numbers: [89, 1] Generated Node #0,0,0: 90:[89, 1] Operation: 4-3=1 Exploring Operation: 4+3=7, Resulting Numbers: [89, 7] Generated Node #0,0,1: 90:[89, 7] Operation: 4+3=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[89, 1], Operations: ['79-76=3', '4-3=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[76, 89, 4, 79], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [89, 4, 3] Generated Node #0,0: 90:[89, 4, 3] Operation: 79-76=3 Moving to Node #0,0 Current State: 90:[89, 4, 3], Operations: ['79-76=3'] Exploring Operation: 4-3=1, Resulting Numbers: [89, 1] Generated Node #0,0,0: 90:[89, 1] Operation: 4-3=1 Moving to Node #0,0,0 Current State: 90:[89, 1], Operations: ['79-76=3', '4-3=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 69, 7, 21, 2 ]
83
[ "7+21=28", "28/2=14", "69+14=83" ]
Current State: 83:[69, 7, 21, 2], Operations: [] Exploring Operation: 7+21=28, Resulting Numbers: [69, 2, 28] Generated Node #2: [69, 2, 28] from Operation: 7+21=28 Current State: 83:[69, 2, 28], Operations: ['7+21=28'] Exploring Operation: 28/2=14, Resulting Numbers: [69, 14] Generated Node #3: [69, 14] from Operation: 28/2=14 Current State: 83:[69, 14], Operations: ['7+21=28', '28/2=14'] Exploring Operation: 69+14=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[69, 7, 21, 2], Operations: [] Exploring Operation: 7*2=14, Resulting Numbers: [69, 21, 14] Generated Node #0,0: 83:[69, 21, 14] Operation: 7*2=14 Exploring Operation: 21*2=42, Resulting Numbers: [69, 7, 42] Generated Node #0,1: 83:[69, 7, 42] Operation: 21*2=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[69, 7, 42], Operations: ['21*2=42'] Exploring Operation: 7+42=49, Resulting Numbers: [69, 49] Generated Node #0,1,0: 83:[69, 49] Operation: 7+42=49 Exploring Operation: 69+7=76, Resulting Numbers: [42, 76] Generated Node #0,1,1: 83:[42, 76] Operation: 69+7=76 Moving to Node #0,1,0 Current State: 83:[69, 49], Operations: ['21*2=42', '7+42=49'] Exploring Operation: 69-49=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 69+49=118, Resulting Numbers: [118] 118,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[42, 76], Operations: ['21*2=42', '69+7=76'] Exploring Operation: 42+76=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[69, 21, 14], Operations: ['7*2=14'] Exploring Operation: 69+14=83, Resulting Numbers: [21, 83] Generated Node #0,0,0: 83:[21, 83] Operation: 69+14=83 Exploring Operation: 21+14=35, Resulting Numbers: [69, 35] Generated Node #0,0,1: 83:[69, 35] Operation: 21+14=35 Moving to Node #0,0,0 Current State: 83:[21, 83], Operations: ['7*2=14', '69+14=83'] Exploring Operation: 21+83=104, Resulting Numbers: [104] 104,83 unequal: No Solution Exploring Operation: 83-21=62, Resulting Numbers: [62] 62,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[69, 35], Operations: ['7*2=14', '21+14=35'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,83 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
[ 93, 4, 2, 84 ]
75
[ "4-2=2", "84*2=168", "168-93=75" ]
Current State: 75:[93, 4, 2, 84], Operations: [] Exploring Operation: 4-2=2, Resulting Numbers: [93, 84, 2] Generated Node #2: [93, 84, 2] from Operation: 4-2=2 Current State: 75:[93, 84, 2], Operations: ['4-2=2'] Exploring Operation: 84*2=168, Resulting Numbers: [93, 168] Generated Node #3: [93, 168] from Operation: 84*2=168 Current State: 75:[93, 168], Operations: ['4-2=2', '84*2=168'] Exploring Operation: 168-93=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[93, 4, 2, 84], Operations: [] Exploring Operation: 93-4=89, Resulting Numbers: [2, 84, 89] Generated Node #0,0: 75:[2, 84, 89] Operation: 93-4=89 Exploring Operation: 93-84=9, Resulting Numbers: [4, 2, 9] Generated Node #0,1: 75:[4, 2, 9] Operation: 93-84=9 Exploring Operation: 84/4=21, Resulting Numbers: [93, 2, 21] Generated Node #0,2: 75:[93, 2, 21] Operation: 84/4=21 Moving to Node #0,1 Current State: 75:[4, 2, 9], Operations: ['93-84=9'] Exploring Operation: 9-4=5, Resulting Numbers: [2, 5] Generated Node #0,1,0: 75:[2, 5] Operation: 9-4=5 Exploring Operation: 9-2=7, Resulting Numbers: [4, 7] Generated Node #0,1,1: 75:[4, 7] Operation: 9-2=7 Exploring Operation: 4+9=13, Resulting Numbers: [2, 13] Generated Node #0,1,2: 75:[2, 13] Operation: 4+9=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[2, 5], Operations: ['93-84=9', '9-4=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,75 unequal: No Solution No 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: 75:[4, 7], Operations: ['93-84=9', '9-2=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,75 unequal: No Solution No 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: 75:[2, 13], Operations: ['93-84=9', '4+9=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,75 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,75 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: 75:[93, 2, 21], Operations: ['84/4=21'] Exploring Operation: 93-2=91, Resulting Numbers: [21, 91] Generated Node #0,2,0: 75:[21, 91] Operation: 93-2=91 Exploring Operation: 93-21=72, Resulting Numbers: [2, 72] Generated Node #0,2,1: 75:[2, 72] Operation: 93-21=72 Exploring Operation: 2+21=23, Resulting Numbers: [93, 23] Generated Node #0,2,2: 75:[93, 23] Operation: 2+21=23 Moving to Node #0,0 Current State: 75:[2, 84, 89], Operations: ['93-4=89'] Exploring Operation: 89-84=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 75:[2, 5] Operation: 89-84=5 Exploring Operation: 84-2=82, Resulting Numbers: [89, 82] Generated Node #0,0,1: 75:[89, 82] Operation: 84-2=82 Exploring Operation: 89-2=87, Resulting Numbers: [84, 87] Generated Node #0,0,2: 75:[84, 87] Operation: 89-2=87 Moving to Node #0,0,0 Current State: 75:[2, 5], Operations: ['93-4=89', '89-84=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[2, 72], Operations: ['84/4=21', '93-21=72'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[93, 23], Operations: ['84/4=21', '2+21=23'] Exploring Operation: 93-23=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 93+23=116, Resulting Numbers: [116] 116,75 unequal: No Solution Exploring Operation: 93*23=2139, Resulting Numbers: [2139] 2139,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[21, 91], Operations: ['84/4=21', '93-2=91'] Exploring Operation: 21+91=112, Resulting Numbers: [112] 112,75 unequal: No Solution Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 21*91=1911, Resulting Numbers: [1911] 1911,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[84, 87], Operations: ['93-4=89', '89-2=87'] Exploring Operation: 87-84=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 84*87=7308, Resulting Numbers: [7308] 7308,75 unequal: No Solution Exploring Operation: 84+87=171, Resulting Numbers: [171] 171,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[89, 82], Operations: ['93-4=89', '84-2=82'] Exploring Operation: 89-82=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 89*82=7298, Resulting Numbers: [7298] 7298,75 unequal: No Solution Exploring Operation: 89+82=171, Resulting Numbers: [171] 171,75 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 35, 41, 22, 6 ]
96
[ "41-35=6", "22-6=16", "6*16=96" ]
Current State: 96:[35, 41, 22, 6], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [22, 6, 6] Generated Node #2: [22, 6, 6] from Operation: 41-35=6 Current State: 96:[22, 6, 6], Operations: ['41-35=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,96 equal: Goal Reached Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[35, 41, 22, 6], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [22, 6, 6] Generated Node #0,0: 96:[22, 6, 6] Operation: 41-35=6 Exploring Operation: 41-6=35, Resulting Numbers: [35, 22, 35] Generated Node #0,1: 96:[35, 22, 35] Operation: 41-6=35 Exploring Operation: 41+6=47, Resulting Numbers: [35, 22, 47] Generated Node #0,2: 96:[35, 22, 47] Operation: 41+6=47 Exploring Operation: 41-22=19, Resulting Numbers: [35, 6, 19] Generated Node #0,3: 96:[35, 6, 19] Operation: 41-22=19 Exploring Operation: 35-22=13, Resulting Numbers: [41, 6, 13] Generated Node #0,4: 96:[41, 6, 13] Operation: 35-22=13 Moving to Node #0,0 Current State: 96:[22, 6, 6], Operations: ['41-35=6'] Exploring Operation: 6+6=12, Resulting Numbers: [22, 12] Generated Node #0,0,0: 96:[22, 12] Operation: 6+6=12 Exploring Operation: 22-6=16, Resulting Numbers: [6, 16] Generated Node #0,0,1: 96:[6, 16] Operation: 22-6=16 Exploring Operation: 22+6=28, Resulting Numbers: [6, 28] Generated Node #0,0,2: 96:[6, 28] Operation: 22+6=28 Exploring Operation: 22-6=16, Resulting Numbers: [6, 16] Generated Node #0,0,3: 96:[6, 16] Operation: 22-6=16 Exploring Operation: 6/6=1, Resulting Numbers: [22, 1] Generated Node #0,0,4: 96:[22, 1] Operation: 6/6=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[6, 16], Operations: ['41-35=6', '22-6=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[35, 41, 22, 6], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [22, 6, 6] Generated Node #0,0: 96:[22, 6, 6] Operation: 41-35=6 Moving to Node #0,0 Current State: 96:[22, 6, 6], Operations: ['41-35=6'] Exploring Operation: 22-6=16, Resulting Numbers: [6, 16] Generated Node #0,0,1: 96:[6, 16] Operation: 22-6=16 Moving to Node #0,0,1 Current State: 96:[6, 16], Operations: ['41-35=6', '22-6=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 24, 28, 21, 66 ]
91
[ "28-24=4", "21+66=87", "4+87=91" ]
Current State: 91:[24, 28, 21, 66], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [21, 66, 4] Generated Node #2: [21, 66, 4] from Operation: 28-24=4 Current State: 91:[21, 66, 4], Operations: ['28-24=4'] Exploring Operation: 21+66=87, Resulting Numbers: [4, 87] Generated Node #3: [4, 87] from Operation: 21+66=87 Current State: 91:[4, 87], Operations: ['28-24=4', '21+66=87'] Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[24, 28, 21, 66], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [24, 66, 7] Generated Node #0,0: 91:[24, 66, 7] Operation: 28-21=7 Exploring Operation: 28-24=4, Resulting Numbers: [21, 66, 4] Generated Node #0,1: 91:[21, 66, 4] Operation: 28-24=4 Exploring Operation: 28+66=94, Resulting Numbers: [24, 21, 94] Generated Node #0,2: 91:[24, 21, 94] Operation: 28+66=94 Exploring Operation: 24+66=90, Resulting Numbers: [28, 21, 90] Generated Node #0,3: 91:[28, 21, 90] Operation: 24+66=90 Exploring Operation: 21+66=87, Resulting Numbers: [24, 28, 87] Generated Node #0,4: 91:[24, 28, 87] Operation: 21+66=87 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[24, 21, 94], Operations: ['28+66=94'] Exploring Operation: 24+21=45, Resulting Numbers: [94, 45] Generated Node #0,2,0: 91:[94, 45] Operation: 24+21=45 Exploring Operation: 24-21=3, Resulting Numbers: [94, 3] Generated Node #0,2,1: 91:[94, 3] Operation: 24-21=3 Exploring Operation: 94-21=73, Resulting Numbers: [24, 73] Generated Node #0,2,2: 91:[24, 73] Operation: 94-21=73 Exploring Operation: 94-24=70, Resulting Numbers: [21, 70] Generated Node #0,2,3: 91:[21, 70] Operation: 94-24=70 Exploring Operation: 24+94=118, Resulting Numbers: [21, 118] Generated Node #0,2,4: 91:[21, 118] Operation: 24+94=118 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 91:[94, 3], Operations: ['28+66=94', '24-21=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[24, 28, 21, 66], Operations: [] Exploring Operation: 28+66=94, Resulting Numbers: [24, 21, 94] Generated Node #0,2: 91:[24, 21, 94] Operation: 28+66=94 Moving to Node #0,2 Current State: 91:[24, 21, 94], Operations: ['28+66=94'] Exploring Operation: 24-21=3, Resulting Numbers: [94, 3] Generated Node #0,2,1: 91:[94, 3] Operation: 24-21=3 Moving to Node #0,2,1 Current State: 91:[94, 3], Operations: ['28+66=94', '24-21=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 33, 27, 50, 96 ]
66
[ "33-27=6", "96/6=16", "50+16=66" ]
Current State: 66:[33, 27, 50, 96], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [50, 96, 6] Generated Node #2: [50, 96, 6] from Operation: 33-27=6 Current State: 66:[50, 96, 6], Operations: ['33-27=6'] Exploring Operation: 96/6=16, Resulting Numbers: [50, 16] Generated Node #3: [50, 16] from Operation: 96/6=16 Current State: 66:[50, 16], Operations: ['33-27=6', '96/6=16'] Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[33, 27, 50, 96], Operations: [] Exploring Operation: 96-27=69, Resulting Numbers: [33, 50, 69] Generated Node #0,0: 66:[33, 50, 69] Operation: 96-27=69 Exploring Operation: 96-50=46, Resulting Numbers: [33, 27, 46] Generated Node #0,1: 66:[33, 27, 46] Operation: 96-50=46 Moving to Node #0,1 Current State: 66:[33, 27, 46], Operations: ['96-50=46'] Exploring Operation: 46-27=19, Resulting Numbers: [33, 19] Generated Node #0,1,0: 66:[33, 19] Operation: 46-27=19 Exploring Operation: 46-33=13, Resulting Numbers: [27, 13] Generated Node #0,1,1: 66:[27, 13] Operation: 46-33=13 Moving to Node #0,0 Current State: 66:[33, 50, 69], Operations: ['96-27=69'] Exploring Operation: 50-33=17, Resulting Numbers: [69, 17] Generated Node #0,0,0: 66:[69, 17] Operation: 50-33=17 Exploring Operation: 69-50=19, Resulting Numbers: [33, 19] Generated Node #0,0,1: 66:[33, 19] Operation: 69-50=19 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[33, 19], Operations: ['96-27=69', '69-50=19'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[69, 17], Operations: ['96-27=69', '50-33=17'] Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 69+17=86, Resulting Numbers: [86] 86,66 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: 66:[33, 19], Operations: ['96-50=46', '46-27=19'] Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[27, 13], Operations: ['96-50=46', '46-33=13'] Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,66 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 50, 54, 27, 51 ]
41
[ "54-51=3", "27/3=9", "50-9=41" ]
Current State: 41:[50, 54, 27, 51], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [50, 27, 3] Generated Node #2: [50, 27, 3] from Operation: 54-51=3 Current State: 41:[50, 27, 3], Operations: ['54-51=3'] Exploring Operation: 27/3=9, Resulting Numbers: [50, 9] Generated Node #3: [50, 9] from Operation: 27/3=9 Current State: 41:[50, 9], Operations: ['54-51=3', '27/3=9'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[50, 54, 27, 51], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [50, 51, 27] Generated Node #0,0: 41:[50, 51, 27] Operation: 54-27=27 Exploring Operation: 51-27=24, Resulting Numbers: [50, 54, 24] Generated Node #0,1: 41:[50, 54, 24] Operation: 51-27=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[50, 51, 27], Operations: ['54-27=27'] Exploring Operation: 51-27=24, Resulting Numbers: [50, 24] Generated Node #0,0,0: 41:[50, 24] Operation: 51-27=24 Exploring Operation: 50-27=23, Resulting Numbers: [51, 23] Generated Node #0,0,1: 41:[51, 23] Operation: 50-27=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[50, 24], Operations: ['54-27=27', '51-27=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,41 unequal: No Solution Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[51, 23], Operations: ['54-27=27', '50-27=23'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 51+23=74, Resulting Numbers: [74] 74,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[50, 54, 24], Operations: ['51-27=24'] Exploring Operation: 50-24=26, Resulting Numbers: [54, 26] Generated Node #0,1,0: 41:[54, 26] Operation: 50-24=26 Exploring Operation: 54-24=30, Resulting Numbers: [50, 30] Generated Node #0,1,1: 41:[50, 30] Operation: 54-24=30 Moving to Node #0,1,1 Current State: 41:[50, 30], Operations: ['51-27=24', '54-24=30'] Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[54, 26], Operations: ['51-27=24', '50-24=26'] Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,41 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
[ 6, 90, 48, 5 ]
24
[ "48-6=42", "90/5=18", "42-18=24" ]
Current State: 24:[6, 90, 48, 5], Operations: [] Exploring Operation: 48-6=42, Resulting Numbers: [90, 5, 42] Generated Node #2: [90, 5, 42] from Operation: 48-6=42 Current State: 24:[90, 5, 42], Operations: ['48-6=42'] Exploring Operation: 90/5=18, Resulting Numbers: [42, 18] Generated Node #3: [42, 18] from Operation: 90/5=18 Current State: 24:[42, 18], Operations: ['48-6=42', '90/5=18'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[6, 90, 48, 5], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [6, 5, 42] Generated Node #0,0: 24:[6, 5, 42] Operation: 90-48=42 Moving to Node #0,0 Current State: 24:[6, 5, 42], Operations: ['90-48=42'] Exploring Operation: 42/6=7, Resulting Numbers: [5, 7] Generated Node #0,0,0: 24:[5, 7] Operation: 42/6=7 Moving to Node #0,0,0 Current State: 24:[5, 7], Operations: ['90-48=42', '42/6=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,24 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 52, 39, 6, 3 ]
83
[ "39+6=45", "3*45=135", "135-52=83" ]
Current State: 83:[52, 39, 6, 3], Operations: [] Exploring Operation: 39+6=45, Resulting Numbers: [52, 3, 45] Generated Node #2: [52, 3, 45] from Operation: 39+6=45 Current State: 83:[52, 3, 45], Operations: ['39+6=45'] Exploring Operation: 3*45=135, Resulting Numbers: [52, 135] Generated Node #3: [52, 135] from Operation: 3*45=135 Current State: 83:[52, 135], Operations: ['39+6=45', '3*45=135'] Exploring Operation: 135-52=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[52, 39, 6, 3], Operations: [] Exploring Operation: 52+3=55, Resulting Numbers: [39, 6, 55] Generated Node #0,0: 83:[39, 6, 55] Operation: 52+3=55 Exploring Operation: 52+6=58, Resulting Numbers: [39, 3, 58] Generated Node #0,1: 83:[39, 3, 58] Operation: 52+6=58 Exploring Operation: 39*3=117, Resulting Numbers: [52, 6, 117] Generated Node #0,2: 83:[52, 6, 117] Operation: 39*3=117 Exploring Operation: 6*3=18, Resulting Numbers: [52, 39, 18] Generated Node #0,3: 83:[52, 39, 18] Operation: 6*3=18 Moving to Node #0,3 Current State: 83:[52, 39, 18], Operations: ['6*3=18'] Exploring Operation: 52+18=70, Resulting Numbers: [39, 70] Generated Node #0,3,0: 83:[39, 70] Operation: 52+18=70 Exploring Operation: 52-18=34, Resulting Numbers: [39, 34] Generated Node #0,3,1: 83:[39, 34] Operation: 52-18=34 Exploring Operation: 52+39=91, Resulting Numbers: [18, 91] Generated Node #0,3,2: 83:[18, 91] Operation: 52+39=91 Exploring Operation: 39+18=57, Resulting Numbers: [52, 57] Generated Node #0,3,3: 83:[52, 57] Operation: 39+18=57 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[39, 70], Operations: ['6*3=18', '52+18=70'] Exploring Operation: 39*70=2730, Resulting Numbers: [2730] 2730,83 unequal: No Solution Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 39+70=109, Resulting Numbers: [109] 109,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[52, 57], Operations: ['6*3=18', '39+18=57'] Exploring Operation: 52*57=2964, Resulting Numbers: [2964] 2964,83 unequal: No Solution Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 52+57=109, Resulting Numbers: [109] 109,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[18, 91], Operations: ['6*3=18', '52+39=91'] Exploring Operation: 18*91=1638, Resulting Numbers: [1638] 1638,83 unequal: No Solution Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 18+91=109, Resulting Numbers: [109] 109,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[39, 34], Operations: ['6*3=18', '52-18=34'] Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,83 unequal: No Solution Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 83:[52, 6, 117], Operations: ['39*3=117'] Exploring Operation: 117-6=111, Resulting Numbers: [52, 111] Generated Node #0,2,0: 83:[52, 111] Operation: 117-6=111 Exploring Operation: 52-6=46, Resulting Numbers: [117, 46] Generated Node #0,2,1: 83:[117, 46] Operation: 52-6=46 Exploring Operation: 52+6=58, Resulting Numbers: [117, 58] Generated Node #0,2,2: 83:[117, 58] Operation: 52+6=58 Exploring Operation: 6+117=123, Resulting Numbers: [52, 123] Generated Node #0,2,3: 83:[52, 123] Operation: 6+117=123 Moving to Node #0,1 Current State: 83:[39, 3, 58], Operations: ['52+6=58'] Exploring Operation: 39*3=117, Resulting Numbers: [58, 117] Generated Node #0,1,0: 83:[58, 117] Operation: 39*3=117 Exploring Operation: 39-3=36, Resulting Numbers: [58, 36] Generated Node #0,1,1: 83:[58, 36] Operation: 39-3=36 Exploring Operation: 3+58=61, Resulting Numbers: [39, 61] Generated Node #0,1,2: 83:[39, 61] Operation: 3+58=61 Exploring Operation: 39+3=42, Resulting Numbers: [58, 42] Generated Node #0,1,3: 83:[58, 42] Operation: 39+3=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[58, 117], Operations: ['52+6=58', '39*3=117'] Exploring Operation: 58*117=6786, Resulting Numbers: [6786] 6786,83 unequal: No Solution Exploring Operation: 58+117=175, Resulting Numbers: [175] 175,83 unequal: No Solution Exploring Operation: 117-58=59, Resulting Numbers: [59] 59,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[39, 61], Operations: ['52+6=58', '3+58=61'] Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[58, 42], Operations: ['52+6=58', '39+3=42'] Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 58*42=2436, Resulting Numbers: [2436] 2436,83 unequal: No Solution Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[58, 36], Operations: ['52+6=58', '39-3=36'] Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,83 unequal: No Solution Exploring Operation: 58*36=2088, Resulting Numbers: [2088] 2088,83 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: 83:[39, 6, 55], Operations: ['52+3=55'] Exploring Operation: 6+55=61, Resulting Numbers: [39, 61] Generated Node #0,0,0: 83:[39, 61] Operation: 6+55=61 Exploring Operation: 55-6=49, Resulting Numbers: [39, 49] Generated Node #0,0,1: 83:[39, 49] Operation: 55-6=49 Exploring Operation: 39+6=45, Resulting Numbers: [55, 45] Generated Node #0,0,2: 83:[55, 45] Operation: 39+6=45 Exploring Operation: 39-6=33, Resulting Numbers: [55, 33] Generated Node #0,0,3: 83:[55, 33] Operation: 39-6=33 Moving to Node #0,2,0 Current State: 83:[52, 111], Operations: ['39*3=117', '117-6=111'] Exploring Operation: 52*111=5772, Resulting Numbers: [5772] 5772,83 unequal: No Solution Exploring Operation: 52+111=163, Resulting Numbers: [163] 163,83 unequal: No Solution Exploring Operation: 111-52=59, Resulting Numbers: [59] 59,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[117, 58], Operations: ['39*3=117', '52+6=58'] Exploring Operation: 117*58=6786, Resulting Numbers: [6786] 6786,83 unequal: No Solution Exploring Operation: 117+58=175, Resulting Numbers: [175] 175,83 unequal: No Solution Exploring Operation: 117-58=59, Resulting Numbers: [59] 59,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[55, 45], Operations: ['52+3=55', '39+6=45'] Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,83 unequal: No Solution Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[39, 61], Operations: ['52+3=55', '6+55=61'] Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,83 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[117, 46], Operations: ['39*3=117', '52-6=46'] Exploring Operation: 117*46=5382, Resulting Numbers: [5382] 5382,83 unequal: No Solution Exploring Operation: 117-46=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 117+46=163, Resulting Numbers: [163] 163,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[52, 123], Operations: ['39*3=117', '6+117=123'] Exploring Operation: 123-52=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 52+123=175, Resulting Numbers: [175] 175,83 unequal: No Solution Exploring Operation: 52*123=6396, Resulting Numbers: [6396] 6396,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[39, 49], Operations: ['52+3=55', '55-6=49'] Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 39*49=1911, Resulting Numbers: [1911] 1911,83 unequal: No Solution Exploring Operation: 39+49=88, Resulting Numbers: [88] 88,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[55, 33], Operations: ['52+3=55', '39-6=33'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 55+33=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 55*33=1815, Resulting Numbers: [1815] 1815,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 29, 36, 95, 18 ]
33
[ "95-29=66", "36/18=2", "66/2=33" ]
Current State: 33:[29, 36, 95, 18], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [36, 18, 66] Generated Node #2: [36, 18, 66] from Operation: 95-29=66 Current State: 33:[36, 18, 66], Operations: ['95-29=66'] Exploring Operation: 36/18=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 36/18=2 Current State: 33:[66, 2], Operations: ['95-29=66', '36/18=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[29, 36, 95, 18], Operations: [] Exploring Operation: 95-36=59, Resulting Numbers: [29, 18, 59] Generated Node #0,0: 33:[29, 18, 59] Operation: 95-36=59 Exploring Operation: 95-29=66, Resulting Numbers: [36, 18, 66] Generated Node #0,1: 33:[36, 18, 66] Operation: 95-29=66 Exploring Operation: 29-18=11, Resulting Numbers: [36, 95, 11] Generated Node #0,2: 33:[36, 95, 11] Operation: 29-18=11 Exploring Operation: 95-18=77, Resulting Numbers: [29, 36, 77] Generated Node #0,3: 33:[29, 36, 77] Operation: 95-18=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[29, 18, 59], Operations: ['95-36=59'] Exploring Operation: 59-18=41, Resulting Numbers: [29, 41] Generated Node #0,0,0: 33:[29, 41] Operation: 59-18=41 Exploring Operation: 59-29=30, Resulting Numbers: [18, 30] Generated Node #0,0,1: 33:[18, 30] Operation: 59-29=30 Exploring Operation: 29+18=47, Resulting Numbers: [59, 47] Generated Node #0,0,2: 33:[59, 47] Operation: 29+18=47 Exploring Operation: 29-18=11, Resulting Numbers: [59, 11] Generated Node #0,0,3: 33:[59, 11] Operation: 29-18=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[18, 30], Operations: ['95-36=59', '59-29=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[29, 41], Operations: ['95-36=59', '59-18=41'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,33 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[59, 11], Operations: ['95-36=59', '29-18=11'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,33 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[59, 47], Operations: ['95-36=59', '29+18=47'] Exploring Operation: 59*47=2773, Resulting Numbers: [2773] 2773,33 unequal: No Solution Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 59+47=106, Resulting Numbers: [106] 106,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[36, 18, 66], Operations: ['95-29=66'] Exploring Operation: 36/18=2, Resulting Numbers: [66, 2] Generated Node #0,1,0: 33:[66, 2] Operation: 36/18=2 Exploring Operation: 66-18=48, Resulting Numbers: [36, 48] Generated Node #0,1,1: 33:[36, 48] Operation: 66-18=48 Exploring Operation: 66-36=30, Resulting Numbers: [18, 30] Generated Node #0,1,2: 33:[18, 30] Operation: 66-36=30 Exploring Operation: 36-18=18, Resulting Numbers: [66, 18] Generated Node #0,1,3: 33:[66, 18] Operation: 36-18=18 Moving to Node #0,1,2 Current State: 33:[18, 30], Operations: ['95-29=66', '66-36=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[36, 48], Operations: ['95-29=66', '66-18=48'] Exploring Operation: 36+48=84, Resulting Numbers: [84] 84,33 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 36*48=1728, Resulting Numbers: [1728] 1728,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[66, 2], Operations: ['95-29=66', '36/18=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,33 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,33 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[29, 36, 95, 18], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [36, 18, 66] Generated Node #0,1: 33:[36, 18, 66] Operation: 95-29=66 Moving to Node #0,1 Current State: 33:[36, 18, 66], Operations: ['95-29=66'] Exploring Operation: 36/18=2, Resulting Numbers: [66, 2] Generated Node #0,1,0: 33:[66, 2] Operation: 36/18=2 Moving to Node #0,1,0 Current State: 33:[66, 2], Operations: ['95-29=66', '36/18=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
mult_heuristic
[ 96, 40, 28, 92 ]
33
[ "96-92=4", "28/4=7", "40-7=33" ]
Current State: 33:[96, 40, 28, 92], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [40, 28, 4] Generated Node #2: [40, 28, 4] from Operation: 96-92=4 Current State: 33:[40, 28, 4], Operations: ['96-92=4'] Exploring Operation: 28/4=7, Resulting Numbers: [40, 7] Generated Node #3: [40, 7] from Operation: 28/4=7 Current State: 33:[40, 7], Operations: ['96-92=4', '28/4=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[96, 40, 28, 92], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [40, 28, 4] Generated Node #0,0: 33:[40, 28, 4] Operation: 96-92=4 Exploring Operation: 92-40=52, Resulting Numbers: [96, 28, 52] Generated Node #0,1: 33:[96, 28, 52] Operation: 92-40=52 Exploring Operation: 96-40=56, Resulting Numbers: [28, 92, 56] Generated Node #0,2: 33:[28, 92, 56] Operation: 96-40=56 Moving to Node #0,0 Current State: 33:[40, 28, 4], Operations: ['96-92=4'] Exploring Operation: 40/4=10, Resulting Numbers: [28, 10] Generated Node #0,0,0: 33:[28, 10] Operation: 40/4=10 Exploring Operation: 40-28=12, Resulting Numbers: [4, 12] Generated Node #0,0,1: 33:[4, 12] Operation: 40-28=12 Exploring Operation: 40-4=36, Resulting Numbers: [28, 36] Generated Node #0,0,2: 33:[28, 36] Operation: 40-4=36 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[4, 12], Operations: ['96-92=4', '40-28=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,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,0,0 Current State: 33:[28, 10], Operations: ['96-92=4', '40/4=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,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,0,2 Current State: 33:[28, 36], Operations: ['96-92=4', '40-4=36'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 33:[96, 28, 52], Operations: ['92-40=52'] Exploring Operation: 96-28=68, Resulting Numbers: [52, 68] Generated Node #0,1,0: 33:[52, 68] Operation: 96-28=68 Exploring Operation: 96-52=44, Resulting Numbers: [28, 44] Generated Node #0,1,1: 33:[28, 44] Operation: 96-52=44 Exploring Operation: 52-28=24, Resulting Numbers: [96, 24] Generated Node #0,1,2: 33:[96, 24] Operation: 52-28=24 Moving to Node #0,2 Current State: 33:[28, 92, 56], Operations: ['96-40=56'] Exploring Operation: 92-28=64, Resulting Numbers: [56, 64] Generated Node #0,2,0: 33:[56, 64] Operation: 92-28=64 Exploring Operation: 56/28=2, Resulting Numbers: [92, 2] Generated Node #0,2,1: 33:[92, 2] Operation: 56/28=2 Exploring Operation: 92-56=36, Resulting Numbers: [28, 36] Generated Node #0,2,2: 33:[28, 36] Operation: 92-56=36 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[28, 36], Operations: ['96-40=56', '92-56=36'] Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,33 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,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,2,0 Current State: 33:[56, 64], Operations: ['96-40=56', '92-28=64'] Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,33 unequal: No Solution Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,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,2,1 Current State: 33:[92, 2], Operations: ['96-40=56', '56/28=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,33 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 33:[28, 44], Operations: ['92-40=52', '96-52=44'] Exploring Operation: 28*44=1232, Resulting Numbers: [1232] 1232,33 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 28+44=72, Resulting Numbers: [72] 72,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[52, 68], Operations: ['92-40=52', '96-28=68'] Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 52*68=3536, Resulting Numbers: [3536] 3536,33 unequal: No Solution Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[96, 24], Operations: ['92-40=52', '52-28=24'] Exploring Operation: 96+24=120, Resulting Numbers: [120] 120,33 unequal: No Solution Exploring Operation: 96/24=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 96-24=72, Resulting Numbers: [72] 72,33 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 94, 20, 59, 1 ]
97
[ "59+1=60", "60/20=3", "94+3=97" ]
Current State: 97:[94, 20, 59, 1], Operations: [] Exploring Operation: 59+1=60, Resulting Numbers: [94, 20, 60] Generated Node #2: [94, 20, 60] from Operation: 59+1=60 Current State: 97:[94, 20, 60], Operations: ['59+1=60'] Exploring Operation: 60/20=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 60/20=3 Current State: 97:[94, 3], Operations: ['59+1=60', '60/20=3'] Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[94, 20, 59, 1], Operations: [] Exploring Operation: 20+59=79, Resulting Numbers: [94, 1, 79] Generated Node #0,0: 97:[94, 1, 79] Operation: 20+59=79 Exploring Operation: 94+1=95, Resulting Numbers: [20, 59, 95] Generated Node #0,1: 97:[20, 59, 95] Operation: 94+1=95 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[94, 1, 79], Operations: ['20+59=79'] Exploring Operation: 94+1=95, Resulting Numbers: [79, 95] Generated Node #0,0,0: 97:[79, 95] Operation: 94+1=95 Exploring Operation: 1+79=80, Resulting Numbers: [94, 80] Generated Node #0,0,1: 97:[94, 80] Operation: 1+79=80 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[79, 95], Operations: ['20+59=79', '94+1=95'] Exploring Operation: 79+95=174, Resulting Numbers: [174] 174,97 unequal: No Solution Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[94, 80], Operations: ['20+59=79', '1+79=80'] Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 94+80=174, Resulting Numbers: [174] 174,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[20, 59, 95], Operations: ['94+1=95'] Exploring Operation: 20+59=79, Resulting Numbers: [95, 79] Generated Node #0,1,0: 97:[95, 79] Operation: 20+59=79 Exploring Operation: 20+95=115, Resulting Numbers: [59, 115] Generated Node #0,1,1: 97:[59, 115] Operation: 20+95=115 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[95, 79], Operations: ['94+1=95', '20+59=79'] Exploring Operation: 95+79=174, Resulting Numbers: [174] 174,97 unequal: No Solution Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[59, 115], Operations: ['94+1=95', '20+95=115'] Exploring Operation: 59+115=174, Resulting Numbers: [174] 174,97 unequal: No Solution Exploring Operation: 115-59=56, Resulting Numbers: [56] 56,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 74, 80, 20, 46 ]
10
[ "74+80=154", "46+154=200", "200/20=10" ]
Current State: 10:[74, 80, 20, 46], Operations: [] Exploring Operation: 74+80=154, Resulting Numbers: [20, 46, 154] Generated Node #2: [20, 46, 154] from Operation: 74+80=154 Current State: 10:[20, 46, 154], Operations: ['74+80=154'] Exploring Operation: 46+154=200, Resulting Numbers: [20, 200] Generated Node #3: [20, 200] from Operation: 46+154=200 Current State: 10:[20, 200], Operations: ['74+80=154', '46+154=200'] Exploring Operation: 200/20=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[74, 80, 20, 46], Operations: [] Exploring Operation: 74-46=28, Resulting Numbers: [80, 20, 28] Generated Node #0,0: 10:[80, 20, 28] Operation: 74-46=28 Exploring Operation: 80/20=4, Resulting Numbers: [74, 46, 4] Generated Node #0,1: 10:[74, 46, 4] Operation: 80/20=4 Exploring Operation: 80-74=6, Resulting Numbers: [20, 46, 6] Generated Node #0,2: 10:[20, 46, 6] Operation: 80-74=6 Exploring Operation: 80-46=34, Resulting Numbers: [74, 20, 34] Generated Node #0,3: 10:[74, 20, 34] Operation: 80-46=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[20, 46, 6], Operations: ['80-74=6'] Exploring Operation: 46-6=40, Resulting Numbers: [20, 40] Generated Node #0,2,0: 10:[20, 40] Operation: 46-6=40 Exploring Operation: 20+6=26, Resulting Numbers: [46, 26] Generated Node #0,2,1: 10:[46, 26] Operation: 20+6=26 Exploring Operation: 46-20=26, Resulting Numbers: [6, 26] Generated Node #0,2,2: 10:[6, 26] Operation: 46-20=26 Exploring Operation: 20-6=14, Resulting Numbers: [46, 14] Generated Node #0,2,3: 10:[46, 14] Operation: 20-6=14 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[6, 26], Operations: ['80-74=6', '46-20=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,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,2,0 Current State: 10:[20, 40], Operations: ['80-74=6', '46-6=40'] Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 20*40=800, Resulting Numbers: [800] 800,10 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 20+40=60, Resulting Numbers: [60] 60,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,2,3 Current State: 10:[46, 14], Operations: ['80-74=6', '20-6=14'] Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,10 unequal: No Solution Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,10 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,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,2,1 Current State: 10:[46, 26], Operations: ['80-74=6', '20+6=26'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[80, 20, 28], Operations: ['74-46=28'] Exploring Operation: 28-20=8, Resulting Numbers: [80, 8] Generated Node #0,0,0: 10:[80, 8] Operation: 28-20=8 Exploring Operation: 80-28=52, Resulting Numbers: [20, 52] Generated Node #0,0,1: 10:[20, 52] Operation: 80-28=52 Exploring Operation: 80/20=4, Resulting Numbers: [28, 4] Generated Node #0,0,2: 10:[28, 4] Operation: 80/20=4 Exploring Operation: 80-20=60, Resulting Numbers: [28, 60] Generated Node #0,0,3: 10:[28, 60] Operation: 80-20=60 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[28, 4], Operations: ['74-46=28', '80/20=4'] Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,10 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,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,0,1 Current State: 10:[20, 52], Operations: ['74-46=28', '80-28=52'] Exploring Operation: 20*52=1040, Resulting Numbers: [1040] 1040,10 unequal: No Solution Exploring Operation: 20+52=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,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,0,3 Current State: 10:[28, 60], Operations: ['74-46=28', '80-20=60'] Exploring Operation: 28*60=1680, Resulting Numbers: [1680] 1680,10 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 28+60=88, Resulting Numbers: [88] 88,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,0,0 Current State: 10:[80, 8], Operations: ['74-46=28', '28-20=8'] Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,10 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[74, 80, 20, 46], Operations: [] Exploring Operation: 74-46=28, Resulting Numbers: [80, 20, 28] Generated Node #0,0: 10:[80, 20, 28] Operation: 74-46=28 Moving to Node #0,0 Current State: 10:[80, 20, 28], Operations: ['74-46=28'] Exploring Operation: 28-20=8, Resulting Numbers: [80, 8] Generated Node #0,0,0: 10:[80, 8] Operation: 28-20=8 Moving to Node #0,0,0 Current State: 10:[80, 8], Operations: ['74-46=28', '28-20=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_4
sum_heuristic
[ 70, 14, 81, 58 ]
87
[ "70-58=12", "14*12=168", "168-81=87" ]
Current State: 87:[70, 14, 81, 58], Operations: [] Exploring Operation: 70-58=12, Resulting Numbers: [14, 81, 12] Generated Node #2: [14, 81, 12] from Operation: 70-58=12 Current State: 87:[14, 81, 12], Operations: ['70-58=12'] Exploring Operation: 14*12=168, Resulting Numbers: [81, 168] Generated Node #3: [81, 168] from Operation: 14*12=168 Current State: 87:[81, 168], Operations: ['70-58=12', '14*12=168'] Exploring Operation: 168-81=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[70, 14, 81, 58], Operations: [] Exploring Operation: 81-58=23, Resulting Numbers: [70, 14, 23] Generated Node #0,0: 87:[70, 14, 23] Operation: 81-58=23 Exploring Operation: 70-58=12, Resulting Numbers: [14, 81, 12] Generated Node #0,1: 87:[14, 81, 12] Operation: 70-58=12 Moving to Node #0,1 Current State: 87:[14, 81, 12], Operations: ['70-58=12'] Exploring Operation: 14-12=2, Resulting Numbers: [81, 2] Generated Node #0,1,0: 87:[81, 2] Operation: 14-12=2 Exploring Operation: 14+12=26, Resulting Numbers: [81, 26] Generated Node #0,1,1: 87:[81, 26] Operation: 14+12=26 Moving to Node #0,0 Current State: 87:[70, 14, 23], Operations: ['81-58=23'] Exploring Operation: 70+14=84, Resulting Numbers: [23, 84] Generated Node #0,0,0: 87:[23, 84] Operation: 70+14=84 Exploring Operation: 70/14=5, Resulting Numbers: [23, 5] Generated Node #0,0,1: 87:[23, 5] Operation: 70/14=5 Moving to Node #0,1,0 Current State: 87:[81, 2], Operations: ['70-58=12', '14-12=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,87 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[23, 5], Operations: ['81-58=23', '70/14=5'] Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[81, 26], Operations: ['70-58=12', '14+12=26'] Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 81+26=107, Resulting Numbers: [107] 107,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[23, 84], Operations: ['81-58=23', '70+14=84'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,87 unequal: No Solution Exploring Operation: 23+84=107, Resulting Numbers: [107] 107,87 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 38, 3, 99, 26 ]
17
[ "99-38=61", "3*26=78", "78-61=17" ]
Current State: 17:[38, 3, 99, 26], Operations: [] Exploring Operation: 99-38=61, Resulting Numbers: [3, 26, 61] Generated Node #2: [3, 26, 61] from Operation: 99-38=61 Current State: 17:[3, 26, 61], Operations: ['99-38=61'] Exploring Operation: 3*26=78, Resulting Numbers: [61, 78] Generated Node #3: [61, 78] from Operation: 3*26=78 Current State: 17:[61, 78], Operations: ['99-38=61', '3*26=78'] Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[38, 3, 99, 26], Operations: [] Exploring Operation: 99-38=61, Resulting Numbers: [3, 26, 61] Generated Node #0,0: 17:[3, 26, 61] Operation: 99-38=61 Exploring Operation: 38-3=35, Resulting Numbers: [99, 26, 35] Generated Node #0,1: 17:[99, 26, 35] Operation: 38-3=35 Exploring Operation: 38-26=12, Resulting Numbers: [3, 99, 12] Generated Node #0,2: 17:[3, 99, 12] Operation: 38-26=12 Exploring Operation: 99-26=73, Resulting Numbers: [38, 3, 73] Generated Node #0,3: 17:[38, 3, 73] Operation: 99-26=73 Exploring Operation: 99/3=33, Resulting Numbers: [38, 26, 33] Generated Node #0,4: 17:[38, 26, 33] Operation: 99/3=33 Moving to Node #0,4 Current State: 17:[38, 26, 33], Operations: ['99/3=33'] Exploring Operation: 38+26=64, Resulting Numbers: [33, 64] Generated Node #0,4,0: 17:[33, 64] Operation: 38+26=64 Exploring Operation: 33-26=7, Resulting Numbers: [38, 7] Generated Node #0,4,1: 17:[38, 7] Operation: 33-26=7 Exploring Operation: 38+33=71, Resulting Numbers: [26, 71] Generated Node #0,4,2: 17:[26, 71] Operation: 38+33=71 Exploring Operation: 38-26=12, Resulting Numbers: [33, 12] Generated Node #0,4,3: 17:[33, 12] Operation: 38-26=12 Exploring Operation: 38-33=5, Resulting Numbers: [26, 5] Generated Node #0,4,4: 17:[26, 5] Operation: 38-33=5 Moving to Node #0,0 Current State: 17:[3, 26, 61], Operations: ['99-38=61'] Exploring Operation: 61-26=35, Resulting Numbers: [3, 35] Generated Node #0,0,0: 17:[3, 35] Operation: 61-26=35 Exploring Operation: 26-3=23, Resulting Numbers: [61, 23] Generated Node #0,0,1: 17:[61, 23] Operation: 26-3=23 Exploring Operation: 3+61=64, Resulting Numbers: [26, 64] Generated Node #0,0,2: 17:[26, 64] Operation: 3+61=64 Exploring Operation: 3+26=29, Resulting Numbers: [61, 29] Generated Node #0,0,3: 17:[61, 29] Operation: 3+26=29 Exploring Operation: 61-3=58, Resulting Numbers: [26, 58] Generated Node #0,0,4: 17:[26, 58] Operation: 61-3=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[3, 35], Operations: ['99-38=61', '61-26=35'] Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[61, 23], Operations: ['99-38=61', '26-3=23'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,17 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[26, 58], Operations: ['99-38=61', '61-3=58'] Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,17 unequal: No Solution Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[26, 64], Operations: ['99-38=61', '3+61=64'] Exploring Operation: 26+64=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 26*64=1664, Resulting Numbers: [1664] 1664,17 unequal: No Solution Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[61, 29], Operations: ['99-38=61', '3+26=29'] Exploring Operation: 61*29=1769, Resulting Numbers: [1769] 1769,17 unequal: No Solution Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 61+29=90, Resulting Numbers: [90] 90,17 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: 17:[38, 3, 73], Operations: ['99-26=73'] Exploring Operation: 3+73=76, Resulting Numbers: [38, 76] Generated Node #0,3,0: 17:[38, 76] Operation: 3+73=76 Exploring Operation: 38+3=41, Resulting Numbers: [73, 41] Generated Node #0,3,1: 17:[73, 41] Operation: 38+3=41 Exploring Operation: 73-3=70, Resulting Numbers: [38, 70] Generated Node #0,3,2: 17:[38, 70] Operation: 73-3=70 Exploring Operation: 73-38=35, Resulting Numbers: [3, 35] Generated Node #0,3,3: 17:[3, 35] Operation: 73-38=35 Exploring Operation: 38-3=35, Resulting Numbers: [73, 35] Generated Node #0,3,4: 17:[73, 35] Operation: 38-3=35 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[3, 35], Operations: ['99-26=73', '73-38=35'] Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,17 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[38, 70], Operations: ['99-26=73', '73-3=70'] Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 38*70=2660, Resulting Numbers: [2660] 2660,17 unequal: No Solution Exploring Operation: 38+70=108, Resulting Numbers: [108] 108,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 17:[73, 35], Operations: ['99-26=73', '38-3=35'] Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,17 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[38, 76], Operations: ['99-26=73', '3+73=76'] Exploring Operation: 76/38=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 38*76=2888, Resulting Numbers: [2888] 2888,17 unequal: No Solution Exploring Operation: 38+76=114, Resulting Numbers: [114] 114,17 unequal: No Solution Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[73, 41], Operations: ['99-26=73', '38+3=41'] Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 73+41=114, Resulting Numbers: [114] 114,17 unequal: No Solution Exploring Operation: 73*41=2993, Resulting Numbers: [2993] 2993,17 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: 17:[3, 99, 12], Operations: ['38-26=12'] Exploring Operation: 99/3=33, Resulting Numbers: [12, 33] Generated Node #0,2,0: 17:[12, 33] Operation: 99/3=33 Exploring Operation: 99-3=96, Resulting Numbers: [12, 96] Generated Node #0,2,1: 17:[12, 96] Operation: 99-3=96 Exploring Operation: 3+99=102, Resulting Numbers: [12, 102] Generated Node #0,2,2: 17:[12, 102] Operation: 3+99=102 Exploring Operation: 3+12=15, Resulting Numbers: [99, 15] Generated Node #0,2,3: 17:[99, 15] Operation: 3+12=15 Exploring Operation: 99-12=87, Resulting Numbers: [3, 87] Generated Node #0,2,4: 17:[3, 87] Operation: 99-12=87 Moving to Node #0,1 Current State: 17:[99, 26, 35], Operations: ['38-3=35'] Exploring Operation: 99+35=134, Resulting Numbers: [26, 134] Generated Node #0,1,0: 17:[26, 134] Operation: 99+35=134 Exploring Operation: 99+26=125, Resulting Numbers: [35, 125] Generated Node #0,1,1: 17:[35, 125] Operation: 99+26=125 Exploring Operation: 35-26=9, Resulting Numbers: [99, 9] Generated Node #0,1,2: 17:[99, 9] Operation: 35-26=9 Exploring Operation: 99-26=73, Resulting Numbers: [35, 73] Generated Node #0,1,3: 17:[35, 73] Operation: 99-26=73 Exploring Operation: 99-35=64, Resulting Numbers: [26, 64] Generated Node #0,1,4: 17:[26, 64] Operation: 99-35=64 Moving to Node #0,4,3 Current State: 17:[33, 12], Operations: ['99/3=33', '38-26=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,17 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[12, 33], Operations: ['38-26=12', '99/3=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,17 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[26, 5], Operations: ['99/3=33', '38-33=5'] Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,17 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,17 unequal: No Solution Moving to Node #0,4,1 Current State: 17:[38, 7], Operations: ['99/3=33', '33-26=7'] Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,17 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[26, 64], Operations: ['38-3=35', '99-35=64'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 26+64=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 26*64=1664, Resulting Numbers: [1664] 1664,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[26, 71], Operations: ['99/3=33', '38+33=71'] Exploring Operation: 26*71=1846, Resulting Numbers: [1846] 1846,17 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 26+71=97, Resulting Numbers: [97] 97,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[33, 64], Operations: ['99/3=33', '38+26=64'] Exploring Operation: 33+64=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 33*64=2112, Resulting Numbers: [2112] 2112,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[35, 73], Operations: ['38-3=35', '99-26=73'] Exploring Operation: 35+73=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 35*73=2555, Resulting Numbers: [2555] 2555,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[12, 96], Operations: ['38-26=12', '99-3=96'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 12*96=1152, Resulting Numbers: [1152] 1152,17 unequal: No Solution Exploring Operation: 12+96=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[3, 87], Operations: ['38-26=12', '99-12=87'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 3*87=261, Resulting Numbers: [261] 261,17 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[99, 15], Operations: ['38-26=12', '3+12=15'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 99*15=1485, Resulting Numbers: [1485] 1485,17 unequal: No Solution Exploring Operation: 99+15=114, Resulting Numbers: [114] 114,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[99, 9], Operations: ['38-3=35', '35-26=9'] Exploring Operation: 99*9=891, Resulting Numbers: [891] 891,17 unequal: No Solution Exploring Operation: 99+9=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[12, 102], Operations: ['38-26=12', '3+99=102'] Exploring Operation: 102-12=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 12+102=114, Resulting Numbers: [114] 114,17 unequal: No Solution Exploring Operation: 12*102=1224, Resulting Numbers: [1224] 1224,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[26, 134], Operations: ['38-3=35', '99+35=134'] Exploring Operation: 26*134=3484, Resulting Numbers: [3484] 3484,17 unequal: No Solution Exploring Operation: 134-26=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 26+134=160, Resulting Numbers: [160] 160,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[35, 125], Operations: ['38-3=35', '99+26=125'] Exploring Operation: 35+125=160, Resulting Numbers: [160] 160,17 unequal: No Solution Exploring Operation: 35*125=4375, Resulting Numbers: [4375] 4375,17 unequal: No Solution Exploring Operation: 125-35=90, Resulting Numbers: [90] 90,17 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 3, 17, 34, 35 ]
19
[ "3+17=20", "35-34=1", "20-1=19" ]
Current State: 19:[3, 17, 34, 35], Operations: [] Exploring Operation: 3+17=20, Resulting Numbers: [34, 35, 20] Generated Node #2: [34, 35, 20] from Operation: 3+17=20 Current State: 19:[34, 35, 20], Operations: ['3+17=20'] Exploring Operation: 35-34=1, Resulting Numbers: [20, 1] Generated Node #3: [20, 1] from Operation: 35-34=1 Current State: 19:[20, 1], Operations: ['3+17=20', '35-34=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[3, 17, 34, 35], Operations: [] Exploring Operation: 34-3=31, Resulting Numbers: [17, 35, 31] Generated Node #0,0: 19:[17, 35, 31] Operation: 34-3=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[17, 35, 31], Operations: ['34-3=31'] Exploring Operation: 35-17=18, Resulting Numbers: [31, 18] Generated Node #0,0,0: 19:[31, 18] Operation: 35-17=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[31, 18], Operations: ['34-3=31', '35-17=18'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,19 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
[ 12, 66, 21, 7 ]
34
[ "66*7=462", "462/21=22", "12+22=34" ]
Current State: 34:[12, 66, 21, 7], Operations: [] Exploring Operation: 66*7=462, Resulting Numbers: [12, 21, 462] Generated Node #2: [12, 21, 462] from Operation: 66*7=462 Current State: 34:[12, 21, 462], Operations: ['66*7=462'] Exploring Operation: 462/21=22, Resulting Numbers: [12, 22] Generated Node #3: [12, 22] from Operation: 462/21=22 Current State: 34:[12, 22], Operations: ['66*7=462', '462/21=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[12, 66, 21, 7], Operations: [] Exploring Operation: 66-21=45, Resulting Numbers: [12, 7, 45] Generated Node #0,0: 34:[12, 7, 45] Operation: 66-21=45 Exploring Operation: 12+21=33, Resulting Numbers: [66, 7, 33] Generated Node #0,1: 34:[66, 7, 33] Operation: 12+21=33 Exploring Operation: 66-7=59, Resulting Numbers: [12, 21, 59] Generated Node #0,2: 34:[12, 21, 59] Operation: 66-7=59 Exploring Operation: 66-12=54, Resulting Numbers: [21, 7, 54] Generated Node #0,3: 34:[21, 7, 54] Operation: 66-12=54 Moving to Node #0,0 Current State: 34:[12, 7, 45], Operations: ['66-21=45'] Exploring Operation: 12-7=5, Resulting Numbers: [45, 5] Generated Node #0,0,0: 34:[45, 5] Operation: 12-7=5 Exploring Operation: 12+7=19, Resulting Numbers: [45, 19] Generated Node #0,0,1: 34:[45, 19] Operation: 12+7=19 Exploring Operation: 45-7=38, Resulting Numbers: [12, 38] Generated Node #0,0,2: 34:[12, 38] Operation: 45-7=38 Exploring Operation: 45-12=33, Resulting Numbers: [7, 33] Generated Node #0,0,3: 34:[7, 33] Operation: 45-12=33 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[7, 33], Operations: ['66-21=45', '45-12=33'] Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,34 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,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,0,2 Current State: 34:[12, 38], Operations: ['66-21=45', '45-7=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,34 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,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,0,1 Current State: 34:[45, 19], Operations: ['66-21=45', '12+7=19'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,34 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,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,0,0 Current State: 34:[45, 5], Operations: ['66-21=45', '12-7=5'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,34 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,34 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: 34:[21, 7, 54], Operations: ['66-12=54'] Exploring Operation: 21/7=3, Resulting Numbers: [54, 3] Generated Node #0,3,0: 34:[54, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [54, 14] Generated Node #0,3,1: 34:[54, 14] Operation: 21-7=14 Exploring Operation: 54-21=33, Resulting Numbers: [7, 33] Generated Node #0,3,2: 34:[7, 33] Operation: 54-21=33 Exploring Operation: 54-7=47, Resulting Numbers: [21, 47] Generated Node #0,3,3: 34:[21, 47] Operation: 54-7=47 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[7, 33], Operations: ['66-12=54', '54-21=33'] Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,34 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,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,3 Current State: 34:[21, 47], Operations: ['66-12=54', '54-7=47'] Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,34 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,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,0 Current State: 34:[54, 3], Operations: ['66-12=54', '21/7=3'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,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,1 Current State: 34:[54, 14], Operations: ['66-12=54', '21-7=14'] Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 54*14=756, Resulting Numbers: [756] 756,34 unequal: No Solution Exploring Operation: 54+14=68, Resulting Numbers: [68] 68,34 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: 34:[12, 21, 59], Operations: ['66-7=59'] Exploring Operation: 59-12=47, Resulting Numbers: [21, 47] Generated Node #0,2,0: 34:[21, 47] Operation: 59-12=47 Exploring Operation: 21-12=9, Resulting Numbers: [59, 9] Generated Node #0,2,1: 34:[59, 9] Operation: 21-12=9 Exploring Operation: 59-21=38, Resulting Numbers: [12, 38] Generated Node #0,2,2: 34:[12, 38] Operation: 59-21=38 Exploring Operation: 12+21=33, Resulting Numbers: [59, 33] Generated Node #0,2,3: 34:[59, 33] Operation: 12+21=33 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[12, 38], Operations: ['66-7=59', '59-21=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,34 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[21, 47], Operations: ['66-7=59', '59-12=47'] Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,34 unequal: No Solution Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 34:[59, 33], Operations: ['66-7=59', '12+21=33'] Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 59+33=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 59*33=1947, Resulting Numbers: [1947] 1947,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,1 Current State: 34:[59, 9], Operations: ['66-7=59', '21-12=9'] Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 59*9=531, Resulting Numbers: [531] 531,34 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: 34:[66, 7, 33], Operations: ['12+21=33'] Exploring Operation: 66/33=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 34:[7, 2] Operation: 66/33=2 Exploring Operation: 66-7=59, Resulting Numbers: [33, 59] Generated Node #0,1,1: 34:[33, 59] Operation: 66-7=59 Exploring Operation: 7+33=40, Resulting Numbers: [66, 40] Generated Node #0,1,2: 34:[66, 40] Operation: 7+33=40 Exploring Operation: 66-33=33, Resulting Numbers: [7, 33] Generated Node #0,1,3: 34:[7, 33] Operation: 66-33=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[7, 2], Operations: ['12+21=33', '66/33=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,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,3 Current State: 34:[7, 33], Operations: ['12+21=33', '66-33=33'] Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,34 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,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:[33, 59], Operations: ['12+21=33', '66-7=59'] Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,34 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 33*59=1947, Resulting Numbers: [1947] 1947,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,2 Current State: 34:[66, 40], Operations: ['12+21=33', '7+33=40'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,34 unequal: No Solution Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,34 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
[ 36, 9, 5, 54 ]
25
[ "36-5=31", "54/9=6", "31-6=25" ]
Current State: 25:[36, 9, 5, 54], Operations: [] Exploring Operation: 36-5=31, Resulting Numbers: [9, 54, 31] Generated Node #2: [9, 54, 31] from Operation: 36-5=31 Current State: 25:[9, 54, 31], Operations: ['36-5=31'] Exploring Operation: 54/9=6, Resulting Numbers: [31, 6] Generated Node #3: [31, 6] from Operation: 54/9=6 Current State: 25:[31, 6], Operations: ['36-5=31', '54/9=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[36, 9, 5, 54], Operations: [] Exploring Operation: 54-36=18, Resulting Numbers: [9, 5, 18] Generated Node #0,0: 25:[9, 5, 18] Operation: 54-36=18 Moving to Node #0,0 Current State: 25:[9, 5, 18], Operations: ['54-36=18'] Exploring Operation: 9+18=27, Resulting Numbers: [5, 27] Generated Node #0,0,0: 25:[5, 27] Operation: 9+18=27 Moving to Node #0,0,0 Current State: 25:[5, 27], Operations: ['54-36=18', '9+18=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,25 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 9, 73, 11, 1 ]
37
[ "11-9=2", "73+1=74", "74/2=37" ]
Current State: 37:[9, 73, 11, 1], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [73, 1, 2] Generated Node #2: [73, 1, 2] from Operation: 11-9=2 Current State: 37:[73, 1, 2], Operations: ['11-9=2'] Exploring Operation: 73+1=74, Resulting Numbers: [2, 74] Generated Node #3: [2, 74] from Operation: 73+1=74 Current State: 37:[2, 74], Operations: ['11-9=2', '73+1=74'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[9, 73, 11, 1], Operations: [] Exploring Operation: 9+11=20, Resulting Numbers: [73, 1, 20] Generated Node #0,0: 37:[73, 1, 20] Operation: 9+11=20 Exploring Operation: 73-11=62, Resulting Numbers: [9, 1, 62] Generated Node #0,1: 37:[9, 1, 62] Operation: 73-11=62 Exploring Operation: 73-9=64, Resulting Numbers: [11, 1, 64] Generated Node #0,2: 37:[11, 1, 64] Operation: 73-9=64 Exploring Operation: 9+1=10, Resulting Numbers: [73, 11, 10] Generated Node #0,3: 37:[73, 11, 10] Operation: 9+1=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[73, 1, 20], Operations: ['9+11=20'] Exploring Operation: 73*1=73, Resulting Numbers: [20, 73] Generated Node #0,0,0: 37:[20, 73] Operation: 73*1=73 Exploring Operation: 1+20=21, Resulting Numbers: [73, 21] Generated Node #0,0,1: 37:[73, 21] Operation: 1+20=21 Exploring Operation: 73-20=53, Resulting Numbers: [1, 53] Generated Node #0,0,2: 37:[1, 53] Operation: 73-20=53 Exploring Operation: 73-1=72, Resulting Numbers: [20, 72] Generated Node #0,0,3: 37:[20, 72] Operation: 73-1=72 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[73, 21], Operations: ['9+11=20', '1+20=21'] Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 73*21=1533, Resulting Numbers: [1533] 1533,37 unequal: No Solution Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[1, 53], Operations: ['9+11=20', '73-20=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 1*53=53, Resulting Numbers: [53] 53,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 37:[20, 72], Operations: ['9+11=20', '73-1=72'] Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,37 unequal: No Solution Exploring Operation: 20*72=1440, Resulting Numbers: [1440] 1440,37 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[20, 73], Operations: ['9+11=20', '73*1=73'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 20+73=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 20*73=1460, Resulting Numbers: [1460] 1460,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[9, 1, 62], Operations: ['73-11=62'] Exploring Operation: 9+1=10, Resulting Numbers: [62, 10] Generated Node #0,1,0: 37:[62, 10] Operation: 9+1=10 Exploring Operation: 9*1=9, Resulting Numbers: [62, 9] Generated Node #0,1,1: 37:[62, 9] Operation: 9*1=9 Exploring Operation: 62-9=53, Resulting Numbers: [1, 53] Generated Node #0,1,2: 37:[1, 53] Operation: 62-9=53 Exploring Operation: 62-1=61, Resulting Numbers: [9, 61] Generated Node #0,1,3: 37:[9, 61] Operation: 62-1=61 Moving to Node #0,1,0 Current State: 37:[62, 10], Operations: ['73-11=62', '9+1=10'] Exploring Operation: 62*10=620, Resulting Numbers: [620] 620,37 unequal: No Solution Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[9, 61], Operations: ['73-11=62', '62-1=61'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,37 unequal: No Solution Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[1, 53], Operations: ['73-11=62', '62-9=53'] Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 1*53=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[62, 9], Operations: ['73-11=62', '9*1=9'] Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 62*9=558, Resulting Numbers: [558] 558,37 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,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 Current State: 37:[11, 1, 64], Operations: ['73-9=64'] Exploring Operation: 11*1=11, Resulting Numbers: [64, 11] Generated Node #0,2,0: 37:[64, 11] Operation: 11*1=11 Exploring Operation: 11+1=12, Resulting Numbers: [64, 12] Generated Node #0,2,1: 37:[64, 12] Operation: 11+1=12 Exploring Operation: 64-11=53, Resulting Numbers: [1, 53] Generated Node #0,2,2: 37:[1, 53] Operation: 64-11=53 Exploring Operation: 64-1=63, Resulting Numbers: [11, 63] Generated Node #0,2,3: 37:[11, 63] Operation: 64-1=63 Moving to Node #0,2,1 Current State: 37:[64, 12], Operations: ['73-9=64', '11+1=12'] Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,37 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[11, 63], Operations: ['73-9=64', '64-1=63'] Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 11+63=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 11*63=693, Resulting Numbers: [693] 693,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[1, 53], Operations: ['73-9=64', '64-11=53'] Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 1*53=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[64, 11], Operations: ['73-9=64', '11*1=11'] Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,37 unequal: No Solution Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,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,3 Current State: 37:[73, 11, 10], Operations: ['9+1=10'] Exploring Operation: 11+10=21, Resulting Numbers: [73, 21] Generated Node #0,3,0: 37:[73, 21] Operation: 11+10=21 Exploring Operation: 73+10=83, Resulting Numbers: [11, 83] Generated Node #0,3,1: 37:[11, 83] Operation: 73+10=83 Exploring Operation: 73-11=62, Resulting Numbers: [10, 62] Generated Node #0,3,2: 37:[10, 62] Operation: 73-11=62 Exploring Operation: 73-10=63, Resulting Numbers: [11, 63] Generated Node #0,3,3: 37:[11, 63] Operation: 73-10=63 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 37:[73, 21], Operations: ['9+1=10', '11+10=21'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 73*21=1533, Resulting Numbers: [1533] 1533,37 unequal: No Solution Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 37:[10, 62], Operations: ['9+1=10', '73-11=62'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 37:[11, 63], Operations: ['9+1=10', '73-10=63'] Exploring Operation: 11+63=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 11*63=693, Resulting Numbers: [693] 693,37 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 37:[11, 83], Operations: ['9+1=10', '73+10=83'] Exploring Operation: 11*83=913, Resulting Numbers: [913] 913,37 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 11+83=94, Resulting Numbers: [94] 94,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 73, 4, 18, 76 ]
74
[ "73-18=55", "76/4=19", "55+19=74" ]
Current State: 74:[73, 4, 18, 76], Operations: [] Exploring Operation: 73-18=55, Resulting Numbers: [4, 76, 55] Generated Node #2: [4, 76, 55] from Operation: 73-18=55 Current State: 74:[4, 76, 55], Operations: ['73-18=55'] Exploring Operation: 76/4=19, Resulting Numbers: [55, 19] Generated Node #3: [55, 19] from Operation: 76/4=19 Current State: 74:[55, 19], Operations: ['73-18=55', '76/4=19'] Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[73, 4, 18, 76], Operations: [] Exploring Operation: 4*18=72, Resulting Numbers: [73, 76, 72] Generated Node #0,0: 74:[73, 76, 72] Operation: 4*18=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[73, 76, 72], Operations: ['4*18=72'] Exploring Operation: 76-73=3, Resulting Numbers: [72, 3] Generated Node #0,0,0: 74:[72, 3] Operation: 76-73=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[72, 3], Operations: ['4*18=72', '76-73=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,74 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
[ 85, 67, 2, 5 ]
21
[ "85-67=18", "5-2=3", "18+3=21" ]
Current State: 21:[85, 67, 2, 5], Operations: [] Exploring Operation: 85-67=18, Resulting Numbers: [2, 5, 18] Generated Node #2: [2, 5, 18] from Operation: 85-67=18 Current State: 21:[2, 5, 18], Operations: ['85-67=18'] Exploring Operation: 5-2=3, Resulting Numbers: [18, 3] Generated Node #3: [18, 3] from Operation: 5-2=3 Current State: 21:[18, 3], Operations: ['85-67=18', '5-2=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[85, 67, 2, 5], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [67, 2, 17] Generated Node #0,0: 21:[67, 2, 17] Operation: 85/5=17 Exploring Operation: 85-67=18, Resulting Numbers: [2, 5, 18] Generated Node #0,1: 21:[2, 5, 18] Operation: 85-67=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[2, 5, 18], Operations: ['85-67=18'] Exploring Operation: 5-2=3, Resulting Numbers: [18, 3] Generated Node #0,1,0: 21:[18, 3] Operation: 5-2=3 Exploring Operation: 2+5=7, Resulting Numbers: [18, 7] Generated Node #0,1,1: 21:[18, 7] Operation: 2+5=7 Moving to Node #0,1,0 Current State: 21:[18, 3], Operations: ['85-67=18', '5-2=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[85, 67, 2, 5], Operations: [] Exploring Operation: 85-67=18, Resulting Numbers: [2, 5, 18] Generated Node #0,1: 21:[2, 5, 18] Operation: 85-67=18 Moving to Node #0,1 Current State: 21:[2, 5, 18], Operations: ['85-67=18'] Exploring Operation: 5-2=3, Resulting Numbers: [18, 3] Generated Node #0,1,0: 21:[18, 3] Operation: 5-2=3 Moving to Node #0,1,0 Current State: 21:[18, 3], Operations: ['85-67=18', '5-2=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 1, 19, 2, 56 ]
73
[ "1*19=19", "56-2=54", "19+54=73" ]
Current State: 73:[1, 19, 2, 56], Operations: [] Exploring Operation: 1*19=19, Resulting Numbers: [2, 56, 19] Generated Node #2: [2, 56, 19] from Operation: 1*19=19 Current State: 73:[2, 56, 19], Operations: ['1*19=19'] Exploring Operation: 56-2=54, Resulting Numbers: [19, 54] Generated Node #3: [19, 54] from Operation: 56-2=54 Current State: 73:[19, 54], Operations: ['1*19=19', '56-2=54'] Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[1, 19, 2, 56], Operations: [] Exploring Operation: 1+2=3, Resulting Numbers: [19, 56, 3] Generated Node #0,0: 73:[19, 56, 3] Operation: 1+2=3 Exploring Operation: 19*2=38, Resulting Numbers: [1, 56, 38] Generated Node #0,1: 73:[1, 56, 38] Operation: 19*2=38 Exploring Operation: 1+56=57, Resulting Numbers: [19, 2, 57] Generated Node #0,2: 73:[19, 2, 57] Operation: 1+56=57 Exploring Operation: 1+19=20, Resulting Numbers: [2, 56, 20] Generated Node #0,3: 73:[2, 56, 20] Operation: 1+19=20 Moving to Node #0,1 Current State: 73:[1, 56, 38], Operations: ['19*2=38'] Exploring Operation: 1+38=39, Resulting Numbers: [56, 39] Generated Node #0,1,0: 73:[56, 39] Operation: 1+38=39 Exploring Operation: 1+56=57, Resulting Numbers: [38, 57] Generated Node #0,1,1: 73:[38, 57] Operation: 1+56=57 Exploring Operation: 56/1=56, Resulting Numbers: [38, 56] Generated Node #0,1,2: 73:[38, 56] Operation: 56/1=56 Exploring Operation: 1*56=56, Resulting Numbers: [38, 56] Generated Node #0,1,3: 73:[38, 56] Operation: 1*56=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[56, 39], Operations: ['19*2=38', '1+38=39'] Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 56*39=2184, Resulting Numbers: [2184] 2184,73 unequal: No Solution Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[38, 57], Operations: ['19*2=38', '1+56=57'] Exploring Operation: 38+57=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 38*57=2166, Resulting Numbers: [2166] 2166,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[38, 56], Operations: ['19*2=38', '56/1=56'] Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,73 unequal: No Solution Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[38, 56], Operations: ['19*2=38', '1*56=56'] Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,73 unequal: No Solution Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[19, 2, 57], Operations: ['1+56=57'] Exploring Operation: 19*2=38, Resulting Numbers: [57, 38] Generated Node #0,2,0: 73:[57, 38] Operation: 19*2=38 Exploring Operation: 19-2=17, Resulting Numbers: [57, 17] Generated Node #0,2,1: 73:[57, 17] Operation: 19-2=17 Exploring Operation: 19+2=21, Resulting Numbers: [57, 21] Generated Node #0,2,2: 73:[57, 21] Operation: 19+2=21 Exploring Operation: 2+57=59, Resulting Numbers: [19, 59] Generated Node #0,2,3: 73:[19, 59] Operation: 2+57=59 Moving to Node #0,0 Current State: 73:[19, 56, 3], Operations: ['1+2=3'] Exploring Operation: 19+3=22, Resulting Numbers: [56, 22] Generated Node #0,0,0: 73:[56, 22] Operation: 19+3=22 Exploring Operation: 19*3=57, Resulting Numbers: [56, 57] Generated Node #0,0,1: 73:[56, 57] Operation: 19*3=57 Exploring Operation: 19+56=75, Resulting Numbers: [3, 75] Generated Node #0,0,2: 73:[3, 75] Operation: 19+56=75 Exploring Operation: 56+3=59, Resulting Numbers: [19, 59] Generated Node #0,0,3: 73:[19, 59] Operation: 56+3=59 Moving to Node #0,3 Current State: 73:[2, 56, 20], Operations: ['1+19=20'] Exploring Operation: 2+56=58, Resulting Numbers: [20, 58] Generated Node #0,3,0: 73:[20, 58] Operation: 2+56=58 Exploring Operation: 56-2=54, Resulting Numbers: [20, 54] Generated Node #0,3,1: 73:[20, 54] Operation: 56-2=54 Exploring Operation: 2+20=22, Resulting Numbers: [56, 22] Generated Node #0,3,2: 73:[56, 22] Operation: 2+20=22 Exploring Operation: 2*20=40, Resulting Numbers: [56, 40] Generated Node #0,3,3: 73:[56, 40] Operation: 2*20=40 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[56, 40], Operations: ['1+19=20', '2*20=40'] Exploring Operation: 56*40=2240, Resulting Numbers: [2240] 2240,73 unequal: No Solution Exploring Operation: 56+40=96, Resulting Numbers: [96] 96,73 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[20, 58], Operations: ['1+19=20', '2+56=58'] Exploring Operation: 20*58=1160, Resulting Numbers: [1160] 1160,73 unequal: No Solution Exploring Operation: 20+58=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[56, 22], Operations: ['1+19=20', '2+20=22'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 56*22=1232, Resulting Numbers: [1232] 1232,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[20, 54], Operations: ['1+19=20', '56-2=54'] Exploring Operation: 20*54=1080, Resulting Numbers: [1080] 1080,73 unequal: No Solution Exploring Operation: 20+54=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 73:[56, 57], Operations: ['1+2=3', '19*3=57'] Exploring Operation: 56*57=3192, Resulting Numbers: [3192] 3192,73 unequal: No Solution Exploring Operation: 56+57=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[57, 38], Operations: ['1+56=57', '19*2=38'] Exploring Operation: 57*38=2166, Resulting Numbers: [2166] 2166,73 unequal: No Solution Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[19, 59], Operations: ['1+56=57', '2+57=59'] Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 19*59=1121, Resulting Numbers: [1121] 1121,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[56, 22], Operations: ['1+2=3', '19+3=22'] Exploring Operation: 56*22=1232, Resulting Numbers: [1232] 1232,73 unequal: No Solution Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[19, 59], Operations: ['1+2=3', '56+3=59'] Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 19*59=1121, Resulting Numbers: [1121] 1121,73 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[57, 21], Operations: ['1+56=57', '19+2=21'] Exploring Operation: 57*21=1197, Resulting Numbers: [1197] 1197,73 unequal: No Solution Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[57, 17], Operations: ['1+56=57', '19-2=17'] Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,73 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[3, 75], Operations: ['1+2=3', '19+56=75'] Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 3*75=225, Resulting Numbers: [225] 225,73 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,73 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 11, 35, 84, 96 ]
12
[ "35-11=24", "96-84=12", "24-12=12" ]
Current State: 12:[11, 35, 84, 96], Operations: [] Exploring Operation: 35-11=24, Resulting Numbers: [84, 96, 24] Generated Node #2: [84, 96, 24] from Operation: 35-11=24 Current State: 12:[84, 96, 24], Operations: ['35-11=24'] Exploring Operation: 96-84=12, Resulting Numbers: [24, 12] Generated Node #3: [24, 12] from Operation: 96-84=12 Current State: 12:[24, 12], Operations: ['35-11=24', '96-84=12'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[11, 35, 84, 96], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [11, 35, 12] Generated Node #0,0: 12:[11, 35, 12] Operation: 96-84=12 Moving to Node #0,0 Current State: 12:[11, 35, 12], Operations: ['96-84=12'] Exploring Operation: 35-11=24, Resulting Numbers: [12, 24] Generated Node #0,0,0: 12:[12, 24] Operation: 35-11=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[12, 24], Operations: ['96-84=12', '35-11=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[11, 35, 84, 96], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [11, 35, 12] Generated Node #0,0: 12:[11, 35, 12] Operation: 96-84=12 Moving to Node #0,0 Current State: 12:[11, 35, 12], Operations: ['96-84=12'] Exploring Operation: 35-11=24, Resulting Numbers: [12, 24] Generated Node #0,0,0: 12:[12, 24] Operation: 35-11=24 Moving to Node #0,0,0 Current State: 12:[12, 24], Operations: ['96-84=12', '35-11=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 26, 68, 75, 10 ]
23
[ "68-26=42", "75-10=65", "65-42=23" ]
Current State: 23:[26, 68, 75, 10], Operations: [] Exploring Operation: 68-26=42, Resulting Numbers: [75, 10, 42] Generated Node #2: [75, 10, 42] from Operation: 68-26=42 Current State: 23:[75, 10, 42], Operations: ['68-26=42'] Exploring Operation: 75-10=65, Resulting Numbers: [42, 65] Generated Node #3: [42, 65] from Operation: 75-10=65 Current State: 23:[42, 65], Operations: ['68-26=42', '75-10=65'] Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[26, 68, 75, 10], Operations: [] Exploring Operation: 68-26=42, Resulting Numbers: [75, 10, 42] Generated Node #0,0: 23:[75, 10, 42] Operation: 68-26=42 Exploring Operation: 75-68=7, Resulting Numbers: [26, 10, 7] Generated Node #0,1: 23:[26, 10, 7] Operation: 75-68=7 Exploring Operation: 75-26=49, Resulting Numbers: [68, 10, 49] Generated Node #0,2: 23:[68, 10, 49] Operation: 75-26=49 Moving to Node #0,1 Current State: 23:[26, 10, 7], Operations: ['75-68=7'] Exploring Operation: 26-10=16, Resulting Numbers: [7, 16] Generated Node #0,1,0: 23:[7, 16] Operation: 26-10=16 Exploring Operation: 26-7=19, Resulting Numbers: [10, 19] Generated Node #0,1,1: 23:[10, 19] Operation: 26-7=19 Exploring Operation: 10+7=17, Resulting Numbers: [26, 17] Generated Node #0,1,2: 23:[26, 17] Operation: 10+7=17 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[26, 17], Operations: ['75-68=7', '10+7=17'] Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,23 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[10, 19], Operations: ['75-68=7', '26-7=19'] Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,23 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[7, 16], Operations: ['75-68=7', '26-10=16'] Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,23 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[26, 68, 75, 10], Operations: [] Exploring Operation: 75-68=7, Resulting Numbers: [26, 10, 7] Generated Node #0,1: 23:[26, 10, 7] Operation: 75-68=7 Moving to Node #0,1 Current State: 23:[26, 10, 7], Operations: ['75-68=7'] Exploring Operation: 26-10=16, Resulting Numbers: [7, 16] Generated Node #0,1,0: 23:[7, 16] Operation: 26-10=16 Moving to Node #0,1,0 Current State: 23:[7, 16], Operations: ['75-68=7', '26-10=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 53, 2, 49, 48 ]
52
[ "53-2=51", "49-48=1", "51+1=52" ]
Current State: 52:[53, 2, 49, 48], Operations: [] Exploring Operation: 53-2=51, Resulting Numbers: [49, 48, 51] Generated Node #2: [49, 48, 51] from Operation: 53-2=51 Current State: 52:[49, 48, 51], Operations: ['53-2=51'] Exploring Operation: 49-48=1, Resulting Numbers: [51, 1] Generated Node #3: [51, 1] from Operation: 49-48=1 Current State: 52:[51, 1], Operations: ['53-2=51', '49-48=1'] Exploring Operation: 51+1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[53, 2, 49, 48], Operations: [] Exploring Operation: 53-49=4, Resulting Numbers: [2, 48, 4] Generated Node #0,0: 52:[2, 48, 4] Operation: 53-49=4 Exploring Operation: 49-48=1, Resulting Numbers: [53, 2, 1] Generated Node #0,1: 52:[53, 2, 1] Operation: 49-48=1 Moving to Node #0,1 Current State: 52:[53, 2, 1], Operations: ['49-48=1'] Exploring Operation: 53*1=53, Resulting Numbers: [2, 53] Generated Node #0,1,0: 52:[2, 53] Operation: 53*1=53 Exploring Operation: 53-1=52, Resulting Numbers: [2, 52] Generated Node #0,1,1: 52:[2, 52] Operation: 53-1=52 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[2, 52], Operations: ['49-48=1', '53-1=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[2, 53], Operations: ['49-48=1', '53*1=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,52 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: 52:[2, 48, 4], Operations: ['53-49=4'] Exploring Operation: 48/4=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 52:[2, 12] Operation: 48/4=12 Exploring Operation: 48+4=52, Resulting Numbers: [2, 52] Generated Node #0,0,1: 52:[2, 52] Operation: 48+4=52 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[2, 52], Operations: ['53-49=4', '48+4=52'] Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,52 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[2, 12], Operations: ['53-49=4', '48/4=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,52 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
[ 77, 68, 51, 22 ]
82
[ "77-68=9", "51+22=73", "9+73=82" ]
Current State: 82:[77, 68, 51, 22], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [51, 22, 9] Generated Node #2: [51, 22, 9] from Operation: 77-68=9 Current State: 82:[51, 22, 9], Operations: ['77-68=9'] Exploring Operation: 51+22=73, Resulting Numbers: [9, 73] Generated Node #3: [9, 73] from Operation: 51+22=73 Current State: 82:[9, 73], Operations: ['77-68=9', '51+22=73'] Exploring Operation: 9+73=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[77, 68, 51, 22], Operations: [] Exploring Operation: 68-22=46, Resulting Numbers: [77, 51, 46] Generated Node #0,0: 82:[77, 51, 46] Operation: 68-22=46 Exploring Operation: 51+22=73, Resulting Numbers: [77, 68, 73] Generated Node #0,1: 82:[77, 68, 73] Operation: 51+22=73 Exploring Operation: 77-68=9, Resulting Numbers: [51, 22, 9] Generated Node #0,2: 82:[51, 22, 9] Operation: 77-68=9 Exploring Operation: 51-22=29, Resulting Numbers: [77, 68, 29] Generated Node #0,3: 82:[77, 68, 29] Operation: 51-22=29 Exploring Operation: 68+22=90, Resulting Numbers: [77, 51, 90] Generated Node #0,4: 82:[77, 51, 90] Operation: 68+22=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[77, 51, 46], Operations: ['68-22=46'] Exploring Operation: 77-51=26, Resulting Numbers: [46, 26] Generated Node #0,0,0: 82:[46, 26] Operation: 77-51=26 Exploring Operation: 51+46=97, Resulting Numbers: [77, 97] Generated Node #0,0,1: 82:[77, 97] Operation: 51+46=97 Exploring Operation: 51-46=5, Resulting Numbers: [77, 5] Generated Node #0,0,2: 82:[77, 5] Operation: 51-46=5 Exploring Operation: 77+51=128, Resulting Numbers: [46, 128] Generated Node #0,0,3: 82:[46, 128] Operation: 77+51=128 Exploring Operation: 77-46=31, Resulting Numbers: [51, 31] Generated Node #0,0,4: 82:[51, 31] Operation: 77-46=31 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[77, 5], Operations: ['68-22=46', '51-46=5'] Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,82 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[77, 68, 51, 22], Operations: [] Exploring Operation: 68-22=46, Resulting Numbers: [77, 51, 46] Generated Node #0,0: 82:[77, 51, 46] Operation: 68-22=46 Moving to Node #0,0 Current State: 82:[77, 51, 46], Operations: ['68-22=46'] Exploring Operation: 51-46=5, Resulting Numbers: [77, 5] Generated Node #0,0,2: 82:[77, 5] Operation: 51-46=5 Moving to Node #0,0,2 Current State: 82:[77, 5], Operations: ['68-22=46', '51-46=5'] Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 11, 51, 50, 85 ]
75
[ "51-11=40", "85-50=35", "40+35=75" ]
Current State: 75:[11, 51, 50, 85], Operations: [] Exploring Operation: 51-11=40, Resulting Numbers: [50, 85, 40] Generated Node #2: [50, 85, 40] from Operation: 51-11=40 Current State: 75:[50, 85, 40], Operations: ['51-11=40'] Exploring Operation: 85-50=35, Resulting Numbers: [40, 35] Generated Node #3: [40, 35] from Operation: 85-50=35 Current State: 75:[40, 35], Operations: ['51-11=40', '85-50=35'] Exploring Operation: 40+35=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[11, 51, 50, 85], Operations: [] Exploring Operation: 85-50=35, Resulting Numbers: [11, 51, 35] Generated Node #0,0: 75:[11, 51, 35] Operation: 85-50=35 Exploring Operation: 51-50=1, Resulting Numbers: [11, 85, 1] Generated Node #0,1: 75:[11, 85, 1] Operation: 51-50=1 Exploring Operation: 85-51=34, Resulting Numbers: [11, 50, 34] Generated Node #0,2: 75:[11, 50, 34] Operation: 85-51=34 Moving to Node #0,1 Current State: 75:[11, 85, 1], Operations: ['51-50=1'] Exploring Operation: 11+1=12, Resulting Numbers: [85, 12] Generated Node #0,1,0: 75:[85, 12] Operation: 11+1=12 Exploring Operation: 85-11=74, Resulting Numbers: [1, 74] Generated Node #0,1,1: 75:[1, 74] Operation: 85-11=74 Exploring Operation: 85-1=84, Resulting Numbers: [11, 84] Generated Node #0,1,2: 75:[11, 84] Operation: 85-1=84 Moving to Node #0,0 Current State: 75:[11, 51, 35], Operations: ['85-50=35'] Exploring Operation: 51+35=86, Resulting Numbers: [11, 86] Generated Node #0,0,0: 75:[11, 86] Operation: 51+35=86 Exploring Operation: 11+51=62, Resulting Numbers: [35, 62] Generated Node #0,0,1: 75:[35, 62] Operation: 11+51=62 Exploring Operation: 51-35=16, Resulting Numbers: [11, 16] Generated Node #0,0,2: 75:[11, 16] Operation: 51-35=16 Moving to Node #0,2 Current State: 75:[11, 50, 34], Operations: ['85-51=34'] Exploring Operation: 50+34=84, Resulting Numbers: [11, 84] Generated Node #0,2,0: 75:[11, 84] Operation: 50+34=84 Exploring Operation: 50-34=16, Resulting Numbers: [11, 16] Generated Node #0,2,1: 75:[11, 16] Operation: 50-34=16 Exploring Operation: 11+50=61, Resulting Numbers: [34, 61] Generated Node #0,2,2: 75:[34, 61] Operation: 11+50=61 Moving to Node #0,1,1 Current State: 75:[1, 74], Operations: ['51-50=1', '85-11=74'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[11, 51, 50, 85], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [11, 85, 1] Generated Node #0,1: 75:[11, 85, 1] Operation: 51-50=1 Moving to Node #0,1 Current State: 75:[11, 85, 1], Operations: ['51-50=1'] Exploring Operation: 85-11=74, Resulting Numbers: [1, 74] Generated Node #0,1,1: 75:[1, 74] Operation: 85-11=74 Moving to Node #0,1,1 Current State: 75:[1, 74], Operations: ['51-50=1', '85-11=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.984375
hs_3
sum_heuristic
[ 52, 54, 92, 38 ]
73
[ "54-52=2", "38/2=19", "92-19=73" ]
Current State: 73:[52, 54, 92, 38], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [92, 38, 2] Generated Node #2: [92, 38, 2] from Operation: 54-52=2 Current State: 73:[92, 38, 2], Operations: ['54-52=2'] Exploring Operation: 38/2=19, Resulting Numbers: [92, 19] Generated Node #3: [92, 19] from Operation: 38/2=19 Current State: 73:[92, 19], Operations: ['54-52=2', '38/2=19'] Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[52, 54, 92, 38], Operations: [] Exploring Operation: 52+38=90, Resulting Numbers: [54, 92, 90] Generated Node #0,0: 73:[54, 92, 90] Operation: 52+38=90 Exploring Operation: 52+54=106, Resulting Numbers: [92, 38, 106] Generated Node #0,1: 73:[92, 38, 106] Operation: 52+54=106 Exploring Operation: 54+38=92, Resulting Numbers: [52, 92, 92] Generated Node #0,2: 73:[52, 92, 92] Operation: 54+38=92 Exploring Operation: 92-38=54, Resulting Numbers: [52, 54, 54] Generated Node #0,3: 73:[52, 54, 54] Operation: 92-38=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[54, 92, 90], Operations: ['52+38=90'] Exploring Operation: 90-54=36, Resulting Numbers: [92, 36] Generated Node #0,0,0: 73:[92, 36] Operation: 90-54=36 Exploring Operation: 92-54=38, Resulting Numbers: [90, 38] Generated Node #0,0,1: 73:[90, 38] Operation: 92-54=38 Exploring Operation: 54+90=144, Resulting Numbers: [92, 144] Generated Node #0,0,2: 73:[92, 144] Operation: 54+90=144 Exploring Operation: 54+92=146, Resulting Numbers: [90, 146] Generated Node #0,0,3: 73:[90, 146] Operation: 54+92=146 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[90, 38], Operations: ['52+38=90', '92-54=38'] Exploring Operation: 90*38=3420, Resulting Numbers: [3420] 3420,73 unequal: No Solution Exploring Operation: 90+38=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 90-38=52, Resulting Numbers: [52] 52,73 unequal: No Solution No 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: 73:[92, 36], Operations: ['52+38=90', '90-54=36'] Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,73 unequal: No Solution Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,73 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,73 unequal: No Solution No 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: 73:[92, 144], Operations: ['52+38=90', '54+90=144'] Exploring Operation: 144-92=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 92*144=13248, Resulting Numbers: [13248] 13248,73 unequal: No Solution Exploring Operation: 92+144=236, Resulting Numbers: [236] 236,73 unequal: No Solution No 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: 73:[90, 146], Operations: ['52+38=90', '54+92=146'] Exploring Operation: 146-90=56, Resulting Numbers: [56] 56,73 unequal: No Solution Exploring Operation: 90+146=236, Resulting Numbers: [236] 236,73 unequal: No Solution Exploring Operation: 90*146=13140, Resulting Numbers: [13140] 13140,73 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: 73:[52, 92, 92], Operations: ['54+38=92'] Exploring Operation: 92-52=40, Resulting Numbers: [92, 40] Generated Node #0,2,0: 73:[92, 40] Operation: 92-52=40 Exploring Operation: 52+92=144, Resulting Numbers: [92, 144] Generated Node #0,2,1: 73:[92, 144] Operation: 52+92=144 Exploring Operation: 92-52=40, Resulting Numbers: [92, 40] Generated Node #0,2,2: 73:[92, 40] Operation: 92-52=40 Exploring Operation: 52+92=144, Resulting Numbers: [92, 144] Generated Node #0,2,3: 73:[92, 144] Operation: 52+92=144 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[92, 40], Operations: ['54+38=92', '92-52=40'] Exploring Operation: 92+40=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 92*40=3680, Resulting Numbers: [3680] 3680,73 unequal: No Solution No 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: 73:[92, 40], Operations: ['54+38=92', '92-52=40'] Exploring Operation: 92+40=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 92*40=3680, Resulting Numbers: [3680] 3680,73 unequal: No Solution No 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: 73:[92, 144], Operations: ['54+38=92', '52+92=144'] Exploring Operation: 144-92=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 92*144=13248, Resulting Numbers: [13248] 13248,73 unequal: No Solution Exploring Operation: 92+144=236, Resulting Numbers: [236] 236,73 unequal: No Solution No 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: 73:[92, 144], Operations: ['54+38=92', '52+92=144'] Exploring Operation: 92*144=13248, Resulting Numbers: [13248] 13248,73 unequal: No Solution Exploring Operation: 92+144=236, Resulting Numbers: [236] 236,73 unequal: No Solution Exploring Operation: 144-92=52, Resulting Numbers: [52] 52,73 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: 73:[52, 54, 54], Operations: ['92-38=54'] Exploring Operation: 52+54=106, Resulting Numbers: [54, 106] Generated Node #0,3,0: 73:[54, 106] Operation: 52+54=106 Exploring Operation: 54+54=108, Resulting Numbers: [52, 108] Generated Node #0,3,1: 73:[52, 108] Operation: 54+54=108 Exploring Operation: 54-52=2, Resulting Numbers: [54, 2] Generated Node #0,3,2: 73:[54, 2] Operation: 54-52=2 Exploring Operation: 52+54=106, Resulting Numbers: [54, 106] Generated Node #0,3,3: 73:[54, 106] Operation: 52+54=106 Moving to Node #0,3,0 Current State: 73:[54, 106], Operations: ['92-38=54', '52+54=106'] Exploring Operation: 106-54=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 54*106=5724, Resulting Numbers: [5724] 5724,73 unequal: No Solution Exploring Operation: 54+106=160, Resulting Numbers: [160] 160,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[54, 106], Operations: ['92-38=54', '52+54=106'] Exploring Operation: 54+106=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 54*106=5724, Resulting Numbers: [5724] 5724,73 unequal: No Solution Exploring Operation: 106-54=52, Resulting Numbers: [52] 52,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[52, 108], Operations: ['92-38=54', '54+54=108'] Exploring Operation: 52+108=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 108-52=56, Resulting Numbers: [56] 56,73 unequal: No Solution Exploring Operation: 52*108=5616, Resulting Numbers: [5616] 5616,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[54, 2], Operations: ['92-38=54', '54-52=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,73 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,73 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[92, 38, 106], Operations: ['52+54=106'] Exploring Operation: 92-38=54, Resulting Numbers: [106, 54] Generated Node #0,1,0: 73:[106, 54] Operation: 92-38=54 Exploring Operation: 38+106=144, Resulting Numbers: [92, 144] Generated Node #0,1,1: 73:[92, 144] Operation: 38+106=144 Exploring Operation: 92+38=130, Resulting Numbers: [106, 130] Generated Node #0,1,2: 73:[106, 130] Operation: 92+38=130 Exploring Operation: 106-38=68, Resulting Numbers: [92, 68] Generated Node #0,1,3: 73:[92, 68] Operation: 106-38=68 Moving to Node #0,1,3 Current State: 73:[92, 68], Operations: ['52+54=106', '106-38=68'] Exploring Operation: 92*68=6256, Resulting Numbers: [6256] 6256,73 unequal: No Solution Exploring Operation: 92+68=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[106, 54], Operations: ['52+54=106', '92-38=54'] Exploring Operation: 106+54=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 106-54=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 106*54=5724, Resulting Numbers: [5724] 5724,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[106, 130], Operations: ['52+54=106', '92+38=130'] Exploring Operation: 106+130=236, Resulting Numbers: [236] 236,73 unequal: No Solution Exploring Operation: 130-106=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 106*130=13780, Resulting Numbers: [13780] 13780,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[92, 144], Operations: ['52+54=106', '38+106=144'] Exploring Operation: 92*144=13248, Resulting Numbers: [13248] 13248,73 unequal: No Solution Exploring Operation: 144-92=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 92+144=236, Resulting Numbers: [236] 236,73 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
[ 92, 71, 58, 98 ]
19
[ "92-71=21", "98-58=40", "40-21=19" ]
Current State: 19:[92, 71, 58, 98], Operations: [] Exploring Operation: 92-71=21, Resulting Numbers: [58, 98, 21] Generated Node #2: [58, 98, 21] from Operation: 92-71=21 Current State: 19:[58, 98, 21], Operations: ['92-71=21'] Exploring Operation: 98-58=40, Resulting Numbers: [21, 40] Generated Node #3: [21, 40] from Operation: 98-58=40 Current State: 19:[21, 40], Operations: ['92-71=21', '98-58=40'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[92, 71, 58, 98], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [71, 98, 34] Generated Node #0,0: 19:[71, 98, 34] Operation: 92-58=34 Exploring Operation: 98-92=6, Resulting Numbers: [71, 58, 6] Generated Node #0,1: 19:[71, 58, 6] Operation: 98-92=6 Exploring Operation: 92-71=21, Resulting Numbers: [58, 98, 21] Generated Node #0,2: 19:[58, 98, 21] Operation: 92-71=21 Exploring Operation: 98-71=27, Resulting Numbers: [92, 58, 27] Generated Node #0,3: 19:[92, 58, 27] Operation: 98-71=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[71, 58, 6], Operations: ['98-92=6'] Exploring Operation: 58-6=52, Resulting Numbers: [71, 52] Generated Node #0,1,0: 19:[71, 52] Operation: 58-6=52 Exploring Operation: 71-6=65, Resulting Numbers: [58, 65] Generated Node #0,1,1: 19:[58, 65] Operation: 71-6=65 Exploring Operation: 71+6=77, Resulting Numbers: [58, 77] Generated Node #0,1,2: 19:[58, 77] Operation: 71+6=77 Exploring Operation: 71-58=13, Resulting Numbers: [6, 13] Generated Node #0,1,3: 19:[6, 13] Operation: 71-58=13 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 19:[6, 13], Operations: ['98-92=6', '71-58=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,19 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[92, 71, 58, 98], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [71, 58, 6] Generated Node #0,1: 19:[71, 58, 6] Operation: 98-92=6 Moving to Node #0,1 Current State: 19:[71, 58, 6], Operations: ['98-92=6'] Exploring Operation: 71-58=13, Resulting Numbers: [6, 13] Generated Node #0,1,3: 19:[6, 13] Operation: 71-58=13 Moving to Node #0,1,3 Current State: 19:[6, 13], Operations: ['98-92=6', '71-58=13'] Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 17, 89, 52, 9 ]
91
[ "17+9=26", "52/26=2", "89+2=91" ]
Current State: 91:[17, 89, 52, 9], Operations: [] Exploring Operation: 17+9=26, Resulting Numbers: [89, 52, 26] Generated Node #2: [89, 52, 26] from Operation: 17+9=26 Current State: 91:[89, 52, 26], Operations: ['17+9=26'] Exploring Operation: 52/26=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 52/26=2 Current State: 91:[89, 2], Operations: ['17+9=26', '52/26=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[17, 89, 52, 9], Operations: [] Exploring Operation: 17+52=69, Resulting Numbers: [89, 9, 69] Generated Node #0,0: 91:[89, 9, 69] Operation: 17+52=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[89, 9, 69], Operations: ['17+52=69'] Exploring Operation: 89-69=20, Resulting Numbers: [9, 20] Generated Node #0,0,0: 91:[9, 20] Operation: 89-69=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[9, 20], Operations: ['17+52=69', '89-69=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 10, 17, 89, 45 ]
51
[ "17-10=7", "89-45=44", "7+44=51" ]
Current State: 51:[10, 17, 89, 45], Operations: [] Exploring Operation: 17-10=7, Resulting Numbers: [89, 45, 7] Generated Node #2: [89, 45, 7] from Operation: 17-10=7 Current State: 51:[89, 45, 7], Operations: ['17-10=7'] Exploring Operation: 89-45=44, Resulting Numbers: [7, 44] Generated Node #3: [7, 44] from Operation: 89-45=44 Current State: 51:[7, 44], Operations: ['17-10=7', '89-45=44'] Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[10, 17, 89, 45], Operations: [] Exploring Operation: 89-45=44, Resulting Numbers: [10, 17, 44] Generated Node #0,0: 51:[10, 17, 44] Operation: 89-45=44 Exploring Operation: 89-10=79, Resulting Numbers: [17, 45, 79] Generated Node #0,1: 51:[17, 45, 79] Operation: 89-10=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[10, 17, 44], Operations: ['89-45=44'] Exploring Operation: 17-10=7, Resulting Numbers: [44, 7] Generated Node #0,0,0: 51:[44, 7] Operation: 17-10=7 Exploring Operation: 10+44=54, Resulting Numbers: [17, 54] Generated Node #0,0,1: 51:[17, 54] Operation: 10+44=54 Moving to Node #0,0,1 Current State: 51:[17, 54], Operations: ['89-45=44', '10+44=54'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 17+54=71, Resulting Numbers: [71] 71,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[44, 7], Operations: ['89-45=44', '17-10=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[10, 17, 89, 45], Operations: [] Exploring Operation: 89-45=44, Resulting Numbers: [10, 17, 44] Generated Node #0,0: 51:[10, 17, 44] Operation: 89-45=44 Moving to Node #0,0 Current State: 51:[10, 17, 44], Operations: ['89-45=44'] Exploring Operation: 17-10=7, Resulting Numbers: [44, 7] Generated Node #0,0,0: 51:[44, 7] Operation: 17-10=7 Moving to Node #0,0,0 Current State: 51:[44, 7], Operations: ['89-45=44', '17-10=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 81, 9, 10, 51 ]
70
[ "81/9=9", "10+51=61", "9+61=70" ]
Current State: 70:[81, 9, 10, 51], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [10, 51, 9] Generated Node #2: [10, 51, 9] from Operation: 81/9=9 Current State: 70:[10, 51, 9], Operations: ['81/9=9'] Exploring Operation: 10+51=61, Resulting Numbers: [9, 61] Generated Node #3: [9, 61] from Operation: 10+51=61 Current State: 70:[9, 61], Operations: ['81/9=9', '10+51=61'] Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[81, 9, 10, 51], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [10, 51, 9] Generated Node #0,0: 70:[10, 51, 9] Operation: 81/9=9 Exploring Operation: 81-9=72, Resulting Numbers: [10, 51, 72] Generated Node #0,1: 70:[10, 51, 72] Operation: 81-9=72 Exploring Operation: 81-51=30, Resulting Numbers: [9, 10, 30] Generated Node #0,2: 70:[9, 10, 30] Operation: 81-51=30 Moving to Node #0,2 Current State: 70:[9, 10, 30], Operations: ['81-51=30'] Exploring Operation: 30/10=3, Resulting Numbers: [9, 3] Generated Node #0,2,0: 70:[9, 3] Operation: 30/10=3 Exploring Operation: 9+30=39, Resulting Numbers: [10, 39] Generated Node #0,2,1: 70:[10, 39] Operation: 9+30=39 Exploring Operation: 10-9=1, Resulting Numbers: [30, 1] Generated Node #0,2,2: 70:[30, 1] Operation: 10-9=1 Moving to Node #0,0 Current State: 70:[10, 51, 9], Operations: ['81/9=9'] Exploring Operation: 51-9=42, Resulting Numbers: [10, 42] Generated Node #0,0,0: 70:[10, 42] Operation: 51-9=42 Exploring Operation: 51-10=41, Resulting Numbers: [9, 41] Generated Node #0,0,1: 70:[9, 41] Operation: 51-10=41 Exploring Operation: 10+51=61, Resulting Numbers: [9, 61] Generated Node #0,0,2: 70:[9, 61] Operation: 10+51=61 Moving to Node #0,1 Current State: 70:[10, 51, 72], Operations: ['81-9=72'] Exploring Operation: 51-10=41, Resulting Numbers: [72, 41] Generated Node #0,1,0: 70:[72, 41] Operation: 51-10=41 Exploring Operation: 72-51=21, Resulting Numbers: [10, 21] Generated Node #0,1,1: 70:[10, 21] Operation: 72-51=21 Exploring Operation: 10+51=61, Resulting Numbers: [72, 61] Generated Node #0,1,2: 70:[72, 61] Operation: 10+51=61 Moving to Node #0,2,0 Current State: 70:[9, 3], Operations: ['81-51=30', '30/10=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[10, 39], Operations: ['81-51=30', '9+30=39'] Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,70 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,70 unequal: No Solution Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[30, 1], Operations: ['81-51=30', '10-9=1'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[10, 21], Operations: ['81-9=72', '72-51=21'] Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[9, 41], Operations: ['81/9=9', '51-10=41'] Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 9*41=369, Resulting Numbers: [369] 369,70 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[10, 42], Operations: ['81/9=9', '51-9=42'] Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,70 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[72, 41], Operations: ['81-9=72', '51-10=41'] Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,70 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,70 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[9, 61], Operations: ['81/9=9', '10+51=61'] Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[81, 9, 10, 51], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [10, 51, 9] Generated Node #0,0: 70:[10, 51, 9] Operation: 81/9=9 Moving to Node #0,0 Current State: 70:[10, 51, 9], Operations: ['81/9=9'] Exploring Operation: 10+51=61, Resulting Numbers: [9, 61] Generated Node #0,0,2: 70:[9, 61] Operation: 10+51=61 Moving to Node #0,0,2 Current State: 70:[9, 61], Operations: ['81/9=9', '10+51=61'] Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.967014
hs_3
sum_heuristic
[ 7, 70, 4, 9 ]
67
[ "7-4=3", "9/3=3", "70-3=67" ]
Current State: 67:[7, 70, 4, 9], Operations: [] Exploring Operation: 7-4=3, Resulting Numbers: [70, 9, 3] Generated Node #2: [70, 9, 3] from Operation: 7-4=3 Current State: 67:[70, 9, 3], Operations: ['7-4=3'] Exploring Operation: 9/3=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 9/3=3 Current State: 67:[70, 3], Operations: ['7-4=3', '9/3=3'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[7, 70, 4, 9], Operations: [] Exploring Operation: 7+4=11, Resulting Numbers: [70, 9, 11] Generated Node #0,0: 67:[70, 9, 11] Operation: 7+4=11 Exploring Operation: 7*4=28, Resulting Numbers: [70, 9, 28] Generated Node #0,1: 67:[70, 9, 28] Operation: 7*4=28 Exploring Operation: 4*9=36, Resulting Numbers: [7, 70, 36] Generated Node #0,2: 67:[7, 70, 36] Operation: 4*9=36 Exploring Operation: 7*9=63, Resulting Numbers: [70, 4, 63] Generated Node #0,3: 67:[70, 4, 63] Operation: 7*9=63 Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[70, 4, 63], Operations: ['7*9=63'] Exploring Operation: 70+4=74, Resulting Numbers: [63, 74] Generated Node #0,3,0: 67:[63, 74] Operation: 70+4=74 Exploring Operation: 4+63=67, Resulting Numbers: [70, 67] Generated Node #0,3,1: 67:[70, 67] Operation: 4+63=67 Exploring Operation: 70-4=66, Resulting Numbers: [63, 66] Generated Node #0,3,2: 67:[63, 66] Operation: 70-4=66 Exploring Operation: 63-4=59, Resulting Numbers: [70, 59] Generated Node #0,3,3: 67:[70, 59] Operation: 63-4=59 Moving to Node #0,3,1 Current State: 67:[70, 67], Operations: ['7*9=63', '4+63=67'] Exploring Operation: 70+67=137, Resulting Numbers: [137] 137,67 unequal: No Solution Exploring Operation: 70*67=4690, Resulting Numbers: [4690] 4690,67 unequal: No Solution Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[63, 66], Operations: ['7*9=63', '70-4=66'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,67 unequal: No Solution Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[70, 59], Operations: ['7*9=63', '63-4=59'] Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 70+59=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 70*59=4130, Resulting Numbers: [4130] 4130,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[63, 74], Operations: ['7*9=63', '70+4=74'] Exploring Operation: 63+74=137, Resulting Numbers: [137] 137,67 unequal: No Solution Exploring Operation: 63*74=4662, Resulting Numbers: [4662] 4662,67 unequal: No Solution Exploring Operation: 74-63=11, Resulting Numbers: [11] 11,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,2 Current State: 67:[7, 70, 36], Operations: ['4*9=36'] Exploring Operation: 70-7=63, Resulting Numbers: [36, 63] Generated Node #0,2,0: 67:[36, 63] Operation: 70-7=63 Exploring Operation: 7+36=43, Resulting Numbers: [70, 43] Generated Node #0,2,1: 67:[70, 43] Operation: 7+36=43 Exploring Operation: 36-7=29, Resulting Numbers: [70, 29] Generated Node #0,2,2: 67:[70, 29] Operation: 36-7=29 Exploring Operation: 7+70=77, Resulting Numbers: [36, 77] Generated Node #0,2,3: 67:[36, 77] Operation: 7+70=77 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[70, 43], Operations: ['4*9=36', '7+36=43'] Exploring Operation: 70*43=3010, Resulting Numbers: [3010] 3010,67 unequal: No Solution Exploring Operation: 70+43=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[36, 63], Operations: ['4*9=36', '70-7=63'] Exploring Operation: 36*63=2268, Resulting Numbers: [2268] 2268,67 unequal: No Solution Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 36+63=99, Resulting Numbers: [99] 99,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[70, 29], Operations: ['4*9=36', '36-7=29'] Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,67 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,67 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 67:[36, 77], Operations: ['4*9=36', '7+70=77'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 36+77=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 36*77=2772, Resulting Numbers: [2772] 2772,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[70, 9, 28], Operations: ['7*4=28'] Exploring Operation: 70+9=79, Resulting Numbers: [28, 79] Generated Node #0,1,0: 67:[28, 79] Operation: 70+9=79 Exploring Operation: 70-9=61, Resulting Numbers: [28, 61] Generated Node #0,1,1: 67:[28, 61] Operation: 70-9=61 Exploring Operation: 9+28=37, Resulting Numbers: [70, 37] Generated Node #0,1,2: 67:[70, 37] Operation: 9+28=37 Exploring Operation: 28-9=19, Resulting Numbers: [70, 19] Generated Node #0,1,3: 67:[70, 19] Operation: 28-9=19 Moving to Node #0,1,2 Current State: 67:[70, 37], Operations: ['7*4=28', '9+28=37'] Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,67 unequal: No Solution Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[28, 61], Operations: ['7*4=28', '70-9=61'] Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,67 unequal: No Solution Exploring Operation: 28*61=1708, Resulting Numbers: [1708] 1708,67 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[70, 19], Operations: ['7*4=28', '28-9=19'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,67 unequal: No Solution Exploring Operation: 70+19=89, Resulting Numbers: [89] 89,67 unequal: No Solution Exploring Operation: 70*19=1330, Resulting Numbers: [1330] 1330,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[28, 79], Operations: ['7*4=28', '70+9=79'] Exploring Operation: 28*79=2212, Resulting Numbers: [2212] 2212,67 unequal: No Solution Exploring Operation: 28+79=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,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 Current State: 67:[70, 9, 11], Operations: ['7+4=11'] Exploring Operation: 9*11=99, Resulting Numbers: [70, 99] Generated Node #0,0,0: 67:[70, 99] Operation: 9*11=99 Exploring Operation: 70-9=61, Resulting Numbers: [11, 61] Generated Node #0,0,1: 67:[11, 61] Operation: 70-9=61 Exploring Operation: 70-11=59, Resulting Numbers: [9, 59] Generated Node #0,0,2: 67:[9, 59] Operation: 70-11=59 Exploring Operation: 9+11=20, Resulting Numbers: [70, 20] Generated Node #0,0,3: 67:[70, 20] Operation: 9+11=20 Moving to Node #0,0,0 Current State: 67:[70, 99], Operations: ['7+4=11', '9*11=99'] Exploring Operation: 70*99=6930, Resulting Numbers: [6930] 6930,67 unequal: No Solution Exploring Operation: 99-70=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 70+99=169, Resulting Numbers: [169] 169,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[70, 20], Operations: ['7+4=11', '9+11=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,67 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[11, 61], Operations: ['7+4=11', '70-9=61'] Exploring Operation: 11+61=72, Resulting Numbers: [72] 72,67 unequal: No Solution Exploring Operation: 11*61=671, Resulting Numbers: [671] 671,67 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[9, 59], Operations: ['7+4=11', '70-11=59'] Exploring Operation: 9*59=531, Resulting Numbers: [531] 531,67 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,67 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
[ 29, 9, 57, 24 ]
36
[ "29+9=38", "57*24=1368", "1368/38=36" ]
Current State: 36:[29, 9, 57, 24], Operations: [] Exploring Operation: 29+9=38, Resulting Numbers: [57, 24, 38] Generated Node #2: [57, 24, 38] from Operation: 29+9=38 Current State: 36:[57, 24, 38], Operations: ['29+9=38'] Exploring Operation: 57*24=1368, Resulting Numbers: [38, 1368] Generated Node #3: [38, 1368] from Operation: 57*24=1368 Current State: 36:[38, 1368], Operations: ['29+9=38', '57*24=1368'] Exploring Operation: 1368/38=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[29, 9, 57, 24], Operations: [] Exploring Operation: 57-29=28, Resulting Numbers: [9, 24, 28] Generated Node #0,0: 36:[9, 24, 28] Operation: 57-29=28 Exploring Operation: 57-24=33, Resulting Numbers: [29, 9, 33] Generated Node #0,1: 36:[29, 9, 33] Operation: 57-24=33 Exploring Operation: 29-24=5, Resulting Numbers: [9, 57, 5] Generated Node #0,2: 36:[9, 57, 5] Operation: 29-24=5 Moving to Node #0,1 Current State: 36:[29, 9, 33], Operations: ['57-24=33'] Exploring Operation: 29+9=38, Resulting Numbers: [33, 38] Generated Node #0,1,0: 36:[33, 38] Operation: 29+9=38 Exploring Operation: 29-9=20, Resulting Numbers: [33, 20] Generated Node #0,1,1: 36:[33, 20] Operation: 29-9=20 Exploring Operation: 33-29=4, Resulting Numbers: [9, 4] Generated Node #0,1,2: 36:[9, 4] Operation: 33-29=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[9, 4], Operations: ['57-24=33', '33-29=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[29, 9, 57, 24], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [29, 9, 33] Generated Node #0,1: 36:[29, 9, 33] Operation: 57-24=33 Moving to Node #0,1 Current State: 36:[29, 9, 33], Operations: ['57-24=33'] Exploring Operation: 33-29=4, Resulting Numbers: [9, 4] Generated Node #0,1,2: 36:[9, 4] Operation: 33-29=4 Moving to Node #0,1,2 Current State: 36:[9, 4], Operations: ['57-24=33', '33-29=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 74, 4, 99, 5 ]
34
[ "74-4=70", "99+5=104", "104-70=34" ]
Current State: 34:[74, 4, 99, 5], Operations: [] Exploring Operation: 74-4=70, Resulting Numbers: [99, 5, 70] Generated Node #2: [99, 5, 70] from Operation: 74-4=70 Current State: 34:[99, 5, 70], Operations: ['74-4=70'] Exploring Operation: 99+5=104, Resulting Numbers: [70, 104] Generated Node #3: [70, 104] from Operation: 99+5=104 Current State: 34:[70, 104], Operations: ['74-4=70', '99+5=104'] Exploring Operation: 104-70=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[74, 4, 99, 5], Operations: [] Exploring Operation: 99-74=25, Resulting Numbers: [4, 5, 25] Generated Node #0,0: 34:[4, 5, 25] Operation: 99-74=25 Moving to Node #0,0 Current State: 34:[4, 5, 25], Operations: ['99-74=25'] Exploring Operation: 25-5=20, Resulting Numbers: [4, 20] Generated Node #0,0,0: 34:[4, 20] Operation: 25-5=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[4, 20], Operations: ['99-74=25', '25-5=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 88, 7, 30, 15 ]
74
[ "7*30=210", "210/15=14", "88-14=74" ]
Current State: 74:[88, 7, 30, 15], Operations: [] Exploring Operation: 7*30=210, Resulting Numbers: [88, 15, 210] Generated Node #2: [88, 15, 210] from Operation: 7*30=210 Current State: 74:[88, 15, 210], Operations: ['7*30=210'] Exploring Operation: 210/15=14, Resulting Numbers: [88, 14] Generated Node #3: [88, 14] from Operation: 210/15=14 Current State: 74:[88, 14], Operations: ['7*30=210', '210/15=14'] Exploring Operation: 88-14=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[88, 7, 30, 15], Operations: [] Exploring Operation: 88-15=73, Resulting Numbers: [7, 30, 73] Generated Node #0,0: 74:[7, 30, 73] Operation: 88-15=73 Exploring Operation: 30/15=2, Resulting Numbers: [88, 7, 2] Generated Node #0,1: 74:[88, 7, 2] Operation: 30/15=2 Exploring Operation: 88-7=81, Resulting Numbers: [30, 15, 81] Generated Node #0,2: 74:[30, 15, 81] Operation: 88-7=81 Moving to Node #0,0 Current State: 74:[7, 30, 73], Operations: ['88-15=73'] Exploring Operation: 7+73=80, Resulting Numbers: [30, 80] Generated Node #0,0,0: 74:[30, 80] Operation: 7+73=80 Exploring Operation: 7+30=37, Resulting Numbers: [73, 37] Generated Node #0,0,1: 74:[73, 37] Operation: 7+30=37 Exploring Operation: 73-30=43, Resulting Numbers: [7, 43] Generated Node #0,0,2: 74:[7, 43] Operation: 73-30=43 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[73, 37], Operations: ['88-15=73', '7+30=37'] Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,74 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 73*37=2701, Resulting Numbers: [2701] 2701,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[7, 43], Operations: ['88-15=73', '73-30=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,74 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[30, 80], Operations: ['88-15=73', '7+73=80'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,74 unequal: No Solution Exploring Operation: 30*80=2400, Resulting Numbers: [2400] 2400,74 unequal: No Solution Exploring Operation: 30+80=110, Resulting Numbers: [110] 110,74 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: 74:[88, 7, 2], Operations: ['30/15=2'] Exploring Operation: 88-7=81, Resulting Numbers: [2, 81] Generated Node #0,1,0: 74:[2, 81] Operation: 88-7=81 Exploring Operation: 88/2=44, Resulting Numbers: [7, 44] Generated Node #0,1,1: 74:[7, 44] Operation: 88/2=44 Exploring Operation: 88-2=86, Resulting Numbers: [7, 86] Generated Node #0,1,2: 74:[7, 86] Operation: 88-2=86 Moving to Node #0,2 Current State: 74:[30, 15, 81], Operations: ['88-7=81'] Exploring Operation: 30/15=2, Resulting Numbers: [81, 2] Generated Node #0,2,0: 74:[81, 2] Operation: 30/15=2 Exploring Operation: 81-15=66, Resulting Numbers: [30, 66] Generated Node #0,2,1: 74:[30, 66] Operation: 81-15=66 Exploring Operation: 30+15=45, Resulting Numbers: [81, 45] Generated Node #0,2,2: 74:[81, 45] Operation: 30+15=45 Moving to Node #0,1,0 Current State: 74:[2, 81], Operations: ['30/15=2', '88-7=81'] Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,74 unequal: No Solution Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,74 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[81, 2], Operations: ['88-7=81', '30/15=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,74 unequal: No Solution Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[7, 44], Operations: ['30/15=2', '88/2=44'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,74 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[81, 45], Operations: ['88-7=81', '30+15=45'] Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[30, 66], Operations: ['88-7=81', '81-15=66'] Exploring Operation: 30*66=1980, Resulting Numbers: [1980] 1980,74 unequal: No Solution Exploring Operation: 30+66=96, Resulting Numbers: [96] 96,74 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[7, 86], Operations: ['30/15=2', '88-2=86'] Exploring Operation: 7*86=602, Resulting Numbers: [602] 602,74 unequal: No Solution Exploring Operation: 7+86=93, Resulting Numbers: [93] 93,74 unequal: No Solution Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,74 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 60, 42, 66, 74 ]
38
[ "60+42=102", "66+74=140", "140-102=38" ]
Current State: 38:[60, 42, 66, 74], Operations: [] Exploring Operation: 60+42=102, Resulting Numbers: [66, 74, 102] Generated Node #2: [66, 74, 102] from Operation: 60+42=102 Current State: 38:[66, 74, 102], Operations: ['60+42=102'] Exploring Operation: 66+74=140, Resulting Numbers: [102, 140] Generated Node #3: [102, 140] from Operation: 66+74=140 Current State: 38:[102, 140], Operations: ['60+42=102', '66+74=140'] Exploring Operation: 140-102=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[60, 42, 66, 74], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [60, 74, 24] Generated Node #0,0: 38:[60, 74, 24] Operation: 66-42=24 Exploring Operation: 66-60=6, Resulting Numbers: [42, 74, 6] Generated Node #0,1: 38:[42, 74, 6] Operation: 66-60=6 Exploring Operation: 74-66=8, Resulting Numbers: [60, 42, 8] Generated Node #0,2: 38:[60, 42, 8] Operation: 74-66=8 Exploring Operation: 74-42=32, Resulting Numbers: [60, 66, 32] Generated Node #0,3: 38:[60, 66, 32] Operation: 74-42=32 Exploring Operation: 74-60=14, Resulting Numbers: [42, 66, 14] Generated Node #0,4: 38:[42, 66, 14] Operation: 74-60=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[60, 42, 8], Operations: ['74-66=8'] Exploring Operation: 42-8=34, Resulting Numbers: [60, 34] Generated Node #0,2,0: 38:[60, 34] Operation: 42-8=34 Exploring Operation: 60+8=68, Resulting Numbers: [42, 68] Generated Node #0,2,1: 38:[42, 68] Operation: 60+8=68 Exploring Operation: 60-42=18, Resulting Numbers: [8, 18] Generated Node #0,2,2: 38:[8, 18] Operation: 60-42=18 Exploring Operation: 60-8=52, Resulting Numbers: [42, 52] Generated Node #0,2,3: 38:[42, 52] Operation: 60-8=52 Exploring Operation: 42+8=50, Resulting Numbers: [60, 50] Generated Node #0,2,4: 38:[60, 50] Operation: 42+8=50 Moving to Node #0,2,2 Current State: 38:[8, 18], Operations: ['74-66=8', '60-42=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,38 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,38 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[42, 52], Operations: ['74-66=8', '60-8=52'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,38 unequal: No Solution Exploring Operation: 42+52=94, Resulting Numbers: [94] 94,38 unequal: No Solution Exploring Operation: 42*52=2184, Resulting Numbers: [2184] 2184,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[60, 34], Operations: ['74-66=8', '42-8=34'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,38 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[42, 68], Operations: ['74-66=8', '60+8=68'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,38 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,38 unequal: No Solution Moving to Node #0,2,4 Current State: 38:[60, 50], Operations: ['74-66=8', '42+8=50'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,38 unequal: No Solution Exploring Operation: 60*50=3000, Resulting Numbers: [3000] 3000,38 unequal: No Solution Exploring Operation: 60+50=110, Resulting Numbers: [110] 110,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,4 Current State: 38:[42, 66, 14], Operations: ['74-60=14'] Exploring Operation: 42/14=3, Resulting Numbers: [66, 3] Generated Node #0,4,0: 38:[66, 3] Operation: 42/14=3 Exploring Operation: 42+14=56, Resulting Numbers: [66, 56] Generated Node #0,4,1: 38:[66, 56] Operation: 42+14=56 Exploring Operation: 66-14=52, Resulting Numbers: [42, 52] Generated Node #0,4,2: 38:[42, 52] Operation: 66-14=52 Exploring Operation: 42-14=28, Resulting Numbers: [66, 28] Generated Node #0,4,3: 38:[66, 28] Operation: 42-14=28 Exploring Operation: 66-42=24, Resulting Numbers: [14, 24] Generated Node #0,4,4: 38:[14, 24] Operation: 66-42=24 Moving to Node #0,4,4 Current State: 38:[14, 24], Operations: ['74-60=14', '66-42=24'] Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[60, 42, 66, 74], Operations: [] Exploring Operation: 74-60=14, Resulting Numbers: [42, 66, 14] Generated Node #0,4: 38:[42, 66, 14] Operation: 74-60=14 Moving to Node #0,4 Current State: 38:[42, 66, 14], Operations: ['74-60=14'] Exploring Operation: 66-42=24, Resulting Numbers: [14, 24] Generated Node #0,4,4: 38:[14, 24] Operation: 66-42=24 Moving to Node #0,4,4 Current State: 38:[14, 24], Operations: ['74-60=14', '66-42=24'] Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 14, 75, 59, 56 ]
58
[ "75-14=61", "59-56=3", "61-3=58" ]
Current State: 58:[14, 75, 59, 56], Operations: [] Exploring Operation: 75-14=61, Resulting Numbers: [59, 56, 61] Generated Node #2: [59, 56, 61] from Operation: 75-14=61 Current State: 58:[59, 56, 61], Operations: ['75-14=61'] Exploring Operation: 59-56=3, Resulting Numbers: [61, 3] Generated Node #3: [61, 3] from Operation: 59-56=3 Current State: 58:[61, 3], Operations: ['75-14=61', '59-56=3'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[14, 75, 59, 56], Operations: [] Exploring Operation: 75-14=61, Resulting Numbers: [59, 56, 61] Generated Node #0,0: 58:[59, 56, 61] Operation: 75-14=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[59, 56, 61], Operations: ['75-14=61'] Exploring Operation: 61-59=2, Resulting Numbers: [56, 2] Generated Node #0,0,0: 58:[56, 2] Operation: 61-59=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[56, 2], Operations: ['75-14=61', '61-59=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[14, 75, 59, 56], Operations: [] Exploring Operation: 75-14=61, Resulting Numbers: [59, 56, 61] Generated Node #0,0: 58:[59, 56, 61] Operation: 75-14=61 Moving to Node #0,0 Current State: 58:[59, 56, 61], Operations: ['75-14=61'] Exploring Operation: 61-59=2, Resulting Numbers: [56, 2] Generated Node #0,0,0: 58:[56, 2] Operation: 61-59=2 Moving to Node #0,0,0 Current State: 58:[56, 2], Operations: ['75-14=61', '61-59=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 15, 24, 8, 11 ]
79
[ "24-15=9", "8*11=88", "88-9=79" ]
Current State: 79:[15, 24, 8, 11], Operations: [] Exploring Operation: 24-15=9, Resulting Numbers: [8, 11, 9] Generated Node #2: [8, 11, 9] from Operation: 24-15=9 Current State: 79:[8, 11, 9], Operations: ['24-15=9'] Exploring Operation: 8*11=88, Resulting Numbers: [9, 88] Generated Node #3: [9, 88] from Operation: 8*11=88 Current State: 79:[9, 88], Operations: ['24-15=9', '8*11=88'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[15, 24, 8, 11], Operations: [] Exploring Operation: 15*8=120, Resulting Numbers: [24, 11, 120] Generated Node #0,0: 79:[24, 11, 120] Operation: 15*8=120 Exploring Operation: 8*11=88, Resulting Numbers: [15, 24, 88] Generated Node #0,1: 79:[15, 24, 88] Operation: 8*11=88 Exploring Operation: 15+8=23, Resulting Numbers: [24, 11, 23] Generated Node #0,2: 79:[24, 11, 23] Operation: 15+8=23 Exploring Operation: 15+24=39, Resulting Numbers: [8, 11, 39] Generated Node #0,3: 79:[8, 11, 39] Operation: 15+24=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[15, 24, 88], Operations: ['8*11=88'] Exploring Operation: 15+24=39, Resulting Numbers: [88, 39] Generated Node #0,1,0: 79:[88, 39] Operation: 15+24=39 Exploring Operation: 15+88=103, Resulting Numbers: [24, 103] Generated Node #0,1,1: 79:[24, 103] Operation: 15+88=103 Exploring Operation: 24-15=9, Resulting Numbers: [88, 9] Generated Node #0,1,2: 79:[88, 9] Operation: 24-15=9 Exploring Operation: 88-15=73, Resulting Numbers: [24, 73] Generated Node #0,1,3: 79:[24, 73] Operation: 88-15=73 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[88, 39], Operations: ['8*11=88', '15+24=39'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 88*39=3432, Resulting Numbers: [3432] 3432,79 unequal: No Solution Exploring Operation: 88+39=127, Resulting Numbers: [127] 127,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 79:[24, 73], Operations: ['8*11=88', '88-15=73'] Exploring Operation: 24+73=97, Resulting Numbers: [97] 97,79 unequal: No Solution Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 24*73=1752, Resulting Numbers: [1752] 1752,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[24, 103], Operations: ['8*11=88', '15+88=103'] Exploring Operation: 24*103=2472, Resulting Numbers: [2472] 2472,79 unequal: No Solution Exploring Operation: 24+103=127, Resulting Numbers: [127] 127,79 unequal: No Solution Exploring Operation: 103-24=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[15, 24, 8, 11], Operations: [] Exploring Operation: 8*11=88, Resulting Numbers: [15, 24, 88] Generated Node #0,1: 79:[15, 24, 88] Operation: 8*11=88 Moving to Node #0,1 Current State: 79:[15, 24, 88], Operations: ['8*11=88'] Exploring Operation: 15+88=103, Resulting Numbers: [24, 103] Generated Node #0,1,1: 79:[24, 103] Operation: 15+88=103 Moving to Node #0,1,1 Current State: 79:[24, 103], Operations: ['8*11=88', '15+88=103'] Exploring Operation: 103-24=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 10, 25, 72, 33 ]
90
[ "25-10=15", "72+33=105", "105-15=90" ]
Current State: 90:[10, 25, 72, 33], Operations: [] Exploring Operation: 25-10=15, Resulting Numbers: [72, 33, 15] Generated Node #2: [72, 33, 15] from Operation: 25-10=15 Current State: 90:[72, 33, 15], Operations: ['25-10=15'] Exploring Operation: 72+33=105, Resulting Numbers: [15, 105] Generated Node #3: [15, 105] from Operation: 72+33=105 Current State: 90:[15, 105], Operations: ['25-10=15', '72+33=105'] Exploring Operation: 105-15=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[10, 25, 72, 33], Operations: [] Exploring Operation: 25+72=97, Resulting Numbers: [10, 33, 97] Generated Node #0,0: 90:[10, 33, 97] Operation: 25+72=97 Exploring Operation: 10+72=82, Resulting Numbers: [25, 33, 82] Generated Node #0,1: 90:[25, 33, 82] Operation: 10+72=82 Exploring Operation: 72-25=47, Resulting Numbers: [10, 33, 47] Generated Node #0,2: 90:[10, 33, 47] Operation: 72-25=47 Exploring Operation: 72-33=39, Resulting Numbers: [10, 25, 39] Generated Node #0,3: 90:[10, 25, 39] Operation: 72-33=39 Moving to Node #0,2 Current State: 90:[10, 33, 47], Operations: ['72-25=47'] Exploring Operation: 10+33=43, Resulting Numbers: [47, 43] Generated Node #0,2,0: 90:[47, 43] Operation: 10+33=43 Exploring Operation: 47-33=14, Resulting Numbers: [10, 14] Generated Node #0,2,1: 90:[10, 14] Operation: 47-33=14 Exploring Operation: 33-10=23, Resulting Numbers: [47, 23] Generated Node #0,2,2: 90:[47, 23] Operation: 33-10=23 Exploring Operation: 47-10=37, Resulting Numbers: [33, 37] Generated Node #0,2,3: 90:[33, 37] Operation: 47-10=37 Moving to Node #0,0 Current State: 90:[10, 33, 97], Operations: ['25+72=97'] Exploring Operation: 10+33=43, Resulting Numbers: [97, 43] Generated Node #0,0,0: 90:[97, 43] Operation: 10+33=43 Exploring Operation: 33-10=23, Resulting Numbers: [97, 23] Generated Node #0,0,1: 90:[97, 23] Operation: 33-10=23 Exploring Operation: 97-10=87, Resulting Numbers: [33, 87] Generated Node #0,0,2: 90:[33, 87] Operation: 97-10=87 Exploring Operation: 97-33=64, Resulting Numbers: [10, 64] Generated Node #0,0,3: 90:[10, 64] Operation: 97-33=64 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[33, 87], Operations: ['25+72=97', '97-10=87'] Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,90 unequal: No Solution Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,90 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[97, 43], Operations: ['25+72=97', '10+33=43'] Exploring Operation: 97*43=4171, Resulting Numbers: [4171] 4171,90 unequal: No Solution Exploring Operation: 97-43=54, Resulting Numbers: [54] 54,90 unequal: No Solution Exploring Operation: 97+43=140, Resulting Numbers: [140] 140,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[97, 23], Operations: ['25+72=97', '33-10=23'] Exploring Operation: 97+23=120, Resulting Numbers: [120] 120,90 unequal: No Solution Exploring Operation: 97*23=2231, Resulting Numbers: [2231] 2231,90 unequal: No Solution Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[10, 64], Operations: ['25+72=97', '97-33=64'] Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,90 unequal: No Solution Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,90 unequal: No Solution Exploring Operation: 10*64=640, Resulting Numbers: [640] 640,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 90:[10, 25, 39], Operations: ['72-33=39'] Exploring Operation: 10+39=49, Resulting Numbers: [25, 49] Generated Node #0,3,0: 90:[25, 49] Operation: 10+39=49 Exploring Operation: 39-25=14, Resulting Numbers: [10, 14] Generated Node #0,3,1: 90:[10, 14] Operation: 39-25=14 Exploring Operation: 25-10=15, Resulting Numbers: [39, 15] Generated Node #0,3,2: 90:[39, 15] Operation: 25-10=15 Exploring Operation: 39-10=29, Resulting Numbers: [25, 29] Generated Node #0,3,3: 90:[25, 29] Operation: 39-10=29 Moving to Node #0,1 Current State: 90:[25, 33, 82], Operations: ['10+72=82'] Exploring Operation: 82-25=57, Resulting Numbers: [33, 57] Generated Node #0,1,0: 90:[33, 57] Operation: 82-25=57 Exploring Operation: 25+82=107, Resulting Numbers: [33, 107] Generated Node #0,1,1: 90:[33, 107] Operation: 25+82=107 Exploring Operation: 33-25=8, Resulting Numbers: [82, 8] Generated Node #0,1,2: 90:[82, 8] Operation: 33-25=8 Exploring Operation: 82-33=49, Resulting Numbers: [25, 49] Generated Node #0,1,3: 90:[25, 49] Operation: 82-33=49 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[82, 8], Operations: ['10+72=82', '33-25=8'] Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,90 unequal: No Solution Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[10, 25, 72, 33], Operations: [] Exploring Operation: 10+72=82, Resulting Numbers: [25, 33, 82] Generated Node #0,1: 90:[25, 33, 82] Operation: 10+72=82 Moving to Node #0,1 Current State: 90:[25, 33, 82], Operations: ['10+72=82'] Exploring Operation: 33-25=8, Resulting Numbers: [82, 8] Generated Node #0,1,2: 90:[82, 8] Operation: 33-25=8 Moving to Node #0,1,2 Current State: 90:[82, 8], Operations: ['10+72=82', '33-25=8'] Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
mult_heuristic
[ 50, 90, 98, 59 ]
72
[ "59-50=9", "98-90=8", "9*8=72" ]
Current State: 72:[50, 90, 98, 59], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [90, 98, 9] Generated Node #2: [90, 98, 9] from Operation: 59-50=9 Current State: 72:[90, 98, 9], Operations: ['59-50=9'] Exploring Operation: 98-90=8, Resulting Numbers: [9, 8] Generated Node #3: [9, 8] from Operation: 98-90=8 Current State: 72:[9, 8], Operations: ['59-50=9', '98-90=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[50, 90, 98, 59], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [90, 59, 48] Generated Node #0,0: 72:[90, 59, 48] Operation: 98-50=48 Exploring Operation: 98-90=8, Resulting Numbers: [50, 59, 8] Generated Node #0,1: 72:[50, 59, 8] Operation: 98-90=8 Exploring Operation: 98-59=39, Resulting Numbers: [50, 90, 39] Generated Node #0,2: 72:[50, 90, 39] Operation: 98-59=39 Exploring Operation: 59-50=9, Resulting Numbers: [90, 98, 9] Generated Node #0,3: 72:[90, 98, 9] Operation: 59-50=9 Exploring Operation: 90-50=40, Resulting Numbers: [98, 59, 40] Generated Node #0,4: 72:[98, 59, 40] Operation: 90-50=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[50, 59, 8], Operations: ['98-90=8'] Exploring Operation: 59+8=67, Resulting Numbers: [50, 67] Generated Node #0,1,0: 72:[50, 67] Operation: 59+8=67 Exploring Operation: 50+8=58, Resulting Numbers: [59, 58] Generated Node #0,1,1: 72:[59, 58] Operation: 50+8=58 Exploring Operation: 59-8=51, Resulting Numbers: [50, 51] Generated Node #0,1,2: 72:[50, 51] Operation: 59-8=51 Exploring Operation: 50-8=42, Resulting Numbers: [59, 42] Generated Node #0,1,3: 72:[59, 42] Operation: 50-8=42 Exploring Operation: 59-50=9, Resulting Numbers: [8, 9] Generated Node #0,1,4: 72:[8, 9] Operation: 59-50=9 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 72:[8, 9], Operations: ['98-90=8', '59-50=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[50, 90, 98, 59], Operations: [] Exploring Operation: 98-90=8, Resulting Numbers: [50, 59, 8] Generated Node #0,1: 72:[50, 59, 8] Operation: 98-90=8 Moving to Node #0,1 Current State: 72:[50, 59, 8], Operations: ['98-90=8'] Exploring Operation: 59-50=9, Resulting Numbers: [8, 9] Generated Node #0,1,4: 72:[8, 9] Operation: 59-50=9 Moving to Node #0,1,4 Current State: 72:[8, 9], Operations: ['98-90=8', '59-50=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 12, 6, 74, 4 ]
56
[ "12*6=72", "72/4=18", "74-18=56" ]
Current State: 56:[12, 6, 74, 4], Operations: [] Exploring Operation: 12*6=72, Resulting Numbers: [74, 4, 72] Generated Node #2: [74, 4, 72] from Operation: 12*6=72 Current State: 56:[74, 4, 72], Operations: ['12*6=72'] Exploring Operation: 72/4=18, Resulting Numbers: [74, 18] Generated Node #3: [74, 18] from Operation: 72/4=18 Current State: 56:[74, 18], Operations: ['12*6=72', '72/4=18'] Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[12, 6, 74, 4], Operations: [] Exploring Operation: 74-12=62, Resulting Numbers: [6, 4, 62] Generated Node #0,0: 56:[6, 4, 62] Operation: 74-12=62 Exploring Operation: 74-6=68, Resulting Numbers: [12, 4, 68] Generated Node #0,1: 56:[12, 4, 68] Operation: 74-6=68 Moving to Node #0,0 Current State: 56:[6, 4, 62], Operations: ['74-12=62'] Exploring Operation: 62-4=58, Resulting Numbers: [6, 58] Generated Node #0,0,0: 56:[6, 58] Operation: 62-4=58 Exploring Operation: 62-6=56, Resulting Numbers: [4, 56] Generated Node #0,0,1: 56:[4, 56] Operation: 62-6=56 Moving to Node #0,1 Current State: 56:[12, 4, 68], Operations: ['74-6=68'] Exploring Operation: 68/4=17, Resulting Numbers: [12, 17] Generated Node #0,1,0: 56:[12, 17] Operation: 68/4=17 Exploring Operation: 68-12=56, Resulting Numbers: [4, 56] Generated Node #0,1,1: 56:[4, 56] Operation: 68-12=56 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[4, 56], Operations: ['74-6=68', '68-12=56'] Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[12, 17], Operations: ['74-6=68', '68/4=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,56 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: 56:[4, 56], Operations: ['74-12=62', '62-6=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[6, 58], Operations: ['74-12=62', '62-4=58'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,56 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 99, 79, 79, 23 ]
76
[ "99+79=178", "79+23=102", "178-102=76" ]
Current State: 76:[99, 79, 79, 23], Operations: [] Exploring Operation: 99+79=178, Resulting Numbers: [23, 178] Generated Node #2: [23, 178] from Operation: 99+79=178 Current State: 76:[23, 178], Operations: ['99+79=178'] Exploring Operation: 79+23=102, Resulting Numbers: [178, 102] Generated Node #3: [178, 102] from Operation: 79+23=102 Current State: 76:[178, 102], Operations: ['99+79=178', '79+23=102'] Exploring Operation: 178-102=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[99, 79, 79, 23], Operations: [] Exploring Operation: 99-23=76, Resulting Numbers: [79, 79, 76] Generated Node #0,0: 76:[79, 79, 76] Operation: 99-23=76 Exploring Operation: 99-79=20, Resulting Numbers: [79, 23, 20] Generated Node #0,1: 76:[79, 23, 20] Operation: 99-79=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[79, 79, 76], Operations: ['99-23=76'] Exploring Operation: 79/79=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 76:[76, 1] Operation: 79/79=1 Exploring Operation: 79-79=0, Resulting Numbers: [76, 0] Generated Node #0,0,1: 76:[76, 0] Operation: 79-79=0 Moving to Node #0,0,0 Current State: 76:[76, 1], Operations: ['99-23=76', '79/79=1'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[99, 79, 79, 23], Operations: [] Exploring Operation: 99-23=76, Resulting Numbers: [79, 79, 76] Generated Node #0,0: 76:[79, 79, 76] Operation: 99-23=76 Moving to Node #0,0 Current State: 76:[79, 79, 76], Operations: ['99-23=76'] Exploring Operation: 79/79=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 76:[76, 1] Operation: 79/79=1 Moving to Node #0,0,0 Current State: 76:[76, 1], Operations: ['99-23=76', '79/79=1'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 48, 8, 28, 53 ]
41
[ "48-8=40", "28+53=81", "81-40=41" ]
Current State: 41:[48, 8, 28, 53], Operations: [] Exploring Operation: 48-8=40, Resulting Numbers: [28, 53, 40] Generated Node #2: [28, 53, 40] from Operation: 48-8=40 Current State: 41:[28, 53, 40], Operations: ['48-8=40'] Exploring Operation: 28+53=81, Resulting Numbers: [40, 81] Generated Node #3: [40, 81] from Operation: 28+53=81 Current State: 41:[40, 81], Operations: ['48-8=40', '28+53=81'] Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[48, 8, 28, 53], Operations: [] Exploring Operation: 48+8=56, Resulting Numbers: [28, 53, 56] Generated Node #0,0: 41:[28, 53, 56] Operation: 48+8=56 Exploring Operation: 8+28=36, Resulting Numbers: [48, 53, 36] Generated Node #0,1: 41:[48, 53, 36] Operation: 8+28=36 Exploring Operation: 53-8=45, Resulting Numbers: [48, 28, 45] Generated Node #0,2: 41:[48, 28, 45] Operation: 53-8=45 Exploring Operation: 48-8=40, Resulting Numbers: [28, 53, 40] Generated Node #0,3: 41:[28, 53, 40] Operation: 48-8=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[48, 53, 36], Operations: ['8+28=36'] Exploring Operation: 48-36=12, Resulting Numbers: [53, 12] Generated Node #0,1,0: 41:[53, 12] Operation: 48-36=12 Exploring Operation: 53-48=5, Resulting Numbers: [36, 5] Generated Node #0,1,1: 41:[36, 5] Operation: 53-48=5 Exploring Operation: 48+36=84, Resulting Numbers: [53, 84] Generated Node #0,1,2: 41:[53, 84] Operation: 48+36=84 Exploring Operation: 53-36=17, Resulting Numbers: [48, 17] Generated Node #0,1,3: 41:[48, 17] Operation: 53-36=17 Moving to Node #0,1,3 Current State: 41:[48, 17], Operations: ['8+28=36', '53-36=17'] Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,41 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[36, 5], Operations: ['8+28=36', '53-48=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,41 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[48, 8, 28, 53], Operations: [] Exploring Operation: 8+28=36, Resulting Numbers: [48, 53, 36] Generated Node #0,1: 41:[48, 53, 36] Operation: 8+28=36 Moving to Node #0,1 Current State: 41:[48, 53, 36], Operations: ['8+28=36'] Exploring Operation: 53-48=5, Resulting Numbers: [36, 5] Generated Node #0,1,1: 41:[36, 5] Operation: 53-48=5 Moving to Node #0,1,1 Current State: 41:[36, 5], Operations: ['8+28=36', '53-48=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 48, 51, 93, 95 ]
89
[ "48+51=99", "93+95=188", "188-99=89" ]
Current State: 89:[48, 51, 93, 95], Operations: [] Exploring Operation: 48+51=99, Resulting Numbers: [93, 95, 99] Generated Node #2: [93, 95, 99] from Operation: 48+51=99 Current State: 89:[93, 95, 99], Operations: ['48+51=99'] Exploring Operation: 93+95=188, Resulting Numbers: [99, 188] Generated Node #3: [99, 188] from Operation: 93+95=188 Current State: 89:[99, 188], Operations: ['48+51=99', '93+95=188'] Exploring Operation: 188-99=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[48, 51, 93, 95], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [51, 95, 45] Generated Node #0,0: 89:[51, 95, 45] Operation: 93-48=45 Exploring Operation: 48+51=99, Resulting Numbers: [93, 95, 99] Generated Node #0,1: 89:[93, 95, 99] Operation: 48+51=99 Exploring Operation: 95-51=44, Resulting Numbers: [48, 93, 44] Generated Node #0,2: 89:[48, 93, 44] Operation: 95-51=44 Exploring Operation: 95-48=47, Resulting Numbers: [51, 93, 47] Generated Node #0,3: 89:[51, 93, 47] Operation: 95-48=47 Moving to Node #0,1 Current State: 89:[93, 95, 99], Operations: ['48+51=99'] Exploring Operation: 99-95=4, Resulting Numbers: [93, 4] Generated Node #0,1,0: 89:[93, 4] Operation: 99-95=4 Exploring Operation: 93+95=188, Resulting Numbers: [99, 188] Generated Node #0,1,1: 89:[99, 188] Operation: 93+95=188 Exploring Operation: 95-93=2, Resulting Numbers: [99, 2] Generated Node #0,1,2: 89:[99, 2] Operation: 95-93=2 Exploring Operation: 99-93=6, Resulting Numbers: [95, 6] Generated Node #0,1,3: 89:[95, 6] Operation: 99-93=6 Moving to Node #0,3 Current State: 89:[51, 93, 47], Operations: ['95-48=47'] Exploring Operation: 93-47=46, Resulting Numbers: [51, 46] Generated Node #0,3,0: 89:[51, 46] Operation: 93-47=46 Exploring Operation: 51+47=98, Resulting Numbers: [93, 98] Generated Node #0,3,1: 89:[93, 98] Operation: 51+47=98 Exploring Operation: 51-47=4, Resulting Numbers: [93, 4] Generated Node #0,3,2: 89:[93, 4] Operation: 51-47=4 Exploring Operation: 93-51=42, Resulting Numbers: [47, 42] Generated Node #0,3,3: 89:[47, 42] Operation: 93-51=42 Moving to Node #0,0 Current State: 89:[51, 95, 45], Operations: ['93-48=45'] Exploring Operation: 95-45=50, Resulting Numbers: [51, 50] Generated Node #0,0,0: 89:[51, 50] Operation: 95-45=50 Exploring Operation: 51-45=6, Resulting Numbers: [95, 6] Generated Node #0,0,1: 89:[95, 6] Operation: 51-45=6 Exploring Operation: 51+45=96, Resulting Numbers: [95, 96] Generated Node #0,0,2: 89:[95, 96] Operation: 51+45=96 Exploring Operation: 95-51=44, Resulting Numbers: [45, 44] Generated Node #0,0,3: 89:[45, 44] Operation: 95-51=44 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[95, 96], Operations: ['93-48=45', '51+45=96'] Exploring Operation: 95*96=9120, Resulting Numbers: [9120] 9120,89 unequal: No Solution Exploring Operation: 95+96=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[51, 50], Operations: ['93-48=45', '95-45=50'] Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[95, 6], Operations: ['93-48=45', '51-45=6'] Exploring Operation: 95*6=570, Resulting Numbers: [570] 570,89 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[48, 51, 93, 95], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [51, 95, 45] Generated Node #0,0: 89:[51, 95, 45] Operation: 93-48=45 Moving to Node #0,0 Current State: 89:[51, 95, 45], Operations: ['93-48=45'] Exploring Operation: 51-45=6, Resulting Numbers: [95, 6] Generated Node #0,0,1: 89:[95, 6] Operation: 51-45=6 Moving to Node #0,0,1 Current State: 89:[95, 6], Operations: ['93-48=45', '51-45=6'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_4
mult_heuristic
[ 83, 90, 50, 23 ]
75
[ "83-23=60", "90*50=4500", "4500/60=75" ]
Current State: 75:[83, 90, 50, 23], Operations: [] Exploring Operation: 83-23=60, Resulting Numbers: [90, 50, 60] Generated Node #2: [90, 50, 60] from Operation: 83-23=60 Current State: 75:[90, 50, 60], Operations: ['83-23=60'] Exploring Operation: 90*50=4500, Resulting Numbers: [60, 4500] Generated Node #3: [60, 4500] from Operation: 90*50=4500 Current State: 75:[60, 4500], Operations: ['83-23=60', '90*50=4500'] Exploring Operation: 4500/60=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[83, 90, 50, 23], Operations: [] Exploring Operation: 50+23=73, Resulting Numbers: [83, 90, 73] Generated Node #0,0: 75:[83, 90, 73] Operation: 50+23=73 Exploring Operation: 50-23=27, Resulting Numbers: [83, 90, 27] Generated Node #0,1: 75:[83, 90, 27] Operation: 50-23=27 Exploring Operation: 90-50=40, Resulting Numbers: [83, 23, 40] Generated Node #0,2: 75:[83, 23, 40] Operation: 90-50=40 Exploring Operation: 83-50=33, Resulting Numbers: [90, 23, 33] Generated Node #0,3: 75:[90, 23, 33] Operation: 83-50=33 Exploring Operation: 90-83=7, Resulting Numbers: [50, 23, 7] Generated Node #0,4: 75:[50, 23, 7] Operation: 90-83=7 Moving to Node #0,0 Current State: 75:[83, 90, 73], Operations: ['50+23=73'] Exploring Operation: 90+73=163, Resulting Numbers: [83, 163] Generated Node #0,0,0: 75:[83, 163] Operation: 90+73=163 Exploring Operation: 90-73=17, Resulting Numbers: [83, 17] Generated Node #0,0,1: 75:[83, 17] Operation: 90-73=17 Exploring Operation: 83+73=156, Resulting Numbers: [90, 156] Generated Node #0,0,2: 75:[90, 156] Operation: 83+73=156 Exploring Operation: 83-73=10, Resulting Numbers: [90, 10] Generated Node #0,0,3: 75:[90, 10] Operation: 83-73=10 Exploring Operation: 90-83=7, Resulting Numbers: [73, 7] Generated Node #0,0,4: 75:[73, 7] Operation: 90-83=7 Moving to Node #0,2 Current State: 75:[83, 23, 40], Operations: ['90-50=40'] Exploring Operation: 83-40=43, Resulting Numbers: [23, 43] Generated Node #0,2,0: 75:[23, 43] Operation: 83-40=43 Exploring Operation: 83-23=60, Resulting Numbers: [40, 60] Generated Node #0,2,1: 75:[40, 60] Operation: 83-23=60 Exploring Operation: 83+23=106, Resulting Numbers: [40, 106] Generated Node #0,2,2: 75:[40, 106] Operation: 83+23=106 Exploring Operation: 40-23=17, Resulting Numbers: [83, 17] Generated Node #0,2,3: 75:[83, 17] Operation: 40-23=17 Exploring Operation: 23+40=63, Resulting Numbers: [83, 63] Generated Node #0,2,4: 75:[83, 63] Operation: 23+40=63 Moving to Node #0,1 Current State: 75:[83, 90, 27], Operations: ['50-23=27'] Exploring Operation: 90-27=63, Resulting Numbers: [83, 63] Generated Node #0,1,0: 75:[83, 63] Operation: 90-27=63 Exploring Operation: 90-83=7, Resulting Numbers: [27, 7] Generated Node #0,1,1: 75:[27, 7] Operation: 90-83=7 Exploring Operation: 83-27=56, Resulting Numbers: [90, 56] Generated Node #0,1,2: 75:[90, 56] Operation: 83-27=56 Exploring Operation: 83+27=110, Resulting Numbers: [90, 110] Generated Node #0,1,3: 75:[90, 110] Operation: 83+27=110 Exploring Operation: 90+27=117, Resulting Numbers: [83, 117] Generated Node #0,1,4: 75:[83, 117] Operation: 90+27=117 Moving to Node #0,3 Current State: 75:[90, 23, 33], Operations: ['83-50=33'] Exploring Operation: 90+23=113, Resulting Numbers: [33, 113] Generated Node #0,3,0: 75:[33, 113] Operation: 90+23=113 Exploring Operation: 33-23=10, Resulting Numbers: [90, 10] Generated Node #0,3,1: 75:[90, 10] Operation: 33-23=10 Exploring Operation: 90-23=67, Resulting Numbers: [33, 67] Generated Node #0,3,2: 75:[33, 67] Operation: 90-23=67 Exploring Operation: 23+33=56, Resulting Numbers: [90, 56] Generated Node #0,3,3: 75:[90, 56] Operation: 23+33=56 Exploring Operation: 90-33=57, Resulting Numbers: [23, 57] Generated Node #0,3,4: 75:[23, 57] Operation: 90-33=57 Moving to Node #0,4 Current State: 75:[50, 23, 7], Operations: ['90-83=7'] Exploring Operation: 23-7=16, Resulting Numbers: [50, 16] Generated Node #0,4,0: 75:[50, 16] Operation: 23-7=16 Exploring Operation: 50+23=73, Resulting Numbers: [7, 73] Generated Node #0,4,1: 75:[7, 73] Operation: 50+23=73 Exploring Operation: 50-23=27, Resulting Numbers: [7, 27] Generated Node #0,4,2: 75:[7, 27] Operation: 50-23=27 Exploring Operation: 50-7=43, Resulting Numbers: [23, 43] Generated Node #0,4,3: 75:[23, 43] Operation: 50-7=43 Exploring Operation: 50+7=57, Resulting Numbers: [23, 57] Generated Node #0,4,4: 75:[23, 57] Operation: 50+7=57 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 75:[7, 73], Operations: ['90-83=7', '50+23=73'] Exploring Operation: 7*73=511, Resulting Numbers: [511] 511,75 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,75 unequal: No Solution No 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: 75:[7, 27], Operations: ['90-83=7', '50-23=27'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,75 unequal: No Solution No 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: 75:[23, 43], Operations: ['90-83=7', '50-7=43'] Exploring Operation: 23*43=989, Resulting Numbers: [989] 989,75 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,75 unequal: No Solution No 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: 75:[23, 57], Operations: ['90-83=7', '50+7=57'] Exploring Operation: 23*57=1311, Resulting Numbers: [1311] 1311,75 unequal: No Solution Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,75 unequal: No Solution No 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: 75:[50, 16], Operations: ['90-83=7', '23-7=16'] Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 75:[73, 7], Operations: ['50+23=73', '90-83=7'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,75 unequal: No Solution Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[27, 7], Operations: ['50-23=27', '90-83=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[83, 17], Operations: ['90-50=40', '40-23=17'] Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,75 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[83, 17], Operations: ['50+23=73', '90-73=17'] Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[33, 67], Operations: ['83-50=33', '90-23=67'] Exploring Operation: 33*67=2211, Resulting Numbers: [2211] 2211,75 unequal: No Solution Exploring Operation: 33+67=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[23, 43], Operations: ['90-50=40', '83-40=43'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 23*43=989, Resulting Numbers: [989] 989,75 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[90, 10], Operations: ['50+23=73', '83-73=10'] Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 90*10=900, Resulting Numbers: [900] 900,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[83, 63], Operations: ['50-23=27', '90-27=63'] Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 83+63=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 83*63=5229, Resulting Numbers: [5229] 5229,75 unequal: No Solution Moving to Node #0,3,4 Current State: 75:[23, 57], Operations: ['83-50=33', '90-33=57'] Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 23*57=1311, Resulting Numbers: [1311] 1311,75 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[83, 63], Operations: ['90-50=40', '23+40=63'] Exploring Operation: 83+63=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 83*63=5229, Resulting Numbers: [5229] 5229,75 unequal: No Solution Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[90, 10], Operations: ['83-50=33', '33-23=10'] Exploring Operation: 90*10=900, Resulting Numbers: [900] 900,75 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[40, 60], Operations: ['90-50=40', '83-23=60'] Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,75 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[90, 56], Operations: ['83-50=33', '23+33=56'] Exploring Operation: 90*56=5040, Resulting Numbers: [5040] 5040,75 unequal: No Solution Exploring Operation: 90-56=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 90+56=146, Resulting Numbers: [146] 146,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[90, 56], Operations: ['50-23=27', '83-27=56'] Exploring Operation: 90-56=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 90+56=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 90*56=5040, Resulting Numbers: [5040] 5040,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[40, 106], Operations: ['90-50=40', '83+23=106'] Exploring Operation: 40*106=4240, Resulting Numbers: [4240] 4240,75 unequal: No Solution Exploring Operation: 40+106=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 106-40=66, Resulting Numbers: [66] 66,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[33, 113], Operations: ['83-50=33', '90+23=113'] Exploring Operation: 33*113=3729, Resulting Numbers: [3729] 3729,75 unequal: No Solution Exploring Operation: 113-33=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 33+113=146, Resulting Numbers: [146] 146,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[90, 110], Operations: ['50-23=27', '83+27=110'] Exploring Operation: 110-90=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 90+110=200, Resulting Numbers: [200] 200,75 unequal: No Solution Exploring Operation: 90*110=9900, Resulting Numbers: [9900] 9900,75 unequal: No Solution Moving to Node #0,1,4 Current State: 75:[83, 117], Operations: ['50-23=27', '90+27=117'] Exploring Operation: 117-83=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 83*117=9711, Resulting Numbers: [9711] 9711,75 unequal: No Solution Exploring Operation: 83+117=200, Resulting Numbers: [200] 200,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[83, 163], Operations: ['50+23=73', '90+73=163'] Exploring Operation: 83*163=13529, Resulting Numbers: [13529] 13529,75 unequal: No Solution Exploring Operation: 163-83=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 83+163=246, Resulting Numbers: [246] 246,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[90, 156], Operations: ['50+23=73', '83+73=156'] Exploring Operation: 90+156=246, Resulting Numbers: [246] 246,75 unequal: No Solution Exploring Operation: 156-90=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 90*156=14040, Resulting Numbers: [14040] 14040,75 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 34, 23, 97, 38 ]
70
[ "34-23=11", "97-38=59", "11+59=70" ]
Current State: 70:[34, 23, 97, 38], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [97, 38, 11] Generated Node #2: [97, 38, 11] from Operation: 34-23=11 Current State: 70:[97, 38, 11], Operations: ['34-23=11'] Exploring Operation: 97-38=59, Resulting Numbers: [11, 59] Generated Node #3: [11, 59] from Operation: 97-38=59 Current State: 70:[11, 59], Operations: ['34-23=11', '97-38=59'] Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[34, 23, 97, 38], Operations: [] Exploring Operation: 38-23=15, Resulting Numbers: [34, 97, 15] Generated Node #0,0: 70:[34, 97, 15] Operation: 38-23=15 Exploring Operation: 97-23=74, Resulting Numbers: [34, 38, 74] Generated Node #0,1: 70:[34, 38, 74] Operation: 97-23=74 Exploring Operation: 97-34=63, Resulting Numbers: [23, 38, 63] Generated Node #0,2: 70:[23, 38, 63] Operation: 97-34=63 Exploring Operation: 34-23=11, Resulting Numbers: [97, 38, 11] Generated Node #0,3: 70:[97, 38, 11] Operation: 34-23=11 Exploring Operation: 97-38=59, Resulting Numbers: [34, 23, 59] Generated Node #0,4: 70:[34, 23, 59] Operation: 97-38=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[34, 38, 74], Operations: ['97-23=74'] Exploring Operation: 34+74=108, Resulting Numbers: [38, 108] Generated Node #0,1,0: 70:[38, 108] Operation: 34+74=108 Exploring Operation: 74-38=36, Resulting Numbers: [34, 36] Generated Node #0,1,1: 70:[34, 36] Operation: 74-38=36 Exploring Operation: 34+38=72, Resulting Numbers: [74, 72] Generated Node #0,1,2: 70:[74, 72] Operation: 34+38=72 Exploring Operation: 38-34=4, Resulting Numbers: [74, 4] Generated Node #0,1,3: 70:[74, 4] Operation: 38-34=4 Exploring Operation: 74-34=40, Resulting Numbers: [38, 40] Generated Node #0,1,4: 70:[38, 40] Operation: 74-34=40 Moving to Node #0,1,1 Current State: 70:[34, 36], Operations: ['97-23=74', '74-38=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[34, 23, 97, 38], Operations: [] Exploring Operation: 97-23=74, Resulting Numbers: [34, 38, 74] Generated Node #0,1: 70:[34, 38, 74] Operation: 97-23=74 Moving to Node #0,1 Current State: 70:[34, 38, 74], Operations: ['97-23=74'] Exploring Operation: 74-38=36, Resulting Numbers: [34, 36] Generated Node #0,1,1: 70:[34, 36] Operation: 74-38=36 Moving to Node #0,1,1 Current State: 70:[34, 36], Operations: ['97-23=74', '74-38=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 29, 90, 27, 44 ]
92
[ "29-27=2", "90-44=46", "2*46=92" ]
Current State: 92:[29, 90, 27, 44], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [90, 44, 2] Generated Node #2: [90, 44, 2] from Operation: 29-27=2 Current State: 92:[90, 44, 2], Operations: ['29-27=2'] Exploring Operation: 90-44=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 90-44=46 Current State: 92:[2, 46], Operations: ['29-27=2', '90-44=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[29, 90, 27, 44], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [29, 27, 46] Generated Node #0,0: 92:[29, 27, 46] Operation: 90-44=46 Exploring Operation: 29-27=2, Resulting Numbers: [90, 44, 2] Generated Node #0,1: 92:[90, 44, 2] Operation: 29-27=2 Exploring Operation: 29+27=56, Resulting Numbers: [90, 44, 56] Generated Node #0,2: 92:[90, 44, 56] Operation: 29+27=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[90, 44, 2], Operations: ['29-27=2'] Exploring Operation: 90-44=46, Resulting Numbers: [2, 46] Generated Node #0,1,0: 92:[2, 46] Operation: 90-44=46 Exploring Operation: 44+2=46, Resulting Numbers: [90, 46] Generated Node #0,1,1: 92:[90, 46] Operation: 44+2=46 Exploring Operation: 90+2=92, Resulting Numbers: [44, 92] Generated Node #0,1,2: 92:[44, 92] Operation: 90+2=92 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[2, 46], Operations: ['29-27=2', '90-44=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[29, 90, 27, 44], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [90, 44, 2] Generated Node #0,1: 92:[90, 44, 2] Operation: 29-27=2 Moving to Node #0,1 Current State: 92:[90, 44, 2], Operations: ['29-27=2'] Exploring Operation: 90-44=46, Resulting Numbers: [2, 46] Generated Node #0,1,0: 92:[2, 46] Operation: 90-44=46 Moving to Node #0,1,0 Current State: 92:[2, 46], Operations: ['29-27=2', '90-44=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 51, 54, 5, 32 ]
91
[ "54-51=3", "32*3=96", "96-5=91" ]
Current State: 91:[51, 54, 5, 32], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [5, 32, 3] Generated Node #2: [5, 32, 3] from Operation: 54-51=3 Current State: 91:[5, 32, 3], Operations: ['54-51=3'] Exploring Operation: 32*3=96, Resulting Numbers: [5, 96] Generated Node #3: [5, 96] from Operation: 32*3=96 Current State: 91:[5, 96], Operations: ['54-51=3', '32*3=96'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[51, 54, 5, 32], Operations: [] Exploring Operation: 51+54=105, Resulting Numbers: [5, 32, 105] Generated Node #0,0: 91:[5, 32, 105] Operation: 51+54=105 Exploring Operation: 54-51=3, Resulting Numbers: [5, 32, 3] Generated Node #0,1: 91:[5, 32, 3] Operation: 54-51=3 Exploring Operation: 51-32=19, Resulting Numbers: [54, 5, 19] Generated Node #0,2: 91:[54, 5, 19] Operation: 51-32=19 Moving to Node #0,1 Current State: 91:[5, 32, 3], Operations: ['54-51=3'] Exploring Operation: 32-3=29, Resulting Numbers: [5, 29] Generated Node #0,1,0: 91:[5, 29] Operation: 32-3=29 Exploring Operation: 32-5=27, Resulting Numbers: [3, 27] Generated Node #0,1,1: 91:[3, 27] Operation: 32-5=27 Exploring Operation: 32*3=96, Resulting Numbers: [5, 96] Generated Node #0,1,2: 91:[5, 96] Operation: 32*3=96 Moving to Node #0,0 Current State: 91:[5, 32, 105], Operations: ['51+54=105'] Exploring Operation: 105/5=21, Resulting Numbers: [32, 21] Generated Node #0,0,0: 91:[32, 21] Operation: 105/5=21 Exploring Operation: 105-32=73, Resulting Numbers: [5, 73] Generated Node #0,0,1: 91:[5, 73] Operation: 105-32=73 Exploring Operation: 32-5=27, Resulting Numbers: [105, 27] Generated Node #0,0,2: 91:[105, 27] Operation: 32-5=27 Moving to Node #0,2 Current State: 91:[54, 5, 19], Operations: ['51-32=19'] Exploring Operation: 54+5=59, Resulting Numbers: [19, 59] Generated Node #0,2,0: 91:[19, 59] Operation: 54+5=59 Exploring Operation: 54+19=73, Resulting Numbers: [5, 73] Generated Node #0,2,1: 91:[5, 73] Operation: 54+19=73 Exploring Operation: 54-19=35, Resulting Numbers: [5, 35] Generated Node #0,2,2: 91:[5, 35] Operation: 54-19=35 Moving to Node #0,1,2 Current State: 91:[5, 96], Operations: ['54-51=3', '32*3=96'] Exploring Operation: 5+96=101, Resulting Numbers: [101] 101,91 unequal: No Solution Exploring Operation: 5*96=480, Resulting Numbers: [480] 480,91 unequal: No Solution Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[51, 54, 5, 32], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [5, 32, 3] Generated Node #0,1: 91:[5, 32, 3] Operation: 54-51=3 Moving to Node #0,1 Current State: 91:[5, 32, 3], Operations: ['54-51=3'] Exploring Operation: 32*3=96, Resulting Numbers: [5, 96] Generated Node #0,1,2: 91:[5, 96] Operation: 32*3=96 Moving to Node #0,1,2 Current State: 91:[5, 96], Operations: ['54-51=3', '32*3=96'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 47, 52, 54, 37 ]
86
[ "52-47=5", "54+37=91", "91-5=86" ]
Current State: 86:[47, 52, 54, 37], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [54, 37, 5] Generated Node #2: [54, 37, 5] from Operation: 52-47=5 Current State: 86:[54, 37, 5], Operations: ['52-47=5'] Exploring Operation: 54+37=91, Resulting Numbers: [5, 91] Generated Node #3: [5, 91] from Operation: 54+37=91 Current State: 86:[5, 91], Operations: ['52-47=5', '54+37=91'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[47, 52, 54, 37], Operations: [] Exploring Operation: 52+37=89, Resulting Numbers: [47, 54, 89] Generated Node #0,0: 86:[47, 54, 89] Operation: 52+37=89 Exploring Operation: 54-52=2, Resulting Numbers: [47, 37, 2] Generated Node #0,1: 86:[47, 37, 2] Operation: 54-52=2 Moving to Node #0,1 Current State: 86:[47, 37, 2], Operations: ['54-52=2'] Exploring Operation: 47+37=84, Resulting Numbers: [2, 84] Generated Node #0,1,0: 86:[2, 84] Operation: 47+37=84 Exploring Operation: 47-37=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 86:[2, 10] Operation: 47-37=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[2, 84], Operations: ['54-52=2', '47+37=84'] Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[47, 52, 54, 37], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [47, 37, 2] Generated Node #0,1: 86:[47, 37, 2] Operation: 54-52=2 Moving to Node #0,1 Current State: 86:[47, 37, 2], Operations: ['54-52=2'] Exploring Operation: 47+37=84, Resulting Numbers: [2, 84] Generated Node #0,1,0: 86:[2, 84] Operation: 47+37=84 Moving to Node #0,1,0 Current State: 86:[2, 84], Operations: ['54-52=2', '47+37=84'] Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 20, 75, 88, 58 ]
51
[ "20+75=95", "88+58=146", "146-95=51" ]
Current State: 51:[20, 75, 88, 58], Operations: [] Exploring Operation: 20+75=95, Resulting Numbers: [88, 58, 95] Generated Node #2: [88, 58, 95] from Operation: 20+75=95 Current State: 51:[88, 58, 95], Operations: ['20+75=95'] Exploring Operation: 88+58=146, Resulting Numbers: [95, 146] Generated Node #3: [95, 146] from Operation: 88+58=146 Current State: 51:[95, 146], Operations: ['20+75=95', '88+58=146'] Exploring Operation: 146-95=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[20, 75, 88, 58], Operations: [] Exploring Operation: 75-58=17, Resulting Numbers: [20, 88, 17] Generated Node #0,0: 51:[20, 88, 17] Operation: 75-58=17 Exploring Operation: 88-75=13, Resulting Numbers: [20, 58, 13] Generated Node #0,1: 51:[20, 58, 13] Operation: 88-75=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[20, 58, 13], Operations: ['88-75=13'] Exploring Operation: 20-13=7, Resulting Numbers: [58, 7] Generated Node #0,1,0: 51:[58, 7] Operation: 20-13=7 Exploring Operation: 58-13=45, Resulting Numbers: [20, 45] Generated Node #0,1,1: 51:[20, 45] Operation: 58-13=45 Moving to Node #0,1,1 Current State: 51:[20, 45], Operations: ['88-75=13', '58-13=45'] Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 20+45=65, Resulting Numbers: [65] 65,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[58, 7], Operations: ['88-75=13', '20-13=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,51 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[20, 75, 88, 58], Operations: [] Exploring Operation: 88-75=13, Resulting Numbers: [20, 58, 13] Generated Node #0,1: 51:[20, 58, 13] Operation: 88-75=13 Moving to Node #0,1 Current State: 51:[20, 58, 13], Operations: ['88-75=13'] Exploring Operation: 20-13=7, Resulting Numbers: [58, 7] Generated Node #0,1,0: 51:[58, 7] Operation: 20-13=7 Moving to Node #0,1,0 Current State: 51:[58, 7], Operations: ['88-75=13', '20-13=7'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 78, 92, 4, 47 ]
65
[ "92-78=14", "4+47=51", "14+51=65" ]
Current State: 65:[78, 92, 4, 47], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [4, 47, 14] Generated Node #2: [4, 47, 14] from Operation: 92-78=14 Current State: 65:[4, 47, 14], Operations: ['92-78=14'] Exploring Operation: 4+47=51, Resulting Numbers: [14, 51] Generated Node #3: [14, 51] from Operation: 4+47=51 Current State: 65:[14, 51], Operations: ['92-78=14', '4+47=51'] Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[78, 92, 4, 47], Operations: [] Exploring Operation: 92-47=45, Resulting Numbers: [78, 4, 45] Generated Node #0,0: 65:[78, 4, 45] Operation: 92-47=45 Exploring Operation: 78-4=74, Resulting Numbers: [92, 47, 74] Generated Node #0,1: 65:[92, 47, 74] Operation: 78-4=74 Exploring Operation: 92-78=14, Resulting Numbers: [4, 47, 14] Generated Node #0,2: 65:[4, 47, 14] Operation: 92-78=14 Exploring Operation: 78-47=31, Resulting Numbers: [92, 4, 31] Generated Node #0,3: 65:[92, 4, 31] Operation: 78-47=31 Exploring Operation: 92/4=23, Resulting Numbers: [78, 47, 23] Generated Node #0,4: 65:[78, 47, 23] Operation: 92/4=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[4, 47, 14], Operations: ['92-78=14'] Exploring Operation: 14-4=10, Resulting Numbers: [47, 10] Generated Node #0,2,0: 65:[47, 10] Operation: 14-4=10 Exploring Operation: 47-14=33, Resulting Numbers: [4, 33] Generated Node #0,2,1: 65:[4, 33] Operation: 47-14=33 Exploring Operation: 4+47=51, Resulting Numbers: [14, 51] Generated Node #0,2,2: 65:[14, 51] Operation: 4+47=51 Exploring Operation: 47-4=43, Resulting Numbers: [14, 43] Generated Node #0,2,3: 65:[14, 43] Operation: 47-4=43 Exploring Operation: 47+14=61, Resulting Numbers: [4, 61] Generated Node #0,2,4: 65:[4, 61] Operation: 47+14=61 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 65:[4, 61], Operations: ['92-78=14', '47+14=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[78, 92, 4, 47], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [4, 47, 14] Generated Node #0,2: 65:[4, 47, 14] Operation: 92-78=14 Moving to Node #0,2 Current State: 65:[4, 47, 14], Operations: ['92-78=14'] Exploring Operation: 47+14=61, Resulting Numbers: [4, 61] Generated Node #0,2,4: 65:[4, 61] Operation: 47+14=61 Moving to Node #0,2,4 Current State: 65:[4, 61], Operations: ['92-78=14', '47+14=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 78, 5, 58, 45 ]
70
[ "78+5=83", "58-45=13", "83-13=70" ]
Current State: 70:[78, 5, 58, 45], Operations: [] Exploring Operation: 78+5=83, Resulting Numbers: [58, 45, 83] Generated Node #2: [58, 45, 83] from Operation: 78+5=83 Current State: 70:[58, 45, 83], Operations: ['78+5=83'] Exploring Operation: 58-45=13, Resulting Numbers: [83, 13] Generated Node #3: [83, 13] from Operation: 58-45=13 Current State: 70:[83, 13], Operations: ['78+5=83', '58-45=13'] Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[78, 5, 58, 45], Operations: [] Exploring Operation: 58-45=13, Resulting Numbers: [78, 5, 13] Generated Node #0,0: 70:[78, 5, 13] Operation: 58-45=13 Exploring Operation: 78-45=33, Resulting Numbers: [5, 58, 33] Generated Node #0,1: 70:[5, 58, 33] Operation: 78-45=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[78, 5, 13], Operations: ['58-45=13'] Exploring Operation: 78/13=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 70:[5, 6] Operation: 78/13=6 Exploring Operation: 78-5=73, Resulting Numbers: [13, 73] Generated Node #0,0,1: 70:[13, 73] Operation: 78-5=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[5, 6], Operations: ['58-45=13', '78/13=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,70 unequal: No Solution No 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: 70:[13, 73], Operations: ['58-45=13', '78-5=73'] Exploring Operation: 13+73=86, Resulting Numbers: [86] 86,70 unequal: No Solution Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,70 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: 70:[5, 58, 33], Operations: ['78-45=33'] Exploring Operation: 5+58=63, Resulting Numbers: [33, 63] Generated Node #0,1,0: 70:[33, 63] Operation: 5+58=63 Exploring Operation: 58-33=25, Resulting Numbers: [5, 25] Generated Node #0,1,1: 70:[5, 25] Operation: 58-33=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[33, 63], Operations: ['78-45=33', '5+58=63'] Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 33+63=96, Resulting Numbers: [96] 96,70 unequal: No Solution No 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: 70:[5, 25], Operations: ['78-45=33', '58-33=25'] Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,70 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
[ 8, 75, 29, 10 ]
64
[ "8+75=83", "29-10=19", "83-19=64" ]
Current State: 64:[8, 75, 29, 10], Operations: [] Exploring Operation: 8+75=83, Resulting Numbers: [29, 10, 83] Generated Node #2: [29, 10, 83] from Operation: 8+75=83 Current State: 64:[29, 10, 83], Operations: ['8+75=83'] Exploring Operation: 29-10=19, Resulting Numbers: [83, 19] Generated Node #3: [83, 19] from Operation: 29-10=19 Current State: 64:[83, 19], Operations: ['8+75=83', '29-10=19'] Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[8, 75, 29, 10], Operations: [] Exploring Operation: 29-10=19, Resulting Numbers: [8, 75, 19] Generated Node #0,0: 64:[8, 75, 19] Operation: 29-10=19 Exploring Operation: 75-10=65, Resulting Numbers: [8, 29, 65] Generated Node #0,1: 64:[8, 29, 65] Operation: 75-10=65 Exploring Operation: 10-8=2, Resulting Numbers: [75, 29, 2] Generated Node #0,2: 64:[75, 29, 2] Operation: 10-8=2 Exploring Operation: 75-8=67, Resulting Numbers: [29, 10, 67] Generated Node #0,3: 64:[29, 10, 67] Operation: 75-8=67 Exploring Operation: 8+10=18, Resulting Numbers: [75, 29, 18] Generated Node #0,4: 64:[75, 29, 18] Operation: 8+10=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[8, 29, 65], Operations: ['75-10=65'] Exploring Operation: 65-29=36, Resulting Numbers: [8, 36] Generated Node #0,1,0: 64:[8, 36] Operation: 65-29=36 Exploring Operation: 29-8=21, Resulting Numbers: [65, 21] Generated Node #0,1,1: 64:[65, 21] Operation: 29-8=21 Exploring Operation: 8+65=73, Resulting Numbers: [29, 73] Generated Node #0,1,2: 64:[29, 73] Operation: 8+65=73 Exploring Operation: 8+29=37, Resulting Numbers: [65, 37] Generated Node #0,1,3: 64:[65, 37] Operation: 8+29=37 Exploring Operation: 65-8=57, Resulting Numbers: [29, 57] Generated Node #0,1,4: 64:[29, 57] Operation: 65-8=57 Moving to Node #0,1,0 Current State: 64:[8, 36], Operations: ['75-10=65', '65-29=36'] Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,64 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[65, 37], Operations: ['75-10=65', '8+29=37'] Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 65*37=2405, Resulting Numbers: [2405] 2405,64 unequal: No Solution Exploring Operation: 65+37=102, Resulting Numbers: [102] 102,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[65, 21], Operations: ['75-10=65', '29-8=21'] Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,64 unequal: No Solution Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[29, 57], Operations: ['75-10=65', '65-8=57'] Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 29*57=1653, Resulting Numbers: [1653] 1653,64 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[29, 73], Operations: ['75-10=65', '8+65=73'] Exploring Operation: 29*73=2117, Resulting Numbers: [2117] 2117,64 unequal: No Solution Exploring Operation: 29+73=102, Resulting Numbers: [102] 102,64 unequal: No Solution Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[29, 10, 67], Operations: ['75-8=67'] Exploring Operation: 67-29=38, Resulting Numbers: [10, 38] Generated Node #0,3,0: 64:[10, 38] Operation: 67-29=38 Exploring Operation: 29+10=39, Resulting Numbers: [67, 39] Generated Node #0,3,1: 64:[67, 39] Operation: 29+10=39 Exploring Operation: 29-10=19, Resulting Numbers: [67, 19] Generated Node #0,3,2: 64:[67, 19] Operation: 29-10=19 Exploring Operation: 67-10=57, Resulting Numbers: [29, 57] Generated Node #0,3,3: 64:[29, 57] Operation: 67-10=57 Exploring Operation: 10+67=77, Resulting Numbers: [29, 77] Generated Node #0,3,4: 64:[29, 77] Operation: 10+67=77 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 64:[67, 19], Operations: ['75-8=67', '29-10=19'] Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,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,3,0 Current State: 64:[10, 38], Operations: ['75-8=67', '67-29=38'] Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,64 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,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,3,1 Current State: 64:[67, 39], Operations: ['75-8=67', '29+10=39'] Exploring Operation: 67+39=106, Resulting Numbers: [106] 106,64 unequal: No Solution Exploring Operation: 67*39=2613, Resulting Numbers: [2613] 2613,64 unequal: No Solution Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,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,3,3 Current State: 64:[29, 57], Operations: ['75-8=67', '67-10=57'] Exploring Operation: 29*57=1653, Resulting Numbers: [1653] 1653,64 unequal: No Solution Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,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,3,4 Current State: 64:[29, 77], Operations: ['75-8=67', '10+67=77'] Exploring Operation: 29*77=2233, Resulting Numbers: [2233] 2233,64 unequal: No Solution Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 29+77=106, Resulting Numbers: [106] 106,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[8, 75, 19], Operations: ['29-10=19'] Exploring Operation: 8+75=83, Resulting Numbers: [19, 83] Generated Node #0,0,0: 64:[19, 83] Operation: 8+75=83 Exploring Operation: 8+19=27, Resulting Numbers: [75, 27] Generated Node #0,0,1: 64:[75, 27] Operation: 8+19=27 Exploring Operation: 75-8=67, Resulting Numbers: [19, 67] Generated Node #0,0,2: 64:[19, 67] Operation: 75-8=67 Exploring Operation: 75-19=56, Resulting Numbers: [8, 56] Generated Node #0,0,3: 64:[8, 56] Operation: 75-19=56 Exploring Operation: 19-8=11, Resulting Numbers: [75, 11] Generated Node #0,0,4: 64:[75, 11] Operation: 19-8=11 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[19, 67], Operations: ['29-10=19', '75-8=67'] Exploring Operation: 19+67=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 19*67=1273, Resulting Numbers: [1273] 1273,64 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 64:[8, 56], Operations: ['29-10=19', '75-19=56'] Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,64 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[8, 75, 29, 10], Operations: [] Exploring Operation: 29-10=19, Resulting Numbers: [8, 75, 19] Generated Node #0,0: 64:[8, 75, 19] Operation: 29-10=19 Moving to Node #0,0 Current State: 64:[8, 75, 19], Operations: ['29-10=19'] Exploring Operation: 75-19=56, Resulting Numbers: [8, 56] Generated Node #0,0,3: 64:[8, 56] Operation: 75-19=56 Moving to Node #0,0,3 Current State: 64:[8, 56], Operations: ['29-10=19', '75-19=56'] Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947049
hs_5
mult_heuristic
[ 50, 39, 2, 18 ]
47
[ "50-39=11", "2*18=36", "11+36=47" ]
Current State: 47:[50, 39, 2, 18], Operations: [] Exploring Operation: 50-39=11, Resulting Numbers: [2, 18, 11] Generated Node #2: [2, 18, 11] from Operation: 50-39=11 Current State: 47:[2, 18, 11], Operations: ['50-39=11'] Exploring Operation: 2*18=36, Resulting Numbers: [11, 36] Generated Node #3: [11, 36] from Operation: 2*18=36 Current State: 47:[11, 36], Operations: ['50-39=11', '2*18=36'] Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[50, 39, 2, 18], Operations: [] Exploring Operation: 2*18=36, Resulting Numbers: [50, 39, 36] Generated Node #0,0: 47:[50, 39, 36] Operation: 2*18=36 Moving to Node #0,0 Current State: 47:[50, 39, 36], Operations: ['2*18=36'] Exploring Operation: 39+36=75, Resulting Numbers: [50, 75] Generated Node #0,0,0: 47:[50, 75] Operation: 39+36=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[50, 75], Operations: ['2*18=36', '39+36=75'] Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,47 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
[ 71, 91, 27, 49 ]
86
[ "71+91=162", "27+49=76", "162-76=86" ]
Current State: 86:[71, 91, 27, 49], Operations: [] Exploring Operation: 71+91=162, Resulting Numbers: [27, 49, 162] Generated Node #2: [27, 49, 162] from Operation: 71+91=162 Current State: 86:[27, 49, 162], Operations: ['71+91=162'] Exploring Operation: 27+49=76, Resulting Numbers: [162, 76] Generated Node #3: [162, 76] from Operation: 27+49=76 Current State: 86:[162, 76], Operations: ['71+91=162', '27+49=76'] Exploring Operation: 162-76=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[71, 91, 27, 49], Operations: [] Exploring Operation: 71+27=98, Resulting Numbers: [91, 49, 98] Generated Node #0,0: 86:[91, 49, 98] Operation: 71+27=98 Exploring Operation: 71-27=44, Resulting Numbers: [91, 49, 44] Generated Node #0,1: 86:[91, 49, 44] Operation: 71-27=44 Moving to Node #0,1 Current State: 86:[91, 49, 44], Operations: ['71-27=44'] Exploring Operation: 49-44=5, Resulting Numbers: [91, 5] Generated Node #0,1,0: 86:[91, 5] Operation: 49-44=5 Exploring Operation: 91-49=42, Resulting Numbers: [44, 42] Generated Node #0,1,1: 86:[44, 42] Operation: 91-49=42 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[44, 42], Operations: ['71-27=44', '91-49=42'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[71, 91, 27, 49], Operations: [] Exploring Operation: 71-27=44, Resulting Numbers: [91, 49, 44] Generated Node #0,1: 86:[91, 49, 44] Operation: 71-27=44 Moving to Node #0,1 Current State: 86:[91, 49, 44], Operations: ['71-27=44'] Exploring Operation: 91-49=42, Resulting Numbers: [44, 42] Generated Node #0,1,1: 86:[44, 42] Operation: 91-49=42 Moving to Node #0,1,1 Current State: 86:[44, 42], Operations: ['71-27=44', '91-49=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 33, 19, 17, 18 ]
24
[ "19-17=2", "18/2=9", "33-9=24" ]
Current State: 24:[33, 19, 17, 18], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [33, 18, 2] Generated Node #2: [33, 18, 2] from Operation: 19-17=2 Current State: 24:[33, 18, 2], Operations: ['19-17=2'] Exploring Operation: 18/2=9, Resulting Numbers: [33, 9] Generated Node #3: [33, 9] from Operation: 18/2=9 Current State: 24:[33, 9], Operations: ['19-17=2', '18/2=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[33, 19, 17, 18], Operations: [] Exploring Operation: 33-18=15, Resulting Numbers: [19, 17, 15] Generated Node #0,0: 24:[19, 17, 15] Operation: 33-18=15 Exploring Operation: 33-19=14, Resulting Numbers: [17, 18, 14] Generated Node #0,1: 24:[17, 18, 14] Operation: 33-19=14 Exploring Operation: 33-17=16, Resulting Numbers: [19, 18, 16] Generated Node #0,2: 24:[19, 18, 16] Operation: 33-17=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[19, 17, 15], Operations: ['33-18=15'] Exploring Operation: 19-17=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 24:[15, 2] Operation: 19-17=2 Exploring Operation: 19-15=4, Resulting Numbers: [17, 4] Generated Node #0,0,1: 24:[17, 4] Operation: 19-15=4 Exploring Operation: 17-15=2, Resulting Numbers: [19, 2] Generated Node #0,0,2: 24:[19, 2] Operation: 17-15=2 Moving to Node #0,0,0 Current State: 24:[15, 2], Operations: ['33-18=15', '19-17=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[17, 4], Operations: ['33-18=15', '19-15=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,24 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[19, 2], Operations: ['33-18=15', '17-15=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,24 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,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 Current State: 24:[17, 18, 14], Operations: ['33-19=14'] Exploring Operation: 18-17=1, Resulting Numbers: [14, 1] Generated Node #0,1,0: 24:[14, 1] Operation: 18-17=1 Exploring Operation: 17-14=3, Resulting Numbers: [18, 3] Generated Node #0,1,1: 24:[18, 3] Operation: 17-14=3 Exploring Operation: 18-14=4, Resulting Numbers: [17, 4] Generated Node #0,1,2: 24:[17, 4] Operation: 18-14=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 24:[14, 1], Operations: ['33-19=14', '18-17=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,24 unequal: No Solution No 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: 24:[17, 4], Operations: ['33-19=14', '18-14=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,24 unequal: No Solution No 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: 24:[18, 3], Operations: ['33-19=14', '17-14=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,24 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: 24:[19, 18, 16], Operations: ['33-17=16'] Exploring Operation: 19-18=1, Resulting Numbers: [16, 1] Generated Node #0,2,0: 24:[16, 1] Operation: 19-18=1 Exploring Operation: 18-16=2, Resulting Numbers: [19, 2] Generated Node #0,2,1: 24:[19, 2] Operation: 18-16=2 Exploring Operation: 19-16=3, Resulting Numbers: [18, 3] Generated Node #0,2,2: 24:[18, 3] Operation: 19-16=3 Moving to Node #0,2,0 Current State: 24:[16, 1], Operations: ['33-17=16', '19-18=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[19, 2], Operations: ['33-17=16', '18-16=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,24 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[18, 3], Operations: ['33-17=16', '19-16=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,24 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
[ 77, 25, 75, 2 ]
26
[ "77-75=2", "2/2=1", "25+1=26" ]
Current State: 26:[77, 25, 75, 2], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [25, 2, 2] Generated Node #2: [25, 2, 2] from Operation: 77-75=2 Current State: 26:[25, 2, 2], Operations: ['77-75=2'] Exploring Operation: 2/2=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 2/2=1 Current State: 26:[25, 1], Operations: ['77-75=2', '2/2=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[77, 25, 75, 2], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [25, 2, 2] Generated Node #0,0: 26:[25, 2, 2] Operation: 77-75=2 Exploring Operation: 75/25=3, Resulting Numbers: [77, 2, 3] Generated Node #0,1: 26:[77, 2, 3] Operation: 75/25=3 Exploring Operation: 77-25=52, Resulting Numbers: [75, 2, 52] Generated Node #0,2: 26:[75, 2, 52] Operation: 77-25=52 Moving to Node #0,0 Current State: 26:[25, 2, 2], Operations: ['77-75=2'] Exploring Operation: 25+2=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 26:[2, 27] Operation: 25+2=27 Exploring Operation: 2/2=1, Resulting Numbers: [25, 1] Generated Node #0,0,1: 26:[25, 1] Operation: 2/2=1 Exploring Operation: 25+2=27, Resulting Numbers: [2, 27] Generated Node #0,0,2: 26:[2, 27] Operation: 25+2=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[2, 27], Operations: ['77-75=2', '25+2=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,26 unequal: No Solution No 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: 26:[2, 27], Operations: ['77-75=2', '25+2=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,26 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,26 unequal: No Solution No 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: 26:[25, 1], Operations: ['77-75=2', '2/2=1'] Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[77, 25, 75, 2], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [25, 2, 2] Generated Node #0,0: 26:[25, 2, 2] Operation: 77-75=2 Moving to Node #0,0 Current State: 26:[25, 2, 2], Operations: ['77-75=2'] Exploring Operation: 2/2=1, Resulting Numbers: [25, 1] Generated Node #0,0,1: 26:[25, 1] Operation: 2/2=1 Moving to Node #0,0,1 Current State: 26:[25, 1], Operations: ['77-75=2', '2/2=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 90, 30, 22, 86 ]
12
[ "90+30=120", "22+86=108", "120-108=12" ]
Current State: 12:[90, 30, 22, 86], Operations: [] Exploring Operation: 90+30=120, Resulting Numbers: [22, 86, 120] Generated Node #2: [22, 86, 120] from Operation: 90+30=120 Current State: 12:[22, 86, 120], Operations: ['90+30=120'] Exploring Operation: 22+86=108, Resulting Numbers: [120, 108] Generated Node #3: [120, 108] from Operation: 22+86=108 Current State: 12:[120, 108], Operations: ['90+30=120', '22+86=108'] Exploring Operation: 120-108=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[90, 30, 22, 86], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [30, 22, 4] Generated Node #0,0: 12:[30, 22, 4] Operation: 90-86=4 Exploring Operation: 90/30=3, Resulting Numbers: [22, 86, 3] Generated Node #0,1: 12:[22, 86, 3] Operation: 90/30=3 Moving to Node #0,0 Current State: 12:[30, 22, 4], Operations: ['90-86=4'] Exploring Operation: 30-22=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 12:[4, 8] Operation: 30-22=8 Exploring Operation: 30-4=26, Resulting Numbers: [22, 26] Generated Node #0,0,1: 12:[22, 26] Operation: 30-4=26 Moving to Node #0,1 Current State: 12:[22, 86, 3], Operations: ['90/30=3'] Exploring Operation: 22-3=19, Resulting Numbers: [86, 19] Generated Node #0,1,0: 12:[86, 19] Operation: 22-3=19 Exploring Operation: 86-22=64, Resulting Numbers: [3, 64] Generated Node #0,1,1: 12:[3, 64] Operation: 86-22=64 Moving to Node #0,0,0 Current State: 12:[4, 8], Operations: ['90-86=4', '30-22=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[90, 30, 22, 86], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [30, 22, 4] Generated Node #0,0: 12:[30, 22, 4] Operation: 90-86=4 Moving to Node #0,0 Current State: 12:[30, 22, 4], Operations: ['90-86=4'] Exploring Operation: 30-22=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 12:[4, 8] Operation: 30-22=8 Moving to Node #0,0,0 Current State: 12:[4, 8], Operations: ['90-86=4', '30-22=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 28, 98, 13, 33 ]
90
[ "98-28=70", "33-13=20", "70+20=90" ]
Current State: 90:[28, 98, 13, 33], Operations: [] Exploring Operation: 98-28=70, Resulting Numbers: [13, 33, 70] Generated Node #2: [13, 33, 70] from Operation: 98-28=70 Current State: 90:[13, 33, 70], Operations: ['98-28=70'] Exploring Operation: 33-13=20, Resulting Numbers: [70, 20] Generated Node #3: [70, 20] from Operation: 33-13=20 Current State: 90:[70, 20], Operations: ['98-28=70', '33-13=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[28, 98, 13, 33], Operations: [] Exploring Operation: 28-13=15, Resulting Numbers: [98, 33, 15] Generated Node #0,0: 90:[98, 33, 15] Operation: 28-13=15 Exploring Operation: 33-28=5, Resulting Numbers: [98, 13, 5] Generated Node #0,1: 90:[98, 13, 5] Operation: 33-28=5 Exploring Operation: 13+33=46, Resulting Numbers: [28, 98, 46] Generated Node #0,2: 90:[28, 98, 46] Operation: 13+33=46 Exploring Operation: 98-13=85, Resulting Numbers: [28, 33, 85] Generated Node #0,3: 90:[28, 33, 85] Operation: 98-13=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[98, 13, 5], Operations: ['33-28=5'] Exploring Operation: 13-5=8, Resulting Numbers: [98, 8] Generated Node #0,1,0: 90:[98, 8] Operation: 13-5=8 Exploring Operation: 13+5=18, Resulting Numbers: [98, 18] Generated Node #0,1,1: 90:[98, 18] Operation: 13+5=18 Exploring Operation: 98-5=93, Resulting Numbers: [13, 93] Generated Node #0,1,2: 90:[13, 93] Operation: 98-5=93 Exploring Operation: 98-13=85, Resulting Numbers: [5, 85] Generated Node #0,1,3: 90:[5, 85] Operation: 98-13=85 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 90:[13, 93], Operations: ['33-28=5', '98-5=93'] Exploring Operation: 93-13=80, Resulting Numbers: [80] 80,90 unequal: No Solution Exploring Operation: 13*93=1209, Resulting Numbers: [1209] 1209,90 unequal: No Solution Exploring Operation: 13+93=106, Resulting Numbers: [106] 106,90 unequal: No Solution No 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: 90:[5, 85], Operations: ['33-28=5', '98-13=85'] Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[28, 98, 13, 33], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [98, 13, 5] Generated Node #0,1: 90:[98, 13, 5] Operation: 33-28=5 Moving to Node #0,1 Current State: 90:[98, 13, 5], Operations: ['33-28=5'] Exploring Operation: 98-13=85, Resulting Numbers: [5, 85] Generated Node #0,1,3: 90:[5, 85] Operation: 98-13=85 Moving to Node #0,1,3 Current State: 90:[5, 85], Operations: ['33-28=5', '98-13=85'] Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 1, 34, 76, 67 ]
78
[ "1+67=68", "68/34=2", "76+2=78" ]
Current State: 78:[1, 34, 76, 67], Operations: [] Exploring Operation: 1+67=68, Resulting Numbers: [34, 76, 68] Generated Node #2: [34, 76, 68] from Operation: 1+67=68 Current State: 78:[34, 76, 68], Operations: ['1+67=68'] Exploring Operation: 68/34=2, Resulting Numbers: [76, 2] Generated Node #3: [76, 2] from Operation: 68/34=2 Current State: 78:[76, 2], Operations: ['1+67=68', '68/34=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[1, 34, 76, 67], Operations: [] Exploring Operation: 67-34=33, Resulting Numbers: [1, 76, 33] Generated Node #0,0: 78:[1, 76, 33] Operation: 67-34=33 Moving to Node #0,0 Current State: 78:[1, 76, 33], Operations: ['67-34=33'] Exploring Operation: 76-33=43, Resulting Numbers: [1, 43] Generated Node #0,0,0: 78:[1, 43] Operation: 76-33=43 Moving to Node #0,0,0 Current State: 78:[1, 43], Operations: ['67-34=33', '76-33=43'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,78 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 7, 60, 28, 11 ]
84
[ "7+60=67", "28-11=17", "67+17=84" ]
Current State: 84:[7, 60, 28, 11], Operations: [] Exploring Operation: 7+60=67, Resulting Numbers: [28, 11, 67] Generated Node #2: [28, 11, 67] from Operation: 7+60=67 Current State: 84:[28, 11, 67], Operations: ['7+60=67'] Exploring Operation: 28-11=17, Resulting Numbers: [67, 17] Generated Node #3: [67, 17] from Operation: 28-11=17 Current State: 84:[67, 17], Operations: ['7+60=67', '28-11=17'] Exploring Operation: 67+17=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[7, 60, 28, 11], Operations: [] Exploring Operation: 60+28=88, Resulting Numbers: [7, 11, 88] Generated Node #0,0: 84:[7, 11, 88] Operation: 60+28=88 Exploring Operation: 60-28=32, Resulting Numbers: [7, 11, 32] Generated Node #0,1: 84:[7, 11, 32] Operation: 60-28=32 Exploring Operation: 60-7=53, Resulting Numbers: [28, 11, 53] Generated Node #0,2: 84:[28, 11, 53] Operation: 60-7=53 Exploring Operation: 60-11=49, Resulting Numbers: [7, 28, 49] Generated Node #0,3: 84:[7, 28, 49] Operation: 60-11=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[7, 11, 88], Operations: ['60+28=88'] Exploring Operation: 88/11=8, Resulting Numbers: [7, 8] Generated Node #0,0,0: 84:[7, 8] Operation: 88/11=8 Exploring Operation: 88-7=81, Resulting Numbers: [11, 81] Generated Node #0,0,1: 84:[11, 81] Operation: 88-7=81 Exploring Operation: 11-7=4, Resulting Numbers: [88, 4] Generated Node #0,0,2: 84:[88, 4] Operation: 11-7=4 Exploring Operation: 7+11=18, Resulting Numbers: [88, 18] Generated Node #0,0,3: 84:[88, 18] Operation: 7+11=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[7, 8], Operations: ['60+28=88', '88/11=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,84 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,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,1 Current State: 84:[11, 81], Operations: ['60+28=88', '88-7=81'] Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,84 unequal: No Solution Exploring Operation: 11*81=891, Resulting Numbers: [891] 891,84 unequal: No Solution Exploring Operation: 11+81=92, Resulting Numbers: [92] 92,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,2 Current State: 84:[88, 4], Operations: ['60+28=88', '11-7=4'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[7, 60, 28, 11], Operations: [] Exploring Operation: 60+28=88, Resulting Numbers: [7, 11, 88] Generated Node #0,0: 84:[7, 11, 88] Operation: 60+28=88 Moving to Node #0,0 Current State: 84:[7, 11, 88], Operations: ['60+28=88'] Exploring Operation: 11-7=4, Resulting Numbers: [88, 4] Generated Node #0,0,2: 84:[88, 4] Operation: 11-7=4 Moving to Node #0,0,2 Current State: 84:[88, 4], Operations: ['60+28=88', '11-7=4'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 6, 90, 61, 56 ]
20
[ "90/6=15", "61-56=5", "15+5=20" ]
Current State: 20:[6, 90, 61, 56], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [61, 56, 15] Generated Node #2: [61, 56, 15] from Operation: 90/6=15 Current State: 20:[61, 56, 15], Operations: ['90/6=15'] Exploring Operation: 61-56=5, Resulting Numbers: [15, 5] Generated Node #3: [15, 5] from Operation: 61-56=5 Current State: 20:[15, 5], Operations: ['90/6=15', '61-56=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[6, 90, 61, 56], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [6, 90, 5] Generated Node #0,0: 20:[6, 90, 5] Operation: 61-56=5 Exploring Operation: 90-61=29, Resulting Numbers: [6, 56, 29] Generated Node #0,1: 20:[6, 56, 29] Operation: 90-61=29 Exploring Operation: 90-56=34, Resulting Numbers: [6, 61, 34] Generated Node #0,2: 20:[6, 61, 34] Operation: 90-56=34 Exploring Operation: 90/6=15, Resulting Numbers: [61, 56, 15] Generated Node #0,3: 20:[61, 56, 15] Operation: 90/6=15 Moving to Node #0,1 Current State: 20:[6, 56, 29], Operations: ['90-61=29'] Exploring Operation: 56-6=50, Resulting Numbers: [29, 50] Generated Node #0,1,0: 20:[29, 50] Operation: 56-6=50 Exploring Operation: 29-6=23, Resulting Numbers: [56, 23] Generated Node #0,1,1: 20:[56, 23] Operation: 29-6=23 Exploring Operation: 6+56=62, Resulting Numbers: [29, 62] Generated Node #0,1,2: 20:[29, 62] Operation: 6+56=62 Exploring Operation: 56-29=27, Resulting Numbers: [6, 27] Generated Node #0,1,3: 20:[6, 27] Operation: 56-29=27 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 20:[6, 27], Operations: ['90-61=29', '56-29=27'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[29, 50], Operations: ['90-61=29', '56-6=50'] Exploring Operation: 29+50=79, Resulting Numbers: [79] 79,20 unequal: No Solution Exploring Operation: 29*50=1450, Resulting Numbers: [1450] 1450,20 unequal: No Solution Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[56, 23], Operations: ['90-61=29', '29-6=23'] Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,20 unequal: No Solution Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,20 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[29, 62], Operations: ['90-61=29', '6+56=62'] Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 29*62=1798, Resulting Numbers: [1798] 1798,20 unequal: No Solution Exploring Operation: 29+62=91, Resulting Numbers: [91] 91,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 20:[6, 61, 34], Operations: ['90-56=34'] Exploring Operation: 61-6=55, Resulting Numbers: [34, 55] Generated Node #0,2,0: 20:[34, 55] Operation: 61-6=55 Exploring Operation: 34-6=28, Resulting Numbers: [61, 28] Generated Node #0,2,1: 20:[61, 28] Operation: 34-6=28 Exploring Operation: 6+61=67, Resulting Numbers: [34, 67] Generated Node #0,2,2: 20:[34, 67] Operation: 6+61=67 Exploring Operation: 61-34=27, Resulting Numbers: [6, 27] Generated Node #0,2,3: 20:[6, 27] Operation: 61-34=27 Moving to Node #0,0 Current State: 20:[6, 90, 5], Operations: ['61-56=5'] Exploring Operation: 90-6=84, Resulting Numbers: [5, 84] Generated Node #0,0,0: 20:[5, 84] Operation: 90-6=84 Exploring Operation: 90/5=18, Resulting Numbers: [6, 18] Generated Node #0,0,1: 20:[6, 18] Operation: 90/5=18 Exploring Operation: 90/6=15, Resulting Numbers: [5, 15] Generated Node #0,0,2: 20:[5, 15] Operation: 90/6=15 Exploring Operation: 90-5=85, Resulting Numbers: [6, 85] Generated Node #0,0,3: 20:[6, 85] Operation: 90-5=85 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[6, 18], Operations: ['61-56=5', '90/5=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[5, 15], Operations: ['61-56=5', '90/6=15'] Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[6, 90, 61, 56], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [6, 90, 5] Generated Node #0,0: 20:[6, 90, 5] Operation: 61-56=5 Moving to Node #0,0 Current State: 20:[6, 90, 5], Operations: ['61-56=5'] Exploring Operation: 90/6=15, Resulting Numbers: [5, 15] Generated Node #0,0,2: 20:[5, 15] Operation: 90/6=15 Moving to Node #0,0,2 Current State: 20:[5, 15], Operations: ['61-56=5', '90/6=15'] Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 42, 31, 46, 31 ]
93
[ "46-42=4", "31*4=124", "124-31=93" ]
Current State: 93:[42, 31, 46, 31], Operations: [] Exploring Operation: 46-42=4, Resulting Numbers: [31, 31, 4] Generated Node #2: [31, 31, 4] from Operation: 46-42=4 Current State: 93:[31, 31, 4], Operations: ['46-42=4'] Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,93 equal: Goal Reached Exploring Operation: 124-31=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[42, 31, 46, 31], Operations: [] Exploring Operation: 42+46=88, Resulting Numbers: [31, 31, 88] Generated Node #0,0: 93:[31, 31, 88] Operation: 42+46=88 Exploring Operation: 42-31=11, Resulting Numbers: [46, 31, 11] Generated Node #0,1: 93:[46, 31, 11] Operation: 42-31=11 Exploring Operation: 42-31=11, Resulting Numbers: [31, 46, 11] Generated Node #0,2: 93:[31, 46, 11] Operation: 42-31=11 Exploring Operation: 46-42=4, Resulting Numbers: [31, 31, 4] Generated Node #0,3: 93:[31, 31, 4] Operation: 46-42=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[31, 31, 4], Operations: ['46-42=4'] Exploring Operation: 31/31=1, Resulting Numbers: [4, 1] Generated Node #0,3,0: 93:[4, 1] Operation: 31/31=1 Exploring Operation: 31+4=35, Resulting Numbers: [31, 35] Generated Node #0,3,1: 93:[31, 35] Operation: 31+4=35 Exploring Operation: 31-31=0, Resulting Numbers: [4, 0] Generated Node #0,3,2: 93:[4, 0] Operation: 31-31=0 Exploring Operation: 31-4=27, Resulting Numbers: [31, 27] Generated Node #0,3,3: 93:[31, 27] Operation: 31-4=27 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[4, 1], Operations: ['46-42=4', '31/31=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,93 unequal: No Solution No 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: 93:[31, 35], Operations: ['46-42=4', '31+4=35'] Exploring Operation: 31+35=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 31*35=1085, Resulting Numbers: [1085] 1085,93 unequal: No Solution No 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: 93:[4, 0], Operations: ['46-42=4', '31-31=0'] Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,93 unequal: No Solution No 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: 93:[31, 27], Operations: ['46-42=4', '31-4=27'] Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 31*27=837, Resulting Numbers: [837] 837,93 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,93 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: 93:[31, 31, 88], Operations: ['42+46=88'] Exploring Operation: 31/31=1, Resulting Numbers: [88, 1] Generated Node #0,0,0: 93:[88, 1] Operation: 31/31=1 Exploring Operation: 31-31=0, Resulting Numbers: [88, 0] Generated Node #0,0,1: 93:[88, 0] Operation: 31-31=0 Exploring Operation: 88-31=57, Resulting Numbers: [31, 57] Generated Node #0,0,2: 93:[31, 57] Operation: 88-31=57 Exploring Operation: 31+88=119, Resulting Numbers: [31, 119] Generated Node #0,0,3: 93:[31, 119] Operation: 31+88=119 Moving to Node #0,0,0 Current State: 93:[88, 1], Operations: ['42+46=88', '31/31=1'] Exploring Operation: 88+1=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[88, 0], Operations: ['42+46=88', '31-31=0'] Exploring Operation: 88*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution Exploring Operation: 88-0=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 88+0=88, Resulting Numbers: [88] 88,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[31, 119], Operations: ['42+46=88', '31+88=119'] Exploring Operation: 119-31=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 31+119=150, Resulting Numbers: [150] 150,93 unequal: No Solution Exploring Operation: 31*119=3689, Resulting Numbers: [3689] 3689,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[31, 57], Operations: ['42+46=88', '88-31=57'] Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 31*57=1767, Resulting Numbers: [1767] 1767,93 unequal: No Solution Exploring Operation: 31+57=88, Resulting Numbers: [88] 88,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 Current State: 93:[46, 31, 11], Operations: ['42-31=11'] Exploring Operation: 46-11=35, Resulting Numbers: [31, 35] Generated Node #0,1,0: 93:[31, 35] Operation: 46-11=35 Exploring Operation: 46+11=57, Resulting Numbers: [31, 57] Generated Node #0,1,1: 93:[31, 57] Operation: 46+11=57 Exploring Operation: 46-31=15, Resulting Numbers: [11, 15] Generated Node #0,1,2: 93:[11, 15] Operation: 46-31=15 Exploring Operation: 46+31=77, Resulting Numbers: [11, 77] Generated Node #0,1,3: 93:[11, 77] Operation: 46+31=77 Moving to Node #0,1,0 Current State: 93:[31, 35], Operations: ['42-31=11', '46-11=35'] Exploring Operation: 31*35=1085, Resulting Numbers: [1085] 1085,93 unequal: No Solution Exploring Operation: 31+35=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[11, 15], Operations: ['42-31=11', '46-31=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,93 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[11, 77], Operations: ['42-31=11', '46+31=77'] Exploring Operation: 11*77=847, Resulting Numbers: [847] 847,93 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,93 unequal: No Solution Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[31, 57], Operations: ['42-31=11', '46+11=57'] Exploring Operation: 31*57=1767, Resulting Numbers: [1767] 1767,93 unequal: No Solution Exploring Operation: 31+57=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[31, 46, 11], Operations: ['42-31=11'] Exploring Operation: 46-31=15, Resulting Numbers: [11, 15] Generated Node #0,2,0: 93:[11, 15] Operation: 46-31=15 Exploring Operation: 31+11=42, Resulting Numbers: [46, 42] Generated Node #0,2,1: 93:[46, 42] Operation: 31+11=42 Exploring Operation: 46-11=35, Resulting Numbers: [31, 35] Generated Node #0,2,2: 93:[31, 35] Operation: 46-11=35 Exploring Operation: 31+46=77, Resulting Numbers: [11, 77] Generated Node #0,2,3: 93:[11, 77] Operation: 31+46=77 Moving to Node #0,2,2 Current State: 93:[31, 35], Operations: ['42-31=11', '46-11=35'] Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 31*35=1085, Resulting Numbers: [1085] 1085,93 unequal: No Solution Exploring Operation: 31+35=66, Resulting Numbers: [66] 66,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[11, 15], Operations: ['42-31=11', '46-31=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,93 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[11, 77], Operations: ['42-31=11', '31+46=77'] Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 11*77=847, Resulting Numbers: [847] 847,93 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[46, 42], Operations: ['42-31=11', '31+11=42'] Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,93 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,93 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
[ 59, 84, 66, 78 ]
36
[ "59+84=143", "66*78=5148", "5148/143=36" ]
Current State: 36:[59, 84, 66, 78], Operations: [] Exploring Operation: 59+84=143, Resulting Numbers: [66, 78, 143] Generated Node #2: [66, 78, 143] from Operation: 59+84=143 Current State: 36:[66, 78, 143], Operations: ['59+84=143'] Exploring Operation: 66*78=5148, Resulting Numbers: [143, 5148] Generated Node #3: [143, 5148] from Operation: 66*78=5148 Current State: 36:[143, 5148], Operations: ['59+84=143', '66*78=5148'] Exploring Operation: 5148/143=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[59, 84, 66, 78], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [59, 66, 6] Generated Node #0,0: 36:[59, 66, 6] Operation: 84-78=6 Exploring Operation: 84-66=18, Resulting Numbers: [59, 78, 18] Generated Node #0,1: 36:[59, 78, 18] Operation: 84-66=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[59, 66, 6], Operations: ['84-78=6'] Exploring Operation: 66/6=11, Resulting Numbers: [59, 11] Generated Node #0,0,0: 36:[59, 11] Operation: 66/6=11 Exploring Operation: 66-59=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 36:[6, 7] Operation: 66-59=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[6, 7], Operations: ['84-78=6', '66-59=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,36 unequal: No Solution No 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: 36:[59, 11], Operations: ['84-78=6', '66/6=11'] Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,36 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: 36:[59, 78, 18], Operations: ['84-66=18'] Exploring Operation: 78-59=19, Resulting Numbers: [18, 19] Generated Node #0,1,0: 36:[18, 19] Operation: 78-59=19 Exploring Operation: 59-18=41, Resulting Numbers: [78, 41] Generated Node #0,1,1: 36:[78, 41] Operation: 59-18=41 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[18, 19], Operations: ['84-66=18', '78-59=19'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,36 unequal: No Solution No 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: 36:[78, 41], Operations: ['84-66=18', '59-18=41'] Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,36 unequal: No Solution Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 23, 77, 67, 65 ]
50
[ "23+77=100", "67-65=2", "100/2=50" ]
Current State: 50:[23, 77, 67, 65], Operations: [] Exploring Operation: 23+77=100, Resulting Numbers: [67, 65, 100] Generated Node #2: [67, 65, 100] from Operation: 23+77=100 Current State: 50:[67, 65, 100], Operations: ['23+77=100'] Exploring Operation: 67-65=2, Resulting Numbers: [100, 2] Generated Node #3: [100, 2] from Operation: 67-65=2 Current State: 50:[100, 2], Operations: ['23+77=100', '67-65=2'] Exploring Operation: 100/2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[23, 77, 67, 65], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [23, 65, 10] Generated Node #0,0: 50:[23, 65, 10] Operation: 77-67=10 Exploring Operation: 77-65=12, Resulting Numbers: [23, 67, 12] Generated Node #0,1: 50:[23, 67, 12] Operation: 77-65=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[23, 65, 10], Operations: ['77-67=10'] Exploring Operation: 65-23=42, Resulting Numbers: [10, 42] Generated Node #0,0,0: 50:[10, 42] Operation: 65-23=42 Exploring Operation: 65-10=55, Resulting Numbers: [23, 55] Generated Node #0,0,1: 50:[23, 55] Operation: 65-10=55 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 50:[23, 55], Operations: ['77-67=10', '65-10=55'] Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,50 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,50 unequal: No Solution No 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: 50:[10, 42], Operations: ['77-67=10', '65-23=42'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,50 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: 50:[23, 67, 12], Operations: ['77-65=12'] Exploring Operation: 67-12=55, Resulting Numbers: [23, 55] Generated Node #0,1,0: 50:[23, 55] Operation: 67-12=55 Exploring Operation: 67-23=44, Resulting Numbers: [12, 44] Generated Node #0,1,1: 50:[12, 44] Operation: 67-23=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[23, 55], Operations: ['77-65=12', '67-12=55'] Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,50 unequal: No Solution No 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: 50:[12, 44], Operations: ['77-65=12', '67-23=44'] Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,50 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
[ 27, 64, 98, 74 ]
96
[ "64-27=37", "74/37=2", "98-2=96" ]
Current State: 96:[27, 64, 98, 74], Operations: [] Exploring Operation: 64-27=37, Resulting Numbers: [98, 74, 37] Generated Node #2: [98, 74, 37] from Operation: 64-27=37 Current State: 96:[98, 74, 37], Operations: ['64-27=37'] Exploring Operation: 74/37=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 74/37=2 Current State: 96:[98, 2], Operations: ['64-27=37', '74/37=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[27, 64, 98, 74], Operations: [] Exploring Operation: 74-27=47, Resulting Numbers: [64, 98, 47] Generated Node #0,0: 96:[64, 98, 47] Operation: 74-27=47 Exploring Operation: 98-74=24, Resulting Numbers: [27, 64, 24] Generated Node #0,1: 96:[27, 64, 24] Operation: 98-74=24 Exploring Operation: 74-64=10, Resulting Numbers: [27, 98, 10] Generated Node #0,2: 96:[27, 98, 10] Operation: 74-64=10 Moving to Node #0,2 Current State: 96:[27, 98, 10], Operations: ['74-64=10'] Exploring Operation: 27-10=17, Resulting Numbers: [98, 17] Generated Node #0,2,0: 96:[98, 17] Operation: 27-10=17 Exploring Operation: 27+10=37, Resulting Numbers: [98, 37] Generated Node #0,2,1: 96:[98, 37] Operation: 27+10=37 Exploring Operation: 98-10=88, Resulting Numbers: [27, 88] Generated Node #0,2,2: 96:[27, 88] Operation: 98-10=88 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[98, 17], Operations: ['74-64=10', '27-10=17'] Exploring Operation: 98*17=1666, Resulting Numbers: [1666] 1666,96 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,96 unequal: No Solution Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[98, 37], Operations: ['74-64=10', '27+10=37'] Exploring Operation: 98*37=3626, Resulting Numbers: [3626] 3626,96 unequal: No Solution Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 98+37=135, Resulting Numbers: [135] 135,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[27, 88], Operations: ['74-64=10', '98-10=88'] Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 27*88=2376, Resulting Numbers: [2376] 2376,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 96:[64, 98, 47], Operations: ['74-27=47'] Exploring Operation: 98-64=34, Resulting Numbers: [47, 34] Generated Node #0,0,0: 96:[47, 34] Operation: 98-64=34 Exploring Operation: 64-47=17, Resulting Numbers: [98, 17] Generated Node #0,0,1: 96:[98, 17] Operation: 64-47=17 Exploring Operation: 64+47=111, Resulting Numbers: [98, 111] Generated Node #0,0,2: 96:[98, 111] Operation: 64+47=111 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[47, 34], Operations: ['74-27=47', '98-64=34'] Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,96 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[98, 17], Operations: ['74-27=47', '64-47=17'] Exploring Operation: 98*17=1666, Resulting Numbers: [1666] 1666,96 unequal: No Solution Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[98, 111], Operations: ['74-27=47', '64+47=111'] Exploring Operation: 98+111=209, Resulting Numbers: [209] 209,96 unequal: No Solution Exploring Operation: 111-98=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 98*111=10878, Resulting Numbers: [10878] 10878,96 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: 96:[27, 64, 24], Operations: ['98-74=24'] Exploring Operation: 64-27=37, Resulting Numbers: [24, 37] Generated Node #0,1,0: 96:[24, 37] Operation: 64-27=37 Exploring Operation: 64+24=88, Resulting Numbers: [27, 88] Generated Node #0,1,1: 96:[27, 88] Operation: 64+24=88 Exploring Operation: 27+64=91, Resulting Numbers: [24, 91] Generated Node #0,1,2: 96:[24, 91] Operation: 27+64=91 Moving to Node #0,1,0 Current State: 96:[24, 37], Operations: ['98-74=24', '64-27=37'] Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,96 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[24, 91], Operations: ['98-74=24', '27+64=91'] Exploring Operation: 24+91=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 91-24=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 24*91=2184, Resulting Numbers: [2184] 2184,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[27, 88], Operations: ['98-74=24', '64+24=88'] Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 27*88=2376, Resulting Numbers: [2376] 2376,96 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,96 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 47, 64, 17, 55 ]
56
[ "64-47=17", "17/17=1", "55+1=56" ]
Current State: 56:[47, 64, 17, 55], Operations: [] Exploring Operation: 64-47=17, Resulting Numbers: [17, 55, 17] Generated Node #2: [17, 55, 17] from Operation: 64-47=17 Current State: 56:[17, 55, 17], Operations: ['64-47=17'] Exploring Operation: 17/17=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 17/17=1 Current State: 56:[55, 1], Operations: ['64-47=17', '17/17=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[47, 64, 17, 55], Operations: [] Exploring Operation: 47-17=30, Resulting Numbers: [64, 55, 30] Generated Node #0,0: 56:[64, 55, 30] Operation: 47-17=30 Exploring Operation: 64-47=17, Resulting Numbers: [17, 55, 17] Generated Node #0,1: 56:[17, 55, 17] Operation: 64-47=17 Exploring Operation: 64-55=9, Resulting Numbers: [47, 17, 9] Generated Node #0,2: 56:[47, 17, 9] Operation: 64-55=9 Exploring Operation: 55-47=8, Resulting Numbers: [64, 17, 8] Generated Node #0,3: 56:[64, 17, 8] Operation: 55-47=8 Exploring Operation: 47+17=64, Resulting Numbers: [64, 55, 64] Generated Node #0,4: 56:[64, 55, 64] Operation: 47+17=64 Moving to Node #0,1 Current State: 56:[17, 55, 17], Operations: ['64-47=17'] Exploring Operation: 17-17=0, Resulting Numbers: [55, 0] Generated Node #0,1,0: 56:[55, 0] Operation: 17-17=0 Exploring Operation: 55-17=38, Resulting Numbers: [17, 38] Generated Node #0,1,1: 56:[17, 38] Operation: 55-17=38 Exploring Operation: 55-17=38, Resulting Numbers: [17, 38] Generated Node #0,1,2: 56:[17, 38] Operation: 55-17=38 Exploring Operation: 17+17=34, Resulting Numbers: [55, 34] Generated Node #0,1,3: 56:[55, 34] Operation: 17+17=34 Exploring Operation: 17/17=1, Resulting Numbers: [55, 1] Generated Node #0,1,4: 56:[55, 1] Operation: 17/17=1 Moving to Node #0,3 Current State: 56:[64, 17, 8], Operations: ['55-47=8'] Exploring Operation: 64-8=56, Resulting Numbers: [17, 56] Generated Node #0,3,0: 56:[17, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [17, 8] Generated Node #0,3,1: 56:[17, 8] Operation: 64/8=8 Exploring Operation: 64-17=47, Resulting Numbers: [8, 47] Generated Node #0,3,2: 56:[8, 47] Operation: 64-17=47 Exploring Operation: 17+8=25, Resulting Numbers: [64, 25] Generated Node #0,3,3: 56:[64, 25] Operation: 17+8=25 Exploring Operation: 17-8=9, Resulting Numbers: [64, 9] Generated Node #0,3,4: 56:[64, 9] Operation: 17-8=9 Moving to Node #0,0 Current State: 56:[64, 55, 30], Operations: ['47-17=30'] Exploring Operation: 55+30=85, Resulting Numbers: [64, 85] Generated Node #0,0,0: 56:[64, 85] Operation: 55+30=85 Exploring Operation: 55-30=25, Resulting Numbers: [64, 25] Generated Node #0,0,1: 56:[64, 25] Operation: 55-30=25 Exploring Operation: 64-30=34, Resulting Numbers: [55, 34] Generated Node #0,0,2: 56:[55, 34] Operation: 64-30=34 Exploring Operation: 64+30=94, Resulting Numbers: [55, 94] Generated Node #0,0,3: 56:[55, 94] Operation: 64+30=94 Exploring Operation: 64-55=9, Resulting Numbers: [30, 9] Generated Node #0,0,4: 56:[30, 9] Operation: 64-55=9 Moving to Node #0,2 Current State: 56:[47, 17, 9], Operations: ['64-55=9'] Exploring Operation: 17+9=26, Resulting Numbers: [47, 26] Generated Node #0,2,0: 56:[47, 26] Operation: 17+9=26 Exploring Operation: 47-17=30, Resulting Numbers: [9, 30] Generated Node #0,2,1: 56:[9, 30] Operation: 47-17=30 Exploring Operation: 47+9=56, Resulting Numbers: [17, 56] Generated Node #0,2,2: 56:[17, 56] Operation: 47+9=56 Exploring Operation: 47+17=64, Resulting Numbers: [9, 64] Generated Node #0,2,3: 56:[9, 64] Operation: 47+17=64 Exploring Operation: 17-9=8, Resulting Numbers: [47, 8] Generated Node #0,2,4: 56:[47, 8] Operation: 17-9=8 Moving to Node #0,4 Current State: 56:[64, 55, 64], Operations: ['47+17=64'] Exploring Operation: 64-55=9, Resulting Numbers: [64, 9] Generated Node #0,4,0: 56:[64, 9] Operation: 64-55=9 Exploring Operation: 64-55=9, Resulting Numbers: [64, 9] Generated Node #0,4,1: 56:[64, 9] Operation: 64-55=9 Exploring Operation: 64+55=119, Resulting Numbers: [64, 119] Generated Node #0,4,2: 56:[64, 119] Operation: 64+55=119 Exploring Operation: 64/64=1, Resulting Numbers: [55, 1] Generated Node #0,4,3: 56:[55, 1] Operation: 64/64=1 Exploring Operation: 64-64=0, Resulting Numbers: [55, 0] Generated Node #0,4,4: 56:[55, 0] Operation: 64-64=0 Moving to Node #0,1,4 Current State: 56:[55, 1], Operations: ['64-47=17', '17/17=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[47, 64, 17, 55], Operations: [] Exploring Operation: 64-47=17, Resulting Numbers: [17, 55, 17] Generated Node #0,1: 56:[17, 55, 17] Operation: 64-47=17 Moving to Node #0,1 Current State: 56:[17, 55, 17], Operations: ['64-47=17'] Exploring Operation: 17/17=1, Resulting Numbers: [55, 1] Generated Node #0,1,4: 56:[55, 1] Operation: 17/17=1 Moving to Node #0,1,4 Current State: 56:[55, 1], Operations: ['64-47=17', '17/17=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.967882
hs_5
mult_heuristic
[ 36, 18, 48, 23 ]
23
[ "36/18=2", "48-23=25", "25-2=23" ]
Current State: 23:[36, 18, 48, 23], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [48, 23, 2] Generated Node #2: [48, 23, 2] from Operation: 36/18=2 Current State: 23:[48, 23, 2], Operations: ['36/18=2'] Exploring Operation: 48-23=25, Resulting Numbers: [2, 25] Generated Node #3: [2, 25] from Operation: 48-23=25 Current State: 23:[2, 25], Operations: ['36/18=2', '48-23=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[36, 18, 48, 23], Operations: [] Exploring Operation: 48-36=12, Resulting Numbers: [18, 23, 12] Generated Node #0,0: 23:[18, 23, 12] Operation: 48-36=12 Exploring Operation: 36-18=18, Resulting Numbers: [48, 23, 18] Generated Node #0,1: 23:[48, 23, 18] Operation: 36-18=18 Exploring Operation: 48-23=25, Resulting Numbers: [36, 18, 25] Generated Node #0,2: 23:[36, 18, 25] Operation: 48-23=25 Exploring Operation: 48-18=30, Resulting Numbers: [36, 23, 30] Generated Node #0,3: 23:[36, 23, 30] Operation: 48-18=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[18, 23, 12], Operations: ['48-36=12'] Exploring Operation: 23-12=11, Resulting Numbers: [18, 11] Generated Node #0,0,0: 23:[18, 11] Operation: 23-12=11 Exploring Operation: 18-12=6, Resulting Numbers: [23, 6] Generated Node #0,0,1: 23:[23, 6] Operation: 18-12=6 Exploring Operation: 23+12=35, Resulting Numbers: [18, 35] Generated Node #0,0,2: 23:[18, 35] Operation: 23+12=35 Exploring Operation: 18+12=30, Resulting Numbers: [23, 30] Generated Node #0,0,3: 23:[23, 30] Operation: 18+12=30 Moving to Node #0,0,3 Current State: 23:[23, 30], Operations: ['48-36=12', '18+12=30'] Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,23 unequal: No Solution Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[23, 6], Operations: ['48-36=12', '18-12=6'] Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,23 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,23 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[18, 11], Operations: ['48-36=12', '23-12=11'] Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,23 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[18, 35], Operations: ['48-36=12', '23+12=35'] Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,23 unequal: No Solution Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[36, 18, 25], Operations: ['48-23=25'] Exploring Operation: 36/18=2, Resulting Numbers: [25, 2] Generated Node #0,2,0: 23:[25, 2] Operation: 36/18=2 Exploring Operation: 36-25=11, Resulting Numbers: [18, 11] Generated Node #0,2,1: 23:[18, 11] Operation: 36-25=11 Exploring Operation: 25-18=7, Resulting Numbers: [36, 7] Generated Node #0,2,2: 23:[36, 7] Operation: 25-18=7 Exploring Operation: 36-18=18, Resulting Numbers: [25, 18] Generated Node #0,2,3: 23:[25, 18] Operation: 36-18=18 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 23:[25, 18], Operations: ['48-23=25', '36-18=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 23:[18, 11], Operations: ['48-23=25', '36-25=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,23 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[25, 2], Operations: ['48-23=25', '36/18=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,23 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[36, 18, 48, 23], Operations: [] Exploring Operation: 48-23=25, Resulting Numbers: [36, 18, 25] Generated Node #0,2: 23:[36, 18, 25] Operation: 48-23=25 Moving to Node #0,2 Current State: 23:[36, 18, 25], Operations: ['48-23=25'] Exploring Operation: 36/18=2, Resulting Numbers: [25, 2] Generated Node #0,2,0: 23:[25, 2] Operation: 36/18=2 Moving to Node #0,2,0 Current State: 23:[25, 2], Operations: ['48-23=25', '36/18=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 93, 46, 94, 17 ]
19
[ "93-46=47", "94/47=2", "17+2=19" ]
Current State: 19:[93, 46, 94, 17], Operations: [] Exploring Operation: 93-46=47, Resulting Numbers: [94, 17, 47] Generated Node #2: [94, 17, 47] from Operation: 93-46=47 Current State: 19:[94, 17, 47], Operations: ['93-46=47'] Exploring Operation: 94/47=2, Resulting Numbers: [17, 2] Generated Node #3: [17, 2] from Operation: 94/47=2 Current State: 19:[17, 2], Operations: ['93-46=47', '94/47=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[93, 46, 94, 17], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [46, 17, 1] Generated Node #0,0: 19:[46, 17, 1] Operation: 94-93=1 Moving to Node #0,0 Current State: 19:[46, 17, 1], Operations: ['94-93=1'] Exploring Operation: 46-17=29, Resulting Numbers: [1, 29] Generated Node #0,0,0: 19:[1, 29] Operation: 46-17=29 Moving to Node #0,0,0 Current State: 19:[1, 29], Operations: ['94-93=1', '46-17=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,19 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 74, 36, 54, 65 ]
99
[ "74+36=110", "65-54=11", "110-11=99" ]
Current State: 99:[74, 36, 54, 65], Operations: [] Exploring Operation: 74+36=110, Resulting Numbers: [54, 65, 110] Generated Node #2: [54, 65, 110] from Operation: 74+36=110 Current State: 99:[54, 65, 110], Operations: ['74+36=110'] Exploring Operation: 65-54=11, Resulting Numbers: [110, 11] Generated Node #3: [110, 11] from Operation: 65-54=11 Current State: 99:[110, 11], Operations: ['74+36=110', '65-54=11'] Exploring Operation: 110-11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[74, 36, 54, 65], Operations: [] Exploring Operation: 74-54=20, Resulting Numbers: [36, 65, 20] Generated Node #0,0: 99:[36, 65, 20] Operation: 74-54=20 Exploring Operation: 65-54=11, Resulting Numbers: [74, 36, 11] Generated Node #0,1: 99:[74, 36, 11] Operation: 65-54=11 Exploring Operation: 74-65=9, Resulting Numbers: [36, 54, 9] Generated Node #0,2: 99:[36, 54, 9] Operation: 74-65=9 Moving to Node #0,2 Current State: 99:[36, 54, 9], Operations: ['74-65=9'] Exploring Operation: 54-36=18, Resulting Numbers: [9, 18] Generated Node #0,2,0: 99:[9, 18] Operation: 54-36=18 Exploring Operation: 54/9=6, Resulting Numbers: [36, 6] Generated Node #0,2,1: 99:[36, 6] Operation: 54/9=6 Exploring Operation: 36+54=90, Resulting Numbers: [9, 90] Generated Node #0,2,2: 99:[9, 90] Operation: 36+54=90 Moving to Node #0,1 Current State: 99:[74, 36, 11], Operations: ['65-54=11'] Exploring Operation: 74+11=85, Resulting Numbers: [36, 85] Generated Node #0,1,0: 99:[36, 85] Operation: 74+11=85 Exploring Operation: 74-36=38, Resulting Numbers: [11, 38] Generated Node #0,1,1: 99:[11, 38] Operation: 74-36=38 Exploring Operation: 74+36=110, Resulting Numbers: [11, 110] Generated Node #0,1,2: 99:[11, 110] Operation: 74+36=110 Moving to Node #0,0 Current State: 99:[36, 65, 20], Operations: ['74-54=20'] Exploring Operation: 36+65=101, Resulting Numbers: [20, 101] Generated Node #0,0,0: 99:[20, 101] Operation: 36+65=101 Exploring Operation: 65-36=29, Resulting Numbers: [20, 29] Generated Node #0,0,1: 99:[20, 29] Operation: 65-36=29 Exploring Operation: 65-20=45, Resulting Numbers: [36, 45] Generated Node #0,0,2: 99:[36, 45] Operation: 65-20=45 Moving to Node #0,1,1 Current State: 99:[11, 38], Operations: ['65-54=11', '74-36=38'] Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,99 unequal: No Solution Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[36, 6], Operations: ['74-65=9', '54/9=6'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[9, 18], Operations: ['74-65=9', '54-36=18'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,99 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[9, 90], Operations: ['74-65=9', '36+54=90'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,99 unequal: No Solution Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 9+90=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[74, 36, 54, 65], Operations: [] Exploring Operation: 74-65=9, Resulting Numbers: [36, 54, 9] Generated Node #0,2: 99:[36, 54, 9] Operation: 74-65=9 Moving to Node #0,2 Current State: 99:[36, 54, 9], Operations: ['74-65=9'] Exploring Operation: 36+54=90, Resulting Numbers: [9, 90] Generated Node #0,2,2: 99:[9, 90] Operation: 36+54=90 Moving to Node #0,2,2 Current State: 99:[9, 90], Operations: ['74-65=9', '36+54=90'] Exploring Operation: 9+90=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 75, 56, 63, 4 ]
64
[ "75+56=131", "63+4=67", "131-67=64" ]
Current State: 64:[75, 56, 63, 4], Operations: [] Exploring Operation: 75+56=131, Resulting Numbers: [63, 4, 131] Generated Node #2: [63, 4, 131] from Operation: 75+56=131 Current State: 64:[63, 4, 131], Operations: ['75+56=131'] Exploring Operation: 63+4=67, Resulting Numbers: [131, 67] Generated Node #3: [131, 67] from Operation: 63+4=67 Current State: 64:[131, 67], Operations: ['75+56=131', '63+4=67'] Exploring Operation: 131-67=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[75, 56, 63, 4], Operations: [] Exploring Operation: 56/4=14, Resulting Numbers: [75, 63, 14] Generated Node #0,0: 64:[75, 63, 14] Operation: 56/4=14 Exploring Operation: 75-56=19, Resulting Numbers: [63, 4, 19] Generated Node #0,1: 64:[63, 4, 19] Operation: 75-56=19 Exploring Operation: 63-56=7, Resulting Numbers: [75, 4, 7] Generated Node #0,2: 64:[75, 4, 7] Operation: 63-56=7 Exploring Operation: 75-63=12, Resulting Numbers: [56, 4, 12] Generated Node #0,3: 64:[56, 4, 12] Operation: 75-63=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[63, 4, 19], Operations: ['75-56=19'] Exploring Operation: 63-4=59, Resulting Numbers: [19, 59] Generated Node #0,1,0: 64:[19, 59] Operation: 63-4=59 Exploring Operation: 4+19=23, Resulting Numbers: [63, 23] Generated Node #0,1,1: 64:[63, 23] Operation: 4+19=23 Exploring Operation: 19-4=15, Resulting Numbers: [63, 15] Generated Node #0,1,2: 64:[63, 15] Operation: 19-4=15 Exploring Operation: 63+4=67, Resulting Numbers: [19, 67] Generated Node #0,1,3: 64:[19, 67] Operation: 63+4=67 Moving to Node #0,1,2 Current State: 64:[63, 15], Operations: ['75-56=19', '19-4=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,64 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[19, 67], Operations: ['75-56=19', '63+4=67'] Exploring Operation: 19+67=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 19*67=1273, Resulting Numbers: [1273] 1273,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[63, 23], Operations: ['75-56=19', '4+19=23'] Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,64 unequal: No Solution Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[19, 59], Operations: ['75-56=19', '63-4=59'] Exploring Operation: 19*59=1121, Resulting Numbers: [1121] 1121,64 unequal: No Solution Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,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:[75, 4, 7], Operations: ['63-56=7'] Exploring Operation: 7-4=3, Resulting Numbers: [75, 3] Generated Node #0,2,0: 64:[75, 3] Operation: 7-4=3 Exploring Operation: 75-4=71, Resulting Numbers: [7, 71] Generated Node #0,2,1: 64:[7, 71] Operation: 75-4=71 Exploring Operation: 75-7=68, Resulting Numbers: [4, 68] Generated Node #0,2,2: 64:[4, 68] Operation: 75-7=68 Exploring Operation: 4+7=11, Resulting Numbers: [75, 11] Generated Node #0,2,3: 64:[75, 11] Operation: 4+7=11 Moving to Node #0,2,2 Current State: 64:[4, 68], Operations: ['63-56=7', '75-7=68'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[75, 56, 63, 4], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [75, 4, 7] Generated Node #0,2: 64:[75, 4, 7] Operation: 63-56=7 Moving to Node #0,2 Current State: 64:[75, 4, 7], Operations: ['63-56=7'] Exploring Operation: 75-7=68, Resulting Numbers: [4, 68] Generated Node #0,2,2: 64:[4, 68] Operation: 75-7=68 Moving to Node #0,2,2 Current State: 64:[4, 68], Operations: ['63-56=7', '75-7=68'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 89, 41, 22, 77 ]
31
[ "89+41=130", "22+77=99", "130-99=31" ]
Current State: 31:[89, 41, 22, 77], Operations: [] Exploring Operation: 89+41=130, Resulting Numbers: [22, 77, 130] Generated Node #2: [22, 77, 130] from Operation: 89+41=130 Current State: 31:[22, 77, 130], Operations: ['89+41=130'] Exploring Operation: 22+77=99, Resulting Numbers: [130, 99] Generated Node #3: [130, 99] from Operation: 22+77=99 Current State: 31:[130, 99], Operations: ['89+41=130', '22+77=99'] Exploring Operation: 130-99=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[89, 41, 22, 77], Operations: [] Exploring Operation: 89-22=67, Resulting Numbers: [41, 77, 67] Generated Node #0,0: 31:[41, 77, 67] Operation: 89-22=67 Exploring Operation: 77-41=36, Resulting Numbers: [89, 22, 36] Generated Node #0,1: 31:[89, 22, 36] Operation: 77-41=36 Exploring Operation: 89-41=48, Resulting Numbers: [22, 77, 48] Generated Node #0,2: 31:[22, 77, 48] Operation: 89-41=48 Exploring Operation: 89-77=12, Resulting Numbers: [41, 22, 12] Generated Node #0,3: 31:[41, 22, 12] Operation: 89-77=12 Moving to Node #0,3 Current State: 31:[41, 22, 12], Operations: ['89-77=12'] Exploring Operation: 41+12=53, Resulting Numbers: [22, 53] Generated Node #0,3,0: 31:[22, 53] Operation: 41+12=53 Exploring Operation: 22+12=34, Resulting Numbers: [41, 34] Generated Node #0,3,1: 31:[41, 34] Operation: 22+12=34 Exploring Operation: 41-22=19, Resulting Numbers: [12, 19] Generated Node #0,3,2: 31:[12, 19] Operation: 41-22=19 Exploring Operation: 41-12=29, Resulting Numbers: [22, 29] Generated Node #0,3,3: 31:[22, 29] Operation: 41-12=29 Moving to Node #0,2 Current State: 31:[22, 77, 48], Operations: ['89-41=48'] Exploring Operation: 77-48=29, Resulting Numbers: [22, 29] Generated Node #0,2,0: 31:[22, 29] Operation: 77-48=29 Exploring Operation: 22+77=99, Resulting Numbers: [48, 99] Generated Node #0,2,1: 31:[48, 99] Operation: 22+77=99 Exploring Operation: 77-22=55, Resulting Numbers: [48, 55] Generated Node #0,2,2: 31:[48, 55] Operation: 77-22=55 Exploring Operation: 48-22=26, Resulting Numbers: [77, 26] Generated Node #0,2,3: 31:[77, 26] Operation: 48-22=26 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[22, 29], Operations: ['89-41=48', '77-48=29'] Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,31 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,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,2,2 Current State: 31:[48, 55], Operations: ['89-41=48', '77-22=55'] Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 48*55=2640, Resulting Numbers: [2640] 2640,31 unequal: No Solution Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,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,2,3 Current State: 31:[77, 26], Operations: ['89-41=48', '48-22=26'] Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,31 unequal: No Solution Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,31 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,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,2,1 Current State: 31:[48, 99], Operations: ['89-41=48', '22+77=99'] Exploring Operation: 48+99=147, Resulting Numbers: [147] 147,31 unequal: No Solution Exploring Operation: 48*99=4752, Resulting Numbers: [4752] 4752,31 unequal: No Solution Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,31 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: 31:[89, 22, 36], Operations: ['77-41=36'] Exploring Operation: 89+22=111, Resulting Numbers: [36, 111] Generated Node #0,1,0: 31:[36, 111] Operation: 89+22=111 Exploring Operation: 89-36=53, Resulting Numbers: [22, 53] Generated Node #0,1,1: 31:[22, 53] Operation: 89-36=53 Exploring Operation: 89-22=67, Resulting Numbers: [36, 67] Generated Node #0,1,2: 31:[36, 67] Operation: 89-22=67 Exploring Operation: 36-22=14, Resulting Numbers: [89, 14] Generated Node #0,1,3: 31:[89, 14] Operation: 36-22=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[22, 53], Operations: ['77-41=36', '89-36=53'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[89, 41, 22, 77], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [89, 22, 36] Generated Node #0,1: 31:[89, 22, 36] Operation: 77-41=36 Moving to Node #0,1 Current State: 31:[89, 22, 36], Operations: ['77-41=36'] Exploring Operation: 89-36=53, Resulting Numbers: [22, 53] Generated Node #0,1,1: 31:[22, 53] Operation: 89-36=53 Moving to Node #0,1,1 Current State: 31:[22, 53], Operations: ['77-41=36', '89-36=53'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 56, 8, 88, 43 ]
19
[ "56+8=64", "88-43=45", "64-45=19" ]
Current State: 19:[56, 8, 88, 43], Operations: [] Exploring Operation: 56+8=64, Resulting Numbers: [88, 43, 64] Generated Node #2: [88, 43, 64] from Operation: 56+8=64 Current State: 19:[88, 43, 64], Operations: ['56+8=64'] Exploring Operation: 88-43=45, Resulting Numbers: [64, 45] Generated Node #3: [64, 45] from Operation: 88-43=45 Current State: 19:[64, 45], Operations: ['56+8=64', '88-43=45'] Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[56, 8, 88, 43], Operations: [] Exploring Operation: 88-56=32, Resulting Numbers: [8, 43, 32] Generated Node #0,0: 19:[8, 43, 32] Operation: 88-56=32 Exploring Operation: 88/8=11, Resulting Numbers: [56, 43, 11] Generated Node #0,1: 19:[56, 43, 11] Operation: 88/8=11 Exploring Operation: 88-43=45, Resulting Numbers: [56, 8, 45] Generated Node #0,2: 19:[56, 8, 45] Operation: 88-43=45 Exploring Operation: 56-43=13, Resulting Numbers: [8, 88, 13] Generated Node #0,3: 19:[8, 88, 13] Operation: 56-43=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[8, 43, 32], Operations: ['88-56=32'] Exploring Operation: 43-8=35, Resulting Numbers: [32, 35] Generated Node #0,0,0: 19:[32, 35] Operation: 43-8=35 Exploring Operation: 32/8=4, Resulting Numbers: [43, 4] Generated Node #0,0,1: 19:[43, 4] Operation: 32/8=4 Exploring Operation: 43-32=11, Resulting Numbers: [8, 11] Generated Node #0,0,2: 19:[8, 11] Operation: 43-32=11 Exploring Operation: 32-8=24, Resulting Numbers: [43, 24] Generated Node #0,0,3: 19:[43, 24] Operation: 32-8=24 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[8, 11], Operations: ['88-56=32', '43-32=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,19 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[56, 8, 88, 43], Operations: [] Exploring Operation: 88-56=32, Resulting Numbers: [8, 43, 32] Generated Node #0,0: 19:[8, 43, 32] Operation: 88-56=32 Moving to Node #0,0 Current State: 19:[8, 43, 32], Operations: ['88-56=32'] Exploring Operation: 43-32=11, Resulting Numbers: [8, 11] Generated Node #0,0,2: 19:[8, 11] Operation: 43-32=11 Moving to Node #0,0,2 Current State: 19:[8, 11], Operations: ['88-56=32', '43-32=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 66, 70, 65, 48 ]
62
[ "70-48=22", "66/22=3", "65-3=62" ]
Current State: 62:[66, 70, 65, 48], Operations: [] Exploring Operation: 70-48=22, Resulting Numbers: [66, 65, 22] Generated Node #2: [66, 65, 22] from Operation: 70-48=22 Current State: 62:[66, 65, 22], Operations: ['70-48=22'] Exploring Operation: 66/22=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 66/22=3 Current State: 62:[65, 3], Operations: ['70-48=22', '66/22=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[66, 70, 65, 48], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [65, 48, 4] Generated Node #0,0: 62:[65, 48, 4] Operation: 70-66=4 Exploring Operation: 70-48=22, Resulting Numbers: [66, 65, 22] Generated Node #0,1: 62:[66, 65, 22] Operation: 70-48=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[66, 65, 22], Operations: ['70-48=22'] Exploring Operation: 66-65=1, Resulting Numbers: [22, 1] Generated Node #0,1,0: 62:[22, 1] Operation: 66-65=1 Exploring Operation: 66/22=3, Resulting Numbers: [65, 3] Generated Node #0,1,1: 62:[65, 3] Operation: 66/22=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[65, 3], Operations: ['70-48=22', '66/22=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,62 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[66, 70, 65, 48], Operations: [] Exploring Operation: 70-48=22, Resulting Numbers: [66, 65, 22] Generated Node #0,1: 62:[66, 65, 22] Operation: 70-48=22 Moving to Node #0,1 Current State: 62:[66, 65, 22], Operations: ['70-48=22'] Exploring Operation: 66/22=3, Resulting Numbers: [65, 3] Generated Node #0,1,1: 62:[65, 3] Operation: 66/22=3 Moving to Node #0,1,1 Current State: 62:[65, 3], Operations: ['70-48=22', '66/22=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 36, 55, 76, 32 ]
74
[ "36-32=4", "76/4=19", "55+19=74" ]
Current State: 74:[36, 55, 76, 32], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [55, 76, 4] Generated Node #2: [55, 76, 4] from Operation: 36-32=4 Current State: 74:[55, 76, 4], Operations: ['36-32=4'] Exploring Operation: 76/4=19, Resulting Numbers: [55, 19] Generated Node #3: [55, 19] from Operation: 76/4=19 Current State: 74:[55, 19], Operations: ['36-32=4', '76/4=19'] Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[36, 55, 76, 32], Operations: [] Exploring Operation: 55-32=23, Resulting Numbers: [36, 76, 23] Generated Node #0,0: 74:[36, 76, 23] Operation: 55-32=23 Exploring Operation: 36+55=91, Resulting Numbers: [76, 32, 91] Generated Node #0,1: 74:[76, 32, 91] Operation: 36+55=91 Exploring Operation: 55+32=87, Resulting Numbers: [36, 76, 87] Generated Node #0,2: 74:[36, 76, 87] Operation: 55+32=87 Exploring Operation: 76-55=21, Resulting Numbers: [36, 32, 21] Generated Node #0,3: 74:[36, 32, 21] Operation: 76-55=21 Exploring Operation: 36-32=4, Resulting Numbers: [55, 76, 4] Generated Node #0,4: 74:[55, 76, 4] Operation: 36-32=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[36, 76, 87], Operations: ['55+32=87'] Exploring Operation: 36+87=123, Resulting Numbers: [76, 123] Generated Node #0,2,0: 74:[76, 123] Operation: 36+87=123 Exploring Operation: 87-36=51, Resulting Numbers: [76, 51] Generated Node #0,2,1: 74:[76, 51] Operation: 87-36=51 Exploring Operation: 36+76=112, Resulting Numbers: [87, 112] Generated Node #0,2,2: 74:[87, 112] Operation: 36+76=112 Exploring Operation: 87-76=11, Resulting Numbers: [36, 11] Generated Node #0,2,3: 74:[36, 11] Operation: 87-76=11 Exploring Operation: 76-36=40, Resulting Numbers: [87, 40] Generated Node #0,2,4: 74:[87, 40] Operation: 76-36=40 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 74:[36, 11], Operations: ['55+32=87', '87-76=11'] Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,74 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,74 unequal: No Solution No 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: 74:[76, 51], Operations: ['55+32=87', '87-36=51'] Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 76+51=127, Resulting Numbers: [127] 127,74 unequal: No Solution Exploring Operation: 76*51=3876, Resulting Numbers: [3876] 3876,74 unequal: No Solution No 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: 74:[87, 40], Operations: ['55+32=87', '76-36=40'] Exploring Operation: 87+40=127, Resulting Numbers: [127] 127,74 unequal: No Solution Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 87*40=3480, Resulting Numbers: [3480] 3480,74 unequal: No Solution No 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: 74:[76, 123], Operations: ['55+32=87', '36+87=123'] Exploring Operation: 76+123=199, Resulting Numbers: [199] 199,74 unequal: No Solution Exploring Operation: 123-76=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 76*123=9348, Resulting Numbers: [9348] 9348,74 unequal: No Solution No 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: 74:[87, 112], Operations: ['55+32=87', '36+76=112'] Exploring Operation: 112-87=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 87+112=199, Resulting Numbers: [199] 199,74 unequal: No Solution Exploring Operation: 87*112=9744, Resulting Numbers: [9744] 9744,74 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: 74:[36, 76, 23], Operations: ['55-32=23'] Exploring Operation: 76-23=53, Resulting Numbers: [36, 53] Generated Node #0,0,0: 74:[36, 53] Operation: 76-23=53 Exploring Operation: 36-23=13, Resulting Numbers: [76, 13] Generated Node #0,0,1: 74:[76, 13] Operation: 36-23=13 Exploring Operation: 76-36=40, Resulting Numbers: [23, 40] Generated Node #0,0,2: 74:[23, 40] Operation: 76-36=40 Exploring Operation: 76+23=99, Resulting Numbers: [36, 99] Generated Node #0,0,3: 74:[36, 99] Operation: 76+23=99 Exploring Operation: 36+23=59, Resulting Numbers: [76, 59] Generated Node #0,0,4: 74:[76, 59] Operation: 36+23=59 Moving to Node #0,0,1 Current State: 74:[76, 13], Operations: ['55-32=23', '36-23=13'] Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,74 unequal: No Solution Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,74 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[23, 40], Operations: ['55-32=23', '76-36=40'] Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,74 unequal: No Solution Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[36, 53], Operations: ['55-32=23', '76-23=53'] Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,74 unequal: No Solution Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,74 unequal: No Solution Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,74 unequal: No Solution Moving to Node #0,0,4 Current State: 74:[76, 59], Operations: ['55-32=23', '36+23=59'] Exploring Operation: 76*59=4484, Resulting Numbers: [4484] 4484,74 unequal: No Solution Exploring Operation: 76+59=135, Resulting Numbers: [135] 135,74 unequal: No Solution Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,74 unequal: No Solution Moving to Node #0,0,3 Current State: 74:[36, 99], Operations: ['55-32=23', '76+23=99'] Exploring Operation: 36*99=3564, Resulting Numbers: [3564] 3564,74 unequal: No Solution Exploring Operation: 36+99=135, Resulting Numbers: [135] 135,74 unequal: No Solution Exploring Operation: 99-36=63, Resulting Numbers: [63] 63,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[36, 32, 21], Operations: ['76-55=21'] Exploring Operation: 36-21=15, Resulting Numbers: [32, 15] Generated Node #0,3,0: 74:[32, 15] Operation: 36-21=15 Exploring Operation: 36-32=4, Resulting Numbers: [21, 4] Generated Node #0,3,1: 74:[21, 4] Operation: 36-32=4 Exploring Operation: 32+21=53, Resulting Numbers: [36, 53] Generated Node #0,3,2: 74:[36, 53] Operation: 32+21=53 Exploring Operation: 36+32=68, Resulting Numbers: [21, 68] Generated Node #0,3,3: 74:[21, 68] Operation: 36+32=68 Exploring Operation: 32-21=11, Resulting Numbers: [36, 11] Generated Node #0,3,4: 74:[36, 11] Operation: 32-21=11 Moving to Node #0,3,4 Current State: 74:[36, 11], Operations: ['76-55=21', '32-21=11'] Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,74 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[36, 53], Operations: ['76-55=21', '32+21=53'] Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,74 unequal: No Solution Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[32, 15], Operations: ['76-55=21', '36-21=15'] Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,74 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[21, 4], Operations: ['76-55=21', '36-32=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[21, 68], Operations: ['76-55=21', '36+32=68'] Exploring Operation: 21+68=89, Resulting Numbers: [89] 89,74 unequal: No Solution Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 21*68=1428, Resulting Numbers: [1428] 1428,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 74:[55, 76, 4], Operations: ['36-32=4'] Exploring Operation: 76-4=72, Resulting Numbers: [55, 72] Generated Node #0,4,0: 74:[55, 72] Operation: 76-4=72 Exploring Operation: 55-4=51, Resulting Numbers: [76, 51] Generated Node #0,4,1: 74:[76, 51] Operation: 55-4=51 Exploring Operation: 76+4=80, Resulting Numbers: [55, 80] Generated Node #0,4,2: 74:[55, 80] Operation: 76+4=80 Exploring Operation: 76-55=21, Resulting Numbers: [4, 21] Generated Node #0,4,3: 74:[4, 21] Operation: 76-55=21 Exploring Operation: 55+4=59, Resulting Numbers: [76, 59] Generated Node #0,4,4: 74:[76, 59] Operation: 55+4=59 Moving to Node #0,4,1 Current State: 74:[76, 51], Operations: ['36-32=4', '55-4=51'] Exploring Operation: 76+51=127, Resulting Numbers: [127] 127,74 unequal: No Solution Exploring Operation: 76*51=3876, Resulting Numbers: [3876] 3876,74 unequal: No Solution Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,74 unequal: No Solution Moving to Node #0,4,4 Current State: 74:[76, 59], Operations: ['36-32=4', '55+4=59'] Exploring Operation: 76+59=135, Resulting Numbers: [135] 135,74 unequal: No Solution Exploring Operation: 76*59=4484, Resulting Numbers: [4484] 4484,74 unequal: No Solution Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,74 unequal: No Solution Moving to Node #0,4,3 Current State: 74:[4, 21], Operations: ['36-32=4', '76-55=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,74 unequal: No Solution Moving to Node #0,4,0 Current State: 74:[55, 72], Operations: ['36-32=4', '76-4=72'] Exploring Operation: 55+72=127, Resulting Numbers: [127] 127,74 unequal: No Solution Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 55*72=3960, Resulting Numbers: [3960] 3960,74 unequal: No Solution Moving to Node #0,4,2 Current State: 74:[55, 80], Operations: ['36-32=4', '76+4=80'] Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 55*80=4400, Resulting Numbers: [4400] 4400,74 unequal: No Solution Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[76, 32, 91], Operations: ['36+55=91'] Exploring Operation: 76+32=108, Resulting Numbers: [91, 108] Generated Node #0,1,0: 74:[91, 108] Operation: 76+32=108 Exploring Operation: 76-32=44, Resulting Numbers: [91, 44] Generated Node #0,1,1: 74:[91, 44] Operation: 76-32=44 Exploring Operation: 91-76=15, Resulting Numbers: [32, 15] Generated Node #0,1,2: 74:[32, 15] Operation: 91-76=15 Exploring Operation: 91-32=59, Resulting Numbers: [76, 59] Generated Node #0,1,3: 74:[76, 59] Operation: 91-32=59 Exploring Operation: 32+91=123, Resulting Numbers: [76, 123] Generated Node #0,1,4: 74:[76, 123] Operation: 32+91=123 Moving to Node #0,1,3 Current State: 74:[76, 59], Operations: ['36+55=91', '91-32=59'] Exploring Operation: 76*59=4484, Resulting Numbers: [4484] 4484,74 unequal: No Solution Exploring Operation: 76+59=135, Resulting Numbers: [135] 135,74 unequal: No Solution Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[32, 15], Operations: ['36+55=91', '91-76=15'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[91, 44], Operations: ['36+55=91', '76-32=44'] Exploring Operation: 91*44=4004, Resulting Numbers: [4004] 4004,74 unequal: No Solution Exploring Operation: 91+44=135, Resulting Numbers: [135] 135,74 unequal: No Solution Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[91, 108], Operations: ['36+55=91', '76+32=108'] Exploring Operation: 108-91=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 91*108=9828, Resulting Numbers: [9828] 9828,74 unequal: No Solution Exploring Operation: 91+108=199, Resulting Numbers: [199] 199,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[76, 123], Operations: ['36+55=91', '32+91=123'] Exploring Operation: 76+123=199, Resulting Numbers: [199] 199,74 unequal: No Solution Exploring Operation: 123-76=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 76*123=9348, Resulting Numbers: [9348] 9348,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 32, 54, 6, 28 ]
44
[ "54-32=22", "28-6=22", "22+22=44" ]
Current State: 44:[32, 54, 6, 28], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [6, 28, 22] Generated Node #2: [6, 28, 22] from Operation: 54-32=22 Current State: 44:[6, 28, 22], Operations: ['54-32=22'] Exploring Operation: 28-6=22, Resulting Numbers: [22, 22] Generated Node #3: [22, 22] from Operation: 28-6=22 Current State: 44:[22, 22], Operations: ['54-32=22', '28-6=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[32, 54, 6, 28], Operations: [] Exploring Operation: 54-28=26, Resulting Numbers: [32, 6, 26] Generated Node #0,0: 44:[32, 6, 26] Operation: 54-28=26 Exploring Operation: 54/6=9, Resulting Numbers: [32, 28, 9] Generated Node #0,1: 44:[32, 28, 9] Operation: 54/6=9 Exploring Operation: 32-28=4, Resulting Numbers: [54, 6, 4] Generated Node #0,2: 44:[54, 6, 4] Operation: 32-28=4 Exploring Operation: 54-32=22, Resulting Numbers: [6, 28, 22] Generated Node #0,3: 44:[6, 28, 22] Operation: 54-32=22 Moving to Node #0,3 Current State: 44:[6, 28, 22], Operations: ['54-32=22'] Exploring Operation: 6+28=34, Resulting Numbers: [22, 34] Generated Node #0,3,0: 44:[22, 34] Operation: 6+28=34 Exploring Operation: 28+22=50, Resulting Numbers: [6, 50] Generated Node #0,3,1: 44:[6, 50] Operation: 28+22=50 Exploring Operation: 28-22=6, Resulting Numbers: [6, 6] Generated Node #0,3,2: 44:[6, 6] Operation: 28-22=6 Exploring Operation: 28-6=22, Resulting Numbers: [22, 22] Generated Node #0,3,3: 44:[22, 22] Operation: 28-6=22 Moving to Node #0,2 Current State: 44:[54, 6, 4], Operations: ['32-28=4'] Exploring Operation: 54-6=48, Resulting Numbers: [4, 48] Generated Node #0,2,0: 44:[4, 48] Operation: 54-6=48 Exploring Operation: 6-4=2, Resulting Numbers: [54, 2] Generated Node #0,2,1: 44:[54, 2] Operation: 6-4=2 Exploring Operation: 54/6=9, Resulting Numbers: [4, 9] Generated Node #0,2,2: 44:[4, 9] Operation: 54/6=9 Exploring Operation: 54-4=50, Resulting Numbers: [6, 50] Generated Node #0,2,3: 44:[6, 50] Operation: 54-4=50 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[4, 9], Operations: ['32-28=4', '54/6=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,44 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,44 unequal: No Solution No 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: 44:[4, 48], Operations: ['32-28=4', '54-6=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[32, 54, 6, 28], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [54, 6, 4] Generated Node #0,2: 44:[54, 6, 4] Operation: 32-28=4 Moving to Node #0,2 Current State: 44:[54, 6, 4], Operations: ['32-28=4'] Exploring Operation: 54-6=48, Resulting Numbers: [4, 48] Generated Node #0,2,0: 44:[4, 48] Operation: 54-6=48 Moving to Node #0,2,0 Current State: 44:[4, 48], Operations: ['32-28=4', '54-6=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 8, 53, 38, 7 ]
49
[ "53-8=45", "45-38=7", "7*7=49" ]
Current State: 49:[8, 53, 38, 7], Operations: [] Exploring Operation: 53-8=45, Resulting Numbers: [38, 7, 45] Generated Node #2: [38, 7, 45] from Operation: 53-8=45 Current State: 49:[38, 7, 45], Operations: ['53-8=45'] Exploring Operation: 45-38=7, Resulting Numbers: [7, 7] Generated Node #3: [7, 7] from Operation: 45-38=7 Current State: 49:[7, 7], Operations: ['53-8=45', '45-38=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[8, 53, 38, 7], Operations: [] Exploring Operation: 53-38=15, Resulting Numbers: [8, 7, 15] Generated Node #0,0: 49:[8, 7, 15] Operation: 53-38=15 Exploring Operation: 8+38=46, Resulting Numbers: [53, 7, 46] Generated Node #0,1: 49:[53, 7, 46] Operation: 8+38=46 Moving to Node #0,1 Current State: 49:[53, 7, 46], Operations: ['8+38=46'] Exploring Operation: 53-7=46, Resulting Numbers: [46, 46] Generated Node #0,1,0: 49:[46, 46] Operation: 53-7=46 Exploring Operation: 53-46=7, Resulting Numbers: [7, 7] Generated Node #0,1,1: 49:[7, 7] Operation: 53-46=7 Moving to Node #0,0 Current State: 49:[8, 7, 15], Operations: ['53-38=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7, 7] Generated Node #0,0,0: 49:[7, 7] Operation: 15-8=7 Exploring Operation: 15-7=8, Resulting Numbers: [8, 8] Generated Node #0,0,1: 49:[8, 8] Operation: 15-7=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[7, 7], Operations: ['53-38=15', '15-8=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[8, 53, 38, 7], Operations: [] Exploring Operation: 53-38=15, Resulting Numbers: [8, 7, 15] Generated Node #0,0: 49:[8, 7, 15] Operation: 53-38=15 Moving to Node #0,0 Current State: 49:[8, 7, 15], Operations: ['53-38=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7, 7] Generated Node #0,0,0: 49:[7, 7] Operation: 15-8=7 Moving to Node #0,0,0 Current State: 49:[7, 7], Operations: ['53-38=15', '15-8=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 83, 80, 51, 74 ]
91
[ "83-80=3", "51/3=17", "74+17=91" ]
Current State: 91:[83, 80, 51, 74], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [51, 74, 3] Generated Node #2: [51, 74, 3] from Operation: 83-80=3 Current State: 91:[51, 74, 3], Operations: ['83-80=3'] Exploring Operation: 51/3=17, Resulting Numbers: [74, 17] Generated Node #3: [74, 17] from Operation: 51/3=17 Current State: 91:[74, 17], Operations: ['83-80=3', '51/3=17'] Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[83, 80, 51, 74], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [80, 51, 9] Generated Node #0,0: 91:[80, 51, 9] Operation: 83-74=9 Exploring Operation: 74-51=23, Resulting Numbers: [83, 80, 23] Generated Node #0,1: 91:[83, 80, 23] Operation: 74-51=23 Exploring Operation: 83-51=32, Resulting Numbers: [80, 74, 32] Generated Node #0,2: 91:[80, 74, 32] Operation: 83-51=32 Exploring Operation: 80-51=29, Resulting Numbers: [83, 74, 29] Generated Node #0,3: 91:[83, 74, 29] Operation: 80-51=29 Exploring Operation: 80-74=6, Resulting Numbers: [83, 51, 6] Generated Node #0,4: 91:[83, 51, 6] Operation: 80-74=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[83, 80, 23], Operations: ['74-51=23'] Exploring Operation: 80+23=103, Resulting Numbers: [83, 103] Generated Node #0,1,0: 91:[83, 103] Operation: 80+23=103 Exploring Operation: 83-23=60, Resulting Numbers: [80, 60] Generated Node #0,1,1: 91:[80, 60] Operation: 83-23=60 Exploring Operation: 83-80=3, Resulting Numbers: [23, 3] Generated Node #0,1,2: 91:[23, 3] Operation: 83-80=3 Exploring Operation: 80-23=57, Resulting Numbers: [83, 57] Generated Node #0,1,3: 91:[83, 57] Operation: 80-23=57 Exploring Operation: 83+23=106, Resulting Numbers: [80, 106] Generated Node #0,1,4: 91:[80, 106] Operation: 83+23=106 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[23, 3], Operations: ['74-51=23', '83-80=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[83, 103], Operations: ['74-51=23', '80+23=103'] Exploring Operation: 83+103=186, Resulting Numbers: [186] 186,91 unequal: No Solution Exploring Operation: 103-83=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 83*103=8549, Resulting Numbers: [8549] 8549,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 91:[80, 106], Operations: ['74-51=23', '83+23=106'] Exploring Operation: 106-80=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 80+106=186, Resulting Numbers: [186] 186,91 unequal: No Solution Exploring Operation: 80*106=8480, Resulting Numbers: [8480] 8480,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[80, 60], Operations: ['74-51=23', '83-23=60'] Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 80*60=4800, Resulting Numbers: [4800] 4800,91 unequal: No Solution Exploring Operation: 80+60=140, Resulting Numbers: [140] 140,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 91:[83, 57], Operations: ['74-51=23', '80-23=57'] Exploring Operation: 83+57=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 83*57=4731, Resulting Numbers: [4731] 4731,91 unequal: No Solution Exploring Operation: 83-57=26, Resulting Numbers: [26] 26,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[83, 74, 29], Operations: ['80-51=29'] Exploring Operation: 74-29=45, Resulting Numbers: [83, 45] Generated Node #0,3,0: 91:[83, 45] Operation: 74-29=45 Exploring Operation: 83+29=112, Resulting Numbers: [74, 112] Generated Node #0,3,1: 91:[74, 112] Operation: 83+29=112 Exploring Operation: 74+29=103, Resulting Numbers: [83, 103] Generated Node #0,3,2: 91:[83, 103] Operation: 74+29=103 Exploring Operation: 83-29=54, Resulting Numbers: [74, 54] Generated Node #0,3,3: 91:[74, 54] Operation: 83-29=54 Exploring Operation: 83-74=9, Resulting Numbers: [29, 9] Generated Node #0,3,4: 91:[29, 9] Operation: 83-74=9 Moving to Node #0,3,4 Current State: 91:[29, 9], Operations: ['80-51=29', '83-74=9'] Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,91 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[83, 103], Operations: ['80-51=29', '74+29=103'] Exploring Operation: 83+103=186, Resulting Numbers: [186] 186,91 unequal: No Solution Exploring Operation: 103-83=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 83*103=8549, Resulting Numbers: [8549] 8549,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[74, 112], Operations: ['80-51=29', '83+29=112'] Exploring Operation: 74*112=8288, Resulting Numbers: [8288] 8288,91 unequal: No Solution Exploring Operation: 74+112=186, Resulting Numbers: [186] 186,91 unequal: No Solution Exploring Operation: 112-74=38, Resulting Numbers: [38] 38,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[83, 45], Operations: ['80-51=29', '74-29=45'] Exploring Operation: 83*45=3735, Resulting Numbers: [3735] 3735,91 unequal: No Solution Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 83+45=128, Resulting Numbers: [128] 128,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[74, 54], Operations: ['80-51=29', '83-29=54'] Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,91 unequal: No Solution Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[80, 74, 32], Operations: ['83-51=32'] Exploring Operation: 74+32=106, Resulting Numbers: [80, 106] Generated Node #0,2,0: 91:[80, 106] Operation: 74+32=106 Exploring Operation: 80+32=112, Resulting Numbers: [74, 112] Generated Node #0,2,1: 91:[74, 112] Operation: 80+32=112 Exploring Operation: 80-74=6, Resulting Numbers: [32, 6] Generated Node #0,2,2: 91:[32, 6] Operation: 80-74=6 Exploring Operation: 74-32=42, Resulting Numbers: [80, 42] Generated Node #0,2,3: 91:[80, 42] Operation: 74-32=42 Exploring Operation: 80-32=48, Resulting Numbers: [74, 48] Generated Node #0,2,4: 91:[74, 48] Operation: 80-32=48 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 91:[32, 6], Operations: ['83-51=32', '80-74=6'] Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,91 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[80, 106], Operations: ['83-51=32', '74+32=106'] Exploring Operation: 80*106=8480, Resulting Numbers: [8480] 8480,91 unequal: No Solution Exploring Operation: 80+106=186, Resulting Numbers: [186] 186,91 unequal: No Solution Exploring Operation: 106-80=26, Resulting Numbers: [26] 26,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 91:[74, 112], Operations: ['83-51=32', '80+32=112'] Exploring Operation: 74+112=186, Resulting Numbers: [186] 186,91 unequal: No Solution Exploring Operation: 74*112=8288, Resulting Numbers: [8288] 8288,91 unequal: No Solution Exploring Operation: 112-74=38, Resulting Numbers: [38] 38,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 91:[80, 42], Operations: ['83-51=32', '74-32=42'] Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,91 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 91:[74, 48], Operations: ['83-51=32', '80-32=48'] Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,91 unequal: No Solution Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,91 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 91:[83, 51, 6], Operations: ['80-74=6'] Exploring Operation: 51+6=57, Resulting Numbers: [83, 57] Generated Node #0,4,0: 91:[83, 57] Operation: 51+6=57 Exploring Operation: 83+51=134, Resulting Numbers: [6, 134] Generated Node #0,4,1: 91:[6, 134] Operation: 83+51=134 Exploring Operation: 83-51=32, Resulting Numbers: [6, 32] Generated Node #0,4,2: 91:[6, 32] Operation: 83-51=32 Exploring Operation: 83+6=89, Resulting Numbers: [51, 89] Generated Node #0,4,3: 91:[51, 89] Operation: 83+6=89 Exploring Operation: 51-6=45, Resulting Numbers: [83, 45] Generated Node #0,4,4: 91:[83, 45] Operation: 51-6=45 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 91:[6, 32], Operations: ['80-74=6', '83-51=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 91:[51, 89], Operations: ['80-74=6', '83+6=89'] Exploring Operation: 51+89=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 51*89=4539, Resulting Numbers: [4539] 4539,91 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 91:[83, 45], Operations: ['80-74=6', '51-6=45'] Exploring Operation: 83+45=128, Resulting Numbers: [128] 128,91 unequal: No Solution Exploring Operation: 83*45=3735, Resulting Numbers: [3735] 3735,91 unequal: No Solution Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 91:[83, 57], Operations: ['80-74=6', '51+6=57'] Exploring Operation: 83+57=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 83*57=4731, Resulting Numbers: [4731] 4731,91 unequal: No Solution Exploring Operation: 83-57=26, Resulting Numbers: [26] 26,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 91:[6, 134], Operations: ['80-74=6', '83+51=134'] Exploring Operation: 6+134=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 134-6=128, Resulting Numbers: [128] 128,91 unequal: No Solution Exploring Operation: 6*134=804, Resulting Numbers: [804] 804,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[80, 51, 9], Operations: ['83-74=9'] Exploring Operation: 80+9=89, Resulting Numbers: [51, 89] Generated Node #0,0,0: 91:[51, 89] Operation: 80+9=89 Exploring Operation: 51-9=42, Resulting Numbers: [80, 42] Generated Node #0,0,1: 91:[80, 42] Operation: 51-9=42 Exploring Operation: 80+51=131, Resulting Numbers: [9, 131] Generated Node #0,0,2: 91:[9, 131] Operation: 80+51=131 Exploring Operation: 80-51=29, Resulting Numbers: [9, 29] Generated Node #0,0,3: 91:[9, 29] Operation: 80-51=29 Exploring Operation: 51+9=60, Resulting Numbers: [80, 60] Generated Node #0,0,4: 91:[80, 60] Operation: 51+9=60 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 91:[9, 29], Operations: ['83-74=9', '80-51=29'] Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 9*29=261, Resulting Numbers: [261] 261,91 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[51, 89], Operations: ['83-74=9', '80+9=89'] Exploring Operation: 51+89=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 51*89=4539, Resulting Numbers: [4539] 4539,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[80, 42], Operations: ['83-74=9', '51-9=42'] Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,91 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[9, 131], Operations: ['83-74=9', '80+51=131'] Exploring Operation: 9+131=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 131-9=122, Resulting Numbers: [122] 122,91 unequal: No Solution Exploring Operation: 9*131=1179, Resulting Numbers: [1179] 1179,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 91:[80, 60], Operations: ['83-74=9', '51+9=60'] Exploring Operation: 80*60=4800, Resulting Numbers: [4800] 4800,91 unequal: No Solution Exploring Operation: 80+60=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 72, 35, 15, 17 ]
35
[ "72-35=37", "17-15=2", "37-2=35" ]
Current State: 35:[72, 35, 15, 17], Operations: [] Exploring Operation: 72-35=37, Resulting Numbers: [15, 17, 37] Generated Node #2: [15, 17, 37] from Operation: 72-35=37 Current State: 35:[15, 17, 37], Operations: ['72-35=37'] Exploring Operation: 17-15=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 17-15=2 Current State: 35:[37, 2], Operations: ['72-35=37', '17-15=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[72, 35, 15, 17], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [35, 15, 55] Generated Node #0,0: 35:[35, 15, 55] Operation: 72-17=55 Exploring Operation: 72-15=57, Resulting Numbers: [35, 17, 57] Generated Node #0,1: 35:[35, 17, 57] Operation: 72-15=57 Exploring Operation: 72-35=37, Resulting Numbers: [15, 17, 37] Generated Node #0,2: 35:[15, 17, 37] Operation: 72-35=37 Exploring Operation: 15+17=32, Resulting Numbers: [72, 35, 32] Generated Node #0,3: 35:[72, 35, 32] Operation: 15+17=32 Moving to Node #0,2 Current State: 35:[15, 17, 37], Operations: ['72-35=37'] Exploring Operation: 37-15=22, Resulting Numbers: [17, 22] Generated Node #0,2,0: 35:[17, 22] Operation: 37-15=22 Exploring Operation: 17-15=2, Resulting Numbers: [37, 2] Generated Node #0,2,1: 35:[37, 2] Operation: 17-15=2 Exploring Operation: 15+17=32, Resulting Numbers: [37, 32] Generated Node #0,2,2: 35:[37, 32] Operation: 15+17=32 Exploring Operation: 37-17=20, Resulting Numbers: [15, 20] Generated Node #0,2,3: 35:[15, 20] Operation: 37-17=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[37, 2], Operations: ['72-35=37', '17-15=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[72, 35, 15, 17], Operations: [] Exploring Operation: 72-35=37, Resulting Numbers: [15, 17, 37] Generated Node #0,2: 35:[15, 17, 37] Operation: 72-35=37 Moving to Node #0,2 Current State: 35:[15, 17, 37], Operations: ['72-35=37'] Exploring Operation: 17-15=2, Resulting Numbers: [37, 2] Generated Node #0,2,1: 35:[37, 2] Operation: 17-15=2 Moving to Node #0,2,1 Current State: 35:[37, 2], Operations: ['72-35=37', '17-15=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 39, 14, 13, 84 ]
59
[ "39+84=123", "14*13=182", "182-123=59" ]
Current State: 59:[39, 14, 13, 84], Operations: [] Exploring Operation: 39+84=123, Resulting Numbers: [14, 13, 123] Generated Node #2: [14, 13, 123] from Operation: 39+84=123 Current State: 59:[14, 13, 123], Operations: ['39+84=123'] Exploring Operation: 14*13=182, Resulting Numbers: [123, 182] Generated Node #3: [123, 182] from Operation: 14*13=182 Current State: 59:[123, 182], Operations: ['39+84=123', '14*13=182'] Exploring Operation: 182-123=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[39, 14, 13, 84], Operations: [] Exploring Operation: 39+13=52, Resulting Numbers: [14, 84, 52] Generated Node #0,0: 59:[14, 84, 52] Operation: 39+13=52 Exploring Operation: 84-14=70, Resulting Numbers: [39, 13, 70] Generated Node #0,1: 59:[39, 13, 70] Operation: 84-14=70 Exploring Operation: 84-13=71, Resulting Numbers: [39, 14, 71] Generated Node #0,2: 59:[39, 14, 71] Operation: 84-13=71 Exploring Operation: 39+14=53, Resulting Numbers: [13, 84, 53] Generated Node #0,3: 59:[13, 84, 53] Operation: 39+14=53 Exploring Operation: 14+13=27, Resulting Numbers: [39, 84, 27] Generated Node #0,4: 59:[39, 84, 27] Operation: 14+13=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[14, 84, 52], Operations: ['39+13=52'] Exploring Operation: 84-14=70, Resulting Numbers: [52, 70] Generated Node #0,0,0: 59:[52, 70] Operation: 84-14=70 Exploring Operation: 52-14=38, Resulting Numbers: [84, 38] Generated Node #0,0,1: 59:[84, 38] Operation: 52-14=38 Exploring Operation: 14+84=98, Resulting Numbers: [52, 98] Generated Node #0,0,2: 59:[52, 98] Operation: 14+84=98 Exploring Operation: 14+52=66, Resulting Numbers: [84, 66] Generated Node #0,0,3: 59:[84, 66] Operation: 14+52=66 Exploring Operation: 84/14=6, Resulting Numbers: [52, 6] Generated Node #0,0,4: 59:[52, 6] Operation: 84/14=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[52, 70], Operations: ['39+13=52', '84-14=70'] Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,59 unequal: No Solution Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[84, 66], Operations: ['39+13=52', '14+52=66'] Exploring Operation: 84+66=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 84*66=5544, Resulting Numbers: [5544] 5544,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[84, 38], Operations: ['39+13=52', '52-14=38'] Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,59 unequal: No Solution Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[52, 98], Operations: ['39+13=52', '14+84=98'] Exploring Operation: 52*98=5096, Resulting Numbers: [5096] 5096,59 unequal: No Solution Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 52+98=150, Resulting Numbers: [150] 150,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 59:[52, 6], Operations: ['39+13=52', '84/14=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,59 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[39, 13, 70], Operations: ['84-14=70'] Exploring Operation: 39/13=3, Resulting Numbers: [70, 3] Generated Node #0,1,0: 59:[70, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [70, 26] Generated Node #0,1,1: 59:[70, 26] Operation: 39-13=26 Exploring Operation: 70-13=57, Resulting Numbers: [39, 57] Generated Node #0,1,2: 59:[39, 57] Operation: 70-13=57 Exploring Operation: 39+13=52, Resulting Numbers: [70, 52] Generated Node #0,1,3: 59:[70, 52] Operation: 39+13=52 Exploring Operation: 13+70=83, Resulting Numbers: [39, 83] Generated Node #0,1,4: 59:[39, 83] Operation: 13+70=83 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[70, 52], Operations: ['84-14=70', '39+13=52'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 70+52=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 70*52=3640, Resulting Numbers: [3640] 3640,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[39, 57], Operations: ['84-14=70', '70-13=57'] Exploring Operation: 39*57=2223, Resulting Numbers: [2223] 2223,59 unequal: No Solution Exploring Operation: 39+57=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[70, 26], Operations: ['84-14=70', '39-13=26'] Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,59 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 59:[39, 83], Operations: ['84-14=70', '13+70=83'] Exploring Operation: 39*83=3237, Resulting Numbers: [3237] 3237,59 unequal: No Solution Exploring Operation: 39+83=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[70, 3], Operations: ['84-14=70', '39/13=3'] Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,59 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[39, 14, 71], Operations: ['84-13=71'] Exploring Operation: 14+71=85, Resulting Numbers: [39, 85] Generated Node #0,2,0: 59:[39, 85] Operation: 14+71=85 Exploring Operation: 39-14=25, Resulting Numbers: [71, 25] Generated Node #0,2,1: 59:[71, 25] Operation: 39-14=25 Exploring Operation: 39+14=53, Resulting Numbers: [71, 53] Generated Node #0,2,2: 59:[71, 53] Operation: 39+14=53 Exploring Operation: 71-39=32, Resulting Numbers: [14, 32] Generated Node #0,2,3: 59:[14, 32] Operation: 71-39=32 Exploring Operation: 71-14=57, Resulting Numbers: [39, 57] Generated Node #0,2,4: 59:[39, 57] Operation: 71-14=57 Moving to Node #0,2,2 Current State: 59:[71, 53], Operations: ['84-13=71', '39+14=53'] Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 71+53=124, Resulting Numbers: [124] 124,59 unequal: No Solution Exploring Operation: 71*53=3763, Resulting Numbers: [3763] 3763,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[39, 57], Operations: ['84-13=71', '71-14=57'] Exploring Operation: 39*57=2223, Resulting Numbers: [2223] 2223,59 unequal: No Solution Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 39+57=96, Resulting Numbers: [96] 96,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[39, 85], Operations: ['84-13=71', '14+71=85'] Exploring Operation: 39+85=124, Resulting Numbers: [124] 124,59 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 39*85=3315, Resulting Numbers: [3315] 3315,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[71, 25], Operations: ['84-13=71', '39-14=25'] Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 71*25=1775, Resulting Numbers: [1775] 1775,59 unequal: No Solution Exploring Operation: 71+25=96, Resulting Numbers: [96] 96,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[14, 32], Operations: ['84-13=71', '71-39=32'] Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,59 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[13, 84, 53], Operations: ['39+14=53'] Exploring Operation: 13+53=66, Resulting Numbers: [84, 66] Generated Node #0,3,0: 59:[84, 66] Operation: 13+53=66 Exploring Operation: 84-53=31, Resulting Numbers: [13, 31] Generated Node #0,3,1: 59:[13, 31] Operation: 84-53=31 Exploring Operation: 53-13=40, Resulting Numbers: [84, 40] Generated Node #0,3,2: 59:[84, 40] Operation: 53-13=40 Exploring Operation: 13+84=97, Resulting Numbers: [53, 97] Generated Node #0,3,3: 59:[53, 97] Operation: 13+84=97 Exploring Operation: 84-13=71, Resulting Numbers: [53, 71] Generated Node #0,3,4: 59:[53, 71] Operation: 84-13=71 Moving to Node #0,3,4 Current State: 59:[53, 71], Operations: ['39+14=53', '84-13=71'] Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 53+71=124, Resulting Numbers: [124] 124,59 unequal: No Solution Exploring Operation: 53*71=3763, Resulting Numbers: [3763] 3763,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[84, 66], Operations: ['39+14=53', '13+53=66'] Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 84*66=5544, Resulting Numbers: [5544] 5544,59 unequal: No Solution Exploring Operation: 84+66=150, Resulting Numbers: [150] 150,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[84, 40], Operations: ['39+14=53', '53-13=40'] Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,59 unequal: No Solution Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,59 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[53, 97], Operations: ['39+14=53', '13+84=97'] Exploring Operation: 53+97=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 53*97=5141, Resulting Numbers: [5141] 5141,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[13, 31], Operations: ['39+14=53', '84-53=31'] Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,59 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 59:[39, 84, 27], Operations: ['14+13=27'] Exploring Operation: 84-39=45, Resulting Numbers: [27, 45] Generated Node #0,4,0: 59:[27, 45] Operation: 84-39=45 Exploring Operation: 39-27=12, Resulting Numbers: [84, 12] Generated Node #0,4,1: 59:[84, 12] Operation: 39-27=12 Exploring Operation: 84+27=111, Resulting Numbers: [39, 111] Generated Node #0,4,2: 59:[39, 111] Operation: 84+27=111 Exploring Operation: 39+27=66, Resulting Numbers: [84, 66] Generated Node #0,4,3: 59:[84, 66] Operation: 39+27=66 Exploring Operation: 84-27=57, Resulting Numbers: [39, 57] Generated Node #0,4,4: 59:[39, 57] Operation: 84-27=57 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 59:[39, 57], Operations: ['14+13=27', '84-27=57'] Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 39+57=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 39*57=2223, Resulting Numbers: [2223] 2223,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 59:[84, 66], Operations: ['14+13=27', '39+27=66'] Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 84+66=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 84*66=5544, Resulting Numbers: [5544] 5544,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 59:[27, 45], Operations: ['14+13=27', '84-39=45'] Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,59 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 59:[84, 12], Operations: ['14+13=27', '39-27=12'] Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,59 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 59:[39, 111], Operations: ['14+13=27', '84+27=111'] Exploring Operation: 111-39=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 39+111=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 39*111=4329, Resulting Numbers: [4329] 4329,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 40, 34, 73, 51 ]
52
[ "40+34=74", "73-51=22", "74-22=52" ]
Current State: 52:[40, 34, 73, 51], Operations: [] Exploring Operation: 40+34=74, Resulting Numbers: [73, 51, 74] Generated Node #2: [73, 51, 74] from Operation: 40+34=74 Current State: 52:[73, 51, 74], Operations: ['40+34=74'] Exploring Operation: 73-51=22, Resulting Numbers: [74, 22] Generated Node #3: [74, 22] from Operation: 73-51=22 Current State: 52:[74, 22], Operations: ['40+34=74', '73-51=22'] Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[40, 34, 73, 51], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [40, 34, 22] Generated Node #0,0: 52:[40, 34, 22] Operation: 73-51=22 Exploring Operation: 73-40=33, Resulting Numbers: [34, 51, 33] Generated Node #0,1: 52:[34, 51, 33] Operation: 73-40=33 Exploring Operation: 40-34=6, Resulting Numbers: [73, 51, 6] Generated Node #0,2: 52:[73, 51, 6] Operation: 40-34=6 Moving to Node #0,1 Current State: 52:[34, 51, 33], Operations: ['73-40=33'] Exploring Operation: 51-33=18, Resulting Numbers: [34, 18] Generated Node #0,1,0: 52:[34, 18] Operation: 51-33=18 Exploring Operation: 34-33=1, Resulting Numbers: [51, 1] Generated Node #0,1,1: 52:[51, 1] Operation: 34-33=1 Exploring Operation: 51-34=17, Resulting Numbers: [33, 17] Generated Node #0,1,2: 52:[33, 17] Operation: 51-34=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[51, 1], Operations: ['73-40=33', '34-33=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 51+1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[40, 34, 73, 51], Operations: [] Exploring Operation: 73-40=33, Resulting Numbers: [34, 51, 33] Generated Node #0,1: 52:[34, 51, 33] Operation: 73-40=33 Moving to Node #0,1 Current State: 52:[34, 51, 33], Operations: ['73-40=33'] Exploring Operation: 34-33=1, Resulting Numbers: [51, 1] Generated Node #0,1,1: 52:[51, 1] Operation: 34-33=1 Moving to Node #0,1,1 Current State: 52:[51, 1], Operations: ['73-40=33', '34-33=1'] Exploring Operation: 51+1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 14, 89, 11, 6 ]
98
[ "14+89=103", "11-6=5", "103-5=98" ]
Current State: 98:[14, 89, 11, 6], Operations: [] Exploring Operation: 14+89=103, Resulting Numbers: [11, 6, 103] Generated Node #2: [11, 6, 103] from Operation: 14+89=103 Current State: 98:[11, 6, 103], Operations: ['14+89=103'] Exploring Operation: 11-6=5, Resulting Numbers: [103, 5] Generated Node #3: [103, 5] from Operation: 11-6=5 Current State: 98:[103, 5], Operations: ['14+89=103', '11-6=5'] Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[14, 89, 11, 6], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [89, 6, 3] Generated Node #0,0: 98:[89, 6, 3] Operation: 14-11=3 Exploring Operation: 89+6=95, Resulting Numbers: [14, 11, 95] Generated Node #0,1: 98:[14, 11, 95] Operation: 89+6=95 Exploring Operation: 14+89=103, Resulting Numbers: [11, 6, 103] Generated Node #0,2: 98:[11, 6, 103] Operation: 14+89=103 Exploring Operation: 89+11=100, Resulting Numbers: [14, 6, 100] Generated Node #0,3: 98:[14, 6, 100] Operation: 89+11=100 Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[14, 6, 100], Operations: ['89+11=100'] Exploring Operation: 14-6=8, Resulting Numbers: [100, 8] Generated Node #0,3,0: 98:[100, 8] Operation: 14-6=8 Exploring Operation: 100-6=94, Resulting Numbers: [14, 94] Generated Node #0,3,1: 98:[14, 94] Operation: 100-6=94 Exploring Operation: 6+100=106, Resulting Numbers: [14, 106] Generated Node #0,3,2: 98:[14, 106] Operation: 6+100=106 Exploring Operation: 14+6=20, Resulting Numbers: [100, 20] Generated Node #0,3,3: 98:[100, 20] Operation: 14+6=20 Moving to Node #0,3,0 Current State: 98:[100, 8], Operations: ['89+11=100', '14-6=8'] Exploring Operation: 100-8=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 100+8=108, Resulting Numbers: [108] 108,98 unequal: No Solution Exploring Operation: 100*8=800, Resulting Numbers: [800] 800,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[14, 94], Operations: ['89+11=100', '100-6=94'] Exploring Operation: 14*94=1316, Resulting Numbers: [1316] 1316,98 unequal: No Solution Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,98 unequal: No Solution Exploring Operation: 14+94=108, Resulting Numbers: [108] 108,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[100, 20], Operations: ['89+11=100', '14+6=20'] Exploring Operation: 100+20=120, Resulting Numbers: [120] 120,98 unequal: No Solution Exploring Operation: 100/20=5, Resulting Numbers: [5] 5,98 unequal: No Solution Exploring Operation: 100*20=2000, Resulting Numbers: [2000] 2000,98 unequal: No Solution Exploring Operation: 100-20=80, Resulting Numbers: [80] 80,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[14, 106], Operations: ['89+11=100', '6+100=106'] Exploring Operation: 106-14=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 14*106=1484, Resulting Numbers: [1484] 1484,98 unequal: No Solution Exploring Operation: 14+106=120, Resulting Numbers: [120] 120,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[14, 11, 95], Operations: ['89+6=95'] Exploring Operation: 14+11=25, Resulting Numbers: [95, 25] Generated Node #0,1,0: 98:[95, 25] Operation: 14+11=25 Exploring Operation: 14-11=3, Resulting Numbers: [95, 3] Generated Node #0,1,1: 98:[95, 3] Operation: 14-11=3 Exploring Operation: 11+95=106, Resulting Numbers: [14, 106] Generated Node #0,1,2: 98:[14, 106] Operation: 11+95=106 Exploring Operation: 14+95=109, Resulting Numbers: [11, 109] Generated Node #0,1,3: 98:[11, 109] Operation: 14+95=109 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[95, 3], Operations: ['89+6=95', '14-11=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[14, 89, 11, 6], Operations: [] Exploring Operation: 89+6=95, Resulting Numbers: [14, 11, 95] Generated Node #0,1: 98:[14, 11, 95] Operation: 89+6=95 Moving to Node #0,1 Current State: 98:[14, 11, 95], Operations: ['89+6=95'] Exploring Operation: 14-11=3, Resulting Numbers: [95, 3] Generated Node #0,1,1: 98:[95, 3] Operation: 14-11=3 Moving to Node #0,1,1 Current State: 98:[95, 3], Operations: ['89+6=95', '14-11=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 55, 94, 64, 18 ]
67
[ "55+94=149", "64+18=82", "149-82=67" ]
Current State: 67:[55, 94, 64, 18], Operations: [] Exploring Operation: 55+94=149, Resulting Numbers: [64, 18, 149] Generated Node #2: [64, 18, 149] from Operation: 55+94=149 Current State: 67:[64, 18, 149], Operations: ['55+94=149'] Exploring Operation: 64+18=82, Resulting Numbers: [149, 82] Generated Node #3: [149, 82] from Operation: 64+18=82 Current State: 67:[149, 82], Operations: ['55+94=149', '64+18=82'] Exploring Operation: 149-82=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[55, 94, 64, 18], Operations: [] Exploring Operation: 55+18=73, Resulting Numbers: [94, 64, 73] Generated Node #0,0: 67:[94, 64, 73] Operation: 55+18=73 Exploring Operation: 94+18=112, Resulting Numbers: [55, 64, 112] Generated Node #0,1: 67:[55, 64, 112] Operation: 94+18=112 Exploring Operation: 94-18=76, Resulting Numbers: [55, 64, 76] Generated Node #0,2: 67:[55, 64, 76] Operation: 94-18=76 Exploring Operation: 64+18=82, Resulting Numbers: [55, 94, 82] Generated Node #0,3: 67:[55, 94, 82] Operation: 64+18=82 Exploring Operation: 55-18=37, Resulting Numbers: [94, 64, 37] Generated Node #0,4: 67:[94, 64, 37] Operation: 55-18=37 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[55, 64, 76], Operations: ['94-18=76'] Exploring Operation: 55+64=119, Resulting Numbers: [76, 119] Generated Node #0,2,0: 67:[76, 119] Operation: 55+64=119 Exploring Operation: 64-55=9, Resulting Numbers: [76, 9] Generated Node #0,2,1: 67:[76, 9] Operation: 64-55=9 Exploring Operation: 76-64=12, Resulting Numbers: [55, 12] Generated Node #0,2,2: 67:[55, 12] Operation: 76-64=12 Exploring Operation: 55+76=131, Resulting Numbers: [64, 131] Generated Node #0,2,3: 67:[64, 131] Operation: 55+76=131 Exploring Operation: 76-55=21, Resulting Numbers: [64, 21] Generated Node #0,2,4: 67:[64, 21] Operation: 76-55=21 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 67:[64, 21], Operations: ['94-18=76', '76-55=21'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,67 unequal: No Solution Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[76, 119], Operations: ['94-18=76', '55+64=119'] Exploring Operation: 76+119=195, Resulting Numbers: [195] 195,67 unequal: No Solution Exploring Operation: 119-76=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 76*119=9044, Resulting Numbers: [9044] 9044,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[76, 9], Operations: ['94-18=76', '64-55=9'] Exploring Operation: 76*9=684, Resulting Numbers: [684] 684,67 unequal: No Solution Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,67 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[55, 94, 64, 18], Operations: [] Exploring Operation: 94-18=76, Resulting Numbers: [55, 64, 76] Generated Node #0,2: 67:[55, 64, 76] Operation: 94-18=76 Moving to Node #0,2 Current State: 67:[55, 64, 76], Operations: ['94-18=76'] Exploring Operation: 64-55=9, Resulting Numbers: [76, 9] Generated Node #0,2,1: 67:[76, 9] Operation: 64-55=9 Moving to Node #0,2,1 Current State: 67:[76, 9], Operations: ['94-18=76', '64-55=9'] Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 51, 38, 78, 30 ]
61
[ "51-38=13", "78-30=48", "13+48=61" ]
Current State: 61:[51, 38, 78, 30], Operations: [] Exploring Operation: 51-38=13, Resulting Numbers: [78, 30, 13] Generated Node #2: [78, 30, 13] from Operation: 51-38=13 Current State: 61:[78, 30, 13], Operations: ['51-38=13'] Exploring Operation: 78-30=48, Resulting Numbers: [13, 48] Generated Node #3: [13, 48] from Operation: 78-30=48 Current State: 61:[13, 48], Operations: ['51-38=13', '78-30=48'] Exploring Operation: 13+48=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[51, 38, 78, 30], Operations: [] Exploring Operation: 38+30=68, Resulting Numbers: [51, 78, 68] Generated Node #0,0: 61:[51, 78, 68] Operation: 38+30=68 Exploring Operation: 78-30=48, Resulting Numbers: [51, 38, 48] Generated Node #0,1: 61:[51, 38, 48] Operation: 78-30=48 Exploring Operation: 51+30=81, Resulting Numbers: [38, 78, 81] Generated Node #0,2: 61:[38, 78, 81] Operation: 51+30=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[51, 78, 68], Operations: ['38+30=68'] Exploring Operation: 78-51=27, Resulting Numbers: [68, 27] Generated Node #0,0,0: 61:[68, 27] Operation: 78-51=27 Exploring Operation: 68-51=17, Resulting Numbers: [78, 17] Generated Node #0,0,1: 61:[78, 17] Operation: 68-51=17 Exploring Operation: 78-68=10, Resulting Numbers: [51, 10] Generated Node #0,0,2: 61:[51, 10] Operation: 78-68=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[68, 27], Operations: ['38+30=68', '78-51=27'] Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,61 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[78, 17], Operations: ['38+30=68', '68-51=17'] Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[51, 38, 78, 30], Operations: [] Exploring Operation: 38+30=68, Resulting Numbers: [51, 78, 68] Generated Node #0,0: 61:[51, 78, 68] Operation: 38+30=68 Moving to Node #0,0 Current State: 61:[51, 78, 68], Operations: ['38+30=68'] Exploring Operation: 68-51=17, Resulting Numbers: [78, 17] Generated Node #0,0,1: 61:[78, 17] Operation: 68-51=17 Moving to Node #0,0,1 Current State: 61:[78, 17], Operations: ['38+30=68', '68-51=17'] Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 11, 99, 36, 57 ]
89
[ "11+99=110", "57-36=21", "110-21=89" ]
Current State: 89:[11, 99, 36, 57], Operations: [] Exploring Operation: 11+99=110, Resulting Numbers: [36, 57, 110] Generated Node #2: [36, 57, 110] from Operation: 11+99=110 Current State: 89:[36, 57, 110], Operations: ['11+99=110'] Exploring Operation: 57-36=21, Resulting Numbers: [110, 21] Generated Node #3: [110, 21] from Operation: 57-36=21 Current State: 89:[110, 21], Operations: ['11+99=110', '57-36=21'] Exploring Operation: 110-21=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[11, 99, 36, 57], Operations: [] Exploring Operation: 11+57=68, Resulting Numbers: [99, 36, 68] Generated Node #0,0: 89:[99, 36, 68] Operation: 11+57=68 Exploring Operation: 11+36=47, Resulting Numbers: [99, 57, 47] Generated Node #0,1: 89:[99, 57, 47] Operation: 11+36=47 Exploring Operation: 99-11=88, Resulting Numbers: [36, 57, 88] Generated Node #0,2: 89:[36, 57, 88] Operation: 99-11=88 Moving to Node #0,0 Current State: 89:[99, 36, 68], Operations: ['11+57=68'] Exploring Operation: 36+68=104, Resulting Numbers: [99, 104] Generated Node #0,0,0: 89:[99, 104] Operation: 36+68=104 Exploring Operation: 99+36=135, Resulting Numbers: [68, 135] Generated Node #0,0,1: 89:[68, 135] Operation: 99+36=135 Exploring Operation: 99-36=63, Resulting Numbers: [68, 63] Generated Node #0,0,2: 89:[68, 63] Operation: 99-36=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[99, 104], Operations: ['11+57=68', '36+68=104'] Exploring Operation: 99*104=10296, Resulting Numbers: [10296] 10296,89 unequal: No Solution Exploring Operation: 104-99=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 99+104=203, Resulting Numbers: [203] 203,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[68, 63], Operations: ['11+57=68', '99-36=63'] Exploring Operation: 68+63=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 68*63=4284, Resulting Numbers: [4284] 4284,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[68, 135], Operations: ['11+57=68', '99+36=135'] Exploring Operation: 68*135=9180, Resulting Numbers: [9180] 9180,89 unequal: No Solution Exploring Operation: 135-68=67, Resulting Numbers: [67] 67,89 unequal: No Solution Exploring Operation: 68+135=203, Resulting Numbers: [203] 203,89 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: 89:[99, 57, 47], Operations: ['11+36=47'] Exploring Operation: 99-47=52, Resulting Numbers: [57, 52] Generated Node #0,1,0: 89:[57, 52] Operation: 99-47=52 Exploring Operation: 57+47=104, Resulting Numbers: [99, 104] Generated Node #0,1,1: 89:[99, 104] Operation: 57+47=104 Exploring Operation: 99-57=42, Resulting Numbers: [47, 42] Generated Node #0,1,2: 89:[47, 42] Operation: 99-57=42 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[99, 104], Operations: ['11+36=47', '57+47=104'] Exploring Operation: 104-99=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 99*104=10296, Resulting Numbers: [10296] 10296,89 unequal: No Solution Exploring Operation: 99+104=203, Resulting Numbers: [203] 203,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[57, 52], Operations: ['11+36=47', '99-47=52'] Exploring Operation: 57+52=109, Resulting Numbers: [109] 109,89 unequal: No Solution Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 57*52=2964, Resulting Numbers: [2964] 2964,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[47, 42], Operations: ['11+36=47', '99-57=42'] Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,89 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[11, 99, 36, 57], Operations: [] Exploring Operation: 11+36=47, Resulting Numbers: [99, 57, 47] Generated Node #0,1: 89:[99, 57, 47] Operation: 11+36=47 Moving to Node #0,1 Current State: 89:[99, 57, 47], Operations: ['11+36=47'] Exploring Operation: 99-57=42, Resulting Numbers: [47, 42] Generated Node #0,1,2: 89:[47, 42] Operation: 99-57=42 Moving to Node #0,1,2 Current State: 89:[47, 42], Operations: ['11+36=47', '99-57=42'] Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 31, 35, 35, 17 ]
22
[ "35-31=4", "35-17=18", "4+18=22" ]
Current State: 22:[31, 35, 35, 17], Operations: [] Exploring Operation: 35-31=4, Resulting Numbers: [17, 4] Generated Node #2: [17, 4] from Operation: 35-31=4 Current State: 22:[17, 4], Operations: ['35-31=4'] Exploring Operation: 35-17=18, Resulting Numbers: [4, 18] Generated Node #3: [4, 18] from Operation: 35-17=18 Current State: 22:[4, 18], Operations: ['35-31=4', '35-17=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[31, 35, 35, 17], Operations: [] Exploring Operation: 35-35=0, Resulting Numbers: [31, 17, 0] Generated Node #0,0: 22:[31, 17, 0] Operation: 35-35=0 Exploring Operation: 35-31=4, Resulting Numbers: [35, 17, 4] Generated Node #0,1: 22:[35, 17, 4] Operation: 35-31=4 Exploring Operation: 35-31=4, Resulting Numbers: [35, 17, 4] Generated Node #0,2: 22:[35, 17, 4] Operation: 35-31=4 Exploring Operation: 35-17=18, Resulting Numbers: [31, 35, 18] Generated Node #0,3: 22:[31, 35, 18] Operation: 35-17=18 Exploring Operation: 35/35=1, Resulting Numbers: [31, 17, 1] Generated Node #0,4: 22:[31, 17, 1] Operation: 35/35=1 Moving to Node #0,4 Current State: 22:[31, 17, 1], Operations: ['35/35=1'] Exploring Operation: 17+1=18, Resulting Numbers: [31, 18] Generated Node #0,4,0: 22:[31, 18] Operation: 17+1=18 Exploring Operation: 31/1=31, Resulting Numbers: [17, 31] Generated Node #0,4,1: 22:[17, 31] Operation: 31/1=31 Exploring Operation: 31-1=30, Resulting Numbers: [17, 30] Generated Node #0,4,2: 22:[17, 30] Operation: 31-1=30 Exploring Operation: 31*1=31, Resulting Numbers: [17, 31] Generated Node #0,4,3: 22:[17, 31] Operation: 31*1=31 Exploring Operation: 31-17=14, Resulting Numbers: [1, 14] Generated Node #0,4,4: 22:[1, 14] Operation: 31-17=14 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[1, 14], Operations: ['35/35=1', '31-17=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,22 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,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:[31, 18], Operations: ['35/35=1', '17+1=18'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,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:[17, 30], Operations: ['35/35=1', '31-1=30'] Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,22 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,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,1 Current State: 22:[17, 31], Operations: ['35/35=1', '31/1=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,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:[17, 31], Operations: ['35/35=1', '31*1=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,22 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,22 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: 22:[31, 17, 0], Operations: ['35-35=0'] Exploring Operation: 17*0=0, Resulting Numbers: [31, 0] Generated Node #0,0,0: 22:[31, 0] Operation: 17*0=0 Exploring Operation: 31*0=0, Resulting Numbers: [17, 0] Generated Node #0,0,1: 22:[17, 0] Operation: 31*0=0 Exploring Operation: 31+0=31, Resulting Numbers: [17, 31] Generated Node #0,0,2: 22:[17, 31] Operation: 31+0=31 Exploring Operation: 31-17=14, Resulting Numbers: [0, 14] Generated Node #0,0,3: 22:[0, 14] Operation: 31-17=14 Exploring Operation: 31-0=31, Resulting Numbers: [17, 31] Generated Node #0,0,4: 22:[17, 31] Operation: 31-0=31 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 22:[0, 14], Operations: ['35-35=0', '31-17=14'] Exploring Operation: 0+14=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 14-0=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 0*14=0, Resulting Numbers: [0] 0,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:[17, 0], Operations: ['35-35=0', '31*0=0'] Exploring Operation: 17*0=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 17-0=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 17+0=17, Resulting Numbers: [17] 17,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,0 Current State: 22:[31, 0], Operations: ['35-35=0', '17*0=0'] Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 22:[17, 31], Operations: ['35-35=0', '31+0=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,22 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,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,4 Current State: 22:[17, 31], Operations: ['35-35=0', '31-0=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,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:[35, 17, 4], Operations: ['35-31=4'] Exploring Operation: 17-4=13, Resulting Numbers: [35, 13] Generated Node #0,1,0: 22:[35, 13] Operation: 17-4=13 Exploring Operation: 17+4=21, Resulting Numbers: [35, 21] Generated Node #0,1,1: 22:[35, 21] Operation: 17+4=21 Exploring Operation: 35+4=39, Resulting Numbers: [17, 39] Generated Node #0,1,2: 22:[17, 39] Operation: 35+4=39 Exploring Operation: 35-17=18, Resulting Numbers: [4, 18] Generated Node #0,1,3: 22:[4, 18] Operation: 35-17=18 Exploring Operation: 35-4=31, Resulting Numbers: [17, 31] Generated Node #0,1,4: 22:[17, 31] Operation: 35-4=31 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 22:[4, 18], Operations: ['35-31=4', '35-17=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[31, 35, 35, 17], Operations: [] Exploring Operation: 35-31=4, Resulting Numbers: [35, 17, 4] Generated Node #0,1: 22:[35, 17, 4] Operation: 35-31=4 Moving to Node #0,1 Current State: 22:[35, 17, 4], Operations: ['35-31=4'] Exploring Operation: 35-17=18, Resulting Numbers: [4, 18] Generated Node #0,1,3: 22:[4, 18] Operation: 35-17=18 Moving to Node #0,1,3 Current State: 22:[4, 18], Operations: ['35-31=4', '35-17=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
mult_heuristic
[ 2, 79, 29, 79 ]
57
[ "2*29=58", "79/79=1", "58-1=57" ]
Current State: 57:[2, 79, 29, 79], Operations: [] Exploring Operation: 2*29=58, Resulting Numbers: [79, 79, 58] Generated Node #2: [79, 79, 58] from Operation: 2*29=58 Current State: 57:[79, 79, 58], Operations: ['2*29=58'] Exploring Operation: 79/79=1, Resulting Numbers: [58, 1] Generated Node #3: [58, 1] from Operation: 79/79=1 Current State: 57:[58, 1], Operations: ['2*29=58', '79/79=1'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[2, 79, 29, 79], Operations: [] Exploring Operation: 79-29=50, Resulting Numbers: [2, 79, 50] Generated Node #0,0: 57:[2, 79, 50] Operation: 79-29=50 Exploring Operation: 79-79=0, Resulting Numbers: [2, 29, 0] Generated Node #0,1: 57:[2, 29, 0] Operation: 79-79=0 Exploring Operation: 79-29=50, Resulting Numbers: [2, 79, 50] Generated Node #0,2: 57:[2, 79, 50] Operation: 79-29=50 Exploring Operation: 79/79=1, Resulting Numbers: [2, 29, 1] Generated Node #0,3: 57:[2, 29, 1] Operation: 79/79=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[2, 29, 1], Operations: ['79/79=1'] Exploring Operation: 29-2=27, Resulting Numbers: [1, 27] Generated Node #0,3,0: 57:[1, 27] Operation: 29-2=27 Exploring Operation: 2+1=3, Resulting Numbers: [29, 3] Generated Node #0,3,1: 57:[29, 3] Operation: 2+1=3 Exploring Operation: 2*29=58, Resulting Numbers: [1, 58] Generated Node #0,3,2: 57:[1, 58] Operation: 2*29=58 Exploring Operation: 29-1=28, Resulting Numbers: [2, 28] Generated Node #0,3,3: 57:[2, 28] Operation: 29-1=28 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 57:[1, 58], Operations: ['79/79=1', '2*29=58'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 1+58=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[2, 79, 29, 79], Operations: [] Exploring Operation: 79/79=1, Resulting Numbers: [2, 29, 1] Generated Node #0,3: 57:[2, 29, 1] Operation: 79/79=1 Moving to Node #0,3 Current State: 57:[2, 29, 1], Operations: ['79/79=1'] Exploring Operation: 2*29=58, Resulting Numbers: [1, 58] Generated Node #0,3,2: 57:[1, 58] Operation: 2*29=58 Moving to Node #0,3,2 Current State: 57:[1, 58], Operations: ['79/79=1', '2*29=58'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 86, 65, 39, 3 ]
54
[ "86-65=21", "39-21=18", "3*18=54" ]
Current State: 54:[86, 65, 39, 3], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [39, 3, 21] Generated Node #2: [39, 3, 21] from Operation: 86-65=21 Current State: 54:[39, 3, 21], Operations: ['86-65=21'] Exploring Operation: 39-21=18, Resulting Numbers: [3, 18] Generated Node #3: [3, 18] from Operation: 39-21=18 Current State: 54:[3, 18], Operations: ['86-65=21', '39-21=18'] Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[86, 65, 39, 3], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [39, 3, 21] Generated Node #0,0: 54:[39, 3, 21] Operation: 86-65=21 Exploring Operation: 86-39=47, Resulting Numbers: [65, 3, 47] Generated Node #0,1: 54:[65, 3, 47] Operation: 86-39=47 Moving to Node #0,0 Current State: 54:[39, 3, 21], Operations: ['86-65=21'] Exploring Operation: 39+21=60, Resulting Numbers: [3, 60] Generated Node #0,0,0: 54:[3, 60] Operation: 39+21=60 Exploring Operation: 39-21=18, Resulting Numbers: [3, 18] Generated Node #0,0,1: 54:[3, 18] Operation: 39-21=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[3, 18], Operations: ['86-65=21', '39-21=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[86, 65, 39, 3], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [39, 3, 21] Generated Node #0,0: 54:[39, 3, 21] Operation: 86-65=21 Moving to Node #0,0 Current State: 54:[39, 3, 21], Operations: ['86-65=21'] Exploring Operation: 39-21=18, Resulting Numbers: [3, 18] Generated Node #0,0,1: 54:[3, 18] Operation: 39-21=18 Moving to Node #0,0,1 Current State: 54:[3, 18], Operations: ['86-65=21', '39-21=18'] Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 69, 76, 42, 75 ]
40
[ "76-69=7", "75-42=33", "7+33=40" ]
Current State: 40:[69, 76, 42, 75], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [42, 75, 7] Generated Node #2: [42, 75, 7] from Operation: 76-69=7 Current State: 40:[42, 75, 7], Operations: ['76-69=7'] Exploring Operation: 75-42=33, Resulting Numbers: [7, 33] Generated Node #3: [7, 33] from Operation: 75-42=33 Current State: 40:[7, 33], Operations: ['76-69=7', '75-42=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[69, 76, 42, 75], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [69, 42, 1] Generated Node #0,0: 40:[69, 42, 1] Operation: 76-75=1 Moving to Node #0,0 Current State: 40:[69, 42, 1], Operations: ['76-75=1'] Exploring Operation: 69-42=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 40:[1, 27] Operation: 69-42=27 Moving to Node #0,0,0 Current State: 40:[1, 27], Operations: ['76-75=1', '69-42=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,40 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 15, 57, 63, 2 ]
45
[ "57+63=120", "120/2=60", "60-15=45" ]
Current State: 45:[15, 57, 63, 2], Operations: [] Exploring Operation: 57+63=120, Resulting Numbers: [15, 2, 120] Generated Node #2: [15, 2, 120] from Operation: 57+63=120 Current State: 45:[15, 2, 120], Operations: ['57+63=120'] Exploring Operation: 120/2=60, Resulting Numbers: [15, 60] Generated Node #3: [15, 60] from Operation: 120/2=60 Current State: 45:[15, 60], Operations: ['57+63=120', '120/2=60'] Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[15, 57, 63, 2], Operations: [] Exploring Operation: 63-2=61, Resulting Numbers: [15, 57, 61] Generated Node #0,0: 45:[15, 57, 61] Operation: 63-2=61 Exploring Operation: 57-15=42, Resulting Numbers: [63, 2, 42] Generated Node #0,1: 45:[63, 2, 42] Operation: 57-15=42 Exploring Operation: 57-2=55, Resulting Numbers: [15, 63, 55] Generated Node #0,2: 45:[15, 63, 55] Operation: 57-2=55 Exploring Operation: 63-15=48, Resulting Numbers: [57, 2, 48] Generated Node #0,3: 45:[57, 2, 48] Operation: 63-15=48 Exploring Operation: 63-57=6, Resulting Numbers: [15, 2, 6] Generated Node #0,4: 45:[15, 2, 6] Operation: 63-57=6 Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[15, 2, 6], Operations: ['63-57=6'] Exploring Operation: 15-6=9, Resulting Numbers: [2, 9] Generated Node #0,4,0: 45:[2, 9] Operation: 15-6=9 Exploring Operation: 6-2=4, Resulting Numbers: [15, 4] Generated Node #0,4,1: 45:[15, 4] Operation: 6-2=4 Exploring Operation: 15+2=17, Resulting Numbers: [6, 17] Generated Node #0,4,2: 45:[6, 17] Operation: 15+2=17 Exploring Operation: 2+6=8, Resulting Numbers: [15, 8] Generated Node #0,4,3: 45:[15, 8] Operation: 2+6=8 Exploring Operation: 6/2=3, Resulting Numbers: [15, 3] Generated Node #0,4,4: 45:[15, 3] Operation: 6/2=3 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 45:[15, 3], Operations: ['63-57=6', '6/2=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[15, 57, 63, 2], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [15, 2, 6] Generated Node #0,4: 45:[15, 2, 6] Operation: 63-57=6 Moving to Node #0,4 Current State: 45:[15, 2, 6], Operations: ['63-57=6'] Exploring Operation: 6/2=3, Resulting Numbers: [15, 3] Generated Node #0,4,4: 45:[15, 3] Operation: 6/2=3 Moving to Node #0,4,4 Current State: 45:[15, 3], Operations: ['63-57=6', '6/2=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic