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
[ 10, 34, 4, 62 ]
12
[ "10*4=40", "62-34=28", "40-28=12" ]
Current State: 12:[10, 34, 4, 62], Operations: [] Exploring Operation: 10*4=40, Resulting Numbers: [34, 62, 40] Generated Node #2: [34, 62, 40] from Operation: 10*4=40 Current State: 12:[34, 62, 40], Operations: ['10*4=40'] Exploring Operation: 62-34=28, Resulting Numbers: [40, 28] Generated Node #3: [40, 28] from Operation: 62-34=28 Current State: 12:[40, 28], Operations: ['10*4=40', '62-34=28'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[10, 34, 4, 62], Operations: [] Exploring Operation: 34-4=30, Resulting Numbers: [10, 62, 30] Generated Node #0,0: 12:[10, 62, 30] Operation: 34-4=30 Exploring Operation: 34-10=24, Resulting Numbers: [4, 62, 24] Generated Node #0,1: 12:[4, 62, 24] Operation: 34-10=24 Exploring Operation: 62-34=28, Resulting Numbers: [10, 4, 28] Generated Node #0,2: 12:[10, 4, 28] Operation: 62-34=28 Exploring Operation: 62-10=52, Resulting Numbers: [34, 4, 52] Generated Node #0,3: 12:[34, 4, 52] Operation: 62-10=52 Moving to Node #0,2 Current State: 12:[10, 4, 28], Operations: ['62-34=28'] Exploring Operation: 28/4=7, Resulting Numbers: [10, 7] Generated Node #0,2,0: 12:[10, 7] Operation: 28/4=7 Exploring Operation: 28-4=24, Resulting Numbers: [10, 24] Generated Node #0,2,1: 12:[10, 24] Operation: 28-4=24 Exploring Operation: 28-10=18, Resulting Numbers: [4, 18] Generated Node #0,2,2: 12:[4, 18] Operation: 28-10=18 Exploring Operation: 10-4=6, Resulting Numbers: [28, 6] Generated Node #0,2,3: 12:[28, 6] Operation: 10-4=6 Moving to Node #0,3 Current State: 12:[34, 4, 52], Operations: ['62-10=52'] Exploring Operation: 52-4=48, Resulting Numbers: [34, 48] Generated Node #0,3,0: 12:[34, 48] Operation: 52-4=48 Exploring Operation: 52/4=13, Resulting Numbers: [34, 13] Generated Node #0,3,1: 12:[34, 13] Operation: 52/4=13 Exploring Operation: 34-4=30, Resulting Numbers: [52, 30] Generated Node #0,3,2: 12:[52, 30] Operation: 34-4=30 Exploring Operation: 52-34=18, Resulting Numbers: [4, 18] Generated Node #0,3,3: 12:[4, 18] Operation: 52-34=18 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 12:[4, 18], Operations: ['62-10=52', '52-34=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 12:[34, 13], Operations: ['62-10=52', '52/4=13'] Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,12 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 12:[34, 48], Operations: ['62-10=52', '52-4=48'] Exploring Operation: 34*48=1632, Resulting Numbers: [1632] 1632,12 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 34+48=82, Resulting Numbers: [82] 82,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 12:[52, 30], Operations: ['62-10=52', '34-4=30'] Exploring Operation: 52*30=1560, Resulting Numbers: [1560] 1560,12 unequal: No Solution Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,12 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,12 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: 12:[4, 62, 24], Operations: ['34-10=24'] Exploring Operation: 24/4=6, Resulting Numbers: [62, 6] Generated Node #0,1,0: 12:[62, 6] Operation: 24/4=6 Exploring Operation: 62-4=58, Resulting Numbers: [24, 58] Generated Node #0,1,1: 12:[24, 58] Operation: 62-4=58 Exploring Operation: 62-24=38, Resulting Numbers: [4, 38] Generated Node #0,1,2: 12:[4, 38] Operation: 62-24=38 Exploring Operation: 24-4=20, Resulting Numbers: [62, 20] Generated Node #0,1,3: 12:[62, 20] Operation: 24-4=20 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[4, 38], Operations: ['34-10=24', '62-24=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,12 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[62, 6], Operations: ['34-10=24', '24/4=6'] Exploring Operation: 62*6=372, Resulting Numbers: [372] 372,12 unequal: No Solution Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,12 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[24, 58], Operations: ['34-10=24', '62-4=58'] Exploring Operation: 24*58=1392, Resulting Numbers: [1392] 1392,12 unequal: No Solution Exploring Operation: 24+58=82, Resulting Numbers: [82] 82,12 unequal: No Solution Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 12:[62, 20], Operations: ['34-10=24', '24-4=20'] Exploring Operation: 62+20=82, Resulting Numbers: [82] 82,12 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 62*20=1240, Resulting Numbers: [1240] 1240,12 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: 12:[10, 62, 30], Operations: ['34-4=30'] Exploring Operation: 62-30=32, Resulting Numbers: [10, 32] Generated Node #0,0,0: 12:[10, 32] Operation: 62-30=32 Exploring Operation: 30/10=3, Resulting Numbers: [62, 3] Generated Node #0,0,1: 12:[62, 3] Operation: 30/10=3 Exploring Operation: 30-10=20, Resulting Numbers: [62, 20] Generated Node #0,0,2: 12:[62, 20] Operation: 30-10=20 Exploring Operation: 62-10=52, Resulting Numbers: [30, 52] Generated Node #0,0,3: 12:[30, 52] Operation: 62-10=52 Moving to Node #0,2,0 Current State: 12:[10, 7], Operations: ['62-34=28', '28/4=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,12 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[4, 18], Operations: ['62-34=28', '28-10=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[10, 24], Operations: ['62-34=28', '28-4=24'] Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 10*24=240, Resulting Numbers: [240] 240,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[28, 6], Operations: ['62-34=28', '10-4=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,12 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[10, 32], Operations: ['34-4=30', '62-30=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[62, 3], Operations: ['34-4=30', '30/10=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,12 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[30, 52], Operations: ['34-4=30', '62-10=52'] Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,12 unequal: No Solution Exploring Operation: 30*52=1560, Resulting Numbers: [1560] 1560,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[62, 20], Operations: ['34-4=30', '30-10=20'] Exploring Operation: 62+20=82, Resulting Numbers: [82] 82,12 unequal: No Solution Exploring Operation: 62*20=1240, Resulting Numbers: [1240] 1240,12 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,12 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 24, 60, 49, 58 ]
75
[ "24+60=84", "58-49=9", "84-9=75" ]
Current State: 75:[24, 60, 49, 58], Operations: [] Exploring Operation: 24+60=84, Resulting Numbers: [49, 58, 84] Generated Node #2: [49, 58, 84] from Operation: 24+60=84 Current State: 75:[49, 58, 84], Operations: ['24+60=84'] Exploring Operation: 58-49=9, Resulting Numbers: [84, 9] Generated Node #3: [84, 9] from Operation: 58-49=9 Current State: 75:[84, 9], Operations: ['24+60=84', '58-49=9'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[24, 60, 49, 58], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [24, 60, 9] Generated Node #0,0: 75:[24, 60, 9] Operation: 58-49=9 Exploring Operation: 60-49=11, Resulting Numbers: [24, 58, 11] Generated Node #0,1: 75:[24, 58, 11] Operation: 60-49=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[24, 60, 9], Operations: ['58-49=9'] Exploring Operation: 60+9=69, Resulting Numbers: [24, 69] Generated Node #0,0,0: 75:[24, 69] Operation: 60+9=69 Exploring Operation: 24+60=84, Resulting Numbers: [9, 84] Generated Node #0,0,1: 75:[9, 84] Operation: 24+60=84 Moving to Node #0,0,0 Current State: 75:[24, 69], Operations: ['58-49=9', '60+9=69'] Exploring Operation: 24+69=93, Resulting Numbers: [93] 93,75 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[9, 84], Operations: ['58-49=9', '24+60=84'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[24, 60, 49, 58], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [24, 60, 9] Generated Node #0,0: 75:[24, 60, 9] Operation: 58-49=9 Moving to Node #0,0 Current State: 75:[24, 60, 9], Operations: ['58-49=9'] Exploring Operation: 24+60=84, Resulting Numbers: [9, 84] Generated Node #0,0,1: 75:[9, 84] Operation: 24+60=84 Moving to Node #0,0,1 Current State: 75:[9, 84], Operations: ['58-49=9', '24+60=84'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 1, 8, 18, 56 ]
11
[ "1*8=8", "56/8=7", "18-7=11" ]
Current State: 11:[1, 8, 18, 56], Operations: [] Exploring Operation: 1*8=8, Resulting Numbers: [18, 56, 8] Generated Node #2: [18, 56, 8] from Operation: 1*8=8 Current State: 11:[18, 56, 8], Operations: ['1*8=8'] Exploring Operation: 56/8=7, Resulting Numbers: [18, 7] Generated Node #3: [18, 7] from Operation: 56/8=7 Current State: 11:[18, 7], Operations: ['1*8=8', '56/8=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[1, 8, 18, 56], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [1, 18, 7] Generated Node #0,0: 11:[1, 18, 7] Operation: 56/8=7 Moving to Node #0,0 Current State: 11:[1, 18, 7], Operations: ['56/8=7'] Exploring Operation: 18-1=17, Resulting Numbers: [7, 17] Generated Node #0,0,0: 11:[7, 17] Operation: 18-1=17 Moving to Node #0,0,0 Current State: 11:[7, 17], Operations: ['56/8=7', '18-1=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,11 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 5, 36, 21, 78 ]
98
[ "5+36=41", "78-21=57", "41+57=98" ]
Current State: 98:[5, 36, 21, 78], Operations: [] Exploring Operation: 5+36=41, Resulting Numbers: [21, 78, 41] Generated Node #2: [21, 78, 41] from Operation: 5+36=41 Current State: 98:[21, 78, 41], Operations: ['5+36=41'] Exploring Operation: 78-21=57, Resulting Numbers: [41, 57] Generated Node #3: [41, 57] from Operation: 78-21=57 Current State: 98:[41, 57], Operations: ['5+36=41', '78-21=57'] Exploring Operation: 41+57=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[5, 36, 21, 78], Operations: [] Exploring Operation: 78-36=42, Resulting Numbers: [5, 21, 42] Generated Node #0,0: 98:[5, 21, 42] Operation: 78-36=42 Exploring Operation: 36-21=15, Resulting Numbers: [5, 78, 15] Generated Node #0,1: 98:[5, 78, 15] Operation: 36-21=15 Exploring Operation: 21+78=99, Resulting Numbers: [5, 36, 99] Generated Node #0,2: 98:[5, 36, 99] Operation: 21+78=99 Moving to Node #0,0 Current State: 98:[5, 21, 42], Operations: ['78-36=42'] Exploring Operation: 5+42=47, Resulting Numbers: [21, 47] Generated Node #0,0,0: 98:[21, 47] Operation: 5+42=47 Exploring Operation: 21-5=16, Resulting Numbers: [42, 16] Generated Node #0,0,1: 98:[42, 16] Operation: 21-5=16 Exploring Operation: 42/21=2, Resulting Numbers: [5, 2] Generated Node #0,0,2: 98:[5, 2] Operation: 42/21=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[5, 2], Operations: ['78-36=42', '42/21=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,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,0,0 Current State: 98:[21, 47], Operations: ['78-36=42', '5+42=47'] Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,98 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,98 unequal: No Solution Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,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,0,1 Current State: 98:[42, 16], Operations: ['78-36=42', '21-5=16'] Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,98 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,98 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: 98:[5, 36, 99], Operations: ['21+78=99'] Exploring Operation: 99-36=63, Resulting Numbers: [5, 63] Generated Node #0,2,0: 98:[5, 63] Operation: 99-36=63 Exploring Operation: 99-5=94, Resulting Numbers: [36, 94] Generated Node #0,2,1: 98:[36, 94] Operation: 99-5=94 Exploring Operation: 5+36=41, Resulting Numbers: [99, 41] Generated Node #0,2,2: 98:[99, 41] Operation: 5+36=41 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 98:[99, 41], Operations: ['21+78=99', '5+36=41'] Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 99*41=4059, Resulting Numbers: [4059] 4059,98 unequal: No Solution Exploring Operation: 99+41=140, Resulting Numbers: [140] 140,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[5, 63], Operations: ['21+78=99', '99-36=63'] Exploring Operation: 5+63=68, Resulting Numbers: [68] 68,98 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 5*63=315, Resulting Numbers: [315] 315,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[36, 94], Operations: ['21+78=99', '99-5=94'] Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 36+94=130, Resulting Numbers: [130] 130,98 unequal: No Solution Exploring Operation: 36*94=3384, Resulting Numbers: [3384] 3384,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 98:[5, 78, 15], Operations: ['36-21=15'] Exploring Operation: 78+15=93, Resulting Numbers: [5, 93] Generated Node #0,1,0: 98:[5, 93] Operation: 78+15=93 Exploring Operation: 78-15=63, Resulting Numbers: [5, 63] Generated Node #0,1,1: 98:[5, 63] Operation: 78-15=63 Exploring Operation: 5+78=83, Resulting Numbers: [15, 83] Generated Node #0,1,2: 98:[15, 83] Operation: 5+78=83 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[5, 93], Operations: ['36-21=15', '78+15=93'] Exploring Operation: 5*93=465, Resulting Numbers: [465] 465,98 unequal: No Solution Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[5, 36, 21, 78], Operations: [] Exploring Operation: 36-21=15, Resulting Numbers: [5, 78, 15] Generated Node #0,1: 98:[5, 78, 15] Operation: 36-21=15 Moving to Node #0,1 Current State: 98:[5, 78, 15], Operations: ['36-21=15'] Exploring Operation: 78+15=93, Resulting Numbers: [5, 93] Generated Node #0,1,0: 98:[5, 93] Operation: 78+15=93 Moving to Node #0,1,0 Current State: 98:[5, 93], Operations: ['36-21=15', '78+15=93'] Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 32, 1, 77, 3 ]
93
[ "3-1=2", "32/2=16", "77+16=93" ]
Current State: 93:[32, 1, 77, 3], Operations: [] Exploring Operation: 3-1=2, Resulting Numbers: [32, 77, 2] Generated Node #2: [32, 77, 2] from Operation: 3-1=2 Current State: 93:[32, 77, 2], Operations: ['3-1=2'] Exploring Operation: 32/2=16, Resulting Numbers: [77, 16] Generated Node #3: [77, 16] from Operation: 32/2=16 Current State: 93:[77, 16], Operations: ['3-1=2', '32/2=16'] Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[32, 1, 77, 3], Operations: [] Exploring Operation: 32-1=31, Resulting Numbers: [77, 3, 31] Generated Node #0,0: 93:[77, 3, 31] Operation: 32-1=31 Exploring Operation: 77-32=45, Resulting Numbers: [1, 3, 45] Generated Node #0,1: 93:[1, 3, 45] Operation: 77-32=45 Moving to Node #0,0 Current State: 93:[77, 3, 31], Operations: ['32-1=31'] Exploring Operation: 77+31=108, Resulting Numbers: [3, 108] Generated Node #0,0,0: 93:[3, 108] Operation: 77+31=108 Exploring Operation: 77+3=80, Resulting Numbers: [31, 80] Generated Node #0,0,1: 93:[31, 80] Operation: 77+3=80 Moving to Node #0,1 Current State: 93:[1, 3, 45], Operations: ['77-32=45'] Exploring Operation: 45-3=42, Resulting Numbers: [1, 42] Generated Node #0,1,0: 93:[1, 42] Operation: 45-3=42 Exploring Operation: 45-1=44, Resulting Numbers: [3, 44] Generated Node #0,1,1: 93:[3, 44] Operation: 45-1=44 Moving to Node #0,0,1 Current State: 93:[31, 80], Operations: ['32-1=31', '77+3=80'] Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,93 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[1, 42], Operations: ['77-32=45', '45-3=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[3, 44], Operations: ['77-32=45', '45-1=44'] Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,93 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[3, 108], Operations: ['32-1=31', '77+31=108'] Exploring Operation: 108/3=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 108-3=105, Resulting Numbers: [105] 105,93 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 43, 6, 65, 84 ]
68
[ "43+6=49", "84-65=19", "49+19=68" ]
Current State: 68:[43, 6, 65, 84], Operations: [] Exploring Operation: 43+6=49, Resulting Numbers: [65, 84, 49] Generated Node #2: [65, 84, 49] from Operation: 43+6=49 Current State: 68:[65, 84, 49], Operations: ['43+6=49'] Exploring Operation: 84-65=19, Resulting Numbers: [49, 19] Generated Node #3: [49, 19] from Operation: 84-65=19 Current State: 68:[49, 19], Operations: ['43+6=49', '84-65=19'] Exploring Operation: 49+19=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[43, 6, 65, 84], Operations: [] Exploring Operation: 84-43=41, Resulting Numbers: [6, 65, 41] Generated Node #0,0: 68:[6, 65, 41] Operation: 84-43=41 Exploring Operation: 84/6=14, Resulting Numbers: [43, 65, 14] Generated Node #0,1: 68:[43, 65, 14] Operation: 84/6=14 Exploring Operation: 43-6=37, Resulting Numbers: [65, 84, 37] Generated Node #0,2: 68:[65, 84, 37] Operation: 43-6=37 Exploring Operation: 84-65=19, Resulting Numbers: [43, 6, 19] Generated Node #0,3: 68:[43, 6, 19] Operation: 84-65=19 Moving to Node #0,0 Current State: 68:[6, 65, 41], Operations: ['84-43=41'] Exploring Operation: 65-6=59, Resulting Numbers: [41, 59] Generated Node #0,0,0: 68:[41, 59] Operation: 65-6=59 Exploring Operation: 6+65=71, Resulting Numbers: [41, 71] Generated Node #0,0,1: 68:[41, 71] Operation: 6+65=71 Exploring Operation: 41-6=35, Resulting Numbers: [65, 35] Generated Node #0,0,2: 68:[65, 35] Operation: 41-6=35 Exploring Operation: 65-41=24, Resulting Numbers: [6, 24] Generated Node #0,0,3: 68:[6, 24] Operation: 65-41=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[65, 35], Operations: ['84-43=41', '41-6=35'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,68 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 68:[6, 24], Operations: ['84-43=41', '65-41=24'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,68 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,68 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[41, 71], Operations: ['84-43=41', '6+65=71'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,68 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[41, 59], Operations: ['84-43=41', '65-6=59'] Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,68 unequal: No Solution Exploring Operation: 41*59=2419, Resulting Numbers: [2419] 2419,68 unequal: No Solution Exploring Operation: 41+59=100, Resulting Numbers: [100] 100,68 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: 68:[43, 6, 19], Operations: ['84-65=19'] Exploring Operation: 19-6=13, Resulting Numbers: [43, 13] Generated Node #0,3,0: 68:[43, 13] Operation: 19-6=13 Exploring Operation: 43+19=62, Resulting Numbers: [6, 62] Generated Node #0,3,1: 68:[6, 62] Operation: 43+19=62 Exploring Operation: 43-6=37, Resulting Numbers: [19, 37] Generated Node #0,3,2: 68:[19, 37] Operation: 43-6=37 Exploring Operation: 43-19=24, Resulting Numbers: [6, 24] Generated Node #0,3,3: 68:[6, 24] Operation: 43-19=24 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 68:[19, 37], Operations: ['84-65=19', '43-6=37'] Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,68 unequal: No Solution Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,68 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 68:[6, 62], Operations: ['84-65=19', '43+19=62'] Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,68 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[43, 6, 65, 84], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [43, 6, 19] Generated Node #0,3: 68:[43, 6, 19] Operation: 84-65=19 Moving to Node #0,3 Current State: 68:[43, 6, 19], Operations: ['84-65=19'] Exploring Operation: 43+19=62, Resulting Numbers: [6, 62] Generated Node #0,3,1: 68:[6, 62] Operation: 43+19=62 Moving to Node #0,3,1 Current State: 68:[6, 62], Operations: ['84-65=19', '43+19=62'] Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 60, 89, 62, 58 ]
91
[ "60*89=5340", "5340-62=5278", "5278/58=91" ]
Current State: 91:[60, 89, 62, 58], Operations: [] Exploring Operation: 60*89=5340, Resulting Numbers: [62, 58, 5340] Generated Node #2: [62, 58, 5340] from Operation: 60*89=5340 Current State: 91:[62, 58, 5340], Operations: ['60*89=5340'] Exploring Operation: 5340-62=5278, Resulting Numbers: [58, 5278] Generated Node #3: [58, 5278] from Operation: 5340-62=5278 Current State: 91:[58, 5278], Operations: ['60*89=5340', '5340-62=5278'] Exploring Operation: 5278/58=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[60, 89, 62, 58], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [89, 62, 2] Generated Node #0,0: 91:[89, 62, 2] Operation: 60-58=2 Exploring Operation: 62-60=2, Resulting Numbers: [89, 58, 2] Generated Node #0,1: 91:[89, 58, 2] Operation: 62-60=2 Exploring Operation: 62-58=4, Resulting Numbers: [60, 89, 4] Generated Node #0,2: 91:[60, 89, 4] Operation: 62-58=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[89, 62, 2], Operations: ['60-58=2'] Exploring Operation: 89-62=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 91:[2, 27] Operation: 89-62=27 Exploring Operation: 89+2=91, Resulting Numbers: [62, 91] Generated Node #0,0,1: 91:[62, 91] Operation: 89+2=91 Exploring Operation: 62/2=31, Resulting Numbers: [89, 31] Generated Node #0,0,2: 91:[89, 31] Operation: 62/2=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[2, 27], Operations: ['60-58=2', '89-62=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,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:[89, 31], Operations: ['60-58=2', '62/2=31'] Exploring Operation: 89+31=120, Resulting Numbers: [120] 120,91 unequal: No Solution Exploring Operation: 89*31=2759, Resulting Numbers: [2759] 2759,91 unequal: No Solution Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,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:[62, 91], Operations: ['60-58=2', '89+2=91'] Exploring Operation: 91-62=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 62+91=153, Resulting Numbers: [153] 153,91 unequal: No Solution Exploring Operation: 62*91=5642, Resulting Numbers: [5642] 5642,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[60, 89, 4], Operations: ['62-58=4'] Exploring Operation: 89-60=29, Resulting Numbers: [4, 29] Generated Node #0,2,0: 91:[4, 29] Operation: 89-60=29 Exploring Operation: 60+4=64, Resulting Numbers: [89, 64] Generated Node #0,2,1: 91:[89, 64] Operation: 60+4=64 Exploring Operation: 60/4=15, Resulting Numbers: [89, 15] Generated Node #0,2,2: 91:[89, 15] Operation: 60/4=15 Moving to Node #0,2,2 Current State: 91:[89, 15], Operations: ['62-58=4', '60/4=15'] Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,91 unequal: No Solution Exploring Operation: 89+15=104, Resulting Numbers: [104] 104,91 unequal: No Solution Exploring Operation: 89*15=1335, Resulting Numbers: [1335] 1335,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[4, 29], Operations: ['62-58=4', '89-60=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,91 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[89, 64], Operations: ['62-58=4', '60+4=64'] Exploring Operation: 89+64=153, Resulting Numbers: [153] 153,91 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 89*64=5696, Resulting Numbers: [5696] 5696,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[89, 58, 2], Operations: ['62-60=2'] Exploring Operation: 89-58=31, Resulting Numbers: [2, 31] Generated Node #0,1,0: 91:[2, 31] Operation: 89-58=31 Exploring Operation: 58/2=29, Resulting Numbers: [89, 29] Generated Node #0,1,1: 91:[89, 29] Operation: 58/2=29 Exploring Operation: 58*2=116, Resulting Numbers: [89, 116] Generated Node #0,1,2: 91:[89, 116] Operation: 58*2=116 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[89, 29], Operations: ['62-60=2', '58/2=29'] Exploring Operation: 89*29=2581, Resulting Numbers: [2581] 2581,91 unequal: No Solution Exploring Operation: 89+29=118, Resulting Numbers: [118] 118,91 unequal: No Solution Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,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:[2, 31], Operations: ['62-60=2', '89-58=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[89, 116], Operations: ['62-60=2', '58*2=116'] Exploring Operation: 116-89=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 89*116=10324, Resulting Numbers: [10324] 10324,91 unequal: No Solution Exploring Operation: 89+116=205, Resulting Numbers: [205] 205,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_3
mult_heuristic
[ 57, 75, 37, 39 ]
58
[ "75-57=18", "37+39=76", "76-18=58" ]
Current State: 58:[57, 75, 37, 39], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [37, 39, 18] Generated Node #2: [37, 39, 18] from Operation: 75-57=18 Current State: 58:[37, 39, 18], Operations: ['75-57=18'] Exploring Operation: 37+39=76, Resulting Numbers: [18, 76] Generated Node #3: [18, 76] from Operation: 37+39=76 Current State: 58:[18, 76], Operations: ['75-57=18', '37+39=76'] Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[57, 75, 37, 39], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [57, 75, 2] Generated Node #0,0: 58:[57, 75, 2] Operation: 39-37=2 Exploring Operation: 75-39=36, Resulting Numbers: [57, 37, 36] Generated Node #0,1: 58:[57, 37, 36] Operation: 75-39=36 Moving to Node #0,1 Current State: 58:[57, 37, 36], Operations: ['75-39=36'] Exploring Operation: 57-37=20, Resulting Numbers: [36, 20] Generated Node #0,1,0: 58:[36, 20] Operation: 57-37=20 Exploring Operation: 37-36=1, Resulting Numbers: [57, 1] Generated Node #0,1,1: 58:[57, 1] Operation: 37-36=1 Moving to Node #0,0 Current State: 58:[57, 75, 2], Operations: ['39-37=2'] Exploring Operation: 75-2=73, Resulting Numbers: [57, 73] Generated Node #0,0,0: 58:[57, 73] Operation: 75-2=73 Exploring Operation: 75-57=18, Resulting Numbers: [2, 18] Generated Node #0,0,1: 58:[2, 18] Operation: 75-57=18 Moving to Node #0,1,1 Current State: 58:[57, 1], Operations: ['75-39=36', '37-36=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[57, 75, 37, 39], Operations: [] Exploring Operation: 75-39=36, Resulting Numbers: [57, 37, 36] Generated Node #0,1: 58:[57, 37, 36] Operation: 75-39=36 Moving to Node #0,1 Current State: 58:[57, 37, 36], Operations: ['75-39=36'] Exploring Operation: 37-36=1, Resulting Numbers: [57, 1] Generated Node #0,1,1: 58:[57, 1] Operation: 37-36=1 Moving to Node #0,1,1 Current State: 58:[57, 1], Operations: ['75-39=36', '37-36=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 19, 94, 45, 83 ]
47
[ "19*94=1786", "83-45=38", "1786/38=47" ]
Current State: 47:[19, 94, 45, 83], Operations: [] Exploring Operation: 19*94=1786, Resulting Numbers: [45, 83, 1786] Generated Node #2: [45, 83, 1786] from Operation: 19*94=1786 Current State: 47:[45, 83, 1786], Operations: ['19*94=1786'] Exploring Operation: 83-45=38, Resulting Numbers: [1786, 38] Generated Node #3: [1786, 38] from Operation: 83-45=38 Current State: 47:[1786, 38], Operations: ['19*94=1786', '83-45=38'] Exploring Operation: 1786/38=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[19, 94, 45, 83], Operations: [] Exploring Operation: 83-19=64, Resulting Numbers: [94, 45, 64] Generated Node #0,0: 47:[94, 45, 64] Operation: 83-19=64 Exploring Operation: 94-45=49, Resulting Numbers: [19, 83, 49] Generated Node #0,1: 47:[19, 83, 49] Operation: 94-45=49 Exploring Operation: 94-19=75, Resulting Numbers: [45, 83, 75] Generated Node #0,2: 47:[45, 83, 75] Operation: 94-19=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[94, 45, 64], Operations: ['83-19=64'] Exploring Operation: 94-64=30, Resulting Numbers: [45, 30] Generated Node #0,0,0: 47:[45, 30] Operation: 94-64=30 Exploring Operation: 94-45=49, Resulting Numbers: [64, 49] Generated Node #0,0,1: 47:[64, 49] Operation: 94-45=49 Exploring Operation: 64-45=19, Resulting Numbers: [94, 19] Generated Node #0,0,2: 47:[94, 19] Operation: 64-45=19 Moving to Node #0,0,0 Current State: 47:[45, 30], Operations: ['83-19=64', '94-64=30'] Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 45*30=1350, Resulting Numbers: [1350] 1350,47 unequal: No Solution Exploring Operation: 45+30=75, Resulting Numbers: [75] 75,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[64, 49], Operations: ['83-19=64', '94-45=49'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 64+49=113, Resulting Numbers: [113] 113,47 unequal: No Solution Exploring Operation: 64*49=3136, Resulting Numbers: [3136] 3136,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[94, 19], Operations: ['83-19=64', '64-45=19'] Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,47 unequal: No Solution Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,47 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[19, 83, 49], Operations: ['94-45=49'] Exploring Operation: 49-19=30, Resulting Numbers: [83, 30] Generated Node #0,1,0: 47:[83, 30] Operation: 49-19=30 Exploring Operation: 83-19=64, Resulting Numbers: [49, 64] Generated Node #0,1,1: 47:[49, 64] Operation: 83-19=64 Exploring Operation: 83-49=34, Resulting Numbers: [19, 34] Generated Node #0,1,2: 47:[19, 34] Operation: 83-49=34 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[49, 64], Operations: ['94-45=49', '83-19=64'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 49+64=113, Resulting Numbers: [113] 113,47 unequal: No Solution Exploring Operation: 49*64=3136, Resulting Numbers: [3136] 3136,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[19, 34], Operations: ['94-45=49', '83-49=34'] Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[83, 30], Operations: ['94-45=49', '49-19=30'] Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,47 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,47 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[45, 83, 75], Operations: ['94-19=75'] Exploring Operation: 83-75=8, Resulting Numbers: [45, 8] Generated Node #0,2,0: 47:[45, 8] Operation: 83-75=8 Exploring Operation: 75-45=30, Resulting Numbers: [83, 30] Generated Node #0,2,1: 47:[83, 30] Operation: 75-45=30 Exploring Operation: 83-45=38, Resulting Numbers: [75, 38] Generated Node #0,2,2: 47:[75, 38] Operation: 83-45=38 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[75, 38], Operations: ['94-19=75', '83-45=38'] Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,47 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[45, 8], Operations: ['94-19=75', '83-75=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,47 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[83, 30], Operations: ['94-19=75', '75-45=30'] Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,47 unequal: No Solution Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,47 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 68, 64, 85, 3 ]
27
[ "68-64=4", "85-4=81", "81/3=27" ]
Current State: 27:[68, 64, 85, 3], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [85, 3, 4] Generated Node #2: [85, 3, 4] from Operation: 68-64=4 Current State: 27:[85, 3, 4], Operations: ['68-64=4'] Exploring Operation: 85-4=81, Resulting Numbers: [3, 81] Generated Node #3: [3, 81] from Operation: 85-4=81 Current State: 27:[3, 81], Operations: ['68-64=4', '85-4=81'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[68, 64, 85, 3], Operations: [] Exploring Operation: 85-64=21, Resulting Numbers: [68, 3, 21] Generated Node #0,0: 27:[68, 3, 21] Operation: 85-64=21 Exploring Operation: 85-68=17, Resulting Numbers: [64, 3, 17] Generated Node #0,1: 27:[64, 3, 17] Operation: 85-68=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[64, 3, 17], Operations: ['85-68=17'] Exploring Operation: 64-17=47, Resulting Numbers: [3, 47] Generated Node #0,1,0: 27:[3, 47] Operation: 64-17=47 Exploring Operation: 64-3=61, Resulting Numbers: [17, 61] Generated Node #0,1,1: 27:[17, 61] Operation: 64-3=61 Moving to Node #0,1,0 Current State: 27:[3, 47], Operations: ['85-68=17', '64-17=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[17, 61], Operations: ['85-68=17', '64-3=61'] Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[68, 3, 21], Operations: ['85-64=21'] Exploring Operation: 21/3=7, Resulting Numbers: [68, 7] Generated Node #0,0,0: 27:[68, 7] Operation: 21/3=7 Exploring Operation: 68-21=47, Resulting Numbers: [3, 47] Generated Node #0,0,1: 27:[3, 47] Operation: 68-21=47 Moving to Node #0,0,1 Current State: 27:[3, 47], Operations: ['85-64=21', '68-21=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[68, 7], Operations: ['85-64=21', '21/3=7'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 2, 77, 52, 37 ]
64
[ "2+77=79", "52-37=15", "79-15=64" ]
Current State: 64:[2, 77, 52, 37], Operations: [] Exploring Operation: 2+77=79, Resulting Numbers: [52, 37, 79] Generated Node #2: [52, 37, 79] from Operation: 2+77=79 Current State: 64:[52, 37, 79], Operations: ['2+77=79'] Exploring Operation: 52-37=15, Resulting Numbers: [79, 15] Generated Node #3: [79, 15] from Operation: 52-37=15 Current State: 64:[79, 15], Operations: ['2+77=79', '52-37=15'] Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[2, 77, 52, 37], Operations: [] Exploring Operation: 52-37=15, Resulting Numbers: [2, 77, 15] Generated Node #0,0: 64:[2, 77, 15] Operation: 52-37=15 Exploring Operation: 77-37=40, Resulting Numbers: [2, 52, 40] Generated Node #0,1: 64:[2, 52, 40] Operation: 77-37=40 Exploring Operation: 52/2=26, Resulting Numbers: [77, 37, 26] Generated Node #0,2: 64:[77, 37, 26] Operation: 52/2=26 Exploring Operation: 77-2=75, Resulting Numbers: [52, 37, 75] Generated Node #0,3: 64:[52, 37, 75] Operation: 77-2=75 Exploring Operation: 77-52=25, Resulting Numbers: [2, 37, 25] Generated Node #0,4: 64:[2, 37, 25] Operation: 77-52=25 Moving to Node #0,4 Current State: 64:[2, 37, 25], Operations: ['77-52=25'] Exploring Operation: 37+25=62, Resulting Numbers: [2, 62] Generated Node #0,4,0: 64:[2, 62] Operation: 37+25=62 Exploring Operation: 2+25=27, Resulting Numbers: [37, 27] Generated Node #0,4,1: 64:[37, 27] Operation: 2+25=27 Exploring Operation: 25-2=23, Resulting Numbers: [37, 23] Generated Node #0,4,2: 64:[37, 23] Operation: 25-2=23 Exploring Operation: 37-2=35, Resulting Numbers: [25, 35] Generated Node #0,4,3: 64:[25, 35] Operation: 37-2=35 Exploring Operation: 37-25=12, Resulting Numbers: [2, 12] Generated Node #0,4,4: 64:[2, 12] Operation: 37-25=12 Moving to Node #0,0 Current State: 64:[2, 77, 15], Operations: ['52-37=15'] Exploring Operation: 2+77=79, Resulting Numbers: [15, 79] Generated Node #0,0,0: 64:[15, 79] Operation: 2+77=79 Exploring Operation: 77-2=75, Resulting Numbers: [15, 75] Generated Node #0,0,1: 64:[15, 75] Operation: 77-2=75 Exploring Operation: 2+15=17, Resulting Numbers: [77, 17] Generated Node #0,0,2: 64:[77, 17] Operation: 2+15=17 Exploring Operation: 77-15=62, Resulting Numbers: [2, 62] Generated Node #0,0,3: 64:[2, 62] Operation: 77-15=62 Exploring Operation: 2*15=30, Resulting Numbers: [77, 30] Generated Node #0,0,4: 64:[77, 30] Operation: 2*15=30 Moving to Node #0,1 Current State: 64:[2, 52, 40], Operations: ['77-37=40'] Exploring Operation: 2+52=54, Resulting Numbers: [40, 54] Generated Node #0,1,0: 64:[40, 54] Operation: 2+52=54 Exploring Operation: 52/2=26, Resulting Numbers: [40, 26] Generated Node #0,1,1: 64:[40, 26] Operation: 52/2=26 Exploring Operation: 40-2=38, Resulting Numbers: [52, 38] Generated Node #0,1,2: 64:[52, 38] Operation: 40-2=38 Exploring Operation: 52-40=12, Resulting Numbers: [2, 12] Generated Node #0,1,3: 64:[2, 12] Operation: 52-40=12 Exploring Operation: 40/2=20, Resulting Numbers: [52, 20] Generated Node #0,1,4: 64:[52, 20] Operation: 40/2=20 Moving to Node #0,2 Current State: 64:[77, 37, 26], Operations: ['52/2=26'] Exploring Operation: 77-37=40, Resulting Numbers: [26, 40] Generated Node #0,2,0: 64:[26, 40] Operation: 77-37=40 Exploring Operation: 77+26=103, Resulting Numbers: [37, 103] Generated Node #0,2,1: 64:[37, 103] Operation: 77+26=103 Exploring Operation: 77-26=51, Resulting Numbers: [37, 51] Generated Node #0,2,2: 64:[37, 51] Operation: 77-26=51 Exploring Operation: 37-26=11, Resulting Numbers: [77, 11] Generated Node #0,2,3: 64:[77, 11] Operation: 37-26=11 Exploring Operation: 37+26=63, Resulting Numbers: [77, 63] Generated Node #0,2,4: 64:[77, 63] Operation: 37+26=63 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[26, 40], Operations: ['52/2=26', '77-37=40'] Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 26*40=1040, Resulting Numbers: [1040] 1040,64 unequal: No Solution Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,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,4 Current State: 64:[77, 63], Operations: ['52/2=26', '37+26=63'] Exploring Operation: 77*63=4851, Resulting Numbers: [4851] 4851,64 unequal: No Solution Exploring Operation: 77+63=140, Resulting Numbers: [140] 140,64 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,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,3 Current State: 64:[77, 11], Operations: ['52/2=26', '37-26=11'] Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 77*11=847, Resulting Numbers: [847] 847,64 unequal: No Solution Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,64 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,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,2 Current State: 64:[37, 51], Operations: ['52/2=26', '77-26=51'] Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,64 unequal: No Solution Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,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,1 Current State: 64:[37, 103], Operations: ['52/2=26', '77+26=103'] Exploring Operation: 37+103=140, Resulting Numbers: [140] 140,64 unequal: No Solution Exploring Operation: 37*103=3811, Resulting Numbers: [3811] 3811,64 unequal: No Solution Exploring Operation: 103-37=66, Resulting Numbers: [66] 66,64 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: 64:[52, 37, 75], Operations: ['77-2=75'] Exploring Operation: 37+75=112, Resulting Numbers: [52, 112] Generated Node #0,3,0: 64:[52, 112] Operation: 37+75=112 Exploring Operation: 52-37=15, Resulting Numbers: [75, 15] Generated Node #0,3,1: 64:[75, 15] Operation: 52-37=15 Exploring Operation: 52+37=89, Resulting Numbers: [75, 89] Generated Node #0,3,2: 64:[75, 89] Operation: 52+37=89 Exploring Operation: 75-52=23, Resulting Numbers: [37, 23] Generated Node #0,3,3: 64:[37, 23] Operation: 75-52=23 Exploring Operation: 75-37=38, Resulting Numbers: [52, 38] Generated Node #0,3,4: 64:[52, 38] Operation: 75-37=38 Moving to Node #0,4,0 Current State: 64:[2, 62], Operations: ['77-52=25', '37+25=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,64 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[2, 77, 52, 37], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [2, 37, 25] Generated Node #0,4: 64:[2, 37, 25] Operation: 77-52=25 Moving to Node #0,4 Current State: 64:[2, 37, 25], Operations: ['77-52=25'] Exploring Operation: 37+25=62, Resulting Numbers: [2, 62] Generated Node #0,4,0: 64:[2, 62] Operation: 37+25=62 Moving to Node #0,4,0 Current State: 64:[2, 62], Operations: ['77-52=25', '37+25=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.953125
hs_5
sum_heuristic
[ 92, 58, 37, 93 ]
46
[ "58+37=95", "95-93=2", "92/2=46" ]
Current State: 46:[92, 58, 37, 93], Operations: [] Exploring Operation: 58+37=95, Resulting Numbers: [92, 93, 95] Generated Node #2: [92, 93, 95] from Operation: 58+37=95 Current State: 46:[92, 93, 95], Operations: ['58+37=95'] Exploring Operation: 95-93=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 95-93=2 Current State: 46:[92, 2], Operations: ['58+37=95', '95-93=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[92, 58, 37, 93], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [58, 37, 1] Generated Node #0,0: 46:[58, 37, 1] Operation: 93-92=1 Exploring Operation: 92-58=34, Resulting Numbers: [37, 93, 34] Generated Node #0,1: 46:[37, 93, 34] Operation: 92-58=34 Exploring Operation: 93-58=35, Resulting Numbers: [92, 37, 35] Generated Node #0,2: 46:[92, 37, 35] Operation: 93-58=35 Moving to Node #0,0 Current State: 46:[58, 37, 1], Operations: ['93-92=1'] Exploring Operation: 58-37=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 46:[1, 21] Operation: 58-37=21 Exploring Operation: 58-1=57, Resulting Numbers: [37, 57] Generated Node #0,0,1: 46:[37, 57] Operation: 58-1=57 Exploring Operation: 37+1=38, Resulting Numbers: [58, 38] Generated Node #0,0,2: 46:[58, 38] Operation: 37+1=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[1, 21], Operations: ['93-92=1', '58-37=21'] Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,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:[37, 57], Operations: ['93-92=1', '58-1=57'] Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 37+57=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 37*57=2109, Resulting Numbers: [2109] 2109,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,2 Current State: 46:[58, 38], Operations: ['93-92=1', '37+1=38'] Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 58*38=2204, Resulting Numbers: [2204] 2204,46 unequal: No Solution Exploring Operation: 58+38=96, Resulting Numbers: [96] 96,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 46:[92, 37, 35], Operations: ['93-58=35'] Exploring Operation: 92-35=57, Resulting Numbers: [37, 57] Generated Node #0,2,0: 46:[37, 57] Operation: 92-35=57 Exploring Operation: 37-35=2, Resulting Numbers: [92, 2] Generated Node #0,2,1: 46:[92, 2] Operation: 37-35=2 Exploring Operation: 92-37=55, Resulting Numbers: [35, 55] Generated Node #0,2,2: 46:[35, 55] Operation: 92-37=55 Moving to Node #0,1 Current State: 46:[37, 93, 34], Operations: ['92-58=34'] Exploring Operation: 93-34=59, Resulting Numbers: [37, 59] Generated Node #0,1,0: 46:[37, 59] Operation: 93-34=59 Exploring Operation: 37-34=3, Resulting Numbers: [93, 3] Generated Node #0,1,1: 46:[93, 3] Operation: 37-34=3 Exploring Operation: 93-37=56, Resulting Numbers: [34, 56] Generated Node #0,1,2: 46:[34, 56] Operation: 93-37=56 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[34, 56], Operations: ['92-58=34', '93-37=56'] Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 34+56=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 34*56=1904, Resulting Numbers: [1904] 1904,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[37, 59], Operations: ['92-58=34', '93-34=59'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 37*59=2183, Resulting Numbers: [2183] 2183,46 unequal: No Solution Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[93, 3], Operations: ['92-58=34', '37-34=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,46 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 46:[37, 57], Operations: ['93-58=35', '92-35=57'] Exploring Operation: 37+57=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 37*57=2109, Resulting Numbers: [2109] 2109,46 unequal: No Solution Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[35, 55], Operations: ['93-58=35', '92-37=55'] Exploring Operation: 35+55=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 35*55=1925, Resulting Numbers: [1925] 1925,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[92, 2], Operations: ['93-58=35', '37-35=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[92, 58, 37, 93], Operations: [] Exploring Operation: 93-58=35, Resulting Numbers: [92, 37, 35] Generated Node #0,2: 46:[92, 37, 35] Operation: 93-58=35 Moving to Node #0,2 Current State: 46:[92, 37, 35], Operations: ['93-58=35'] Exploring Operation: 37-35=2, Resulting Numbers: [92, 2] Generated Node #0,2,1: 46:[92, 2] Operation: 37-35=2 Moving to Node #0,2,1 Current State: 46:[92, 2], Operations: ['93-58=35', '37-35=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.96441
hs_3
mult_heuristic
[ 68, 95, 66, 19 ]
76
[ "68*95=6460", "66+19=85", "6460/85=76" ]
Current State: 76:[68, 95, 66, 19], Operations: [] Exploring Operation: 68*95=6460, Resulting Numbers: [66, 19, 6460] Generated Node #2: [66, 19, 6460] from Operation: 68*95=6460 Current State: 76:[66, 19, 6460], Operations: ['68*95=6460'] Exploring Operation: 66+19=85, Resulting Numbers: [6460, 85] Generated Node #3: [6460, 85] from Operation: 66+19=85 Current State: 76:[6460, 85], Operations: ['68*95=6460', '66+19=85'] Exploring Operation: 6460/85=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[68, 95, 66, 19], Operations: [] Exploring Operation: 95-66=29, Resulting Numbers: [68, 19, 29] Generated Node #0,0: 76:[68, 19, 29] Operation: 95-66=29 Moving to Node #0,0 Current State: 76:[68, 19, 29], Operations: ['95-66=29'] Exploring Operation: 68-29=39, Resulting Numbers: [19, 39] Generated Node #0,0,0: 76:[19, 39] Operation: 68-29=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[19, 39], Operations: ['95-66=29', '68-29=39'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 74, 10, 54, 1 ]
11
[ "74-10=64", "54-1=53", "64-53=11" ]
Current State: 11:[74, 10, 54, 1], Operations: [] Exploring Operation: 74-10=64, Resulting Numbers: [54, 1, 64] Generated Node #2: [54, 1, 64] from Operation: 74-10=64 Current State: 11:[54, 1, 64], Operations: ['74-10=64'] Exploring Operation: 54-1=53, Resulting Numbers: [64, 53] Generated Node #3: [64, 53] from Operation: 54-1=53 Current State: 11:[64, 53], Operations: ['74-10=64', '54-1=53'] Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[74, 10, 54, 1], Operations: [] Exploring Operation: 74-1=73, Resulting Numbers: [10, 54, 73] Generated Node #0,0: 11:[10, 54, 73] Operation: 74-1=73 Exploring Operation: 74-10=64, Resulting Numbers: [54, 1, 64] Generated Node #0,1: 11:[54, 1, 64] Operation: 74-10=64 Exploring Operation: 74-54=20, Resulting Numbers: [10, 1, 20] Generated Node #0,2: 11:[10, 1, 20] Operation: 74-54=20 Exploring Operation: 54-10=44, Resulting Numbers: [74, 1, 44] Generated Node #0,3: 11:[74, 1, 44] Operation: 54-10=44 Exploring Operation: 10+1=11, Resulting Numbers: [74, 54, 11] Generated Node #0,4: 11:[74, 54, 11] Operation: 10+1=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[10, 1, 20], Operations: ['74-54=20'] Exploring Operation: 10*1=10, Resulting Numbers: [20, 10] Generated Node #0,2,0: 11:[20, 10] Operation: 10*1=10 Exploring Operation: 10/1=10, Resulting Numbers: [20, 10] Generated Node #0,2,1: 11:[20, 10] Operation: 10/1=10 Exploring Operation: 10+1=11, Resulting Numbers: [20, 11] Generated Node #0,2,2: 11:[20, 11] Operation: 10+1=11 Exploring Operation: 20-1=19, Resulting Numbers: [10, 19] Generated Node #0,2,3: 11:[10, 19] Operation: 20-1=19 Exploring Operation: 1*20=20, Resulting Numbers: [10, 20] Generated Node #0,2,4: 11:[10, 20] Operation: 1*20=20 Moving to Node #0,2,2 Current State: 11:[20, 11], Operations: ['74-54=20', '10+1=11'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[10, 19], Operations: ['74-54=20', '20-1=19'] Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,11 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[20, 10], Operations: ['74-54=20', '10*1=10'] Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,11 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[20, 10], Operations: ['74-54=20', '10/1=10'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,11 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,11 unequal: No Solution Moving to Node #0,2,4 Current State: 11:[10, 20], Operations: ['74-54=20', '1*20=20'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,11 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[10, 54, 73], Operations: ['74-1=73'] Exploring Operation: 10+73=83, Resulting Numbers: [54, 83] Generated Node #0,0,0: 11:[54, 83] Operation: 10+73=83 Exploring Operation: 73-10=63, Resulting Numbers: [54, 63] Generated Node #0,0,1: 11:[54, 63] Operation: 73-10=63 Exploring Operation: 73-54=19, Resulting Numbers: [10, 19] Generated Node #0,0,2: 11:[10, 19] Operation: 73-54=19 Exploring Operation: 10+54=64, Resulting Numbers: [73, 64] Generated Node #0,0,3: 11:[73, 64] Operation: 10+54=64 Exploring Operation: 54-10=44, Resulting Numbers: [73, 44] Generated Node #0,0,4: 11:[73, 44] Operation: 54-10=44 Moving to Node #0,0,2 Current State: 11:[10, 19], Operations: ['74-1=73', '73-54=19'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,11 unequal: No Solution Moving to Node #0,0,4 Current State: 11:[73, 44], Operations: ['74-1=73', '54-10=44'] Exploring Operation: 73+44=117, Resulting Numbers: [117] 117,11 unequal: No Solution Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 73*44=3212, Resulting Numbers: [3212] 3212,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[54, 63], Operations: ['74-1=73', '73-10=63'] Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,11 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[54, 83], Operations: ['74-1=73', '10+73=83'] Exploring Operation: 54+83=137, Resulting Numbers: [137] 137,11 unequal: No Solution Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 54*83=4482, Resulting Numbers: [4482] 4482,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[73, 64], Operations: ['74-1=73', '10+54=64'] Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 73+64=137, Resulting Numbers: [137] 137,11 unequal: No Solution Exploring Operation: 73*64=4672, Resulting Numbers: [4672] 4672,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[54, 1, 64], Operations: ['74-10=64'] Exploring Operation: 54*1=54, Resulting Numbers: [64, 54] Generated Node #0,1,0: 11:[64, 54] Operation: 54*1=54 Exploring Operation: 54-1=53, Resulting Numbers: [64, 53] Generated Node #0,1,1: 11:[64, 53] Operation: 54-1=53 Exploring Operation: 54/1=54, Resulting Numbers: [64, 54] Generated Node #0,1,2: 11:[64, 54] Operation: 54/1=54 Exploring Operation: 64-54=10, Resulting Numbers: [1, 10] Generated Node #0,1,3: 11:[1, 10] Operation: 64-54=10 Exploring Operation: 64-1=63, Resulting Numbers: [54, 63] Generated Node #0,1,4: 11:[54, 63] Operation: 64-1=63 Moving to Node #0,1,3 Current State: 11:[1, 10], Operations: ['74-10=64', '64-54=10'] Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[74, 10, 54, 1], Operations: [] Exploring Operation: 74-10=64, Resulting Numbers: [54, 1, 64] Generated Node #0,1: 11:[54, 1, 64] Operation: 74-10=64 Moving to Node #0,1 Current State: 11:[54, 1, 64], Operations: ['74-10=64'] Exploring Operation: 64-54=10, Resulting Numbers: [1, 10] Generated Node #0,1,3: 11:[1, 10] Operation: 64-54=10 Moving to Node #0,1,3 Current State: 11:[1, 10], Operations: ['74-10=64', '64-54=10'] Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_5
mult_heuristic
[ 1, 67, 59, 63 ]
55
[ "1*67=67", "59+63=122", "122-67=55" ]
Current State: 55:[1, 67, 59, 63], Operations: [] Exploring Operation: 1*67=67, Resulting Numbers: [59, 63, 67] Generated Node #2: [59, 63, 67] from Operation: 1*67=67 Current State: 55:[59, 63, 67], Operations: ['1*67=67'] Exploring Operation: 59+63=122, Resulting Numbers: [67, 122] Generated Node #3: [67, 122] from Operation: 59+63=122 Current State: 55:[67, 122], Operations: ['1*67=67', '59+63=122'] Exploring Operation: 122-67=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[1, 67, 59, 63], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [1, 59, 4] Generated Node #0,0: 55:[1, 59, 4] Operation: 67-63=4 Exploring Operation: 63-59=4, Resulting Numbers: [1, 67, 4] Generated Node #0,1: 55:[1, 67, 4] Operation: 63-59=4 Exploring Operation: 67-59=8, Resulting Numbers: [1, 63, 8] Generated Node #0,2: 55:[1, 63, 8] Operation: 67-59=8 Moving to Node #0,0 Current State: 55:[1, 59, 4], Operations: ['67-63=4'] Exploring Operation: 59-1=58, Resulting Numbers: [4, 58] Generated Node #0,0,0: 55:[4, 58] Operation: 59-1=58 Exploring Operation: 59-4=55, Resulting Numbers: [1, 55] Generated Node #0,0,1: 55:[1, 55] Operation: 59-4=55 Exploring Operation: 1+4=5, Resulting Numbers: [59, 5] Generated Node #0,0,2: 55:[59, 5] Operation: 1+4=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[4, 58], Operations: ['67-63=4', '59-1=58'] Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,55 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,55 unequal: No Solution Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[1, 55], Operations: ['67-63=4', '59-4=55'] Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[1, 67, 59, 63], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [1, 59, 4] Generated Node #0,0: 55:[1, 59, 4] Operation: 67-63=4 Moving to Node #0,0 Current State: 55:[1, 59, 4], Operations: ['67-63=4'] Exploring Operation: 59-4=55, Resulting Numbers: [1, 55] Generated Node #0,0,1: 55:[1, 55] Operation: 59-4=55 Moving to Node #0,0,1 Current State: 55:[1, 55], Operations: ['67-63=4', '59-4=55'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 28, 85, 59, 17 ]
19
[ "85-28=57", "59+17=76", "76-57=19" ]
Current State: 19:[28, 85, 59, 17], Operations: [] Exploring Operation: 85-28=57, Resulting Numbers: [59, 17, 57] Generated Node #2: [59, 17, 57] from Operation: 85-28=57 Current State: 19:[59, 17, 57], Operations: ['85-28=57'] Exploring Operation: 59+17=76, Resulting Numbers: [57, 76] Generated Node #3: [57, 76] from Operation: 59+17=76 Current State: 19:[57, 76], Operations: ['85-28=57', '59+17=76'] Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[28, 85, 59, 17], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [28, 59, 5] Generated Node #0,0: 19:[28, 59, 5] Operation: 85/17=5 Exploring Operation: 85-59=26, Resulting Numbers: [28, 17, 26] Generated Node #0,1: 19:[28, 17, 26] Operation: 85-59=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[28, 17, 26], Operations: ['85-59=26'] Exploring Operation: 28-26=2, Resulting Numbers: [17, 2] Generated Node #0,1,0: 19:[17, 2] Operation: 28-26=2 Exploring Operation: 28-17=11, Resulting Numbers: [26, 11] Generated Node #0,1,1: 19:[26, 11] Operation: 28-17=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[26, 11], Operations: ['85-59=26', '28-17=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,19 unequal: No Solution No 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: 19:[17, 2], Operations: ['85-59=26', '28-26=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[28, 85, 59, 17], Operations: [] Exploring Operation: 85-59=26, Resulting Numbers: [28, 17, 26] Generated Node #0,1: 19:[28, 17, 26] Operation: 85-59=26 Moving to Node #0,1 Current State: 19:[28, 17, 26], Operations: ['85-59=26'] Exploring Operation: 28-26=2, Resulting Numbers: [17, 2] Generated Node #0,1,0: 19:[17, 2] Operation: 28-26=2 Moving to Node #0,1,0 Current State: 19:[17, 2], Operations: ['85-59=26', '28-26=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 33, 57, 54, 63 ]
19
[ "54-33=21", "57*21=1197", "1197/63=19" ]
Current State: 19:[33, 57, 54, 63], Operations: [] Exploring Operation: 54-33=21, Resulting Numbers: [57, 63, 21] Generated Node #2: [57, 63, 21] from Operation: 54-33=21 Current State: 19:[57, 63, 21], Operations: ['54-33=21'] Exploring Operation: 57*21=1197, Resulting Numbers: [63, 1197] Generated Node #3: [63, 1197] from Operation: 57*21=1197 Current State: 19:[63, 1197], Operations: ['54-33=21', '57*21=1197'] Exploring Operation: 1197/63=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[33, 57, 54, 63], Operations: [] Exploring Operation: 63-54=9, Resulting Numbers: [33, 57, 9] Generated Node #0,0: 19:[33, 57, 9] Operation: 63-54=9 Exploring Operation: 63-57=6, Resulting Numbers: [33, 54, 6] Generated Node #0,1: 19:[33, 54, 6] Operation: 63-57=6 Exploring Operation: 57-54=3, Resulting Numbers: [33, 63, 3] Generated Node #0,2: 19:[33, 63, 3] Operation: 57-54=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[33, 57, 9], Operations: ['63-54=9'] Exploring Operation: 57-9=48, Resulting Numbers: [33, 48] Generated Node #0,0,0: 19:[33, 48] Operation: 57-9=48 Exploring Operation: 33-9=24, Resulting Numbers: [57, 24] Generated Node #0,0,1: 19:[57, 24] Operation: 33-9=24 Exploring Operation: 57-33=24, Resulting Numbers: [9, 24] Generated Node #0,0,2: 19:[9, 24] Operation: 57-33=24 Moving to Node #0,0,2 Current State: 19:[9, 24], Operations: ['63-54=9', '57-33=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,19 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[33, 48], Operations: ['63-54=9', '57-9=48'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,19 unequal: No Solution Exploring Operation: 33*48=1584, Resulting Numbers: [1584] 1584,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[57, 24], Operations: ['63-54=9', '33-9=24'] Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,19 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,19 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[33, 54, 6], Operations: ['63-57=6'] Exploring Operation: 33-6=27, Resulting Numbers: [54, 27] Generated Node #0,1,0: 19:[54, 27] Operation: 33-6=27 Exploring Operation: 54/6=9, Resulting Numbers: [33, 9] Generated Node #0,1,1: 19:[33, 9] Operation: 54/6=9 Exploring Operation: 54-33=21, Resulting Numbers: [6, 21] Generated Node #0,1,2: 19:[6, 21] Operation: 54-33=21 Moving to Node #0,1,2 Current State: 19:[6, 21], Operations: ['63-57=6', '54-33=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,19 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[33, 9], Operations: ['63-57=6', '54/6=9'] Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,19 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[54, 27], Operations: ['63-57=6', '33-6=27'] Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 54+27=81, Resulting Numbers: [81] 81,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[33, 63, 3], Operations: ['57-54=3'] Exploring Operation: 63/3=21, Resulting Numbers: [33, 21] Generated Node #0,2,0: 19:[33, 21] Operation: 63/3=21 Exploring Operation: 33/3=11, Resulting Numbers: [63, 11] Generated Node #0,2,1: 19:[63, 11] Operation: 33/3=11 Exploring Operation: 63-33=30, Resulting Numbers: [3, 30] Generated Node #0,2,2: 19:[3, 30] Operation: 63-33=30 Moving to Node #0,2,0 Current State: 19:[33, 21], Operations: ['57-54=3', '63/3=21'] Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[3, 30], Operations: ['57-54=3', '63-33=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[63, 11], Operations: ['57-54=3', '33/3=11'] Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,19 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 76, 57, 45, 51 ]
38
[ "76*51=3876", "57+45=102", "3876/102=38" ]
Current State: 38:[76, 57, 45, 51], Operations: [] Exploring Operation: 76*51=3876, Resulting Numbers: [57, 45, 3876] Generated Node #2: [57, 45, 3876] from Operation: 76*51=3876 Current State: 38:[57, 45, 3876], Operations: ['76*51=3876'] Exploring Operation: 57+45=102, Resulting Numbers: [3876, 102] Generated Node #3: [3876, 102] from Operation: 57+45=102 Current State: 38:[3876, 102], Operations: ['76*51=3876', '57+45=102'] Exploring Operation: 3876/102=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[76, 57, 45, 51], Operations: [] Exploring Operation: 76-57=19, Resulting Numbers: [45, 51, 19] Generated Node #0,0: 38:[45, 51, 19] Operation: 76-57=19 Exploring Operation: 76-45=31, Resulting Numbers: [57, 51, 31] Generated Node #0,1: 38:[57, 51, 31] Operation: 76-45=31 Exploring Operation: 76-51=25, Resulting Numbers: [57, 45, 25] Generated Node #0,2: 38:[57, 45, 25] Operation: 76-51=25 Moving to Node #0,0 Current State: 38:[45, 51, 19], Operations: ['76-57=19'] Exploring Operation: 51-19=32, Resulting Numbers: [45, 32] Generated Node #0,0,0: 38:[45, 32] Operation: 51-19=32 Exploring Operation: 51-45=6, Resulting Numbers: [19, 6] Generated Node #0,0,1: 38:[19, 6] Operation: 51-45=6 Exploring Operation: 45-19=26, Resulting Numbers: [51, 26] Generated Node #0,0,2: 38:[51, 26] Operation: 45-19=26 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[19, 6], Operations: ['76-57=19', '51-45=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,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,0,0 Current State: 38:[45, 32], Operations: ['76-57=19', '51-19=32'] Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,38 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[51, 26], Operations: ['76-57=19', '45-19=26'] Exploring Operation: 51*26=1326, Resulting Numbers: [1326] 1326,38 unequal: No Solution Exploring Operation: 51+26=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,38 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: 38:[57, 45, 25], Operations: ['76-51=25'] Exploring Operation: 45-25=20, Resulting Numbers: [57, 20] Generated Node #0,2,0: 38:[57, 20] Operation: 45-25=20 Exploring Operation: 57-45=12, Resulting Numbers: [25, 12] Generated Node #0,2,1: 38:[25, 12] Operation: 57-45=12 Exploring Operation: 57-25=32, Resulting Numbers: [45, 32] Generated Node #0,2,2: 38:[45, 32] Operation: 57-25=32 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[25, 12], Operations: ['76-51=25', '57-45=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,38 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[45, 32], Operations: ['76-51=25', '57-25=32'] Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,38 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[57, 20], Operations: ['76-51=25', '45-25=20'] Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,38 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,38 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: 38:[57, 51, 31], Operations: ['76-45=31'] Exploring Operation: 57-51=6, Resulting Numbers: [31, 6] Generated Node #0,1,0: 38:[31, 6] Operation: 57-51=6 Exploring Operation: 51-31=20, Resulting Numbers: [57, 20] Generated Node #0,1,1: 38:[57, 20] Operation: 51-31=20 Exploring Operation: 57-31=26, Resulting Numbers: [51, 26] Generated Node #0,1,2: 38:[51, 26] Operation: 57-31=26 Moving to Node #0,1,0 Current State: 38:[31, 6], Operations: ['76-45=31', '57-51=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[57, 20], Operations: ['76-45=31', '51-31=20'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[51, 26], Operations: ['76-45=31', '57-31=26'] Exploring Operation: 51*26=1326, Resulting Numbers: [1326] 1326,38 unequal: No Solution Exploring Operation: 51+26=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,38 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 88, 11, 93, 3 ]
58
[ "93-88=5", "11*5=55", "3+55=58" ]
Current State: 58:[88, 11, 93, 3], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [11, 3, 5] Generated Node #2: [11, 3, 5] from Operation: 93-88=5 Current State: 58:[11, 3, 5], Operations: ['93-88=5'] Exploring Operation: 11*5=55, Resulting Numbers: [3, 55] Generated Node #3: [3, 55] from Operation: 11*5=55 Current State: 58:[3, 55], Operations: ['93-88=5', '11*5=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[88, 11, 93, 3], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [88, 11, 31] Generated Node #0,0: 58:[88, 11, 31] Operation: 93/3=31 Exploring Operation: 93-88=5, Resulting Numbers: [11, 3, 5] Generated Node #0,1: 58:[11, 3, 5] Operation: 93-88=5 Exploring Operation: 88/11=8, Resulting Numbers: [93, 3, 8] Generated Node #0,2: 58:[93, 3, 8] Operation: 88/11=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[11, 3, 5], Operations: ['93-88=5'] Exploring Operation: 11*3=33, Resulting Numbers: [5, 33] Generated Node #0,1,0: 58:[5, 33] Operation: 11*3=33 Exploring Operation: 11*5=55, Resulting Numbers: [3, 55] Generated Node #0,1,1: 58:[3, 55] Operation: 11*5=55 Exploring Operation: 11-5=6, Resulting Numbers: [3, 6] Generated Node #0,1,2: 58:[3, 6] Operation: 11-5=6 Moving to Node #0,1,1 Current State: 58:[3, 55], Operations: ['93-88=5', '11*5=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[88, 11, 93, 3], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [11, 3, 5] Generated Node #0,1: 58:[11, 3, 5] Operation: 93-88=5 Moving to Node #0,1 Current State: 58:[11, 3, 5], Operations: ['93-88=5'] Exploring Operation: 11*5=55, Resulting Numbers: [3, 55] Generated Node #0,1,1: 58:[3, 55] Operation: 11*5=55 Moving to Node #0,1,1 Current State: 58:[3, 55], Operations: ['93-88=5', '11*5=55'] Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 2, 51, 30, 80 ]
52
[ "2*51=102", "80-30=50", "102-50=52" ]
Current State: 52:[2, 51, 30, 80], Operations: [] Exploring Operation: 2*51=102, Resulting Numbers: [30, 80, 102] Generated Node #2: [30, 80, 102] from Operation: 2*51=102 Current State: 52:[30, 80, 102], Operations: ['2*51=102'] Exploring Operation: 80-30=50, Resulting Numbers: [102, 50] Generated Node #3: [102, 50] from Operation: 80-30=50 Current State: 52:[102, 50], Operations: ['2*51=102', '80-30=50'] Exploring Operation: 102-50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[2, 51, 30, 80], Operations: [] Exploring Operation: 80-51=29, Resulting Numbers: [2, 30, 29] Generated Node #0,0: 52:[2, 30, 29] Operation: 80-51=29 Exploring Operation: 80/2=40, Resulting Numbers: [51, 30, 40] Generated Node #0,1: 52:[51, 30, 40] Operation: 80/2=40 Exploring Operation: 80-30=50, Resulting Numbers: [2, 51, 50] Generated Node #0,2: 52:[2, 51, 50] Operation: 80-30=50 Moving to Node #0,2 Current State: 52:[2, 51, 50], Operations: ['80-30=50'] Exploring Operation: 50/2=25, Resulting Numbers: [51, 25] Generated Node #0,2,0: 52:[51, 25] Operation: 50/2=25 Exploring Operation: 51-50=1, Resulting Numbers: [2, 1] Generated Node #0,2,1: 52:[2, 1] Operation: 51-50=1 Exploring Operation: 2+50=52, Resulting Numbers: [51, 52] Generated Node #0,2,2: 52:[51, 52] Operation: 2+50=52 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[2, 1], Operations: ['80-30=50', '51-50=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[51, 52], Operations: ['80-30=50', '2+50=52'] Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,52 unequal: No Solution Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[51, 25], Operations: ['80-30=50', '50/2=25'] Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,52 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,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, 30, 29], Operations: ['80-51=29'] Exploring Operation: 30/2=15, Resulting Numbers: [29, 15] Generated Node #0,0,0: 52:[29, 15] Operation: 30/2=15 Exploring Operation: 30-29=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 52:[2, 1] Operation: 30-29=1 Exploring Operation: 30-2=28, Resulting Numbers: [29, 28] Generated Node #0,0,2: 52:[29, 28] Operation: 30-2=28 Moving to Node #0,1 Current State: 52:[51, 30, 40], Operations: ['80/2=40'] Exploring Operation: 51-30=21, Resulting Numbers: [40, 21] Generated Node #0,1,0: 52:[40, 21] Operation: 51-30=21 Exploring Operation: 40-30=10, Resulting Numbers: [51, 10] Generated Node #0,1,1: 52:[51, 10] Operation: 40-30=10 Exploring Operation: 51-40=11, Resulting Numbers: [30, 11] Generated Node #0,1,2: 52:[30, 11] Operation: 51-40=11 Moving to Node #0,0,1 Current State: 52:[2, 1], Operations: ['80-51=29', '30-29=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[51, 10], Operations: ['80/2=40', '40-30=10'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,52 unequal: No Solution Exploring Operation: 51*10=510, Resulting Numbers: [510] 510,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[29, 28], Operations: ['80-51=29', '30-2=28'] Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,52 unequal: No Solution Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[29, 15], Operations: ['80-51=29', '30/2=15'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[30, 11], Operations: ['80/2=40', '51-40=11'] Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[40, 21], Operations: ['80/2=40', '51-30=21'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,52 unequal: No Solution Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,52 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 94, 31, 11, 11 ]
64
[ "94-31=63", "11/11=1", "63+1=64" ]
Current State: 64:[94, 31, 11, 11], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [11, 11, 63] Generated Node #2: [11, 11, 63] from Operation: 94-31=63 Current State: 64:[11, 11, 63], Operations: ['94-31=63'] Exploring Operation: 11/11=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 11/11=1 Current State: 64:[63, 1], Operations: ['94-31=63', '11/11=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[94, 31, 11, 11], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [11, 11, 63] Generated Node #0,0: 64:[11, 11, 63] Operation: 94-31=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[11, 11, 63], Operations: ['94-31=63'] Exploring Operation: 11/11=1, Resulting Numbers: [63, 1] Generated Node #0,0,0: 64:[63, 1] Operation: 11/11=1 Moving to Node #0,0,0 Current State: 64:[63, 1], Operations: ['94-31=63', '11/11=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[94, 31, 11, 11], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [11, 11, 63] Generated Node #0,0: 64:[11, 11, 63] Operation: 94-31=63 Moving to Node #0,0 Current State: 64:[11, 11, 63], Operations: ['94-31=63'] Exploring Operation: 11/11=1, Resulting Numbers: [63, 1] Generated Node #0,0,0: 64:[63, 1] Operation: 11/11=1 Moving to Node #0,0,0 Current State: 64:[63, 1], Operations: ['94-31=63', '11/11=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 14, 46, 63, 64 ]
65
[ "46-14=32", "64/32=2", "63+2=65" ]
Current State: 65:[14, 46, 63, 64], Operations: [] Exploring Operation: 46-14=32, Resulting Numbers: [63, 64, 32] Generated Node #2: [63, 64, 32] from Operation: 46-14=32 Current State: 65:[63, 64, 32], Operations: ['46-14=32'] Exploring Operation: 64/32=2, Resulting Numbers: [63, 2] Generated Node #3: [63, 2] from Operation: 64/32=2 Current State: 65:[63, 2], Operations: ['46-14=32', '64/32=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[14, 46, 63, 64], Operations: [] Exploring Operation: 46-14=32, Resulting Numbers: [63, 64, 32] Generated Node #0,0: 65:[63, 64, 32] Operation: 46-14=32 Exploring Operation: 64-46=18, Resulting Numbers: [14, 63, 18] Generated Node #0,1: 65:[14, 63, 18] Operation: 64-46=18 Exploring Operation: 14+46=60, Resulting Numbers: [63, 64, 60] Generated Node #0,2: 65:[63, 64, 60] Operation: 14+46=60 Exploring Operation: 63-46=17, Resulting Numbers: [14, 64, 17] Generated Node #0,3: 65:[14, 64, 17] Operation: 63-46=17 Moving to Node #0,3 Current State: 65:[14, 64, 17], Operations: ['63-46=17'] Exploring Operation: 17-14=3, Resulting Numbers: [64, 3] Generated Node #0,3,0: 65:[64, 3] Operation: 17-14=3 Exploring Operation: 64+17=81, Resulting Numbers: [14, 81] Generated Node #0,3,1: 65:[14, 81] Operation: 64+17=81 Exploring Operation: 14+64=78, Resulting Numbers: [17, 78] Generated Node #0,3,2: 65:[17, 78] Operation: 14+64=78 Exploring Operation: 64-14=50, Resulting Numbers: [17, 50] Generated Node #0,3,3: 65:[17, 50] Operation: 64-14=50 Moving to Node #0,2 Current State: 65:[63, 64, 60], Operations: ['14+46=60'] Exploring Operation: 64-60=4, Resulting Numbers: [63, 4] Generated Node #0,2,0: 65:[63, 4] Operation: 64-60=4 Exploring Operation: 64-63=1, Resulting Numbers: [60, 1] Generated Node #0,2,1: 65:[60, 1] Operation: 64-63=1 Exploring Operation: 63+60=123, Resulting Numbers: [64, 123] Generated Node #0,2,2: 65:[64, 123] Operation: 63+60=123 Exploring Operation: 63-60=3, Resulting Numbers: [64, 3] Generated Node #0,2,3: 65:[64, 3] Operation: 63-60=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[63, 4], Operations: ['14+46=60', '64-60=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,65 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,65 unequal: No Solution No 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: 65:[64, 3], Operations: ['14+46=60', '63-60=3'] Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,65 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,65 unequal: No Solution No 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: 65:[60, 1], Operations: ['14+46=60', '64-63=1'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,65 unequal: No Solution No 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: 65:[64, 123], Operations: ['14+46=60', '63+60=123'] Exploring Operation: 123-64=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 64*123=7872, Resulting Numbers: [7872] 7872,65 unequal: No Solution Exploring Operation: 64+123=187, Resulting Numbers: [187] 187,65 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: 65:[14, 63, 18], Operations: ['64-46=18'] Exploring Operation: 63-14=49, Resulting Numbers: [18, 49] Generated Node #0,1,0: 65:[18, 49] Operation: 63-14=49 Exploring Operation: 63+18=81, Resulting Numbers: [14, 81] Generated Node #0,1,1: 65:[14, 81] Operation: 63+18=81 Exploring Operation: 14+63=77, Resulting Numbers: [18, 77] Generated Node #0,1,2: 65:[18, 77] Operation: 14+63=77 Exploring Operation: 18-14=4, Resulting Numbers: [63, 4] Generated Node #0,1,3: 65:[63, 4] Operation: 18-14=4 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[63, 4], Operations: ['64-46=18', '18-14=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,65 unequal: No Solution No 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: 65:[14, 81], Operations: ['64-46=18', '63+18=81'] Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,65 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,65 unequal: No Solution No 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: 65:[18, 77], Operations: ['64-46=18', '14+63=77'] Exploring Operation: 18+77=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 18*77=1386, Resulting Numbers: [1386] 1386,65 unequal: No Solution No 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: 65:[18, 49], Operations: ['64-46=18', '63-14=49'] Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,65 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,65 unequal: No Solution Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,65 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: 65:[63, 64, 32], Operations: ['46-14=32'] Exploring Operation: 64-32=32, Resulting Numbers: [63, 32] Generated Node #0,0,0: 65:[63, 32] Operation: 64-32=32 Exploring Operation: 64/32=2, Resulting Numbers: [63, 2] Generated Node #0,0,1: 65:[63, 2] Operation: 64/32=2 Exploring Operation: 64-63=1, Resulting Numbers: [32, 1] Generated Node #0,0,2: 65:[32, 1] Operation: 64-63=1 Exploring Operation: 63-32=31, Resulting Numbers: [64, 31] Generated Node #0,0,3: 65:[64, 31] Operation: 63-32=31 Moving to Node #0,3,0 Current State: 65:[64, 3], Operations: ['63-46=17', '17-14=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,65 unequal: No Solution Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[63, 2], Operations: ['46-14=32', '64/32=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[14, 46, 63, 64], Operations: [] Exploring Operation: 46-14=32, Resulting Numbers: [63, 64, 32] Generated Node #0,0: 65:[63, 64, 32] Operation: 46-14=32 Moving to Node #0,0 Current State: 65:[63, 64, 32], Operations: ['46-14=32'] Exploring Operation: 64/32=2, Resulting Numbers: [63, 2] Generated Node #0,0,1: 65:[63, 2] Operation: 64/32=2 Moving to Node #0,0,1 Current State: 65:[63, 2], Operations: ['46-14=32', '64/32=2'] Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.953993
hs_4
mult_heuristic
[ 80, 10, 76, 58 ]
64
[ "80-10=70", "76+58=134", "134-70=64" ]
Current State: 64:[80, 10, 76, 58], Operations: [] Exploring Operation: 80-10=70, Resulting Numbers: [76, 58, 70] Generated Node #2: [76, 58, 70] from Operation: 80-10=70 Current State: 64:[76, 58, 70], Operations: ['80-10=70'] Exploring Operation: 76+58=134, Resulting Numbers: [70, 134] Generated Node #3: [70, 134] from Operation: 76+58=134 Current State: 64:[70, 134], Operations: ['80-10=70', '76+58=134'] Exploring Operation: 134-70=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[80, 10, 76, 58], Operations: [] Exploring Operation: 80-58=22, Resulting Numbers: [10, 76, 22] Generated Node #0,0: 64:[10, 76, 22] Operation: 80-58=22 Exploring Operation: 80-76=4, Resulting Numbers: [10, 58, 4] Generated Node #0,1: 64:[10, 58, 4] Operation: 80-76=4 Exploring Operation: 80/10=8, Resulting Numbers: [76, 58, 8] Generated Node #0,2: 64:[76, 58, 8] Operation: 80/10=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[10, 58, 4], Operations: ['80-76=4'] Exploring Operation: 10+4=14, Resulting Numbers: [58, 14] Generated Node #0,1,0: 64:[58, 14] Operation: 10+4=14 Exploring Operation: 58+4=62, Resulting Numbers: [10, 62] Generated Node #0,1,1: 64:[10, 62] Operation: 58+4=62 Exploring Operation: 10+58=68, Resulting Numbers: [4, 68] Generated Node #0,1,2: 64:[4, 68] Operation: 10+58=68 Moving to Node #0,1,1 Current State: 64:[10, 62], Operations: ['80-76=4', '58+4=62'] Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,64 unequal: No Solution Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[4, 68], Operations: ['80-76=4', '10+58=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[80, 10, 76, 58], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [10, 58, 4] Generated Node #0,1: 64:[10, 58, 4] Operation: 80-76=4 Moving to Node #0,1 Current State: 64:[10, 58, 4], Operations: ['80-76=4'] Exploring Operation: 10+58=68, Resulting Numbers: [4, 68] Generated Node #0,1,2: 64:[4, 68] Operation: 10+58=68 Moving to Node #0,1,2 Current State: 64:[4, 68], Operations: ['80-76=4', '10+58=68'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 18, 7, 9, 39 ]
25
[ "18*7=126", "126/9=14", "39-14=25" ]
Current State: 25:[18, 7, 9, 39], Operations: [] Exploring Operation: 18*7=126, Resulting Numbers: [9, 39, 126] Generated Node #2: [9, 39, 126] from Operation: 18*7=126 Current State: 25:[9, 39, 126], Operations: ['18*7=126'] Exploring Operation: 126/9=14, Resulting Numbers: [39, 14] Generated Node #3: [39, 14] from Operation: 126/9=14 Current State: 25:[39, 14], Operations: ['18*7=126', '126/9=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[18, 7, 9, 39], Operations: [] Exploring Operation: 39-18=21, Resulting Numbers: [7, 9, 21] Generated Node #0,0: 25:[7, 9, 21] Operation: 39-18=21 Exploring Operation: 39-9=30, Resulting Numbers: [18, 7, 30] Generated Node #0,1: 25:[18, 7, 30] Operation: 39-9=30 Exploring Operation: 18+7=25, Resulting Numbers: [9, 39, 25] Generated Node #0,2: 25:[9, 39, 25] Operation: 18+7=25 Exploring Operation: 39-7=32, Resulting Numbers: [18, 9, 32] Generated Node #0,3: 25:[18, 9, 32] Operation: 39-7=32 Exploring Operation: 18+9=27, Resulting Numbers: [7, 39, 27] Generated Node #0,4: 25:[7, 39, 27] Operation: 18+9=27 Moving to Node #0,0 Current State: 25:[7, 9, 21], Operations: ['39-18=21'] Exploring Operation: 21-9=12, Resulting Numbers: [7, 12] Generated Node #0,0,0: 25:[7, 12] Operation: 21-9=12 Exploring Operation: 21/7=3, Resulting Numbers: [9, 3] Generated Node #0,0,1: 25:[9, 3] Operation: 21/7=3 Exploring Operation: 7+21=28, Resulting Numbers: [9, 28] Generated Node #0,0,2: 25:[9, 28] Operation: 7+21=28 Exploring Operation: 9-7=2, Resulting Numbers: [21, 2] Generated Node #0,0,3: 25:[21, 2] Operation: 9-7=2 Exploring Operation: 9+21=30, Resulting Numbers: [7, 30] Generated Node #0,0,4: 25:[7, 30] Operation: 9+21=30 Moving to Node #0,1 Current State: 25:[18, 7, 30], Operations: ['39-9=30'] Exploring Operation: 7+30=37, Resulting Numbers: [18, 37] Generated Node #0,1,0: 25:[18, 37] Operation: 7+30=37 Exploring Operation: 30-7=23, Resulting Numbers: [18, 23] Generated Node #0,1,1: 25:[18, 23] Operation: 30-7=23 Exploring Operation: 18+7=25, Resulting Numbers: [30, 25] Generated Node #0,1,2: 25:[30, 25] Operation: 18+7=25 Exploring Operation: 30-18=12, Resulting Numbers: [7, 12] Generated Node #0,1,3: 25:[7, 12] Operation: 30-18=12 Exploring Operation: 18-7=11, Resulting Numbers: [30, 11] Generated Node #0,1,4: 25:[30, 11] Operation: 18-7=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[30, 25], Operations: ['39-9=30', '18+7=25'] Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,25 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[18, 23], Operations: ['39-9=30', '30-7=23'] Exploring Operation: 18*23=414, Resulting Numbers: [414] 414,25 unequal: No Solution Exploring Operation: 18+23=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[7, 12], Operations: ['39-9=30', '30-18=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 25:[30, 11], Operations: ['39-9=30', '18-7=11'] Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,25 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[18, 37], Operations: ['39-9=30', '7+30=37'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 18*37=666, Resulting Numbers: [666] 666,25 unequal: No Solution Exploring Operation: 18+37=55, Resulting Numbers: [55] 55,25 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: 25:[9, 39, 25], Operations: ['18+7=25'] Exploring Operation: 9+39=48, Resulting Numbers: [25, 48] Generated Node #0,2,0: 25:[25, 48] Operation: 9+39=48 Exploring Operation: 39-25=14, Resulting Numbers: [9, 14] Generated Node #0,2,1: 25:[9, 14] Operation: 39-25=14 Exploring Operation: 9+25=34, Resulting Numbers: [39, 34] Generated Node #0,2,2: 25:[39, 34] Operation: 9+25=34 Exploring Operation: 25-9=16, Resulting Numbers: [39, 16] Generated Node #0,2,3: 25:[39, 16] Operation: 25-9=16 Exploring Operation: 39-9=30, Resulting Numbers: [25, 30] Generated Node #0,2,4: 25:[25, 30] Operation: 39-9=30 Moving to Node #0,3 Current State: 25:[18, 9, 32], Operations: ['39-7=32'] Exploring Operation: 32-9=23, Resulting Numbers: [18, 23] Generated Node #0,3,0: 25:[18, 23] Operation: 32-9=23 Exploring Operation: 18+9=27, Resulting Numbers: [32, 27] Generated Node #0,3,1: 25:[32, 27] Operation: 18+9=27 Exploring Operation: 18-9=9, Resulting Numbers: [32, 9] Generated Node #0,3,2: 25:[32, 9] Operation: 18-9=9 Exploring Operation: 32-18=14, Resulting Numbers: [9, 14] Generated Node #0,3,3: 25:[9, 14] Operation: 32-18=14 Exploring Operation: 18/9=2, Resulting Numbers: [32, 2] Generated Node #0,3,4: 25:[32, 2] Operation: 18/9=2 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[18, 23], Operations: ['39-7=32', '32-9=23'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 18*23=414, Resulting Numbers: [414] 414,25 unequal: No Solution Exploring Operation: 18+23=41, Resulting Numbers: [41] 41,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[32, 27], Operations: ['39-7=32', '18+9=27'] Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,25 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 25:[32, 2], Operations: ['39-7=32', '18/9=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[32, 9], Operations: ['39-7=32', '18-9=9'] Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[9, 14], Operations: ['39-7=32', '32-18=14'] Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,25 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 25:[7, 39, 27], Operations: ['18+9=27'] Exploring Operation: 7+27=34, Resulting Numbers: [39, 34] Generated Node #0,4,0: 25:[39, 34] Operation: 7+27=34 Exploring Operation: 39-7=32, Resulting Numbers: [27, 32] Generated Node #0,4,1: 25:[27, 32] Operation: 39-7=32 Exploring Operation: 7+39=46, Resulting Numbers: [27, 46] Generated Node #0,4,2: 25:[27, 46] Operation: 7+39=46 Exploring Operation: 27-7=20, Resulting Numbers: [39, 20] Generated Node #0,4,3: 25:[39, 20] Operation: 27-7=20 Exploring Operation: 39-27=12, Resulting Numbers: [7, 12] Generated Node #0,4,4: 25:[7, 12] Operation: 39-27=12 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 25:[27, 32], Operations: ['18+9=27', '39-7=32'] Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 25:[7, 12], Operations: ['18+9=27', '39-27=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 25:[39, 20], Operations: ['18+9=27', '27-7=20'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,25 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 25:[39, 34], Operations: ['18+9=27', '7+27=34'] Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,25 unequal: No Solution Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 25:[27, 46], Operations: ['18+9=27', '7+39=46'] Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,25 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 25:[25, 30], Operations: ['18+7=25', '39-9=30'] Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,25 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[9, 3], Operations: ['39-18=21', '21/7=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[21, 2], Operations: ['39-18=21', '9-7=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[9, 28], Operations: ['39-18=21', '7+21=28'] Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,25 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,25 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[7, 30], Operations: ['39-18=21', '9+21=30'] Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,25 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,25 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[7, 12], Operations: ['39-18=21', '21-9=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[9, 14], Operations: ['18+7=25', '39-25=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,25 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[39, 16], Operations: ['18+7=25', '25-9=16'] Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,25 unequal: No Solution Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[39, 34], Operations: ['18+7=25', '9+25=34'] Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,25 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[25, 48], Operations: ['18+7=25', '9+39=48'] Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 25*48=1200, Resulting Numbers: [1200] 1200,25 unequal: No Solution Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,25 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 76, 96, 60, 42 ]
38
[ "96-76=20", "60-42=18", "20+18=38" ]
Current State: 38:[76, 96, 60, 42], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [60, 42, 20] Generated Node #2: [60, 42, 20] from Operation: 96-76=20 Current State: 38:[60, 42, 20], Operations: ['96-76=20'] Exploring Operation: 60-42=18, Resulting Numbers: [20, 18] Generated Node #3: [20, 18] from Operation: 60-42=18 Current State: 38:[20, 18], Operations: ['96-76=20', '60-42=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[76, 96, 60, 42], Operations: [] Exploring Operation: 96-60=36, Resulting Numbers: [76, 42, 36] Generated Node #0,0: 38:[76, 42, 36] Operation: 96-60=36 Exploring Operation: 96-76=20, Resulting Numbers: [60, 42, 20] Generated Node #0,1: 38:[60, 42, 20] Operation: 96-76=20 Moving to Node #0,1 Current State: 38:[60, 42, 20], Operations: ['96-76=20'] Exploring Operation: 60/20=3, Resulting Numbers: [42, 3] Generated Node #0,1,0: 38:[42, 3] Operation: 60/20=3 Exploring Operation: 60-42=18, Resulting Numbers: [20, 18] Generated Node #0,1,1: 38:[20, 18] Operation: 60-42=18 Moving to Node #0,0 Current State: 38:[76, 42, 36], Operations: ['96-60=36'] Exploring Operation: 76-36=40, Resulting Numbers: [42, 40] Generated Node #0,0,0: 38:[42, 40] Operation: 76-36=40 Exploring Operation: 76-42=34, Resulting Numbers: [36, 34] Generated Node #0,0,1: 38:[36, 34] Operation: 76-42=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[42, 40], Operations: ['96-60=36', '76-36=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,38 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,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,0,1 Current State: 38:[36, 34], Operations: ['96-60=36', '76-42=34'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,38 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: 38:[20, 18], Operations: ['96-76=20', '60-42=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[76, 96, 60, 42], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [60, 42, 20] Generated Node #0,1: 38:[60, 42, 20] Operation: 96-76=20 Moving to Node #0,1 Current State: 38:[60, 42, 20], Operations: ['96-76=20'] Exploring Operation: 60-42=18, Resulting Numbers: [20, 18] Generated Node #0,1,1: 38:[20, 18] Operation: 60-42=18 Moving to Node #0,1,1 Current State: 38:[20, 18], Operations: ['96-76=20', '60-42=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 38, 11, 4, 75 ]
88
[ "38*4=152", "75-11=64", "152-64=88" ]
Current State: 88:[38, 11, 4, 75], Operations: [] Exploring Operation: 38*4=152, Resulting Numbers: [11, 75, 152] Generated Node #2: [11, 75, 152] from Operation: 38*4=152 Current State: 88:[11, 75, 152], Operations: ['38*4=152'] Exploring Operation: 75-11=64, Resulting Numbers: [152, 64] Generated Node #3: [152, 64] from Operation: 75-11=64 Current State: 88:[152, 64], Operations: ['38*4=152', '75-11=64'] Exploring Operation: 152-64=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[38, 11, 4, 75], Operations: [] Exploring Operation: 11+75=86, Resulting Numbers: [38, 4, 86] Generated Node #0,0: 88:[38, 4, 86] Operation: 11+75=86 Exploring Operation: 75-38=37, Resulting Numbers: [11, 4, 37] Generated Node #0,1: 88:[11, 4, 37] Operation: 75-38=37 Exploring Operation: 38+4=42, Resulting Numbers: [11, 75, 42] Generated Node #0,2: 88:[11, 75, 42] Operation: 38+4=42 Exploring Operation: 4+75=79, Resulting Numbers: [38, 11, 79] Generated Node #0,3: 88:[38, 11, 79] Operation: 4+75=79 Moving to Node #0,1 Current State: 88:[11, 4, 37], Operations: ['75-38=37'] Exploring Operation: 4+37=41, Resulting Numbers: [11, 41] Generated Node #0,1,0: 88:[11, 41] Operation: 4+37=41 Exploring Operation: 37-11=26, Resulting Numbers: [4, 26] Generated Node #0,1,1: 88:[4, 26] Operation: 37-11=26 Exploring Operation: 11+37=48, Resulting Numbers: [4, 48] Generated Node #0,1,2: 88:[4, 48] Operation: 11+37=48 Exploring Operation: 11*4=44, Resulting Numbers: [37, 44] Generated Node #0,1,3: 88:[37, 44] Operation: 11*4=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[11, 41], Operations: ['75-38=37', '4+37=41'] Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,88 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[4, 26], Operations: ['75-38=37', '37-11=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,88 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[4, 48], Operations: ['75-38=37', '11+37=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 4*48=192, Resulting Numbers: [192] 192,88 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[37, 44], Operations: ['75-38=37', '11*4=44'] Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 37*44=1628, Resulting Numbers: [1628] 1628,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 88:[38, 4, 86], Operations: ['11+75=86'] Exploring Operation: 38+4=42, Resulting Numbers: [86, 42] Generated Node #0,0,0: 88:[86, 42] Operation: 38+4=42 Exploring Operation: 86-38=48, Resulting Numbers: [4, 48] Generated Node #0,0,1: 88:[4, 48] Operation: 86-38=48 Exploring Operation: 4+86=90, Resulting Numbers: [38, 90] Generated Node #0,0,2: 88:[38, 90] Operation: 4+86=90 Exploring Operation: 38-4=34, Resulting Numbers: [86, 34] Generated Node #0,0,3: 88:[86, 34] Operation: 38-4=34 Moving to Node #0,3 Current State: 88:[38, 11, 79], Operations: ['4+75=79'] Exploring Operation: 38-11=27, Resulting Numbers: [79, 27] Generated Node #0,3,0: 88:[79, 27] Operation: 38-11=27 Exploring Operation: 79-38=41, Resulting Numbers: [11, 41] Generated Node #0,3,1: 88:[11, 41] Operation: 79-38=41 Exploring Operation: 11+79=90, Resulting Numbers: [38, 90] Generated Node #0,3,2: 88:[38, 90] Operation: 11+79=90 Exploring Operation: 38+11=49, Resulting Numbers: [79, 49] Generated Node #0,3,3: 88:[79, 49] Operation: 38+11=49 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 88:[11, 41], Operations: ['4+75=79', '79-38=41'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,88 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 88:[38, 90], Operations: ['4+75=79', '11+79=90'] Exploring Operation: 90-38=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 38*90=3420, Resulting Numbers: [3420] 3420,88 unequal: No Solution Exploring Operation: 38+90=128, Resulting Numbers: [128] 128,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[79, 27], Operations: ['4+75=79', '38-11=27'] Exploring Operation: 79-27=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 79+27=106, Resulting Numbers: [106] 106,88 unequal: No Solution Exploring Operation: 79*27=2133, Resulting Numbers: [2133] 2133,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[79, 49], Operations: ['4+75=79', '38+11=49'] Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,88 unequal: No Solution Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 88:[11, 75, 42], Operations: ['38+4=42'] Exploring Operation: 11+42=53, Resulting Numbers: [75, 53] Generated Node #0,2,0: 88:[75, 53] Operation: 11+42=53 Exploring Operation: 75-11=64, Resulting Numbers: [42, 64] Generated Node #0,2,1: 88:[42, 64] Operation: 75-11=64 Exploring Operation: 11+75=86, Resulting Numbers: [42, 86] Generated Node #0,2,2: 88:[42, 86] Operation: 11+75=86 Exploring Operation: 75-42=33, Resulting Numbers: [11, 33] Generated Node #0,2,3: 88:[11, 33] Operation: 75-42=33 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[42, 86], Operations: ['38+4=42', '11+75=86'] Exploring Operation: 42*86=3612, Resulting Numbers: [3612] 3612,88 unequal: No Solution Exploring Operation: 42+86=128, Resulting Numbers: [128] 128,88 unequal: No Solution Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[11, 33], Operations: ['38+4=42', '75-42=33'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,88 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[75, 53], Operations: ['38+4=42', '11+42=53'] Exploring Operation: 75*53=3975, Resulting Numbers: [3975] 3975,88 unequal: No Solution Exploring Operation: 75+53=128, Resulting Numbers: [128] 128,88 unequal: No Solution Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[42, 64], Operations: ['38+4=42', '75-11=64'] Exploring Operation: 42+64=106, Resulting Numbers: [106] 106,88 unequal: No Solution Exploring Operation: 64-42=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 42*64=2688, Resulting Numbers: [2688] 2688,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 88:[86, 42], Operations: ['11+75=86', '38+4=42'] Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 86*42=3612, Resulting Numbers: [3612] 3612,88 unequal: No Solution Exploring Operation: 86+42=128, Resulting Numbers: [128] 128,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[4, 48], Operations: ['11+75=86', '86-38=48'] Exploring Operation: 4*48=192, Resulting Numbers: [192] 192,88 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[38, 90], Operations: ['11+75=86', '4+86=90'] Exploring Operation: 38+90=128, Resulting Numbers: [128] 128,88 unequal: No Solution Exploring Operation: 90-38=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 38*90=3420, Resulting Numbers: [3420] 3420,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[86, 34], Operations: ['11+75=86', '38-4=34'] Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,88 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,88 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 44, 73, 44, 26 ]
100
[ "44/44=1", "73+26=99", "1+99=100" ]
Current State: 100:[44, 73, 44, 26], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [73, 26, 1] Generated Node #2: [73, 26, 1] from Operation: 44/44=1 Current State: 100:[73, 26, 1], Operations: ['44/44=1'] Exploring Operation: 73+26=99, Resulting Numbers: [1, 99] Generated Node #3: [1, 99] from Operation: 73+26=99 Current State: 100:[1, 99], Operations: ['44/44=1', '73+26=99'] Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[44, 73, 44, 26], Operations: [] Exploring Operation: 73-44=29, Resulting Numbers: [44, 26, 29] Generated Node #0,0: 100:[44, 26, 29] Operation: 73-44=29 Exploring Operation: 73-26=47, Resulting Numbers: [44, 44, 47] Generated Node #0,1: 100:[44, 44, 47] Operation: 73-26=47 Exploring Operation: 73-44=29, Resulting Numbers: [44, 26, 29] Generated Node #0,2: 100:[44, 26, 29] Operation: 73-44=29 Exploring Operation: 73+26=99, Resulting Numbers: [44, 44, 99] Generated Node #0,3: 100:[44, 44, 99] Operation: 73+26=99 Moving to Node #0,0 Current State: 100:[44, 26, 29], Operations: ['73-44=29'] Exploring Operation: 44-26=18, Resulting Numbers: [29, 18] Generated Node #0,0,0: 100:[29, 18] Operation: 44-26=18 Exploring Operation: 29-26=3, Resulting Numbers: [44, 3] Generated Node #0,0,1: 100:[44, 3] Operation: 29-26=3 Exploring Operation: 44-29=15, Resulting Numbers: [26, 15] Generated Node #0,0,2: 100:[26, 15] Operation: 44-29=15 Exploring Operation: 26+29=55, Resulting Numbers: [44, 55] Generated Node #0,0,3: 100:[44, 55] Operation: 26+29=55 Moving to Node #0,2 Current State: 100:[44, 26, 29], Operations: ['73-44=29'] Exploring Operation: 29-26=3, Resulting Numbers: [44, 3] Generated Node #0,2,0: 100:[44, 3] Operation: 29-26=3 Exploring Operation: 44-29=15, Resulting Numbers: [26, 15] Generated Node #0,2,1: 100:[26, 15] Operation: 44-29=15 Exploring Operation: 44-26=18, Resulting Numbers: [29, 18] Generated Node #0,2,2: 100:[29, 18] Operation: 44-26=18 Exploring Operation: 26+29=55, Resulting Numbers: [44, 55] Generated Node #0,2,3: 100:[44, 55] Operation: 26+29=55 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[26, 15], Operations: ['73-44=29', '44-29=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[29, 18], Operations: ['73-44=29', '44-26=18'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[44, 3], Operations: ['73-44=29', '29-26=3'] Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,100 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 100:[44, 55], Operations: ['73-44=29', '26+29=55'] Exploring Operation: 44+55=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 44*55=2420, Resulting Numbers: [2420] 2420,100 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,100 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: 100:[44, 44, 99], Operations: ['73+26=99'] Exploring Operation: 99-44=55, Resulting Numbers: [44, 55] Generated Node #0,3,0: 100:[44, 55] Operation: 99-44=55 Exploring Operation: 44-44=0, Resulting Numbers: [99, 0] Generated Node #0,3,1: 100:[99, 0] Operation: 44-44=0 Exploring Operation: 44/44=1, Resulting Numbers: [99, 1] Generated Node #0,3,2: 100:[99, 1] Operation: 44/44=1 Exploring Operation: 99-44=55, Resulting Numbers: [44, 55] Generated Node #0,3,3: 100:[44, 55] Operation: 99-44=55 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[99, 1], Operations: ['73+26=99', '44/44=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[44, 73, 44, 26], Operations: [] Exploring Operation: 73+26=99, Resulting Numbers: [44, 44, 99] Generated Node #0,3: 100:[44, 44, 99] Operation: 73+26=99 Moving to Node #0,3 Current State: 100:[44, 44, 99], Operations: ['73+26=99'] Exploring Operation: 44/44=1, Resulting Numbers: [99, 1] Generated Node #0,3,2: 100:[99, 1] Operation: 44/44=1 Moving to Node #0,3,2 Current State: 100:[99, 1], Operations: ['73+26=99', '44/44=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 91, 45, 74, 2 ]
73
[ "91-74=17", "45*2=90", "90-17=73" ]
Current State: 73:[91, 45, 74, 2], Operations: [] Exploring Operation: 91-74=17, Resulting Numbers: [45, 2, 17] Generated Node #2: [45, 2, 17] from Operation: 91-74=17 Current State: 73:[45, 2, 17], Operations: ['91-74=17'] Exploring Operation: 45*2=90, Resulting Numbers: [17, 90] Generated Node #3: [17, 90] from Operation: 45*2=90 Current State: 73:[17, 90], Operations: ['91-74=17', '45*2=90'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[91, 45, 74, 2], Operations: [] Exploring Operation: 91-2=89, Resulting Numbers: [45, 74, 89] Generated Node #0,0: 73:[45, 74, 89] Operation: 91-2=89 Exploring Operation: 45*2=90, Resulting Numbers: [91, 74, 90] Generated Node #0,1: 73:[91, 74, 90] Operation: 45*2=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[91, 74, 90], Operations: ['45*2=90'] Exploring Operation: 91-90=1, Resulting Numbers: [74, 1] Generated Node #0,1,0: 73:[74, 1] Operation: 91-90=1 Exploring Operation: 91-74=17, Resulting Numbers: [90, 17] Generated Node #0,1,1: 73:[90, 17] Operation: 91-74=17 Moving to Node #0,1,0 Current State: 73:[74, 1], Operations: ['45*2=90', '91-90=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[91, 45, 74, 2], Operations: [] Exploring Operation: 45*2=90, Resulting Numbers: [91, 74, 90] Generated Node #0,1: 73:[91, 74, 90] Operation: 45*2=90 Moving to Node #0,1 Current State: 73:[91, 74, 90], Operations: ['45*2=90'] Exploring Operation: 91-90=1, Resulting Numbers: [74, 1] Generated Node #0,1,0: 73:[74, 1] Operation: 91-90=1 Moving to Node #0,1,0 Current State: 73:[74, 1], Operations: ['45*2=90', '91-90=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 30, 21, 69, 23 ]
84
[ "23-21=2", "30/2=15", "69+15=84" ]
Current State: 84:[30, 21, 69, 23], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [30, 69, 2] Generated Node #2: [30, 69, 2] from Operation: 23-21=2 Current State: 84:[30, 69, 2], Operations: ['23-21=2'] Exploring Operation: 30/2=15, Resulting Numbers: [69, 15] Generated Node #3: [69, 15] from Operation: 30/2=15 Current State: 84:[69, 15], Operations: ['23-21=2', '30/2=15'] Exploring Operation: 69+15=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[30, 21, 69, 23], Operations: [] Exploring Operation: 69-23=46, Resulting Numbers: [30, 21, 46] Generated Node #0,0: 84:[30, 21, 46] Operation: 69-23=46 Exploring Operation: 69-30=39, Resulting Numbers: [21, 23, 39] Generated Node #0,1: 84:[21, 23, 39] Operation: 69-30=39 Exploring Operation: 69/23=3, Resulting Numbers: [30, 21, 3] Generated Node #0,2: 84:[30, 21, 3] Operation: 69/23=3 Exploring Operation: 21+69=90, Resulting Numbers: [30, 23, 90] Generated Node #0,3: 84:[30, 23, 90] Operation: 21+69=90 Moving to Node #0,2 Current State: 84:[30, 21, 3], Operations: ['69/23=3'] Exploring Operation: 21/3=7, Resulting Numbers: [30, 7] Generated Node #0,2,0: 84:[30, 7] Operation: 21/3=7 Exploring Operation: 30-3=27, Resulting Numbers: [21, 27] Generated Node #0,2,1: 84:[21, 27] Operation: 30-3=27 Exploring Operation: 30-21=9, Resulting Numbers: [3, 9] Generated Node #0,2,2: 84:[3, 9] Operation: 30-21=9 Exploring Operation: 30/3=10, Resulting Numbers: [21, 10] Generated Node #0,2,3: 84:[21, 10] Operation: 30/3=10 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[21, 27], Operations: ['69/23=3', '30-3=27'] Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,84 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[30, 7], Operations: ['69/23=3', '21/3=7'] Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,84 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[3, 9], Operations: ['69/23=3', '30-21=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 84:[21, 10], Operations: ['69/23=3', '30/3=10'] Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,84 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,84 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: 84:[21, 23, 39], Operations: ['69-30=39'] Exploring Operation: 23-21=2, Resulting Numbers: [39, 2] Generated Node #0,1,0: 84:[39, 2] Operation: 23-21=2 Exploring Operation: 39-23=16, Resulting Numbers: [21, 16] Generated Node #0,1,1: 84:[21, 16] Operation: 39-23=16 Exploring Operation: 39-21=18, Resulting Numbers: [23, 18] Generated Node #0,1,2: 84:[23, 18] Operation: 39-21=18 Exploring Operation: 21+23=44, Resulting Numbers: [39, 44] Generated Node #0,1,3: 84:[39, 44] Operation: 21+23=44 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[21, 16], Operations: ['69-30=39', '39-23=16'] Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,84 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[39, 2], Operations: ['69-30=39', '23-21=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[23, 18], Operations: ['69-30=39', '39-21=18'] Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,84 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[39, 44], Operations: ['69-30=39', '21+23=44'] Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 39*44=1716, Resulting Numbers: [1716] 1716,84 unequal: No Solution Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,84 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: 84:[30, 21, 46], Operations: ['69-23=46'] Exploring Operation: 46-21=25, Resulting Numbers: [30, 25] Generated Node #0,0,0: 84:[30, 25] Operation: 46-21=25 Exploring Operation: 30+46=76, Resulting Numbers: [21, 76] Generated Node #0,0,1: 84:[21, 76] Operation: 30+46=76 Exploring Operation: 46-30=16, Resulting Numbers: [21, 16] Generated Node #0,0,2: 84:[21, 16] Operation: 46-30=16 Exploring Operation: 30-21=9, Resulting Numbers: [46, 9] Generated Node #0,0,3: 84:[46, 9] Operation: 30-21=9 Moving to Node #0,3 Current State: 84:[30, 23, 90], Operations: ['21+69=90'] Exploring Operation: 30-23=7, Resulting Numbers: [90, 7] Generated Node #0,3,0: 84:[90, 7] Operation: 30-23=7 Exploring Operation: 30+23=53, Resulting Numbers: [90, 53] Generated Node #0,3,1: 84:[90, 53] Operation: 30+23=53 Exploring Operation: 90/30=3, Resulting Numbers: [23, 3] Generated Node #0,3,2: 84:[23, 3] Operation: 90/30=3 Exploring Operation: 90-23=67, Resulting Numbers: [30, 67] Generated Node #0,3,3: 84:[30, 67] Operation: 90-23=67 Moving to Node #0,0,2 Current State: 84:[21, 16], Operations: ['69-23=46', '46-30=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[23, 3], Operations: ['21+69=90', '90/30=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[30, 25], Operations: ['69-23=46', '46-21=25'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,84 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[46, 9], Operations: ['69-23=46', '30-21=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,84 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[90, 7], Operations: ['21+69=90', '30-23=7'] Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,84 unequal: No Solution Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[21, 76], Operations: ['69-23=46', '30+46=76'] Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,84 unequal: No Solution Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[90, 53], Operations: ['21+69=90', '30+23=53'] Exploring Operation: 90*53=4770, Resulting Numbers: [4770] 4770,84 unequal: No Solution Exploring Operation: 90+53=143, Resulting Numbers: [143] 143,84 unequal: No Solution Exploring Operation: 90-53=37, Resulting Numbers: [37] 37,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[30, 67], Operations: ['21+69=90', '90-23=67'] Exploring Operation: 30+67=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 30*67=2010, Resulting Numbers: [2010] 2010,84 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,84 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 19, 69, 46, 38 ]
76
[ "69*38=2622", "2622/46=57", "19+57=76" ]
Current State: 76:[19, 69, 46, 38], Operations: [] Exploring Operation: 69*38=2622, Resulting Numbers: [19, 46, 2622] Generated Node #2: [19, 46, 2622] from Operation: 69*38=2622 Current State: 76:[19, 46, 2622], Operations: ['69*38=2622'] Exploring Operation: 2622/46=57, Resulting Numbers: [19, 57] Generated Node #3: [19, 57] from Operation: 2622/46=57 Current State: 76:[19, 57], Operations: ['69*38=2622', '2622/46=57'] Exploring Operation: 19+57=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[19, 69, 46, 38], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [19, 38, 23] Generated Node #0,0: 76:[19, 38, 23] Operation: 69-46=23 Exploring Operation: 46-38=8, Resulting Numbers: [19, 69, 8] Generated Node #0,1: 76:[19, 69, 8] Operation: 46-38=8 Exploring Operation: 46-19=27, Resulting Numbers: [69, 38, 27] Generated Node #0,2: 76:[69, 38, 27] Operation: 46-19=27 Moving to Node #0,0 Current State: 76:[19, 38, 23], Operations: ['69-46=23'] Exploring Operation: 23-19=4, Resulting Numbers: [38, 4] Generated Node #0,0,0: 76:[38, 4] Operation: 23-19=4 Exploring Operation: 38/19=2, Resulting Numbers: [23, 2] Generated Node #0,0,1: 76:[23, 2] Operation: 38/19=2 Exploring Operation: 38-19=19, Resulting Numbers: [23, 19] Generated Node #0,0,2: 76:[23, 19] Operation: 38-19=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[38, 4], Operations: ['69-46=23', '23-19=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,76 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[23, 2], Operations: ['69-46=23', '38/19=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,76 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[23, 19], Operations: ['69-46=23', '38-19=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,76 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,76 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: 76:[19, 69, 8], Operations: ['46-38=8'] Exploring Operation: 69+8=77, Resulting Numbers: [19, 77] Generated Node #0,1,0: 76:[19, 77] Operation: 69+8=77 Exploring Operation: 19+8=27, Resulting Numbers: [69, 27] Generated Node #0,1,1: 76:[69, 27] Operation: 19+8=27 Exploring Operation: 19-8=11, Resulting Numbers: [69, 11] Generated Node #0,1,2: 76:[69, 11] Operation: 19-8=11 Moving to Node #0,2 Current State: 76:[69, 38, 27], Operations: ['46-19=27'] Exploring Operation: 69-38=31, Resulting Numbers: [27, 31] Generated Node #0,2,0: 76:[27, 31] Operation: 69-38=31 Exploring Operation: 69-27=42, Resulting Numbers: [38, 42] Generated Node #0,2,1: 76:[38, 42] Operation: 69-27=42 Exploring Operation: 38-27=11, Resulting Numbers: [69, 11] Generated Node #0,2,2: 76:[69, 11] Operation: 38-27=11 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[38, 42], Operations: ['46-19=27', '69-27=42'] Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,76 unequal: No Solution Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[69, 11], Operations: ['46-19=27', '38-27=11'] Exploring Operation: 69*11=759, Resulting Numbers: [759] 759,76 unequal: No Solution Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[27, 31], Operations: ['46-19=27', '69-38=31'] Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,76 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,76 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: 76:[19, 77], Operations: ['46-38=8', '69+8=77'] Exploring Operation: 19*77=1463, Resulting Numbers: [1463] 1463,76 unequal: No Solution Exploring Operation: 19+77=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[69, 11], Operations: ['46-38=8', '19-8=11'] Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 69*11=759, Resulting Numbers: [759] 759,76 unequal: No Solution Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[69, 27], Operations: ['46-38=8', '19+8=27'] Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,76 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,76 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,76 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 31, 61, 40, 1 ]
70
[ "61-31=30", "40*1=40", "30+40=70" ]
Current State: 70:[31, 61, 40, 1], Operations: [] Exploring Operation: 61-31=30, Resulting Numbers: [40, 1, 30] Generated Node #2: [40, 1, 30] from Operation: 61-31=30 Current State: 70:[40, 1, 30], Operations: ['61-31=30'] Exploring Operation: 40*1=40, Resulting Numbers: [30, 40] Generated Node #3: [30, 40] from Operation: 40*1=40 Current State: 70:[30, 40], Operations: ['61-31=30', '40*1=40'] Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[31, 61, 40, 1], Operations: [] Exploring Operation: 61-31=30, Resulting Numbers: [40, 1, 30] Generated Node #0,0: 70:[40, 1, 30] Operation: 61-31=30 Moving to Node #0,0 Current State: 70:[40, 1, 30], Operations: ['61-31=30'] Exploring Operation: 40+30=70, Resulting Numbers: [1, 70] Generated Node #0,0,0: 70:[1, 70] Operation: 40+30=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[1, 70], Operations: ['61-31=30', '40+30=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[31, 61, 40, 1], Operations: [] Exploring Operation: 61-31=30, Resulting Numbers: [40, 1, 30] Generated Node #0,0: 70:[40, 1, 30] Operation: 61-31=30 Moving to Node #0,0 Current State: 70:[40, 1, 30], Operations: ['61-31=30'] Exploring Operation: 40+30=70, Resulting Numbers: [1, 70] Generated Node #0,0,0: 70:[1, 70] Operation: 40+30=70 Moving to Node #0,0,0 Current State: 70:[1, 70], Operations: ['61-31=30', '40+30=70'] Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 71, 29, 56, 71 ]
85
[ "71+29=100", "71-56=15", "100-15=85" ]
Current State: 85:[71, 29, 56, 71], Operations: [] Exploring Operation: 71+29=100, Resulting Numbers: [56, 100] Generated Node #2: [56, 100] from Operation: 71+29=100 Current State: 85:[56, 100], Operations: ['71+29=100'] Exploring Operation: 71-56=15, Resulting Numbers: [100, 15] Generated Node #3: [100, 15] from Operation: 71-56=15 Current State: 85:[100, 15], Operations: ['71+29=100', '71-56=15'] Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[71, 29, 56, 71], Operations: [] Exploring Operation: 29+56=85, Resulting Numbers: [71, 71, 85] Generated Node #0,0: 85:[71, 71, 85] Operation: 29+56=85 Exploring Operation: 71-56=15, Resulting Numbers: [71, 29, 15] Generated Node #0,1: 85:[71, 29, 15] Operation: 71-56=15 Exploring Operation: 71-56=15, Resulting Numbers: [29, 71, 15] Generated Node #0,2: 85:[29, 71, 15] Operation: 71-56=15 Moving to Node #0,0 Current State: 85:[71, 71, 85], Operations: ['29+56=85'] Exploring Operation: 71-71=0, Resulting Numbers: [85, 0] Generated Node #0,0,0: 85:[85, 0] Operation: 71-71=0 Exploring Operation: 71/71=1, Resulting Numbers: [85, 1] Generated Node #0,0,1: 85:[85, 1] Operation: 71/71=1 Exploring Operation: 85-71=14, Resulting Numbers: [71, 14] Generated Node #0,0,2: 85:[71, 14] Operation: 85-71=14 Moving to Node #0,1 Current State: 85:[71, 29, 15], Operations: ['71-56=15'] Exploring Operation: 71+15=86, Resulting Numbers: [29, 86] Generated Node #0,1,0: 85:[29, 86] Operation: 71+15=86 Exploring Operation: 29-15=14, Resulting Numbers: [71, 14] Generated Node #0,1,1: 85:[71, 14] Operation: 29-15=14 Exploring Operation: 71+29=100, Resulting Numbers: [15, 100] Generated Node #0,1,2: 85:[15, 100] Operation: 71+29=100 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[29, 86], Operations: ['71-56=15', '71+15=86'] Exploring Operation: 29*86=2494, Resulting Numbers: [2494] 2494,85 unequal: No Solution Exploring Operation: 29+86=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[71, 14], Operations: ['71-56=15', '29-15=14'] Exploring Operation: 71*14=994, Resulting Numbers: [994] 994,85 unequal: No Solution Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[71, 29, 56, 71], Operations: [] Exploring Operation: 71-56=15, Resulting Numbers: [71, 29, 15] Generated Node #0,1: 85:[71, 29, 15] Operation: 71-56=15 Moving to Node #0,1 Current State: 85:[71, 29, 15], Operations: ['71-56=15'] Exploring Operation: 29-15=14, Resulting Numbers: [71, 14] Generated Node #0,1,1: 85:[71, 14] Operation: 29-15=14 Moving to Node #0,1,1 Current State: 85:[71, 14], Operations: ['71-56=15', '29-15=14'] Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 63, 72, 31, 18 ]
90
[ "63+31=94", "72/18=4", "94-4=90" ]
Current State: 90:[63, 72, 31, 18], Operations: [] Exploring Operation: 63+31=94, Resulting Numbers: [72, 18, 94] Generated Node #2: [72, 18, 94] from Operation: 63+31=94 Current State: 90:[72, 18, 94], Operations: ['63+31=94'] Exploring Operation: 72/18=4, Resulting Numbers: [94, 4] Generated Node #3: [94, 4] from Operation: 72/18=4 Current State: 90:[94, 4], Operations: ['63+31=94', '72/18=4'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[63, 72, 31, 18], Operations: [] Exploring Operation: 72-63=9, Resulting Numbers: [31, 18, 9] Generated Node #0,0: 90:[31, 18, 9] Operation: 72-63=9 Exploring Operation: 63-18=45, Resulting Numbers: [72, 31, 45] Generated Node #0,1: 90:[72, 31, 45] Operation: 63-18=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[31, 18, 9], Operations: ['72-63=9'] Exploring Operation: 18/9=2, Resulting Numbers: [31, 2] Generated Node #0,0,0: 90:[31, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [31, 9] Generated Node #0,0,1: 90:[31, 9] Operation: 18-9=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[31, 2], Operations: ['72-63=9', '18/9=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,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,0,1 Current State: 90:[31, 9], Operations: ['72-63=9', '18-9=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,90 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: 90:[72, 31, 45], Operations: ['63-18=45'] Exploring Operation: 72-45=27, Resulting Numbers: [31, 27] Generated Node #0,1,0: 90:[31, 27] Operation: 72-45=27 Exploring Operation: 72-31=41, Resulting Numbers: [45, 41] Generated Node #0,1,1: 90:[45, 41] Operation: 72-31=41 Moving to Node #0,1,0 Current State: 90:[31, 27], Operations: ['63-18=45', '72-45=27'] Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[45, 41], Operations: ['63-18=45', '72-31=41'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,90 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
[ 79, 84, 12, 1 ]
59
[ "84-79=5", "12*5=60", "60-1=59" ]
Current State: 59:[79, 84, 12, 1], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [12, 1, 5] Generated Node #2: [12, 1, 5] from Operation: 84-79=5 Current State: 59:[12, 1, 5], Operations: ['84-79=5'] Exploring Operation: 12*5=60, Resulting Numbers: [1, 60] Generated Node #3: [1, 60] from Operation: 12*5=60 Current State: 59:[1, 60], Operations: ['84-79=5', '12*5=60'] Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[79, 84, 12, 1], Operations: [] Exploring Operation: 84-12=72, Resulting Numbers: [79, 1, 72] Generated Node #0,0: 59:[79, 1, 72] Operation: 84-12=72 Exploring Operation: 79-1=78, Resulting Numbers: [84, 12, 78] Generated Node #0,1: 59:[84, 12, 78] Operation: 79-1=78 Exploring Operation: 79-12=67, Resulting Numbers: [84, 1, 67] Generated Node #0,2: 59:[84, 1, 67] Operation: 79-12=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[79, 1, 72], Operations: ['84-12=72'] Exploring Operation: 79-1=78, Resulting Numbers: [72, 78] Generated Node #0,0,0: 59:[72, 78] Operation: 79-1=78 Exploring Operation: 72-1=71, Resulting Numbers: [79, 71] Generated Node #0,0,1: 59:[79, 71] Operation: 72-1=71 Exploring Operation: 79*1=79, Resulting Numbers: [72, 79] Generated Node #0,0,2: 59:[72, 79] Operation: 79*1=79 Moving to Node #0,0,0 Current State: 59:[72, 78], Operations: ['84-12=72', '79-1=78'] Exploring Operation: 72*78=5616, Resulting Numbers: [5616] 5616,59 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 72+78=150, Resulting Numbers: [150] 150,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[79, 71], Operations: ['84-12=72', '72-1=71'] Exploring Operation: 79*71=5609, Resulting Numbers: [5609] 5609,59 unequal: No Solution Exploring Operation: 79-71=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 79+71=150, Resulting Numbers: [150] 150,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[72, 79], Operations: ['84-12=72', '79*1=79'] Exploring Operation: 72+79=151, Resulting Numbers: [151] 151,59 unequal: No Solution Exploring Operation: 72*79=5688, Resulting Numbers: [5688] 5688,59 unequal: No Solution Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,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,1 Current State: 59:[84, 12, 78], Operations: ['79-1=78'] Exploring Operation: 84-12=72, Resulting Numbers: [78, 72] Generated Node #0,1,0: 59:[78, 72] Operation: 84-12=72 Exploring Operation: 84+12=96, Resulting Numbers: [78, 96] Generated Node #0,1,1: 59:[78, 96] Operation: 84+12=96 Exploring Operation: 78-12=66, Resulting Numbers: [84, 66] Generated Node #0,1,2: 59:[84, 66] Operation: 78-12=66 Moving to Node #0,1,0 Current State: 59:[78, 72], Operations: ['79-1=78', '84-12=72'] Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,59 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[84, 66], Operations: ['79-1=78', '78-12=66'] 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 Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[78, 96], Operations: ['79-1=78', '84+12=96'] Exploring Operation: 96-78=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 78+96=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 78*96=7488, Resulting Numbers: [7488] 7488,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,2 Current State: 59:[84, 1, 67], Operations: ['79-12=67'] Exploring Operation: 67-1=66, Resulting Numbers: [84, 66] Generated Node #0,2,0: 59:[84, 66] Operation: 67-1=66 Exploring Operation: 84*1=84, Resulting Numbers: [67, 84] Generated Node #0,2,1: 59:[67, 84] Operation: 84*1=84 Exploring Operation: 84-1=83, Resulting Numbers: [67, 83] Generated Node #0,2,2: 59:[67, 83] Operation: 84-1=83 Moving to Node #0,2,0 Current State: 59:[84, 66], Operations: ['79-12=67', '67-1=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,2,2 Current State: 59:[67, 83], Operations: ['79-12=67', '84-1=83'] Exploring Operation: 67+83=150, Resulting Numbers: [150] 150,59 unequal: No Solution Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 67*83=5561, Resulting Numbers: [5561] 5561,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[67, 84], Operations: ['79-12=67', '84*1=84'] Exploring Operation: 67+84=151, Resulting Numbers: [151] 151,59 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 67*84=5628, Resulting Numbers: [5628] 5628,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 98, 4, 91, 14 ]
52
[ "98/14=7", "4*91=364", "364/7=52" ]
Current State: 52:[98, 4, 91, 14], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [4, 91, 7] Generated Node #2: [4, 91, 7] from Operation: 98/14=7 Current State: 52:[4, 91, 7], Operations: ['98/14=7'] Exploring Operation: 4*91=364, Resulting Numbers: [7, 364] Generated Node #3: [7, 364] from Operation: 4*91=364 Current State: 52:[7, 364], Operations: ['98/14=7', '4*91=364'] Exploring Operation: 364/7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[98, 4, 91, 14], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [4, 14, 7] Generated Node #0,0: 52:[4, 14, 7] Operation: 98-91=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[4, 14, 7], Operations: ['98-91=7'] Exploring Operation: 14/7=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 52:[4, 2] Operation: 14/7=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[4, 2], Operations: ['98-91=7', '14/7=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 46, 12, 20, 87 ]
73
[ "46-12=34", "20+87=107", "107-34=73" ]
Current State: 73:[46, 12, 20, 87], Operations: [] Exploring Operation: 46-12=34, Resulting Numbers: [20, 87, 34] Generated Node #2: [20, 87, 34] from Operation: 46-12=34 Current State: 73:[20, 87, 34], Operations: ['46-12=34'] Exploring Operation: 20+87=107, Resulting Numbers: [34, 107] Generated Node #3: [34, 107] from Operation: 20+87=107 Current State: 73:[34, 107], Operations: ['46-12=34', '20+87=107'] Exploring Operation: 107-34=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[46, 12, 20, 87], Operations: [] Exploring Operation: 12+20=32, Resulting Numbers: [46, 87, 32] Generated Node #0,0: 73:[46, 87, 32] Operation: 12+20=32 Exploring Operation: 46+20=66, Resulting Numbers: [12, 87, 66] Generated Node #0,1: 73:[12, 87, 66] Operation: 46+20=66 Exploring Operation: 46+12=58, Resulting Numbers: [20, 87, 58] Generated Node #0,2: 73:[20, 87, 58] Operation: 46+12=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[46, 87, 32], Operations: ['12+20=32'] Exploring Operation: 46+32=78, Resulting Numbers: [87, 78] Generated Node #0,0,0: 73:[87, 78] Operation: 46+32=78 Exploring Operation: 87-32=55, Resulting Numbers: [46, 55] Generated Node #0,0,1: 73:[46, 55] Operation: 87-32=55 Exploring Operation: 87-46=41, Resulting Numbers: [32, 41] Generated Node #0,0,2: 73:[32, 41] Operation: 87-46=41 Moving to Node #0,0,0 Current State: 73:[87, 78], Operations: ['12+20=32', '46+32=78'] Exploring Operation: 87-78=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 87+78=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 87*78=6786, Resulting Numbers: [6786] 6786,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[46, 55], Operations: ['12+20=32', '87-32=55'] Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 46*55=2530, Resulting Numbers: [2530] 2530,73 unequal: No Solution Exploring Operation: 46+55=101, Resulting Numbers: [101] 101,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[32, 41], Operations: ['12+20=32', '87-46=41'] Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,73 unequal: No Solution Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[46, 12, 20, 87], Operations: [] Exploring Operation: 12+20=32, Resulting Numbers: [46, 87, 32] Generated Node #0,0: 73:[46, 87, 32] Operation: 12+20=32 Moving to Node #0,0 Current State: 73:[46, 87, 32], Operations: ['12+20=32'] Exploring Operation: 87-46=41, Resulting Numbers: [32, 41] Generated Node #0,0,2: 73:[32, 41] Operation: 87-46=41 Moving to Node #0,0,2 Current State: 73:[32, 41], Operations: ['12+20=32', '87-46=41'] Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 94, 37, 37, 36 ]
56
[ "94-37=57", "37-36=1", "57-1=56" ]
Current State: 56:[94, 37, 37, 36], Operations: [] Exploring Operation: 94-37=57, Resulting Numbers: [36, 57] Generated Node #2: [36, 57] from Operation: 94-37=57 Current State: 56:[36, 57], Operations: ['94-37=57'] Exploring Operation: 37-36=1, Resulting Numbers: [57, 1] Generated Node #3: [57, 1] from Operation: 37-36=1 Current State: 56:[57, 1], Operations: ['94-37=57', '37-36=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[94, 37, 37, 36], Operations: [] Exploring Operation: 94-37=57, Resulting Numbers: [37, 36, 57] Generated Node #0,0: 56:[37, 36, 57] Operation: 94-37=57 Exploring Operation: 94-37=57, Resulting Numbers: [37, 36, 57] Generated Node #0,1: 56:[37, 36, 57] Operation: 94-37=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[37, 36, 57], Operations: ['94-37=57'] Exploring Operation: 37-36=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 56:[57, 1] Operation: 37-36=1 Exploring Operation: 57-37=20, Resulting Numbers: [36, 20] Generated Node #0,0,1: 56:[36, 20] Operation: 57-37=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[57, 1], Operations: ['94-37=57', '37-36=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[94, 37, 37, 36], Operations: [] Exploring Operation: 94-37=57, Resulting Numbers: [37, 36, 57] Generated Node #0,0: 56:[37, 36, 57] Operation: 94-37=57 Moving to Node #0,0 Current State: 56:[37, 36, 57], Operations: ['94-37=57'] Exploring Operation: 37-36=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 56:[57, 1] Operation: 37-36=1 Moving to Node #0,0,0 Current State: 56:[57, 1], Operations: ['94-37=57', '37-36=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 29, 6, 22, 10 ]
94
[ "10-6=4", "29*4=116", "116-22=94" ]
Current State: 94:[29, 6, 22, 10], Operations: [] Exploring Operation: 10-6=4, Resulting Numbers: [29, 22, 4] Generated Node #2: [29, 22, 4] from Operation: 10-6=4 Current State: 94:[29, 22, 4], Operations: ['10-6=4'] Exploring Operation: 29*4=116, Resulting Numbers: [22, 116] Generated Node #3: [22, 116] from Operation: 29*4=116 Current State: 94:[22, 116], Operations: ['10-6=4', '29*4=116'] Exploring Operation: 116-22=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[29, 6, 22, 10], Operations: [] Exploring Operation: 29+22=51, Resulting Numbers: [6, 10, 51] Generated Node #0,0: 94:[6, 10, 51] Operation: 29+22=51 Exploring Operation: 22+10=32, Resulting Numbers: [29, 6, 32] Generated Node #0,1: 94:[29, 6, 32] Operation: 22+10=32 Exploring Operation: 22-10=12, Resulting Numbers: [29, 6, 12] Generated Node #0,2: 94:[29, 6, 12] Operation: 22-10=12 Exploring Operation: 29+10=39, Resulting Numbers: [6, 22, 39] Generated Node #0,3: 94:[6, 22, 39] Operation: 29+10=39 Exploring Operation: 29-22=7, Resulting Numbers: [6, 10, 7] Generated Node #0,4: 94:[6, 10, 7] Operation: 29-22=7 Moving to Node #0,0 Current State: 94:[6, 10, 51], Operations: ['29+22=51'] Exploring Operation: 6*10=60, Resulting Numbers: [51, 60] Generated Node #0,0,0: 94:[51, 60] Operation: 6*10=60 Exploring Operation: 51-6=45, Resulting Numbers: [10, 45] Generated Node #0,0,1: 94:[10, 45] Operation: 51-6=45 Exploring Operation: 51-10=41, Resulting Numbers: [6, 41] Generated Node #0,0,2: 94:[6, 41] Operation: 51-10=41 Exploring Operation: 10-6=4, Resulting Numbers: [51, 4] Generated Node #0,0,3: 94:[51, 4] Operation: 10-6=4 Exploring Operation: 6+10=16, Resulting Numbers: [51, 16] Generated Node #0,0,4: 94:[51, 16] Operation: 6+10=16 Moving to Node #0,4 Current State: 94:[6, 10, 7], Operations: ['29-22=7'] Exploring Operation: 6*10=60, Resulting Numbers: [7, 60] Generated Node #0,4,0: 94:[7, 60] Operation: 6*10=60 Exploring Operation: 7-6=1, Resulting Numbers: [10, 1] Generated Node #0,4,1: 94:[10, 1] Operation: 7-6=1 Exploring Operation: 10-7=3, Resulting Numbers: [6, 3] Generated Node #0,4,2: 94:[6, 3] Operation: 10-7=3 Exploring Operation: 10-6=4, Resulting Numbers: [7, 4] Generated Node #0,4,3: 94:[7, 4] Operation: 10-6=4 Exploring Operation: 6*7=42, Resulting Numbers: [10, 42] Generated Node #0,4,4: 94:[10, 42] Operation: 6*7=42 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 94:[6, 3], Operations: ['29-22=7', '10-7=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 94:[7, 4], Operations: ['29-22=7', '10-6=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 94:[10, 1], Operations: ['29-22=7', '7-6=1'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 94:[10, 42], Operations: ['29-22=7', '6*7=42'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,94 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 94:[7, 60], Operations: ['29-22=7', '6*10=60'] Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,94 unequal: No Solution Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 94:[29, 6, 12], Operations: ['22-10=12'] Exploring Operation: 29-12=17, Resulting Numbers: [6, 17] Generated Node #0,2,0: 94:[6, 17] Operation: 29-12=17 Exploring Operation: 29+6=35, Resulting Numbers: [12, 35] Generated Node #0,2,1: 94:[12, 35] Operation: 29+6=35 Exploring Operation: 29+12=41, Resulting Numbers: [6, 41] Generated Node #0,2,2: 94:[6, 41] Operation: 29+12=41 Exploring Operation: 12-6=6, Resulting Numbers: [29, 6] Generated Node #0,2,3: 94:[29, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [29, 2] Generated Node #0,2,4: 94:[29, 2] Operation: 12/6=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[6, 41], Operations: ['22-10=12', '29+12=41'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 94:[29, 2], Operations: ['22-10=12', '12/6=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,94 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[6, 17], Operations: ['22-10=12', '29-12=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,94 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[12, 35], Operations: ['22-10=12', '29+6=35'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,94 unequal: No Solution Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[29, 6], Operations: ['22-10=12', '12-6=6'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,94 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,94 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: 94:[6, 22, 39], Operations: ['29+10=39'] Exploring Operation: 22-6=16, Resulting Numbers: [39, 16] Generated Node #0,3,0: 94:[39, 16] Operation: 22-6=16 Exploring Operation: 6+39=45, Resulting Numbers: [22, 45] Generated Node #0,3,1: 94:[22, 45] Operation: 6+39=45 Exploring Operation: 22+39=61, Resulting Numbers: [6, 61] Generated Node #0,3,2: 94:[6, 61] Operation: 22+39=61 Exploring Operation: 6+22=28, Resulting Numbers: [39, 28] Generated Node #0,3,3: 94:[39, 28] Operation: 6+22=28 Exploring Operation: 39-22=17, Resulting Numbers: [6, 17] Generated Node #0,3,4: 94:[6, 17] Operation: 39-22=17 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[6, 61], Operations: ['29+10=39', '22+39=61'] Exploring Operation: 6*61=366, Resulting Numbers: [366] 366,94 unequal: No Solution Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 94:[6, 17], Operations: ['29+10=39', '39-22=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,94 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[39, 16], Operations: ['29+10=39', '22-6=16'] Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,94 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[22, 45], Operations: ['29+10=39', '6+39=45'] Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 22*45=990, Resulting Numbers: [990] 990,94 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[39, 28], Operations: ['29+10=39', '6+22=28'] Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,94 unequal: No Solution Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,94 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,94 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: 94:[29, 6, 32], Operations: ['22+10=32'] Exploring Operation: 6+32=38, Resulting Numbers: [29, 38] Generated Node #0,1,0: 94:[29, 38] Operation: 6+32=38 Exploring Operation: 29+6=35, Resulting Numbers: [32, 35] Generated Node #0,1,1: 94:[32, 35] Operation: 29+6=35 Exploring Operation: 29+32=61, Resulting Numbers: [6, 61] Generated Node #0,1,2: 94:[6, 61] Operation: 29+32=61 Exploring Operation: 29-6=23, Resulting Numbers: [32, 23] Generated Node #0,1,3: 94:[32, 23] Operation: 29-6=23 Exploring Operation: 32-29=3, Resulting Numbers: [6, 3] Generated Node #0,1,4: 94:[6, 3] Operation: 32-29=3 Moving to Node #0,1,4 Current State: 94:[6, 3], Operations: ['22+10=32', '32-29=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[51, 4], Operations: ['29+22=51', '10-6=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[6, 41], Operations: ['29+22=51', '51-10=41'] Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[10, 45], Operations: ['29+22=51', '51-6=45'] Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[51, 60], Operations: ['29+22=51', '6*10=60'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,94 unequal: No Solution Exploring Operation: 51*60=3060, Resulting Numbers: [3060] 3060,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[6, 61], Operations: ['22+10=32', '29+32=61'] Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 6*61=366, Resulting Numbers: [366] 366,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[51, 16], Operations: ['29+22=51', '6+10=16'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[29, 38], Operations: ['22+10=32', '6+32=38'] Exploring Operation: 29+38=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 29*38=1102, Resulting Numbers: [1102] 1102,94 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[32, 35], Operations: ['22+10=32', '29+6=35'] Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[32, 23], Operations: ['22+10=32', '29-6=23'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,94 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,94 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 27, 8, 4, 67 ]
44
[ "27-8=19", "67-4=63", "63-19=44" ]
Current State: 44:[27, 8, 4, 67], Operations: [] Exploring Operation: 27-8=19, Resulting Numbers: [4, 67, 19] Generated Node #2: [4, 67, 19] from Operation: 27-8=19 Current State: 44:[4, 67, 19], Operations: ['27-8=19'] Exploring Operation: 67-4=63, Resulting Numbers: [19, 63] Generated Node #3: [19, 63] from Operation: 67-4=63 Current State: 44:[19, 63], Operations: ['27-8=19', '67-4=63'] Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[27, 8, 4, 67], Operations: [] Exploring Operation: 27-4=23, Resulting Numbers: [8, 67, 23] Generated Node #0,0: 44:[8, 67, 23] Operation: 27-4=23 Exploring Operation: 67-4=63, Resulting Numbers: [27, 8, 63] Generated Node #0,1: 44:[27, 8, 63] Operation: 67-4=63 Exploring Operation: 67-8=59, Resulting Numbers: [27, 4, 59] Generated Node #0,2: 44:[27, 4, 59] Operation: 67-8=59 Exploring Operation: 27-8=19, Resulting Numbers: [4, 67, 19] Generated Node #0,3: 44:[4, 67, 19] Operation: 27-8=19 Exploring Operation: 67-27=40, Resulting Numbers: [8, 4, 40] Generated Node #0,4: 44:[8, 4, 40] Operation: 67-27=40 Moving to Node #0,4 Current State: 44:[8, 4, 40], Operations: ['67-27=40'] Exploring Operation: 40/8=5, Resulting Numbers: [4, 5] Generated Node #0,4,0: 44:[4, 5] Operation: 40/8=5 Exploring Operation: 8+40=48, Resulting Numbers: [4, 48] Generated Node #0,4,1: 44:[4, 48] Operation: 8+40=48 Exploring Operation: 8/4=2, Resulting Numbers: [40, 2] Generated Node #0,4,2: 44:[40, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [40, 4] Generated Node #0,4,3: 44:[40, 4] Operation: 8-4=4 Exploring Operation: 4+40=44, Resulting Numbers: [8, 44] Generated Node #0,4,4: 44:[8, 44] Operation: 4+40=44 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 44:[4, 5], Operations: ['67-27=40', '40/8=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,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,4,4 Current State: 44:[8, 44], Operations: ['67-27=40', '4+40=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,44 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,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,4,1 Current State: 44:[4, 48], Operations: ['67-27=40', '8+40=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[27, 8, 4, 67], Operations: [] Exploring Operation: 67-27=40, Resulting Numbers: [8, 4, 40] Generated Node #0,4: 44:[8, 4, 40] Operation: 67-27=40 Moving to Node #0,4 Current State: 44:[8, 4, 40], Operations: ['67-27=40'] Exploring Operation: 8+40=48, Resulting Numbers: [4, 48] Generated Node #0,4,1: 44:[4, 48] Operation: 8+40=48 Moving to Node #0,4,1 Current State: 44:[4, 48], Operations: ['67-27=40', '8+40=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 6, 42, 36, 16 ]
15
[ "42-6=36", "36/36=1", "16-1=15" ]
Current State: 15:[6, 42, 36, 16], Operations: [] Exploring Operation: 42-6=36, Resulting Numbers: [36, 16, 36] Generated Node #2: [36, 16, 36] from Operation: 42-6=36 Current State: 15:[36, 16, 36], Operations: ['42-6=36'] Exploring Operation: 36/36=1, Resulting Numbers: [16, 1] Generated Node #3: [16, 1] from Operation: 36/36=1 Current State: 15:[16, 1], Operations: ['42-6=36', '36/36=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[6, 42, 36, 16], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [6, 16, 6] Generated Node #0,0: 15:[6, 16, 6] Operation: 42-36=6 Exploring Operation: 36/6=6, Resulting Numbers: [42, 16, 6] Generated Node #0,1: 15:[42, 16, 6] Operation: 36/6=6 Exploring Operation: 42/6=7, Resulting Numbers: [36, 16, 7] Generated Node #0,2: 15:[36, 16, 7] Operation: 42/6=7 Exploring Operation: 42-16=26, Resulting Numbers: [6, 36, 26] Generated Node #0,3: 15:[6, 36, 26] Operation: 42-16=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[6, 16, 6], Operations: ['42-36=6'] Exploring Operation: 6/6=1, Resulting Numbers: [16, 1] Generated Node #0,0,0: 15:[16, 1] Operation: 6/6=1 Exploring Operation: 6+6=12, Resulting Numbers: [16, 12] Generated Node #0,0,1: 15:[16, 12] Operation: 6+6=12 Exploring Operation: 16-6=10, Resulting Numbers: [6, 10] Generated Node #0,0,2: 15:[6, 10] Operation: 16-6=10 Exploring Operation: 6-6=0, Resulting Numbers: [16, 0] Generated Node #0,0,3: 15:[16, 0] Operation: 6-6=0 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[16, 1], Operations: ['42-36=6', '6/6=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[6, 42, 36, 16], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [6, 16, 6] Generated Node #0,0: 15:[6, 16, 6] Operation: 42-36=6 Moving to Node #0,0 Current State: 15:[6, 16, 6], Operations: ['42-36=6'] Exploring Operation: 6/6=1, Resulting Numbers: [16, 1] Generated Node #0,0,0: 15:[16, 1] Operation: 6/6=1 Moving to Node #0,0,0 Current State: 15:[16, 1], Operations: ['42-36=6', '6/6=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 4, 61, 94, 21 ]
71
[ "4*21=84", "61+94=155", "155-84=71" ]
Current State: 71:[4, 61, 94, 21], Operations: [] Exploring Operation: 4*21=84, Resulting Numbers: [61, 94, 84] Generated Node #2: [61, 94, 84] from Operation: 4*21=84 Current State: 71:[61, 94, 84], Operations: ['4*21=84'] Exploring Operation: 61+94=155, Resulting Numbers: [84, 155] Generated Node #3: [84, 155] from Operation: 61+94=155 Current State: 71:[84, 155], Operations: ['4*21=84', '61+94=155'] Exploring Operation: 155-84=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[4, 61, 94, 21], Operations: [] Exploring Operation: 4+61=65, Resulting Numbers: [94, 21, 65] Generated Node #0,0: 71:[94, 21, 65] Operation: 4+61=65 Exploring Operation: 4*21=84, Resulting Numbers: [61, 94, 84] Generated Node #0,1: 71:[61, 94, 84] Operation: 4*21=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[61, 94, 84], Operations: ['4*21=84'] Exploring Operation: 84-61=23, Resulting Numbers: [94, 23] Generated Node #0,1,0: 71:[94, 23] Operation: 84-61=23 Exploring Operation: 94-61=33, Resulting Numbers: [84, 33] Generated Node #0,1,1: 71:[84, 33] Operation: 94-61=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[84, 33], Operations: ['4*21=84', '94-61=33'] Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 84+33=117, Resulting Numbers: [117] 117,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[94, 23], Operations: ['4*21=84', '84-61=23'] Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[4, 61, 94, 21], Operations: [] Exploring Operation: 4*21=84, Resulting Numbers: [61, 94, 84] Generated Node #0,1: 71:[61, 94, 84] Operation: 4*21=84 Moving to Node #0,1 Current State: 71:[61, 94, 84], Operations: ['4*21=84'] Exploring Operation: 84-61=23, Resulting Numbers: [94, 23] Generated Node #0,1,0: 71:[94, 23] Operation: 84-61=23 Moving to Node #0,1,0 Current State: 71:[94, 23], Operations: ['4*21=84', '84-61=23'] Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 16, 74, 54, 85 ]
81
[ "74-16=58", "54+85=139", "139-58=81" ]
Current State: 81:[16, 74, 54, 85], Operations: [] Exploring Operation: 74-16=58, Resulting Numbers: [54, 85, 58] Generated Node #2: [54, 85, 58] from Operation: 74-16=58 Current State: 81:[54, 85, 58], Operations: ['74-16=58'] Exploring Operation: 54+85=139, Resulting Numbers: [58, 139] Generated Node #3: [58, 139] from Operation: 54+85=139 Current State: 81:[58, 139], Operations: ['74-16=58', '54+85=139'] Exploring Operation: 139-58=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[16, 74, 54, 85], Operations: [] Exploring Operation: 54-16=38, Resulting Numbers: [74, 85, 38] Generated Node #0,0: 81:[74, 85, 38] Operation: 54-16=38 Exploring Operation: 16+54=70, Resulting Numbers: [74, 85, 70] Generated Node #0,1: 81:[74, 85, 70] Operation: 16+54=70 Exploring Operation: 74-54=20, Resulting Numbers: [16, 85, 20] Generated Node #0,2: 81:[16, 85, 20] Operation: 74-54=20 Exploring Operation: 85-54=31, Resulting Numbers: [16, 74, 31] Generated Node #0,3: 81:[16, 74, 31] Operation: 85-54=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[16, 85, 20], Operations: ['74-54=20'] Exploring Operation: 85-16=69, Resulting Numbers: [20, 69] Generated Node #0,2,0: 81:[20, 69] Operation: 85-16=69 Exploring Operation: 85-20=65, Resulting Numbers: [16, 65] Generated Node #0,2,1: 81:[16, 65] Operation: 85-20=65 Exploring Operation: 16+20=36, Resulting Numbers: [85, 36] Generated Node #0,2,2: 81:[85, 36] Operation: 16+20=36 Exploring Operation: 20-16=4, Resulting Numbers: [85, 4] Generated Node #0,2,3: 81:[85, 4] Operation: 20-16=4 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 81:[85, 4], Operations: ['74-54=20', '20-16=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[16, 74, 54, 85], Operations: [] Exploring Operation: 74-54=20, Resulting Numbers: [16, 85, 20] Generated Node #0,2: 81:[16, 85, 20] Operation: 74-54=20 Moving to Node #0,2 Current State: 81:[16, 85, 20], Operations: ['74-54=20'] Exploring Operation: 20-16=4, Resulting Numbers: [85, 4] Generated Node #0,2,3: 81:[85, 4] Operation: 20-16=4 Moving to Node #0,2,3 Current State: 81:[85, 4], Operations: ['74-54=20', '20-16=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 25, 17, 85, 76 ]
46
[ "76-25=51", "85/17=5", "51-5=46" ]
Current State: 46:[25, 17, 85, 76], Operations: [] Exploring Operation: 76-25=51, Resulting Numbers: [17, 85, 51] Generated Node #2: [17, 85, 51] from Operation: 76-25=51 Current State: 46:[17, 85, 51], Operations: ['76-25=51'] Exploring Operation: 85/17=5, Resulting Numbers: [51, 5] Generated Node #3: [51, 5] from Operation: 85/17=5 Current State: 46:[51, 5], Operations: ['76-25=51', '85/17=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[25, 17, 85, 76], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [25, 17, 9] Generated Node #0,0: 46:[25, 17, 9] Operation: 85-76=9 Exploring Operation: 85/17=5, Resulting Numbers: [25, 76, 5] Generated Node #0,1: 46:[25, 76, 5] Operation: 85/17=5 Exploring Operation: 76-25=51, Resulting Numbers: [17, 85, 51] Generated Node #0,2: 46:[17, 85, 51] Operation: 76-25=51 Exploring Operation: 85-25=60, Resulting Numbers: [17, 76, 60] Generated Node #0,3: 46:[17, 76, 60] Operation: 85-25=60 Moving to Node #0,0 Current State: 46:[25, 17, 9], Operations: ['85-76=9'] Exploring Operation: 17-9=8, Resulting Numbers: [25, 8] Generated Node #0,0,0: 46:[25, 8] Operation: 17-9=8 Exploring Operation: 25-17=8, Resulting Numbers: [9, 8] Generated Node #0,0,1: 46:[9, 8] Operation: 25-17=8 Exploring Operation: 25+17=42, Resulting Numbers: [9, 42] Generated Node #0,0,2: 46:[9, 42] Operation: 25+17=42 Exploring Operation: 17+9=26, Resulting Numbers: [25, 26] Generated Node #0,0,3: 46:[25, 26] Operation: 17+9=26 Moving to Node #0,1 Current State: 46:[25, 76, 5], Operations: ['85/17=5'] Exploring Operation: 25/5=5, Resulting Numbers: [76, 5] Generated Node #0,1,0: 46:[76, 5] Operation: 25/5=5 Exploring Operation: 76-5=71, Resulting Numbers: [25, 71] Generated Node #0,1,1: 46:[25, 71] Operation: 76-5=71 Exploring Operation: 76-25=51, Resulting Numbers: [5, 51] Generated Node #0,1,2: 46:[5, 51] Operation: 76-25=51 Exploring Operation: 25-5=20, Resulting Numbers: [76, 20] Generated Node #0,1,3: 46:[76, 20] Operation: 25-5=20 Moving to Node #0,3 Current State: 46:[17, 76, 60], Operations: ['85-25=60'] Exploring Operation: 17+76=93, Resulting Numbers: [60, 93] Generated Node #0,3,0: 46:[60, 93] Operation: 17+76=93 Exploring Operation: 60-17=43, Resulting Numbers: [76, 43] Generated Node #0,3,1: 46:[76, 43] Operation: 60-17=43 Exploring Operation: 76-60=16, Resulting Numbers: [17, 16] Generated Node #0,3,2: 46:[17, 16] Operation: 76-60=16 Exploring Operation: 76-17=59, Resulting Numbers: [60, 59] Generated Node #0,3,3: 46:[60, 59] Operation: 76-17=59 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[17, 16], Operations: ['85-25=60', '76-60=16'] Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,46 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 46:[60, 59], Operations: ['85-25=60', '76-17=59'] Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 60+59=119, Resulting Numbers: [119] 119,46 unequal: No Solution Exploring Operation: 60*59=3540, Resulting Numbers: [3540] 3540,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[76, 43], Operations: ['85-25=60', '60-17=43'] Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 76*43=3268, Resulting Numbers: [3268] 3268,46 unequal: No Solution Exploring Operation: 76+43=119, Resulting Numbers: [119] 119,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 46:[60, 93], Operations: ['85-25=60', '17+76=93'] Exploring Operation: 60*93=5580, Resulting Numbers: [5580] 5580,46 unequal: No Solution Exploring Operation: 93-60=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 60+93=153, Resulting Numbers: [153] 153,46 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: 46:[17, 85, 51], Operations: ['76-25=51'] Exploring Operation: 85/17=5, Resulting Numbers: [51, 5] Generated Node #0,2,0: 46:[51, 5] Operation: 85/17=5 Exploring Operation: 51/17=3, Resulting Numbers: [85, 3] Generated Node #0,2,1: 46:[85, 3] Operation: 51/17=3 Exploring Operation: 85-17=68, Resulting Numbers: [51, 68] Generated Node #0,2,2: 46:[51, 68] Operation: 85-17=68 Exploring Operation: 85-51=34, Resulting Numbers: [17, 34] Generated Node #0,2,3: 46:[17, 34] Operation: 85-51=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[51, 5], Operations: ['76-25=51', '85/17=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[25, 17, 85, 76], Operations: [] Exploring Operation: 76-25=51, Resulting Numbers: [17, 85, 51] Generated Node #0,2: 46:[17, 85, 51] Operation: 76-25=51 Moving to Node #0,2 Current State: 46:[17, 85, 51], Operations: ['76-25=51'] Exploring Operation: 85/17=5, Resulting Numbers: [51, 5] Generated Node #0,2,0: 46:[51, 5] Operation: 85/17=5 Moving to Node #0,2,0 Current State: 46:[51, 5], Operations: ['76-25=51', '85/17=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
sum_heuristic
[ 9, 16, 67, 41 ]
90
[ "67-16=51", "51-41=10", "9*10=90" ]
Current State: 90:[9, 16, 67, 41], Operations: [] Exploring Operation: 67-16=51, Resulting Numbers: [9, 41, 51] Generated Node #2: [9, 41, 51] from Operation: 67-16=51 Current State: 90:[9, 41, 51], Operations: ['67-16=51'] Exploring Operation: 51-41=10, Resulting Numbers: [9, 10] Generated Node #3: [9, 10] from Operation: 51-41=10 Current State: 90:[9, 10], Operations: ['67-16=51', '51-41=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[9, 16, 67, 41], Operations: [] Exploring Operation: 67-41=26, Resulting Numbers: [9, 16, 26] Generated Node #0,0: 90:[9, 16, 26] Operation: 67-41=26 Exploring Operation: 9+67=76, Resulting Numbers: [16, 41, 76] Generated Node #0,1: 90:[16, 41, 76] Operation: 9+67=76 Exploring Operation: 67-9=58, Resulting Numbers: [16, 41, 58] Generated Node #0,2: 90:[16, 41, 58] Operation: 67-9=58 Exploring Operation: 67-16=51, Resulting Numbers: [9, 41, 51] Generated Node #0,3: 90:[9, 41, 51] Operation: 67-16=51 Exploring Operation: 16+67=83, Resulting Numbers: [9, 41, 83] Generated Node #0,4: 90:[9, 41, 83] Operation: 16+67=83 Moving to Node #0,0 Current State: 90:[9, 16, 26], Operations: ['67-41=26'] Exploring Operation: 26-9=17, Resulting Numbers: [16, 17] Generated Node #0,0,0: 90:[16, 17] Operation: 26-9=17 Exploring Operation: 9+26=35, Resulting Numbers: [16, 35] Generated Node #0,0,1: 90:[16, 35] Operation: 9+26=35 Exploring Operation: 16-9=7, Resulting Numbers: [26, 7] Generated Node #0,0,2: 90:[26, 7] Operation: 16-9=7 Exploring Operation: 16+26=42, Resulting Numbers: [9, 42] Generated Node #0,0,3: 90:[9, 42] Operation: 16+26=42 Exploring Operation: 26-16=10, Resulting Numbers: [9, 10] Generated Node #0,0,4: 90:[9, 10] Operation: 26-16=10 Moving to Node #0,3 Current State: 90:[9, 41, 51], Operations: ['67-16=51'] Exploring Operation: 41-9=32, Resulting Numbers: [51, 32] Generated Node #0,3,0: 90:[51, 32] Operation: 41-9=32 Exploring Operation: 51-41=10, Resulting Numbers: [9, 10] Generated Node #0,3,1: 90:[9, 10] Operation: 51-41=10 Exploring Operation: 9+41=50, Resulting Numbers: [51, 50] Generated Node #0,3,2: 90:[51, 50] Operation: 9+41=50 Exploring Operation: 51-9=42, Resulting Numbers: [41, 42] Generated Node #0,3,3: 90:[41, 42] Operation: 51-9=42 Exploring Operation: 41+51=92, Resulting Numbers: [9, 92] Generated Node #0,3,4: 90:[9, 92] Operation: 41+51=92 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[9, 10], Operations: ['67-16=51', '51-41=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[9, 16, 67, 41], Operations: [] Exploring Operation: 67-16=51, Resulting Numbers: [9, 41, 51] Generated Node #0,3: 90:[9, 41, 51] Operation: 67-16=51 Moving to Node #0,3 Current State: 90:[9, 41, 51], Operations: ['67-16=51'] Exploring Operation: 51-41=10, Resulting Numbers: [9, 10] Generated Node #0,3,1: 90:[9, 10] Operation: 51-41=10 Moving to Node #0,3,1 Current State: 90:[9, 10], Operations: ['67-16=51', '51-41=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 21, 88, 70, 65 ]
62
[ "88-21=67", "70-65=5", "67-5=62" ]
Current State: 62:[21, 88, 70, 65], Operations: [] Exploring Operation: 88-21=67, Resulting Numbers: [70, 65, 67] Generated Node #2: [70, 65, 67] from Operation: 88-21=67 Current State: 62:[70, 65, 67], Operations: ['88-21=67'] Exploring Operation: 70-65=5, Resulting Numbers: [67, 5] Generated Node #3: [67, 5] from Operation: 70-65=5 Current State: 62:[67, 5], Operations: ['88-21=67', '70-65=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[21, 88, 70, 65], Operations: [] Exploring Operation: 88-21=67, Resulting Numbers: [70, 65, 67] Generated Node #0,0: 62:[70, 65, 67] Operation: 88-21=67 Exploring Operation: 88-70=18, Resulting Numbers: [21, 65, 18] Generated Node #0,1: 62:[21, 65, 18] Operation: 88-70=18 Moving to Node #0,0 Current State: 62:[70, 65, 67], Operations: ['88-21=67'] Exploring Operation: 70-65=5, Resulting Numbers: [67, 5] Generated Node #0,0,0: 62:[67, 5] Operation: 70-65=5 Exploring Operation: 70-67=3, Resulting Numbers: [65, 3] Generated Node #0,0,1: 62:[65, 3] Operation: 70-67=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[65, 3], Operations: ['88-21=67', '70-67=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[21, 88, 70, 65], Operations: [] Exploring Operation: 88-21=67, Resulting Numbers: [70, 65, 67] Generated Node #0,0: 62:[70, 65, 67] Operation: 88-21=67 Moving to Node #0,0 Current State: 62:[70, 65, 67], Operations: ['88-21=67'] Exploring Operation: 70-67=3, Resulting Numbers: [65, 3] Generated Node #0,0,1: 62:[65, 3] Operation: 70-67=3 Moving to Node #0,0,1 Current State: 62:[65, 3], Operations: ['88-21=67', '70-67=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 79, 45, 49, 40 ]
74
[ "49-40=9", "45/9=5", "79-5=74" ]
Current State: 74:[79, 45, 49, 40], Operations: [] Exploring Operation: 49-40=9, Resulting Numbers: [79, 45, 9] Generated Node #2: [79, 45, 9] from Operation: 49-40=9 Current State: 74:[79, 45, 9], Operations: ['49-40=9'] Exploring Operation: 45/9=5, Resulting Numbers: [79, 5] Generated Node #3: [79, 5] from Operation: 45/9=5 Current State: 74:[79, 5], Operations: ['49-40=9', '45/9=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[79, 45, 49, 40], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [79, 40, 4] Generated Node #0,0: 74:[79, 40, 4] Operation: 49-45=4 Exploring Operation: 79-45=34, Resulting Numbers: [49, 40, 34] Generated Node #0,1: 74:[49, 40, 34] Operation: 79-45=34 Moving to Node #0,0 Current State: 74:[79, 40, 4], Operations: ['49-45=4'] Exploring Operation: 79-40=39, Resulting Numbers: [4, 39] Generated Node #0,0,0: 74:[4, 39] Operation: 79-40=39 Exploring Operation: 79-4=75, Resulting Numbers: [40, 75] Generated Node #0,0,1: 74:[40, 75] Operation: 79-4=75 Moving to Node #0,1 Current State: 74:[49, 40, 34], Operations: ['79-45=34'] Exploring Operation: 49+34=83, Resulting Numbers: [40, 83] Generated Node #0,1,0: 74:[40, 83] Operation: 49+34=83 Exploring Operation: 49-40=9, Resulting Numbers: [34, 9] Generated Node #0,1,1: 74:[34, 9] Operation: 49-40=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[34, 9], Operations: ['79-45=34', '49-40=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,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,0 Current State: 74:[40, 83], Operations: ['79-45=34', '49+34=83'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 40+83=123, Resulting Numbers: [123] 123,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 74:[4, 39], Operations: ['49-45=4', '79-40=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,74 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[40, 75], Operations: ['49-45=4', '79-4=75'] Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,74 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 88, 23, 69, 81 ]
99
[ "88+23=111", "81-69=12", "111-12=99" ]
Current State: 99:[88, 23, 69, 81], Operations: [] Exploring Operation: 88+23=111, Resulting Numbers: [69, 81, 111] Generated Node #2: [69, 81, 111] from Operation: 88+23=111 Current State: 99:[69, 81, 111], Operations: ['88+23=111'] Exploring Operation: 81-69=12, Resulting Numbers: [111, 12] Generated Node #3: [111, 12] from Operation: 81-69=12 Current State: 99:[111, 12], Operations: ['88+23=111', '81-69=12'] Exploring Operation: 111-12=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[88, 23, 69, 81], Operations: [] Exploring Operation: 23+69=92, Resulting Numbers: [88, 81, 92] Generated Node #0,0: 99:[88, 81, 92] Operation: 23+69=92 Exploring Operation: 88-81=7, Resulting Numbers: [23, 69, 7] Generated Node #0,1: 99:[23, 69, 7] Operation: 88-81=7 Exploring Operation: 81-69=12, Resulting Numbers: [88, 23, 12] Generated Node #0,2: 99:[88, 23, 12] Operation: 81-69=12 Exploring Operation: 88-69=19, Resulting Numbers: [23, 81, 19] Generated Node #0,3: 99:[23, 81, 19] Operation: 88-69=19 Exploring Operation: 69/23=3, Resulting Numbers: [88, 81, 3] Generated Node #0,4: 99:[88, 81, 3] Operation: 69/23=3 Moving to Node #0,2 Current State: 99:[88, 23, 12], Operations: ['81-69=12'] Exploring Operation: 88+12=100, Resulting Numbers: [23, 100] Generated Node #0,2,0: 99:[23, 100] Operation: 88+12=100 Exploring Operation: 23-12=11, Resulting Numbers: [88, 11] Generated Node #0,2,1: 99:[88, 11] Operation: 23-12=11 Exploring Operation: 23+12=35, Resulting Numbers: [88, 35] Generated Node #0,2,2: 99:[88, 35] Operation: 23+12=35 Exploring Operation: 88-23=65, Resulting Numbers: [12, 65] Generated Node #0,2,3: 99:[12, 65] Operation: 88-23=65 Exploring Operation: 88+23=111, Resulting Numbers: [12, 111] Generated Node #0,2,4: 99:[12, 111] Operation: 88+23=111 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[23, 100], Operations: ['81-69=12', '88+12=100'] Exploring Operation: 100-23=77, Resulting Numbers: [77] 77,99 unequal: No Solution Exploring Operation: 23+100=123, Resulting Numbers: [123] 123,99 unequal: No Solution Exploring Operation: 23*100=2300, Resulting Numbers: [2300] 2300,99 unequal: No Solution No 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: 99:[88, 11], Operations: ['81-69=12', '23-12=11'] Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,99 unequal: No Solution Exploring Operation: 88+11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[88, 23, 69, 81], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [88, 23, 12] Generated Node #0,2: 99:[88, 23, 12] Operation: 81-69=12 Moving to Node #0,2 Current State: 99:[88, 23, 12], Operations: ['81-69=12'] Exploring Operation: 23-12=11, Resulting Numbers: [88, 11] Generated Node #0,2,1: 99:[88, 11] Operation: 23-12=11 Moving to Node #0,2,1 Current State: 99:[88, 11], Operations: ['81-69=12', '23-12=11'] Exploring Operation: 88+11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 49, 57, 78, 65 ]
80
[ "49+65=114", "114/57=2", "78+2=80" ]
Current State: 80:[49, 57, 78, 65], Operations: [] Exploring Operation: 49+65=114, Resulting Numbers: [57, 78, 114] Generated Node #2: [57, 78, 114] from Operation: 49+65=114 Current State: 80:[57, 78, 114], Operations: ['49+65=114'] Exploring Operation: 114/57=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 114/57=2 Current State: 80:[78, 2], Operations: ['49+65=114', '114/57=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[49, 57, 78, 65], Operations: [] Exploring Operation: 57-49=8, Resulting Numbers: [78, 65, 8] Generated Node #0,0: 80:[78, 65, 8] Operation: 57-49=8 Exploring Operation: 65-57=8, Resulting Numbers: [49, 78, 8] Generated Node #0,1: 80:[49, 78, 8] Operation: 65-57=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[49, 78, 8], Operations: ['65-57=8'] Exploring Operation: 49-8=41, Resulting Numbers: [78, 41] Generated Node #0,1,0: 80:[78, 41] Operation: 49-8=41 Exploring Operation: 78-49=29, Resulting Numbers: [8, 29] Generated Node #0,1,1: 80:[8, 29] Operation: 78-49=29 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[78, 41], Operations: ['65-57=8', '49-8=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[8, 29], Operations: ['65-57=8', '78-49=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[78, 65, 8], Operations: ['57-49=8'] Exploring Operation: 65+8=73, Resulting Numbers: [78, 73] Generated Node #0,0,0: 80:[78, 73] Operation: 65+8=73 Exploring Operation: 78-65=13, Resulting Numbers: [8, 13] Generated Node #0,0,1: 80:[8, 13] Operation: 78-65=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[8, 13], Operations: ['57-49=8', '78-65=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[78, 73], Operations: ['57-49=8', '65+8=73'] Exploring Operation: 78-73=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 78+73=151, Resulting Numbers: [151] 151,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 8, 49, 30, 99 ]
88
[ "49-8=41", "30+99=129", "129-41=88" ]
Current State: 88:[8, 49, 30, 99], Operations: [] Exploring Operation: 49-8=41, Resulting Numbers: [30, 99, 41] Generated Node #2: [30, 99, 41] from Operation: 49-8=41 Current State: 88:[30, 99, 41], Operations: ['49-8=41'] Exploring Operation: 30+99=129, Resulting Numbers: [41, 129] Generated Node #3: [41, 129] from Operation: 30+99=129 Current State: 88:[41, 129], Operations: ['49-8=41', '30+99=129'] Exploring Operation: 129-41=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[8, 49, 30, 99], Operations: [] Exploring Operation: 30-8=22, Resulting Numbers: [49, 99, 22] Generated Node #0,0: 88:[49, 99, 22] Operation: 30-8=22 Exploring Operation: 49+30=79, Resulting Numbers: [8, 99, 79] Generated Node #0,1: 88:[8, 99, 79] Operation: 49+30=79 Exploring Operation: 49-30=19, Resulting Numbers: [8, 99, 19] Generated Node #0,2: 88:[8, 99, 19] Operation: 49-30=19 Exploring Operation: 99-49=50, Resulting Numbers: [8, 30, 50] Generated Node #0,3: 88:[8, 30, 50] Operation: 99-49=50 Exploring Operation: 99-8=91, Resulting Numbers: [49, 30, 91] Generated Node #0,4: 88:[49, 30, 91] Operation: 99-8=91 Moving to Node #0,2 Current State: 88:[8, 99, 19], Operations: ['49-30=19'] Exploring Operation: 99-8=91, Resulting Numbers: [19, 91] Generated Node #0,2,0: 88:[19, 91] Operation: 99-8=91 Exploring Operation: 8+99=107, Resulting Numbers: [19, 107] Generated Node #0,2,1: 88:[19, 107] Operation: 8+99=107 Exploring Operation: 8+19=27, Resulting Numbers: [99, 27] Generated Node #0,2,2: 88:[99, 27] Operation: 8+19=27 Exploring Operation: 99-19=80, Resulting Numbers: [8, 80] Generated Node #0,2,3: 88:[8, 80] Operation: 99-19=80 Exploring Operation: 19-8=11, Resulting Numbers: [99, 11] Generated Node #0,2,4: 88:[99, 11] Operation: 19-8=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[19, 91], Operations: ['49-30=19', '99-8=91'] Exploring Operation: 19*91=1729, Resulting Numbers: [1729] 1729,88 unequal: No Solution Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 19+91=110, Resulting Numbers: [110] 110,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[8, 80], Operations: ['49-30=19', '99-19=80'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 8*80=640, Resulting Numbers: [640] 640,88 unequal: No Solution Exploring Operation: 8+80=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[8, 49, 30, 99], Operations: [] Exploring Operation: 49-30=19, Resulting Numbers: [8, 99, 19] Generated Node #0,2: 88:[8, 99, 19] Operation: 49-30=19 Moving to Node #0,2 Current State: 88:[8, 99, 19], Operations: ['49-30=19'] Exploring Operation: 99-19=80, Resulting Numbers: [8, 80] Generated Node #0,2,3: 88:[8, 80] Operation: 99-19=80 Moving to Node #0,2,3 Current State: 88:[8, 80], Operations: ['49-30=19', '99-19=80'] Exploring Operation: 8+80=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 23, 57, 61, 8 ]
71
[ "23+57=80", "80/8=10", "61+10=71" ]
Current State: 71:[23, 57, 61, 8], Operations: [] Exploring Operation: 23+57=80, Resulting Numbers: [61, 8, 80] Generated Node #2: [61, 8, 80] from Operation: 23+57=80 Current State: 71:[61, 8, 80], Operations: ['23+57=80'] Exploring Operation: 80/8=10, Resulting Numbers: [61, 10] Generated Node #3: [61, 10] from Operation: 80/8=10 Current State: 71:[61, 10], Operations: ['23+57=80', '80/8=10'] Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[23, 57, 61, 8], Operations: [] Exploring Operation: 23+8=31, Resulting Numbers: [57, 61, 31] Generated Node #0,0: 71:[57, 61, 31] Operation: 23+8=31 Exploring Operation: 57+8=65, Resulting Numbers: [23, 61, 65] Generated Node #0,1: 71:[23, 61, 65] Operation: 57+8=65 Exploring Operation: 61+8=69, Resulting Numbers: [23, 57, 69] Generated Node #0,2: 71:[23, 57, 69] Operation: 61+8=69 Moving to Node #0,0 Current State: 71:[57, 61, 31], Operations: ['23+8=31'] Exploring Operation: 61+31=92, Resulting Numbers: [57, 92] Generated Node #0,0,0: 71:[57, 92] Operation: 61+31=92 Exploring Operation: 57+31=88, Resulting Numbers: [61, 88] Generated Node #0,0,1: 71:[61, 88] Operation: 57+31=88 Exploring Operation: 57-31=26, Resulting Numbers: [61, 26] Generated Node #0,0,2: 71:[61, 26] Operation: 57-31=26 Moving to Node #0,1 Current State: 71:[23, 61, 65], Operations: ['57+8=65'] Exploring Operation: 23+61=84, Resulting Numbers: [65, 84] Generated Node #0,1,0: 71:[65, 84] Operation: 23+61=84 Exploring Operation: 23+65=88, Resulting Numbers: [61, 88] Generated Node #0,1,1: 71:[61, 88] Operation: 23+65=88 Exploring Operation: 61-23=38, Resulting Numbers: [65, 38] Generated Node #0,1,2: 71:[65, 38] Operation: 61-23=38 Moving to Node #0,2 Current State: 71:[23, 57, 69], Operations: ['61+8=69'] Exploring Operation: 23+69=92, Resulting Numbers: [57, 92] Generated Node #0,2,0: 71:[57, 92] Operation: 23+69=92 Exploring Operation: 57-23=34, Resulting Numbers: [69, 34] Generated Node #0,2,1: 71:[69, 34] Operation: 57-23=34 Exploring Operation: 23+57=80, Resulting Numbers: [69, 80] Generated Node #0,2,2: 71:[69, 80] Operation: 23+57=80 Moving to Node #0,2,2 Current State: 71:[69, 80], Operations: ['61+8=69', '23+57=80'] Exploring Operation: 69+80=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,71 unequal: No Solution Exploring Operation: 69*80=5520, Resulting Numbers: [5520] 5520,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[65, 84], Operations: ['57+8=65', '23+61=84'] Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 65*84=5460, Resulting Numbers: [5460] 5460,71 unequal: No Solution Exploring Operation: 65+84=149, Resulting Numbers: [149] 149,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[61, 88], Operations: ['23+8=31', '57+31=88'] Exploring Operation: 61+88=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 61*88=5368, Resulting Numbers: [5368] 5368,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[61, 88], Operations: ['57+8=65', '23+65=88'] Exploring Operation: 61+88=149, Resulting Numbers: [149] 149,71 unequal: No Solution Exploring Operation: 61*88=5368, Resulting Numbers: [5368] 5368,71 unequal: No Solution Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[57, 92], Operations: ['61+8=69', '23+69=92'] Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 57*92=5244, Resulting Numbers: [5244] 5244,71 unequal: No Solution Exploring Operation: 57+92=149, Resulting Numbers: [149] 149,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[57, 92], Operations: ['23+8=31', '61+31=92'] Exploring Operation: 57*92=5244, Resulting Numbers: [5244] 5244,71 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 57+92=149, Resulting Numbers: [149] 149,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[65, 38], Operations: ['57+8=65', '61-23=38'] Exploring Operation: 65*38=2470, Resulting Numbers: [2470] 2470,71 unequal: No Solution Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 65+38=103, Resulting Numbers: [103] 103,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[69, 34], Operations: ['61+8=69', '57-23=34'] Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,71 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[61, 26], Operations: ['23+8=31', '57-31=26'] Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,71 unequal: No Solution Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,71 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 37, 69, 97, 14 ]
79
[ "69-37=32", "97+14=111", "111-32=79" ]
Current State: 79:[37, 69, 97, 14], Operations: [] Exploring Operation: 69-37=32, Resulting Numbers: [97, 14, 32] Generated Node #2: [97, 14, 32] from Operation: 69-37=32 Current State: 79:[97, 14, 32], Operations: ['69-37=32'] Exploring Operation: 97+14=111, Resulting Numbers: [32, 111] Generated Node #3: [32, 111] from Operation: 97+14=111 Current State: 79:[32, 111], Operations: ['69-37=32', '97+14=111'] Exploring Operation: 111-32=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[37, 69, 97, 14], Operations: [] Exploring Operation: 97-14=83, Resulting Numbers: [37, 69, 83] Generated Node #0,0: 79:[37, 69, 83] Operation: 97-14=83 Exploring Operation: 37+14=51, Resulting Numbers: [69, 97, 51] Generated Node #0,1: 79:[69, 97, 51] Operation: 37+14=51 Exploring Operation: 69+14=83, Resulting Numbers: [37, 97, 83] Generated Node #0,2: 79:[37, 97, 83] Operation: 69+14=83 Exploring Operation: 69-14=55, Resulting Numbers: [37, 97, 55] Generated Node #0,3: 79:[37, 97, 55] Operation: 69-14=55 Exploring Operation: 37-14=23, Resulting Numbers: [69, 97, 23] Generated Node #0,4: 79:[69, 97, 23] Operation: 37-14=23 Moving to Node #0,0 Current State: 79:[37, 69, 83], Operations: ['97-14=83'] Exploring Operation: 83-37=46, Resulting Numbers: [69, 46] Generated Node #0,0,0: 79:[69, 46] Operation: 83-37=46 Exploring Operation: 37+83=120, Resulting Numbers: [69, 120] Generated Node #0,0,1: 79:[69, 120] Operation: 37+83=120 Exploring Operation: 37+69=106, Resulting Numbers: [83, 106] Generated Node #0,0,2: 79:[83, 106] Operation: 37+69=106 Exploring Operation: 69-37=32, Resulting Numbers: [83, 32] Generated Node #0,0,3: 79:[83, 32] Operation: 69-37=32 Exploring Operation: 83-69=14, Resulting Numbers: [37, 14] Generated Node #0,0,4: 79:[37, 14] Operation: 83-69=14 Moving to Node #0,1 Current State: 79:[69, 97, 51], Operations: ['37+14=51'] Exploring Operation: 97-69=28, Resulting Numbers: [51, 28] Generated Node #0,1,0: 79:[51, 28] Operation: 97-69=28 Exploring Operation: 69+51=120, Resulting Numbers: [97, 120] Generated Node #0,1,1: 79:[97, 120] Operation: 69+51=120 Exploring Operation: 69-51=18, Resulting Numbers: [97, 18] Generated Node #0,1,2: 79:[97, 18] Operation: 69-51=18 Exploring Operation: 97+51=148, Resulting Numbers: [69, 148] Generated Node #0,1,3: 79:[69, 148] Operation: 97+51=148 Exploring Operation: 97-51=46, Resulting Numbers: [69, 46] Generated Node #0,1,4: 79:[69, 46] Operation: 97-51=46 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 79:[69, 46], Operations: ['37+14=51', '97-51=46'] Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,79 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,79 unequal: No Solution Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[97, 120], Operations: ['37+14=51', '69+51=120'] Exploring Operation: 97*120=11640, Resulting Numbers: [11640] 11640,79 unequal: No Solution Exploring Operation: 120-97=23, Resulting Numbers: [23] 23,79 unequal: No Solution Exploring Operation: 97+120=217, Resulting Numbers: [217] 217,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[51, 28], Operations: ['37+14=51', '97-69=28'] Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,79 unequal: No Solution Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[37, 69, 97, 14], Operations: [] Exploring Operation: 37+14=51, Resulting Numbers: [69, 97, 51] Generated Node #0,1: 79:[69, 97, 51] Operation: 37+14=51 Moving to Node #0,1 Current State: 79:[69, 97, 51], Operations: ['37+14=51'] Exploring Operation: 97-69=28, Resulting Numbers: [51, 28] Generated Node #0,1,0: 79:[51, 28] Operation: 97-69=28 Moving to Node #0,1,0 Current State: 79:[51, 28], Operations: ['37+14=51', '97-69=28'] Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 86, 67, 73, 50 ]
30
[ "86+67=153", "73+50=123", "153-123=30" ]
Current State: 30:[86, 67, 73, 50], Operations: [] Exploring Operation: 86+67=153, Resulting Numbers: [73, 50, 153] Generated Node #2: [73, 50, 153] from Operation: 86+67=153 Current State: 30:[73, 50, 153], Operations: ['86+67=153'] Exploring Operation: 73+50=123, Resulting Numbers: [153, 123] Generated Node #3: [153, 123] from Operation: 73+50=123 Current State: 30:[153, 123], Operations: ['86+67=153', '73+50=123'] Exploring Operation: 153-123=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[86, 67, 73, 50], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [86, 50, 6] Generated Node #0,0: 30:[86, 50, 6] Operation: 73-67=6 Exploring Operation: 86-67=19, Resulting Numbers: [73, 50, 19] Generated Node #0,1: 30:[73, 50, 19] Operation: 86-67=19 Exploring Operation: 86-73=13, Resulting Numbers: [67, 50, 13] Generated Node #0,2: 30:[67, 50, 13] Operation: 86-73=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[67, 50, 13], Operations: ['86-73=13'] Exploring Operation: 67-13=54, Resulting Numbers: [50, 54] Generated Node #0,2,0: 30:[50, 54] Operation: 67-13=54 Exploring Operation: 50-13=37, Resulting Numbers: [67, 37] Generated Node #0,2,1: 30:[67, 37] Operation: 50-13=37 Exploring Operation: 67-50=17, Resulting Numbers: [13, 17] Generated Node #0,2,2: 30:[13, 17] Operation: 67-50=17 Moving to Node #0,2,2 Current State: 30:[13, 17], Operations: ['86-73=13', '67-50=17'] Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[86, 67, 73, 50], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [67, 50, 13] Generated Node #0,2: 30:[67, 50, 13] Operation: 86-73=13 Moving to Node #0,2 Current State: 30:[67, 50, 13], Operations: ['86-73=13'] Exploring Operation: 67-50=17, Resulting Numbers: [13, 17] Generated Node #0,2,2: 30:[13, 17] Operation: 67-50=17 Moving to Node #0,2,2 Current State: 30:[13, 17], Operations: ['86-73=13', '67-50=17'] Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 2, 3, 79, 22 ]
31
[ "2+3=5", "22*5=110", "110-79=31" ]
Current State: 31:[2, 3, 79, 22], Operations: [] Exploring Operation: 2+3=5, Resulting Numbers: [79, 22, 5] Generated Node #2: [79, 22, 5] from Operation: 2+3=5 Current State: 31:[79, 22, 5], Operations: ['2+3=5'] Exploring Operation: 22*5=110, Resulting Numbers: [79, 110] Generated Node #3: [79, 110] from Operation: 22*5=110 Current State: 31:[79, 110], Operations: ['2+3=5', '22*5=110'] Exploring Operation: 110-79=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[2, 3, 79, 22], Operations: [] Exploring Operation: 79-2=77, Resulting Numbers: [3, 22, 77] Generated Node #0,0: 31:[3, 22, 77] Operation: 79-2=77 Exploring Operation: 2+22=24, Resulting Numbers: [3, 79, 24] Generated Node #0,1: 31:[3, 79, 24] Operation: 2+22=24 Exploring Operation: 2*3=6, Resulting Numbers: [79, 22, 6] Generated Node #0,2: 31:[79, 22, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [79, 22, 5] Generated Node #0,3: 31:[79, 22, 5] Operation: 2+3=5 Moving to Node #0,2 Current State: 31:[79, 22, 6], Operations: ['2*3=6'] Exploring Operation: 79-6=73, Resulting Numbers: [22, 73] Generated Node #0,2,0: 31:[22, 73] Operation: 79-6=73 Exploring Operation: 79-22=57, Resulting Numbers: [6, 57] Generated Node #0,2,1: 31:[6, 57] Operation: 79-22=57 Exploring Operation: 79+6=85, Resulting Numbers: [22, 85] Generated Node #0,2,2: 31:[22, 85] Operation: 79+6=85 Exploring Operation: 22+6=28, Resulting Numbers: [79, 28] Generated Node #0,2,3: 31:[79, 28] Operation: 22+6=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[22, 73], Operations: ['2*3=6', '79-6=73'] Exploring Operation: 22+73=95, Resulting Numbers: [95] 95,31 unequal: No Solution Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 22*73=1606, Resulting Numbers: [1606] 1606,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:[6, 57], Operations: ['2*3=6', '79-22=57'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 6*57=342, Resulting Numbers: [342] 342,31 unequal: No Solution Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,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:[79, 28], Operations: ['2*3=6', '22+6=28'] Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 79+28=107, Resulting Numbers: [107] 107,31 unequal: No Solution Exploring Operation: 79*28=2212, Resulting Numbers: [2212] 2212,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:[22, 85], Operations: ['2*3=6', '79+6=85'] Exploring Operation: 22+85=107, Resulting Numbers: [107] 107,31 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 22*85=1870, Resulting Numbers: [1870] 1870,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:[3, 79, 24], Operations: ['2+22=24'] Exploring Operation: 3+79=82, Resulting Numbers: [24, 82] Generated Node #0,1,0: 31:[24, 82] Operation: 3+79=82 Exploring Operation: 3+24=27, Resulting Numbers: [79, 27] Generated Node #0,1,1: 31:[79, 27] Operation: 3+24=27 Exploring Operation: 79-24=55, Resulting Numbers: [3, 55] Generated Node #0,1,2: 31:[3, 55] Operation: 79-24=55 Exploring Operation: 79-3=76, Resulting Numbers: [24, 76] Generated Node #0,1,3: 31:[24, 76] Operation: 79-3=76 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[79, 27], Operations: ['2+22=24', '3+24=27'] Exploring Operation: 79*27=2133, Resulting Numbers: [2133] 2133,31 unequal: No Solution Exploring Operation: 79-27=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 79+27=106, Resulting Numbers: [106] 106,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,1,2 Current State: 31:[3, 55], Operations: ['2+22=24', '79-24=55'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,31 unequal: No Solution Exploring Operation: 3*55=165, Resulting Numbers: [165] 165,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,1,3 Current State: 31:[24, 76], Operations: ['2+22=24', '79-3=76'] Exploring Operation: 24*76=1824, Resulting Numbers: [1824] 1824,31 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 24+76=100, Resulting Numbers: [100] 100,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,1,0 Current State: 31:[24, 82], Operations: ['2+22=24', '3+79=82'] Exploring Operation: 24*82=1968, Resulting Numbers: [1968] 1968,31 unequal: No Solution Exploring Operation: 24+82=106, Resulting Numbers: [106] 106,31 unequal: No Solution Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,31 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: 31:[3, 22, 77], Operations: ['79-2=77'] Exploring Operation: 22-3=19, Resulting Numbers: [77, 19] Generated Node #0,0,0: 31:[77, 19] Operation: 22-3=19 Exploring Operation: 77-3=74, Resulting Numbers: [22, 74] Generated Node #0,0,1: 31:[22, 74] Operation: 77-3=74 Exploring Operation: 77-22=55, Resulting Numbers: [3, 55] Generated Node #0,0,2: 31:[3, 55] Operation: 77-22=55 Exploring Operation: 3+22=25, Resulting Numbers: [77, 25] Generated Node #0,0,3: 31:[77, 25] Operation: 3+22=25 Moving to Node #0,3 Current State: 31:[79, 22, 5], Operations: ['2+3=5'] Exploring Operation: 79-5=74, Resulting Numbers: [22, 74] Generated Node #0,3,0: 31:[22, 74] Operation: 79-5=74 Exploring Operation: 79-22=57, Resulting Numbers: [5, 57] Generated Node #0,3,1: 31:[5, 57] Operation: 79-22=57 Exploring Operation: 22+5=27, Resulting Numbers: [79, 27] Generated Node #0,3,2: 31:[79, 27] Operation: 22+5=27 Exploring Operation: 79+5=84, Resulting Numbers: [22, 84] Generated Node #0,3,3: 31:[22, 84] Operation: 79+5=84 Moving to Node #0,0,1 Current State: 31:[22, 74], Operations: ['79-2=77', '77-3=74'] Exploring Operation: 22+74=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 22*74=1628, Resulting Numbers: [1628] 1628,31 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[77, 25], Operations: ['79-2=77', '3+22=25'] Exploring Operation: 77+25=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 77*25=1925, Resulting Numbers: [1925] 1925,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[79, 27], Operations: ['2+3=5', '22+5=27'] Exploring Operation: 79-27=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 79+27=106, Resulting Numbers: [106] 106,31 unequal: No Solution Exploring Operation: 79*27=2133, Resulting Numbers: [2133] 2133,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[5, 57], Operations: ['2+3=5', '79-22=57'] Exploring Operation: 5+57=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 5*57=285, Resulting Numbers: [285] 285,31 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[3, 55], Operations: ['79-2=77', '77-22=55'] Exploring Operation: 3*55=165, Resulting Numbers: [165] 165,31 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[22, 74], Operations: ['2+3=5', '79-5=74'] Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 22*74=1628, Resulting Numbers: [1628] 1628,31 unequal: No Solution Exploring Operation: 22+74=96, Resulting Numbers: [96] 96,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[77, 19], Operations: ['79-2=77', '22-3=19'] Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,31 unequal: No Solution Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[22, 84], Operations: ['2+3=5', '79+5=84'] Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 22*84=1848, Resulting Numbers: [1848] 1848,31 unequal: No Solution Exploring Operation: 22+84=106, Resulting Numbers: [106] 106,31 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 92, 96, 62, 20 ]
67
[ "96-92=4", "20/4=5", "62+5=67" ]
Current State: 67:[92, 96, 62, 20], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [62, 20, 4] Generated Node #2: [62, 20, 4] from Operation: 96-92=4 Current State: 67:[62, 20, 4], Operations: ['96-92=4'] Exploring Operation: 20/4=5, Resulting Numbers: [62, 5] Generated Node #3: [62, 5] from Operation: 20/4=5 Current State: 67:[62, 5], Operations: ['96-92=4', '20/4=5'] Exploring Operation: 62+5=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[92, 96, 62, 20], Operations: [] Exploring Operation: 96-20=76, Resulting Numbers: [92, 62, 76] Generated Node #0,0: 67:[92, 62, 76] Operation: 96-20=76 Exploring Operation: 92-20=72, Resulting Numbers: [96, 62, 72] Generated Node #0,1: 67:[96, 62, 72] Operation: 92-20=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[92, 62, 76], Operations: ['96-20=76'] Exploring Operation: 92-76=16, Resulting Numbers: [62, 16] Generated Node #0,0,0: 67:[62, 16] Operation: 92-76=16 Exploring Operation: 92-62=30, Resulting Numbers: [76, 30] Generated Node #0,0,1: 67:[76, 30] Operation: 92-62=30 Moving to Node #0,0,1 Current State: 67:[76, 30], Operations: ['96-20=76', '92-62=30'] Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 76+30=106, Resulting Numbers: [106] 106,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[62, 16], Operations: ['96-20=76', '92-76=16'] Exploring Operation: 62+16=78, Resulting Numbers: [78] 78,67 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,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,1 Current State: 67:[96, 62, 72], Operations: ['92-20=72'] Exploring Operation: 96-62=34, Resulting Numbers: [72, 34] Generated Node #0,1,0: 67:[72, 34] Operation: 96-62=34 Exploring Operation: 96-72=24, Resulting Numbers: [62, 24] Generated Node #0,1,1: 67:[62, 24] Operation: 96-72=24 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[72, 34], Operations: ['92-20=72', '96-62=34'] Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 72+34=106, Resulting Numbers: [106] 106,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[62, 24], Operations: ['92-20=72', '96-72=24'] Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 62+24=86, Resulting Numbers: [86] 86,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 69, 22, 4, 55 ]
98
[ "69-22=47", "55-4=51", "47+51=98" ]
Current State: 98:[69, 22, 4, 55], Operations: [] Exploring Operation: 69-22=47, Resulting Numbers: [4, 55, 47] Generated Node #2: [4, 55, 47] from Operation: 69-22=47 Current State: 98:[4, 55, 47], Operations: ['69-22=47'] Exploring Operation: 55-4=51, Resulting Numbers: [47, 51] Generated Node #3: [47, 51] from Operation: 55-4=51 Current State: 98:[47, 51], Operations: ['69-22=47', '55-4=51'] Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[69, 22, 4, 55], Operations: [] Exploring Operation: 69-22=47, Resulting Numbers: [4, 55, 47] Generated Node #0,0: 98:[4, 55, 47] Operation: 69-22=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[4, 55, 47], Operations: ['69-22=47'] Exploring Operation: 55-47=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 98:[4, 8] Operation: 55-47=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[4, 8], Operations: ['69-22=47', '55-47=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 75, 3, 30, 31 ]
26
[ "75/3=25", "31-30=1", "25+1=26" ]
Current State: 26:[75, 3, 30, 31], Operations: [] Exploring Operation: 75/3=25, Resulting Numbers: [30, 31, 25] Generated Node #2: [30, 31, 25] from Operation: 75/3=25 Current State: 26:[30, 31, 25], Operations: ['75/3=25'] Exploring Operation: 31-30=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 31-30=1 Current State: 26:[25, 1], Operations: ['75/3=25', '31-30=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[75, 3, 30, 31], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [3, 30, 44] Generated Node #0,0: 26:[3, 30, 44] Operation: 75-31=44 Exploring Operation: 75/3=25, Resulting Numbers: [30, 31, 25] Generated Node #0,1: 26:[30, 31, 25] Operation: 75/3=25 Moving to Node #0,1 Current State: 26:[30, 31, 25], Operations: ['75/3=25'] Exploring Operation: 31-30=1, Resulting Numbers: [25, 1] Generated Node #0,1,0: 26:[25, 1] Operation: 31-30=1 Exploring Operation: 30-25=5, Resulting Numbers: [31, 5] Generated Node #0,1,1: 26:[31, 5] Operation: 30-25=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[25, 1], Operations: ['75/3=25', '31-30=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[75, 3, 30, 31], Operations: [] Exploring Operation: 75/3=25, Resulting Numbers: [30, 31, 25] Generated Node #0,1: 26:[30, 31, 25] Operation: 75/3=25 Moving to Node #0,1 Current State: 26:[30, 31, 25], Operations: ['75/3=25'] Exploring Operation: 31-30=1, Resulting Numbers: [25, 1] Generated Node #0,1,0: 26:[25, 1] Operation: 31-30=1 Moving to Node #0,1,0 Current State: 26:[25, 1], Operations: ['75/3=25', '31-30=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 69, 50, 75, 63 ]
19
[ "69+50=119", "75+63=138", "138-119=19" ]
Current State: 19:[69, 50, 75, 63], Operations: [] Exploring Operation: 69+50=119, Resulting Numbers: [75, 63, 119] Generated Node #2: [75, 63, 119] from Operation: 69+50=119 Current State: 19:[75, 63, 119], Operations: ['69+50=119'] Exploring Operation: 75+63=138, Resulting Numbers: [119, 138] Generated Node #3: [119, 138] from Operation: 75+63=138 Current State: 19:[119, 138], Operations: ['69+50=119', '75+63=138'] Exploring Operation: 138-119=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[69, 50, 75, 63], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [50, 75, 6] Generated Node #0,0: 19:[50, 75, 6] Operation: 69-63=6 Exploring Operation: 69-50=19, Resulting Numbers: [75, 63, 19] Generated Node #0,1: 19:[75, 63, 19] Operation: 69-50=19 Exploring Operation: 75-69=6, Resulting Numbers: [50, 63, 6] Generated Node #0,2: 19:[50, 63, 6] Operation: 75-69=6 Exploring Operation: 75-63=12, Resulting Numbers: [69, 50, 12] Generated Node #0,3: 19:[69, 50, 12] Operation: 75-63=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[50, 63, 6], Operations: ['75-69=6'] Exploring Operation: 63-50=13, Resulting Numbers: [6, 13] Generated Node #0,2,0: 19:[6, 13] Operation: 63-50=13 Exploring Operation: 50+6=56, Resulting Numbers: [63, 56] Generated Node #0,2,1: 19:[63, 56] Operation: 50+6=56 Exploring Operation: 50-6=44, Resulting Numbers: [63, 44] Generated Node #0,2,2: 19:[63, 44] Operation: 50-6=44 Exploring Operation: 63-6=57, Resulting Numbers: [50, 57] Generated Node #0,2,3: 19:[50, 57] Operation: 63-6=57 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[6, 13], Operations: ['75-69=6', '63-50=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[69, 50, 75, 63], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [50, 63, 6] Generated Node #0,2: 19:[50, 63, 6] Operation: 75-69=6 Moving to Node #0,2 Current State: 19:[50, 63, 6], Operations: ['75-69=6'] Exploring Operation: 63-50=13, Resulting Numbers: [6, 13] Generated Node #0,2,0: 19:[6, 13] Operation: 63-50=13 Moving to Node #0,2,0 Current State: 19:[6, 13], Operations: ['75-69=6', '63-50=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.987847
hs_4
mult_heuristic
[ 54, 11, 84, 17 ]
23
[ "54+84=138", "17-11=6", "138/6=23" ]
Current State: 23:[54, 11, 84, 17], Operations: [] Exploring Operation: 54+84=138, Resulting Numbers: [11, 17, 138] Generated Node #2: [11, 17, 138] from Operation: 54+84=138 Current State: 23:[11, 17, 138], Operations: ['54+84=138'] Exploring Operation: 17-11=6, Resulting Numbers: [138, 6] Generated Node #3: [138, 6] from Operation: 17-11=6 Current State: 23:[138, 6], Operations: ['54+84=138', '17-11=6'] Exploring Operation: 138/6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[54, 11, 84, 17], Operations: [] Exploring Operation: 84-17=67, Resulting Numbers: [54, 11, 67] Generated Node #0,0: 23:[54, 11, 67] Operation: 84-17=67 Exploring Operation: 84-11=73, Resulting Numbers: [54, 17, 73] Generated Node #0,1: 23:[54, 17, 73] Operation: 84-11=73 Exploring Operation: 84-54=30, Resulting Numbers: [11, 17, 30] Generated Node #0,2: 23:[11, 17, 30] Operation: 84-54=30 Exploring Operation: 54-17=37, Resulting Numbers: [11, 84, 37] Generated Node #0,3: 23:[11, 84, 37] Operation: 54-17=37 Exploring Operation: 54-11=43, Resulting Numbers: [84, 17, 43] Generated Node #0,4: 23:[84, 17, 43] Operation: 54-11=43 Moving to Node #0,2 Current State: 23:[11, 17, 30], Operations: ['84-54=30'] Exploring Operation: 11+30=41, Resulting Numbers: [17, 41] Generated Node #0,2,0: 23:[17, 41] Operation: 11+30=41 Exploring Operation: 11+17=28, Resulting Numbers: [30, 28] Generated Node #0,2,1: 23:[30, 28] Operation: 11+17=28 Exploring Operation: 30-17=13, Resulting Numbers: [11, 13] Generated Node #0,2,2: 23:[11, 13] Operation: 30-17=13 Exploring Operation: 17-11=6, Resulting Numbers: [30, 6] Generated Node #0,2,3: 23:[30, 6] Operation: 17-11=6 Exploring Operation: 30-11=19, Resulting Numbers: [17, 19] Generated Node #0,2,4: 23:[17, 19] Operation: 30-11=19 Moving to Node #0,1 Current State: 23:[54, 17, 73], Operations: ['84-11=73'] Exploring Operation: 54-17=37, Resulting Numbers: [73, 37] Generated Node #0,1,0: 23:[73, 37] Operation: 54-17=37 Exploring Operation: 54+17=71, Resulting Numbers: [73, 71] Generated Node #0,1,1: 23:[73, 71] Operation: 54+17=71 Exploring Operation: 73-17=56, Resulting Numbers: [54, 56] Generated Node #0,1,2: 23:[54, 56] Operation: 73-17=56 Exploring Operation: 73-54=19, Resulting Numbers: [17, 19] Generated Node #0,1,3: 23:[17, 19] Operation: 73-54=19 Exploring Operation: 17+73=90, Resulting Numbers: [54, 90] Generated Node #0,1,4: 23:[54, 90] Operation: 17+73=90 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[17, 19], Operations: ['84-11=73', '73-54=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,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:[73, 37], Operations: ['84-11=73', '54-17=37'] Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,23 unequal: No Solution Exploring Operation: 73*37=2701, Resulting Numbers: [2701] 2701,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,2 Current State: 23:[54, 56], Operations: ['84-11=73', '73-17=56'] Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,23 unequal: No Solution Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,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:[73, 71], Operations: ['84-11=73', '54+17=71'] Exploring Operation: 73+71=144, Resulting Numbers: [144] 144,23 unequal: No Solution Exploring Operation: 73*71=5183, Resulting Numbers: [5183] 5183,23 unequal: No Solution Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,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,4 Current State: 23:[54, 90], Operations: ['84-11=73', '17+73=90'] Exploring Operation: 54*90=4860, Resulting Numbers: [4860] 4860,23 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 54+90=144, Resulting Numbers: [144] 144,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 23:[84, 17, 43], Operations: ['54-11=43'] Exploring Operation: 84-17=67, Resulting Numbers: [43, 67] Generated Node #0,4,0: 23:[43, 67] Operation: 84-17=67 Exploring Operation: 17+43=60, Resulting Numbers: [84, 60] Generated Node #0,4,1: 23:[84, 60] Operation: 17+43=60 Exploring Operation: 84-43=41, Resulting Numbers: [17, 41] Generated Node #0,4,2: 23:[17, 41] Operation: 84-43=41 Exploring Operation: 84+17=101, Resulting Numbers: [43, 101] Generated Node #0,4,3: 23:[43, 101] Operation: 84+17=101 Exploring Operation: 43-17=26, Resulting Numbers: [84, 26] Generated Node #0,4,4: 23:[84, 26] Operation: 43-17=26 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 23:[17, 41], Operations: ['54-11=43', '84-43=41'] Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,23 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,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,4,0 Current State: 23:[43, 67], Operations: ['54-11=43', '84-17=67'] Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,23 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,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,4,4 Current State: 23:[84, 26], Operations: ['54-11=43', '43-17=26'] Exploring Operation: 84*26=2184, Resulting Numbers: [2184] 2184,23 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,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,4,1 Current State: 23:[84, 60], Operations: ['54-11=43', '17+43=60'] Exploring Operation: 84*60=5040, Resulting Numbers: [5040] 5040,23 unequal: No Solution Exploring Operation: 84-60=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 84+60=144, Resulting Numbers: [144] 144,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,4,3 Current State: 23:[43, 101], Operations: ['54-11=43', '84+17=101'] Exploring Operation: 43+101=144, Resulting Numbers: [144] 144,23 unequal: No Solution Exploring Operation: 101-43=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 43*101=4343, Resulting Numbers: [4343] 4343,23 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: 23:[54, 11, 67], Operations: ['84-17=67'] Exploring Operation: 67-54=13, Resulting Numbers: [11, 13] Generated Node #0,0,0: 23:[11, 13] Operation: 67-54=13 Exploring Operation: 54-11=43, Resulting Numbers: [67, 43] Generated Node #0,0,1: 23:[67, 43] Operation: 54-11=43 Exploring Operation: 11+67=78, Resulting Numbers: [54, 78] Generated Node #0,0,2: 23:[54, 78] Operation: 11+67=78 Exploring Operation: 67-11=56, Resulting Numbers: [54, 56] Generated Node #0,0,3: 23:[54, 56] Operation: 67-11=56 Exploring Operation: 54+11=65, Resulting Numbers: [67, 65] Generated Node #0,0,4: 23:[67, 65] Operation: 54+11=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[11, 13], Operations: ['84-17=67', '67-54=13'] Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[67, 43], Operations: ['84-17=67', '54-11=43'] Exploring Operation: 67+43=110, Resulting Numbers: [110] 110,23 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 67*43=2881, Resulting Numbers: [2881] 2881,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 23:[54, 56], Operations: ['84-17=67', '67-11=56'] Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,23 unequal: No Solution Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[54, 78], Operations: ['84-17=67', '11+67=78'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 54+78=132, Resulting Numbers: [132] 132,23 unequal: No Solution Exploring Operation: 54*78=4212, Resulting Numbers: [4212] 4212,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 23:[67, 65], Operations: ['84-17=67', '54+11=65'] Exploring Operation: 67*65=4355, Resulting Numbers: [4355] 4355,23 unequal: No Solution Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 67+65=132, Resulting Numbers: [132] 132,23 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: 23:[11, 84, 37], Operations: ['54-17=37'] Exploring Operation: 84-11=73, Resulting Numbers: [37, 73] Generated Node #0,3,0: 23:[37, 73] Operation: 84-11=73 Exploring Operation: 11+84=95, Resulting Numbers: [37, 95] Generated Node #0,3,1: 23:[37, 95] Operation: 11+84=95 Exploring Operation: 84-37=47, Resulting Numbers: [11, 47] Generated Node #0,3,2: 23:[11, 47] Operation: 84-37=47 Exploring Operation: 11+37=48, Resulting Numbers: [84, 48] Generated Node #0,3,3: 23:[84, 48] Operation: 11+37=48 Exploring Operation: 37-11=26, Resulting Numbers: [84, 26] Generated Node #0,3,4: 23:[84, 26] Operation: 37-11=26 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 23:[11, 47], Operations: ['54-17=37', '84-37=47'] Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,23 unequal: No Solution Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,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,3,0 Current State: 23:[37, 73], Operations: ['54-17=37', '84-11=73'] Exploring Operation: 37+73=110, Resulting Numbers: [110] 110,23 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 37*73=2701, Resulting Numbers: [2701] 2701,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,3,4 Current State: 23:[84, 26], Operations: ['54-17=37', '37-11=26'] Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,23 unequal: No Solution Exploring Operation: 84*26=2184, Resulting Numbers: [2184] 2184,23 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,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,3,1 Current State: 23:[37, 95], Operations: ['54-17=37', '11+84=95'] Exploring Operation: 95-37=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 37+95=132, Resulting Numbers: [132] 132,23 unequal: No Solution Exploring Operation: 37*95=3515, Resulting Numbers: [3515] 3515,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,3,3 Current State: 23:[84, 48], Operations: ['54-17=37', '11+37=48'] Exploring Operation: 84+48=132, Resulting Numbers: [132] 132,23 unequal: No Solution Exploring Operation: 84*48=4032, Resulting Numbers: [4032] 4032,23 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 23:[17, 19], Operations: ['84-54=30', '30-11=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[30, 28], Operations: ['84-54=30', '11+17=28'] Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,23 unequal: No Solution Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[11, 13], Operations: ['84-54=30', '30-17=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,23 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[17, 41], Operations: ['84-54=30', '11+30=41'] Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,23 unequal: No Solution Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[30, 6], Operations: ['84-54=30', '17-11=6'] Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,23 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,23 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 78, 3, 92, 87 ]
31
[ "78/3=26", "92-87=5", "26+5=31" ]
Current State: 31:[78, 3, 92, 87], Operations: [] Exploring Operation: 78/3=26, Resulting Numbers: [92, 87, 26] Generated Node #2: [92, 87, 26] from Operation: 78/3=26 Current State: 31:[92, 87, 26], Operations: ['78/3=26'] Exploring Operation: 92-87=5, Resulting Numbers: [26, 5] Generated Node #3: [26, 5] from Operation: 92-87=5 Current State: 31:[26, 5], Operations: ['78/3=26', '92-87=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[78, 3, 92, 87], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [3, 87, 14] Generated Node #0,0: 31:[3, 87, 14] Operation: 92-78=14 Exploring Operation: 87/3=29, Resulting Numbers: [78, 92, 29] Generated Node #0,1: 31:[78, 92, 29] Operation: 87/3=29 Exploring Operation: 92-87=5, Resulting Numbers: [78, 3, 5] Generated Node #0,2: 31:[78, 3, 5] Operation: 92-87=5 Moving to Node #0,0 Current State: 31:[3, 87, 14], Operations: ['92-78=14'] Exploring Operation: 3*14=42, Resulting Numbers: [87, 42] Generated Node #0,0,0: 31:[87, 42] Operation: 3*14=42 Exploring Operation: 87/3=29, Resulting Numbers: [14, 29] Generated Node #0,0,1: 31:[14, 29] Operation: 87/3=29 Exploring Operation: 87-3=84, Resulting Numbers: [14, 84] Generated Node #0,0,2: 31:[14, 84] Operation: 87-3=84 Moving to Node #0,2 Current State: 31:[78, 3, 5], Operations: ['92-87=5'] Exploring Operation: 78/3=26, Resulting Numbers: [5, 26] Generated Node #0,2,0: 31:[5, 26] Operation: 78/3=26 Exploring Operation: 3*5=15, Resulting Numbers: [78, 15] Generated Node #0,2,1: 31:[78, 15] Operation: 3*5=15 Exploring Operation: 78-3=75, Resulting Numbers: [5, 75] Generated Node #0,2,2: 31:[5, 75] Operation: 78-3=75 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[5, 26], Operations: ['92-87=5', '78/3=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[78, 3, 92, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [78, 3, 5] Generated Node #0,2: 31:[78, 3, 5] Operation: 92-87=5 Moving to Node #0,2 Current State: 31:[78, 3, 5], Operations: ['92-87=5'] Exploring Operation: 78/3=26, Resulting Numbers: [5, 26] Generated Node #0,2,0: 31:[5, 26] Operation: 78/3=26 Moving to Node #0,2,0 Current State: 31:[5, 26], Operations: ['92-87=5', '78/3=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 3, 63, 13, 60 ]
54
[ "63+60=123", "123/3=41", "13+41=54" ]
Current State: 54:[3, 63, 13, 60], Operations: [] Exploring Operation: 63+60=123, Resulting Numbers: [3, 13, 123] Generated Node #2: [3, 13, 123] from Operation: 63+60=123 Current State: 54:[3, 13, 123], Operations: ['63+60=123'] Exploring Operation: 123/3=41, Resulting Numbers: [13, 41] Generated Node #3: [13, 41] from Operation: 123/3=41 Current State: 54:[13, 41], Operations: ['63+60=123', '123/3=41'] Exploring Operation: 13+41=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[3, 63, 13, 60], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [3, 13, 3] Generated Node #0,0: 54:[3, 13, 3] Operation: 63-60=3 Exploring Operation: 63-13=50, Resulting Numbers: [3, 60, 50] Generated Node #0,1: 54:[3, 60, 50] Operation: 63-13=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[3, 13, 3], Operations: ['63-60=3'] Exploring Operation: 13-3=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 54:[3, 10] Operation: 13-3=10 Exploring Operation: 13-3=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 54:[3, 10] Operation: 13-3=10 Moving to Node #0,0,0 Current State: 54:[3, 10], Operations: ['63-60=3', '13-3=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[3, 10], Operations: ['63-60=3', '13-3=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[3, 60, 50], Operations: ['63-13=50'] Exploring Operation: 60-50=10, Resulting Numbers: [3, 10] Generated Node #0,1,0: 54:[3, 10] Operation: 60-50=10 Exploring Operation: 60/3=20, Resulting Numbers: [50, 20] Generated Node #0,1,1: 54:[50, 20] Operation: 60/3=20 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 54:[3, 10], Operations: ['63-13=50', '60-50=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[50, 20], Operations: ['63-13=50', '60/3=20'] Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,54 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 61, 40, 43, 35 ]
44
[ "43-40=3", "35*3=105", "105-61=44" ]
Current State: 44:[61, 40, 43, 35], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [61, 35, 3] Generated Node #2: [61, 35, 3] from Operation: 43-40=3 Current State: 44:[61, 35, 3], Operations: ['43-40=3'] Exploring Operation: 35*3=105, Resulting Numbers: [61, 105] Generated Node #3: [61, 105] from Operation: 35*3=105 Current State: 44:[61, 105], Operations: ['43-40=3', '35*3=105'] Exploring Operation: 105-61=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[61, 40, 43, 35], Operations: [] Exploring Operation: 61-35=26, Resulting Numbers: [40, 43, 26] Generated Node #0,0: 44:[40, 43, 26] Operation: 61-35=26 Moving to Node #0,0 Current State: 44:[40, 43, 26], Operations: ['61-35=26'] Exploring Operation: 40-26=14, Resulting Numbers: [43, 14] Generated Node #0,0,0: 44:[43, 14] Operation: 40-26=14 Moving to Node #0,0,0 Current State: 44:[43, 14], Operations: ['61-35=26', '40-26=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,44 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 48, 14, 70, 74 ]
17
[ "70+74=144", "144/48=3", "14+3=17" ]
Current State: 17:[48, 14, 70, 74], Operations: [] Exploring Operation: 70+74=144, Resulting Numbers: [48, 14, 144] Generated Node #2: [48, 14, 144] from Operation: 70+74=144 Current State: 17:[48, 14, 144], Operations: ['70+74=144'] Exploring Operation: 144/48=3, Resulting Numbers: [14, 3] Generated Node #3: [14, 3] from Operation: 144/48=3 Current State: 17:[14, 3], Operations: ['70+74=144', '144/48=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[48, 14, 70, 74], Operations: [] Exploring Operation: 70-48=22, Resulting Numbers: [14, 74, 22] Generated Node #0,0: 17:[14, 74, 22] Operation: 70-48=22 Exploring Operation: 74-48=26, Resulting Numbers: [14, 70, 26] Generated Node #0,1: 17:[14, 70, 26] Operation: 74-48=26 Exploring Operation: 74-70=4, Resulting Numbers: [48, 14, 4] Generated Node #0,2: 17:[48, 14, 4] Operation: 74-70=4 Exploring Operation: 70/14=5, Resulting Numbers: [48, 74, 5] Generated Node #0,3: 17:[48, 74, 5] Operation: 70/14=5 Moving to Node #0,2 Current State: 17:[48, 14, 4], Operations: ['74-70=4'] Exploring Operation: 48-14=34, Resulting Numbers: [4, 34] Generated Node #0,2,0: 17:[4, 34] Operation: 48-14=34 Exploring Operation: 48/4=12, Resulting Numbers: [14, 12] Generated Node #0,2,1: 17:[14, 12] Operation: 48/4=12 Exploring Operation: 14+4=18, Resulting Numbers: [48, 18] Generated Node #0,2,2: 17:[48, 18] Operation: 14+4=18 Exploring Operation: 48-4=44, Resulting Numbers: [14, 44] Generated Node #0,2,3: 17:[14, 44] Operation: 48-4=44 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[14, 12], Operations: ['74-70=4', '48/4=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,17 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,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,2,0 Current State: 17:[4, 34], Operations: ['74-70=4', '48-14=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,17 unequal: No Solution Exploring Operation: 4+34=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,2,3 Current State: 17:[14, 44], Operations: ['74-70=4', '48-4=44'] Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,17 unequal: No Solution Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,17 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,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,2,2 Current State: 17:[48, 18], Operations: ['74-70=4', '14+4=18'] Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,17 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,17 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: 17:[14, 70, 26], Operations: ['74-48=26'] Exploring Operation: 70-14=56, Resulting Numbers: [26, 56] Generated Node #0,1,0: 17:[26, 56] Operation: 70-14=56 Exploring Operation: 70-26=44, Resulting Numbers: [14, 44] Generated Node #0,1,1: 17:[14, 44] Operation: 70-26=44 Exploring Operation: 70/14=5, Resulting Numbers: [26, 5] Generated Node #0,1,2: 17:[26, 5] Operation: 70/14=5 Exploring Operation: 26-14=12, Resulting Numbers: [70, 12] Generated Node #0,1,3: 17:[70, 12] Operation: 26-14=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[26, 5], Operations: ['74-48=26', '70/14=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,17 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[14, 44], Operations: ['74-48=26', '70-26=44'] Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,17 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[26, 56], Operations: ['74-48=26', '70-14=56'] Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 26*56=1456, Resulting Numbers: [1456] 1456,17 unequal: No Solution Exploring Operation: 26+56=82, Resulting Numbers: [82] 82,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[70, 12], Operations: ['74-48=26', '26-14=12'] Exploring Operation: 70+12=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,17 unequal: No Solution Exploring Operation: 70*12=840, Resulting Numbers: [840] 840,17 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: 17:[14, 74, 22], Operations: ['70-48=22'] Exploring Operation: 74-22=52, Resulting Numbers: [14, 52] Generated Node #0,0,0: 17:[14, 52] Operation: 74-22=52 Exploring Operation: 22-14=8, Resulting Numbers: [74, 8] Generated Node #0,0,1: 17:[74, 8] Operation: 22-14=8 Exploring Operation: 14+74=88, Resulting Numbers: [22, 88] Generated Node #0,0,2: 17:[22, 88] Operation: 14+74=88 Exploring Operation: 74-14=60, Resulting Numbers: [22, 60] Generated Node #0,0,3: 17:[22, 60] Operation: 74-14=60 Moving to Node #0,3 Current State: 17:[48, 74, 5], Operations: ['70/14=5'] Exploring Operation: 74-5=69, Resulting Numbers: [48, 69] Generated Node #0,3,0: 17:[48, 69] Operation: 74-5=69 Exploring Operation: 48-5=43, Resulting Numbers: [74, 43] Generated Node #0,3,1: 17:[74, 43] Operation: 48-5=43 Exploring Operation: 74-48=26, Resulting Numbers: [5, 26] Generated Node #0,3,2: 17:[5, 26] Operation: 74-48=26 Exploring Operation: 48+5=53, Resulting Numbers: [74, 53] Generated Node #0,3,3: 17:[74, 53] Operation: 48+5=53 Moving to Node #0,3,2 Current State: 17:[5, 26], Operations: ['70/14=5', '74-48=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,17 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[14, 52], Operations: ['70-48=22', '74-22=52'] Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,17 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[22, 60], Operations: ['70-48=22', '74-14=60'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 22*60=1320, Resulting Numbers: [1320] 1320,17 unequal: No Solution Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[74, 8], Operations: ['70-48=22', '22-14=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,17 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[22, 88], Operations: ['70-48=22', '14+74=88'] Exploring Operation: 22+88=110, Resulting Numbers: [110] 110,17 unequal: No Solution Exploring Operation: 22*88=1936, Resulting Numbers: [1936] 1936,17 unequal: No Solution Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[48, 69], Operations: ['70/14=5', '74-5=69'] Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,17 unequal: No Solution Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,17 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[74, 43], Operations: ['70/14=5', '48-5=43'] Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,17 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,17 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[74, 53], Operations: ['70/14=5', '48+5=53'] Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 74*53=3922, Resulting Numbers: [3922] 3922,17 unequal: No Solution Exploring Operation: 74+53=127, Resulting Numbers: [127] 127,17 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 87, 12, 50, 99 ]
51
[ "87+12=99", "99/99=1", "50+1=51" ]
Current State: 51:[87, 12, 50, 99], Operations: [] Exploring Operation: 87+12=99, Resulting Numbers: [50, 99, 99] Generated Node #2: [50, 99, 99] from Operation: 87+12=99 Current State: 51:[50, 99, 99], Operations: ['87+12=99'] Exploring Operation: 99/99=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 99/99=1 Current State: 51:[50, 1], Operations: ['87+12=99', '99/99=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[87, 12, 50, 99], Operations: [] Exploring Operation: 99-50=49, Resulting Numbers: [87, 12, 49] Generated Node #0,0: 51:[87, 12, 49] Operation: 99-50=49 Exploring Operation: 99-87=12, Resulting Numbers: [12, 50, 12] Generated Node #0,1: 51:[12, 50, 12] Operation: 99-87=12 Exploring Operation: 87-12=75, Resulting Numbers: [50, 99, 75] Generated Node #0,2: 51:[50, 99, 75] Operation: 87-12=75 Exploring Operation: 87-50=37, Resulting Numbers: [12, 99, 37] Generated Node #0,3: 51:[12, 99, 37] Operation: 87-50=37 Moving to Node #0,1 Current State: 51:[12, 50, 12], Operations: ['99-87=12'] Exploring Operation: 12/12=1, Resulting Numbers: [50, 1] Generated Node #0,1,0: 51:[50, 1] Operation: 12/12=1 Exploring Operation: 12-12=0, Resulting Numbers: [50, 0] Generated Node #0,1,1: 51:[50, 0] Operation: 12-12=0 Exploring Operation: 12+50=62, Resulting Numbers: [12, 62] Generated Node #0,1,2: 51:[12, 62] Operation: 12+50=62 Exploring Operation: 12+12=24, Resulting Numbers: [50, 24] Generated Node #0,1,3: 51:[50, 24] Operation: 12+12=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[50, 1], Operations: ['99-87=12', '12/12=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[87, 12, 50, 99], Operations: [] Exploring Operation: 99-87=12, Resulting Numbers: [12, 50, 12] Generated Node #0,1: 51:[12, 50, 12] Operation: 99-87=12 Moving to Node #0,1 Current State: 51:[12, 50, 12], Operations: ['99-87=12'] Exploring Operation: 12/12=1, Resulting Numbers: [50, 1] Generated Node #0,1,0: 51:[50, 1] Operation: 12/12=1 Moving to Node #0,1,0 Current State: 51:[50, 1], Operations: ['99-87=12', '12/12=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 26, 59, 33, 15 ]
37
[ "26+59=85", "33+15=48", "85-48=37" ]
Current State: 37:[26, 59, 33, 15], Operations: [] Exploring Operation: 26+59=85, Resulting Numbers: [33, 15, 85] Generated Node #2: [33, 15, 85] from Operation: 26+59=85 Current State: 37:[33, 15, 85], Operations: ['26+59=85'] Exploring Operation: 33+15=48, Resulting Numbers: [85, 48] Generated Node #3: [85, 48] from Operation: 33+15=48 Current State: 37:[85, 48], Operations: ['26+59=85', '33+15=48'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[26, 59, 33, 15], Operations: [] Exploring Operation: 59-26=33, Resulting Numbers: [33, 15, 33] Generated Node #0,0: 37:[33, 15, 33] Operation: 59-26=33 Exploring Operation: 59-15=44, Resulting Numbers: [26, 33, 44] Generated Node #0,1: 37:[26, 33, 44] Operation: 59-15=44 Moving to Node #0,1 Current State: 37:[26, 33, 44], Operations: ['59-15=44'] Exploring Operation: 44-26=18, Resulting Numbers: [33, 18] Generated Node #0,1,0: 37:[33, 18] Operation: 44-26=18 Exploring Operation: 26+33=59, Resulting Numbers: [44, 59] Generated Node #0,1,1: 37:[44, 59] Operation: 26+33=59 Moving to Node #0,0 Current State: 37:[33, 15, 33], Operations: ['59-26=33'] Exploring Operation: 33+15=48, Resulting Numbers: [33, 48] Generated Node #0,0,0: 37:[33, 48] Operation: 33+15=48 Exploring Operation: 15+33=48, Resulting Numbers: [33, 48] Generated Node #0,0,1: 37:[33, 48] Operation: 15+33=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[33, 48], Operations: ['59-26=33', '33+15=48'] Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,37 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,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,0,1 Current State: 37:[33, 48], Operations: ['59-26=33', '15+33=48'] Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,37 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 37:[33, 18], Operations: ['59-15=44', '44-26=18'] Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,37 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[44, 59], Operations: ['59-15=44', '26+33=59'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 44+59=103, Resulting Numbers: [103] 103,37 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 10, 83, 92, 78 ]
46
[ "83-78=5", "10/5=2", "92/2=46" ]
Current State: 46:[10, 83, 92, 78], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [10, 92, 5] Generated Node #2: [10, 92, 5] from Operation: 83-78=5 Current State: 46:[10, 92, 5], Operations: ['83-78=5'] Exploring Operation: 10/5=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 10/5=2 Current State: 46:[92, 2], Operations: ['83-78=5', '10/5=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[10, 83, 92, 78], Operations: [] Exploring Operation: 92-83=9, Resulting Numbers: [10, 78, 9] Generated Node #0,0: 46:[10, 78, 9] Operation: 92-83=9 Moving to Node #0,0 Current State: 46:[10, 78, 9], Operations: ['92-83=9'] Exploring Operation: 78-10=68, Resulting Numbers: [9, 68] Generated Node #0,0,0: 46:[9, 68] Operation: 78-10=68 Moving to Node #0,0,0 Current State: 46:[9, 68], Operations: ['92-83=9', '78-10=68'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,46 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 54, 71, 65, 21 ]
81
[ "54+71=125", "65-21=44", "125-44=81" ]
Current State: 81:[54, 71, 65, 21], Operations: [] Exploring Operation: 54+71=125, Resulting Numbers: [65, 21, 125] Generated Node #2: [65, 21, 125] from Operation: 54+71=125 Current State: 81:[65, 21, 125], Operations: ['54+71=125'] Exploring Operation: 65-21=44, Resulting Numbers: [125, 44] Generated Node #3: [125, 44] from Operation: 65-21=44 Current State: 81:[125, 44], Operations: ['54+71=125', '65-21=44'] Exploring Operation: 125-44=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[54, 71, 65, 21], Operations: [] Exploring Operation: 71-65=6, Resulting Numbers: [54, 21, 6] Generated Node #0,0: 81:[54, 21, 6] Operation: 71-65=6 Exploring Operation: 65-54=11, Resulting Numbers: [71, 21, 11] Generated Node #0,1: 81:[71, 21, 11] Operation: 65-54=11 Exploring Operation: 54+21=75, Resulting Numbers: [71, 65, 75] Generated Node #0,2: 81:[71, 65, 75] Operation: 54+21=75 Exploring Operation: 71-54=17, Resulting Numbers: [65, 21, 17] Generated Node #0,3: 81:[65, 21, 17] Operation: 71-54=17 Exploring Operation: 54-21=33, Resulting Numbers: [71, 65, 33] Generated Node #0,4: 81:[71, 65, 33] Operation: 54-21=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[71, 21, 11], Operations: ['65-54=11'] Exploring Operation: 71+11=82, Resulting Numbers: [21, 82] Generated Node #0,1,0: 81:[21, 82] Operation: 71+11=82 Exploring Operation: 71+21=92, Resulting Numbers: [11, 92] Generated Node #0,1,1: 81:[11, 92] Operation: 71+21=92 Exploring Operation: 71-21=50, Resulting Numbers: [11, 50] Generated Node #0,1,2: 81:[11, 50] Operation: 71-21=50 Exploring Operation: 21-11=10, Resulting Numbers: [71, 10] Generated Node #0,1,3: 81:[71, 10] Operation: 21-11=10 Exploring Operation: 21+11=32, Resulting Numbers: [71, 32] Generated Node #0,1,4: 81:[71, 32] Operation: 21+11=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[21, 82], Operations: ['65-54=11', '71+11=82'] Exploring Operation: 21*82=1722, Resulting Numbers: [1722] 1722,81 unequal: No Solution Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 21+82=103, Resulting Numbers: [103] 103,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 81:[71, 10], Operations: ['65-54=11', '21-11=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[54, 71, 65, 21], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [71, 21, 11] Generated Node #0,1: 81:[71, 21, 11] Operation: 65-54=11 Moving to Node #0,1 Current State: 81:[71, 21, 11], Operations: ['65-54=11'] Exploring Operation: 21-11=10, Resulting Numbers: [71, 10] Generated Node #0,1,3: 81:[71, 10] Operation: 21-11=10 Moving to Node #0,1,3 Current State: 81:[71, 10], Operations: ['65-54=11', '21-11=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 56, 4, 26, 91 ]
13
[ "56-4=52", "91-26=65", "65-52=13" ]
Current State: 13:[56, 4, 26, 91], Operations: [] Exploring Operation: 56-4=52, Resulting Numbers: [26, 91, 52] Generated Node #2: [26, 91, 52] from Operation: 56-4=52 Current State: 13:[26, 91, 52], Operations: ['56-4=52'] Exploring Operation: 91-26=65, Resulting Numbers: [52, 65] Generated Node #3: [52, 65] from Operation: 91-26=65 Current State: 13:[52, 65], Operations: ['56-4=52', '91-26=65'] Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[56, 4, 26, 91], Operations: [] Exploring Operation: 91-56=35, Resulting Numbers: [4, 26, 35] Generated Node #0,0: 13:[4, 26, 35] Operation: 91-56=35 Exploring Operation: 91-26=65, Resulting Numbers: [56, 4, 65] Generated Node #0,1: 13:[56, 4, 65] Operation: 91-26=65 Exploring Operation: 56-26=30, Resulting Numbers: [4, 91, 30] Generated Node #0,2: 13:[4, 91, 30] Operation: 56-26=30 Exploring Operation: 56/4=14, Resulting Numbers: [26, 91, 14] Generated Node #0,3: 13:[26, 91, 14] Operation: 56/4=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[4, 26, 35], Operations: ['91-56=35'] Exploring Operation: 35-26=9, Resulting Numbers: [4, 9] Generated Node #0,0,0: 13:[4, 9] Operation: 35-26=9 Exploring Operation: 35-4=31, Resulting Numbers: [26, 31] Generated Node #0,0,1: 13:[26, 31] Operation: 35-4=31 Exploring Operation: 26-4=22, Resulting Numbers: [35, 22] Generated Node #0,0,2: 13:[35, 22] Operation: 26-4=22 Exploring Operation: 4+26=30, Resulting Numbers: [35, 30] Generated Node #0,0,3: 13:[35, 30] Operation: 4+26=30 Moving to Node #0,0,0 Current State: 13:[4, 9], Operations: ['91-56=35', '35-26=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[56, 4, 26, 91], Operations: [] Exploring Operation: 91-56=35, Resulting Numbers: [4, 26, 35] Generated Node #0,0: 13:[4, 26, 35] Operation: 91-56=35 Moving to Node #0,0 Current State: 13:[4, 26, 35], Operations: ['91-56=35'] Exploring Operation: 35-26=9, Resulting Numbers: [4, 9] Generated Node #0,0,0: 13:[4, 9] Operation: 35-26=9 Moving to Node #0,0,0 Current State: 13:[4, 9], Operations: ['91-56=35', '35-26=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 62, 27, 94, 2 ]
51
[ "62+94=156", "156/2=78", "78-27=51" ]
Current State: 51:[62, 27, 94, 2], Operations: [] Exploring Operation: 62+94=156, Resulting Numbers: [27, 2, 156] Generated Node #2: [27, 2, 156] from Operation: 62+94=156 Current State: 51:[27, 2, 156], Operations: ['62+94=156'] Exploring Operation: 156/2=78, Resulting Numbers: [27, 78] Generated Node #3: [27, 78] from Operation: 156/2=78 Current State: 51:[27, 78], Operations: ['62+94=156', '156/2=78'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[62, 27, 94, 2], Operations: [] Exploring Operation: 94-27=67, Resulting Numbers: [62, 2, 67] Generated Node #0,0: 51:[62, 2, 67] Operation: 94-27=67 Exploring Operation: 94/2=47, Resulting Numbers: [62, 27, 47] Generated Node #0,1: 51:[62, 27, 47] Operation: 94/2=47 Exploring Operation: 94-62=32, Resulting Numbers: [27, 2, 32] Generated Node #0,2: 51:[27, 2, 32] Operation: 94-62=32 Moving to Node #0,1 Current State: 51:[62, 27, 47], Operations: ['94/2=47'] Exploring Operation: 47-27=20, Resulting Numbers: [62, 20] Generated Node #0,1,0: 51:[62, 20] Operation: 47-27=20 Exploring Operation: 62-47=15, Resulting Numbers: [27, 15] Generated Node #0,1,1: 51:[27, 15] Operation: 62-47=15 Exploring Operation: 62-27=35, Resulting Numbers: [47, 35] Generated Node #0,1,2: 51:[47, 35] Operation: 62-27=35 Moving to Node #0,2 Current State: 51:[27, 2, 32], Operations: ['94-62=32'] Exploring Operation: 27+32=59, Resulting Numbers: [2, 59] Generated Node #0,2,0: 51:[2, 59] Operation: 27+32=59 Exploring Operation: 32-27=5, Resulting Numbers: [2, 5] Generated Node #0,2,1: 51:[2, 5] Operation: 32-27=5 Exploring Operation: 32/2=16, Resulting Numbers: [27, 16] Generated Node #0,2,2: 51:[27, 16] Operation: 32/2=16 Moving to Node #0,0 Current State: 51:[62, 2, 67], Operations: ['94-27=67'] Exploring Operation: 67-2=65, Resulting Numbers: [62, 65] Generated Node #0,0,0: 51:[62, 65] Operation: 67-2=65 Exploring Operation: 62-2=60, Resulting Numbers: [67, 60] Generated Node #0,0,1: 51:[67, 60] Operation: 62-2=60 Exploring Operation: 67-62=5, Resulting Numbers: [2, 5] Generated Node #0,0,2: 51:[2, 5] Operation: 67-62=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[2, 5], Operations: ['94-27=67', '67-62=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[62, 65], Operations: ['94-27=67', '67-2=65'] Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 62+65=127, Resulting Numbers: [127] 127,51 unequal: No Solution Exploring Operation: 62*65=4030, Resulting Numbers: [4030] 4030,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[67, 60], Operations: ['94-27=67', '62-2=60'] Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 67*60=4020, Resulting Numbers: [4020] 4020,51 unequal: No Solution Exploring Operation: 67+60=127, Resulting Numbers: [127] 127,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 51:[2, 5], Operations: ['94-62=32', '32-27=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[2, 59], Operations: ['94-62=32', '27+32=59'] Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,51 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,51 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[27, 16], Operations: ['94-62=32', '32/2=16'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,51 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[27, 15], Operations: ['94/2=47', '62-47=15'] Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,51 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[62, 20], Operations: ['94/2=47', '47-27=20'] Exploring Operation: 62+20=82, Resulting Numbers: [82] 82,51 unequal: No Solution Exploring Operation: 62*20=1240, Resulting Numbers: [1240] 1240,51 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[47, 35], Operations: ['94/2=47', '62-27=35'] Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,51 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,51 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 68, 57, 60, 80 ]
36
[ "80-68=12", "60-57=3", "12*3=36" ]
Current State: 36:[68, 57, 60, 80], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [57, 60, 12] Generated Node #2: [57, 60, 12] from Operation: 80-68=12 Current State: 36:[57, 60, 12], Operations: ['80-68=12'] Exploring Operation: 60-57=3, Resulting Numbers: [12, 3] Generated Node #3: [12, 3] from Operation: 60-57=3 Current State: 36:[12, 3], Operations: ['80-68=12', '60-57=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[68, 57, 60, 80], Operations: [] Exploring Operation: 80-60=20, Resulting Numbers: [68, 57, 20] Generated Node #0,0: 36:[68, 57, 20] Operation: 80-60=20 Exploring Operation: 80-68=12, Resulting Numbers: [57, 60, 12] Generated Node #0,1: 36:[57, 60, 12] Operation: 80-68=12 Exploring Operation: 80-57=23, Resulting Numbers: [68, 60, 23] Generated Node #0,2: 36:[68, 60, 23] Operation: 80-57=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[57, 60, 12], Operations: ['80-68=12'] Exploring Operation: 57-12=45, Resulting Numbers: [60, 45] Generated Node #0,1,0: 36:[60, 45] Operation: 57-12=45 Exploring Operation: 60/12=5, Resulting Numbers: [57, 5] Generated Node #0,1,1: 36:[57, 5] Operation: 60/12=5 Exploring Operation: 60-57=3, Resulting Numbers: [12, 3] Generated Node #0,1,2: 36:[12, 3] Operation: 60-57=3 Moving to Node #0,1,2 Current State: 36:[12, 3], Operations: ['80-68=12', '60-57=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[68, 57, 60, 80], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [57, 60, 12] Generated Node #0,1: 36:[57, 60, 12] Operation: 80-68=12 Moving to Node #0,1 Current State: 36:[57, 60, 12], Operations: ['80-68=12'] Exploring Operation: 60-57=3, Resulting Numbers: [12, 3] Generated Node #0,1,2: 36:[12, 3] Operation: 60-57=3 Moving to Node #0,1,2 Current State: 36:[12, 3], Operations: ['80-68=12', '60-57=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 46, 21, 49, 21 ]
49
[ "21-21=0", "46*0=0", "49+0=49" ]
Current State: 49:[46, 21, 49, 21], Operations: [] Exploring Operation: 21-21=0, Resulting Numbers: [46, 49, 0] Generated Node #2: [46, 49, 0] from Operation: 21-21=0 Current State: 49:[46, 49, 0], Operations: ['21-21=0'] Exploring Operation: 46*0=0, Resulting Numbers: [49, 0] Generated Node #3: [49, 0] from Operation: 46*0=0 Current State: 49:[49, 0], Operations: ['21-21=0', '46*0=0'] Exploring Operation: 49+0=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[46, 21, 49, 21], Operations: [] Exploring Operation: 21/21=1, Resulting Numbers: [46, 49, 1] Generated Node #0,0: 49:[46, 49, 1] Operation: 21/21=1 Exploring Operation: 21+21=42, Resulting Numbers: [46, 49, 42] Generated Node #0,1: 49:[46, 49, 42] Operation: 21+21=42 Moving to Node #0,0 Current State: 49:[46, 49, 1], Operations: ['21/21=1'] Exploring Operation: 46+1=47, Resulting Numbers: [49, 47] Generated Node #0,0,0: 49:[49, 47] Operation: 46+1=47 Exploring Operation: 46*1=46, Resulting Numbers: [49, 46] Generated Node #0,0,1: 49:[49, 46] Operation: 46*1=46 Moving to Node #0,1 Current State: 49:[46, 49, 42], Operations: ['21+21=42'] Exploring Operation: 49-42=7, Resulting Numbers: [46, 7] Generated Node #0,1,0: 49:[46, 7] Operation: 49-42=7 Exploring Operation: 46-42=4, Resulting Numbers: [49, 4] Generated Node #0,1,1: 49:[49, 4] Operation: 46-42=4 Moving to Node #0,0,0 Current State: 49:[49, 47], Operations: ['21/21=1', '46+1=47'] Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[46, 7], Operations: ['21+21=42', '49-42=7'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[49, 46], Operations: ['21/21=1', '46*1=46'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[49, 4], Operations: ['21+21=42', '46-42=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,49 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 34, 55, 14, 3 ]
61
[ "34*3=102", "55-14=41", "102-41=61" ]
Current State: 61:[34, 55, 14, 3], Operations: [] Exploring Operation: 34*3=102, Resulting Numbers: [55, 14, 102] Generated Node #2: [55, 14, 102] from Operation: 34*3=102 Current State: 61:[55, 14, 102], Operations: ['34*3=102'] Exploring Operation: 55-14=41, Resulting Numbers: [102, 41] Generated Node #3: [102, 41] from Operation: 55-14=41 Current State: 61:[102, 41], Operations: ['34*3=102', '55-14=41'] Exploring Operation: 102-41=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[34, 55, 14, 3], Operations: [] Exploring Operation: 55+3=58, Resulting Numbers: [34, 14, 58] Generated Node #0,0: 61:[34, 14, 58] Operation: 55+3=58 Exploring Operation: 14+3=17, Resulting Numbers: [34, 55, 17] Generated Node #0,1: 61:[34, 55, 17] Operation: 14+3=17 Exploring Operation: 34+14=48, Resulting Numbers: [55, 3, 48] Generated Node #0,2: 61:[55, 3, 48] Operation: 34+14=48 Exploring Operation: 14*3=42, Resulting Numbers: [34, 55, 42] Generated Node #0,3: 61:[34, 55, 42] Operation: 14*3=42 Exploring Operation: 34+3=37, Resulting Numbers: [55, 14, 37] Generated Node #0,4: 61:[55, 14, 37] Operation: 34+3=37 Moving to Node #0,3 Current State: 61:[34, 55, 42], Operations: ['14*3=42'] Exploring Operation: 34+55=89, Resulting Numbers: [42, 89] Generated Node #0,3,0: 61:[42, 89] Operation: 34+55=89 Exploring Operation: 55-34=21, Resulting Numbers: [42, 21] Generated Node #0,3,1: 61:[42, 21] Operation: 55-34=21 Exploring Operation: 42-34=8, Resulting Numbers: [55, 8] Generated Node #0,3,2: 61:[55, 8] Operation: 42-34=8 Exploring Operation: 55+42=97, Resulting Numbers: [34, 97] Generated Node #0,3,3: 61:[34, 97] Operation: 55+42=97 Exploring Operation: 34+42=76, Resulting Numbers: [55, 76] Generated Node #0,3,4: 61:[55, 76] Operation: 34+42=76 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 61:[55, 76], Operations: ['14*3=42', '34+42=76'] Exploring Operation: 55*76=4180, Resulting Numbers: [4180] 4180,61 unequal: No Solution Exploring Operation: 76-55=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 55+76=131, Resulting Numbers: [131] 131,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[42, 89], Operations: ['14*3=42', '34+55=89'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 42*89=3738, Resulting Numbers: [3738] 3738,61 unequal: No Solution Exploring Operation: 42+89=131, Resulting Numbers: [131] 131,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[42, 21], Operations: ['14*3=42', '55-34=21'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 42*21=882, Resulting Numbers: [882] 882,61 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[55, 8], Operations: ['14*3=42', '42-34=8'] Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,61 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[34, 97], Operations: ['14*3=42', '55+42=97'] Exploring Operation: 34*97=3298, Resulting Numbers: [3298] 3298,61 unequal: No Solution Exploring Operation: 97-34=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 34+97=131, Resulting Numbers: [131] 131,61 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: 61:[34, 55, 17], Operations: ['14+3=17'] Exploring Operation: 34/17=2, Resulting Numbers: [55, 2] Generated Node #0,1,0: 61:[55, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [55, 17] Generated Node #0,1,1: 61:[55, 17] Operation: 34-17=17 Exploring Operation: 34+17=51, Resulting Numbers: [55, 51] Generated Node #0,1,2: 61:[55, 51] Operation: 34+17=51 Exploring Operation: 55+17=72, Resulting Numbers: [34, 72] Generated Node #0,1,3: 61:[34, 72] Operation: 55+17=72 Exploring Operation: 55-17=38, Resulting Numbers: [34, 38] Generated Node #0,1,4: 61:[34, 38] Operation: 55-17=38 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[55, 51], Operations: ['14+3=17', '34+17=51'] Exploring Operation: 55*51=2805, Resulting Numbers: [2805] 2805,61 unequal: No Solution Exploring Operation: 55+51=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[34, 72], Operations: ['14+3=17', '55+17=72'] Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 34*72=2448, Resulting Numbers: [2448] 2448,61 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[55, 17], Operations: ['14+3=17', '34-17=17'] Exploring Operation: 55*17=935, Resulting Numbers: [935] 935,61 unequal: No Solution Exploring Operation: 55+17=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 61:[34, 38], Operations: ['14+3=17', '55-17=38'] Exploring Operation: 34*38=1292, Resulting Numbers: [1292] 1292,61 unequal: No Solution Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[55, 2], Operations: ['14+3=17', '34/17=2'] Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,61 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 61:[55, 14, 37], Operations: ['34+3=37'] Exploring Operation: 55+37=92, Resulting Numbers: [14, 92] Generated Node #0,4,0: 61:[14, 92] Operation: 55+37=92 Exploring Operation: 55+14=69, Resulting Numbers: [37, 69] Generated Node #0,4,1: 61:[37, 69] Operation: 55+14=69 Exploring Operation: 37-14=23, Resulting Numbers: [55, 23] Generated Node #0,4,2: 61:[55, 23] Operation: 37-14=23 Exploring Operation: 55-14=41, Resulting Numbers: [37, 41] Generated Node #0,4,3: 61:[37, 41] Operation: 55-14=41 Exploring Operation: 14+37=51, Resulting Numbers: [55, 51] Generated Node #0,4,4: 61:[55, 51] Operation: 14+37=51 Moving to Node #0,0 Current State: 61:[34, 14, 58], Operations: ['55+3=58'] Exploring Operation: 34+14=48, Resulting Numbers: [58, 48] Generated Node #0,0,0: 61:[58, 48] Operation: 34+14=48 Exploring Operation: 34+58=92, Resulting Numbers: [14, 92] Generated Node #0,0,1: 61:[14, 92] Operation: 34+58=92 Exploring Operation: 34-14=20, Resulting Numbers: [58, 20] Generated Node #0,0,2: 61:[58, 20] Operation: 34-14=20 Exploring Operation: 58-14=44, Resulting Numbers: [34, 44] Generated Node #0,0,3: 61:[34, 44] Operation: 58-14=44 Exploring Operation: 14+58=72, Resulting Numbers: [34, 72] Generated Node #0,0,4: 61:[34, 72] Operation: 14+58=72 Moving to Node #0,2 Current State: 61:[55, 3, 48], Operations: ['34+14=48'] Exploring Operation: 55-3=52, Resulting Numbers: [48, 52] Generated Node #0,2,0: 61:[48, 52] Operation: 55-3=52 Exploring Operation: 48-3=45, Resulting Numbers: [55, 45] Generated Node #0,2,1: 61:[55, 45] Operation: 48-3=45 Exploring Operation: 48/3=16, Resulting Numbers: [55, 16] Generated Node #0,2,2: 61:[55, 16] Operation: 48/3=16 Exploring Operation: 3+48=51, Resulting Numbers: [55, 51] Generated Node #0,2,3: 61:[55, 51] Operation: 3+48=51 Exploring Operation: 55+3=58, Resulting Numbers: [48, 58] Generated Node #0,2,4: 61:[48, 58] Operation: 55+3=58 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[55, 51], Operations: ['34+14=48', '3+48=51'] Exploring Operation: 55+51=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 55*51=2805, Resulting Numbers: [2805] 2805,61 unequal: No Solution Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 61:[48, 58], Operations: ['34+14=48', '55+3=58'] Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 48*58=2784, Resulting Numbers: [2784] 2784,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[48, 52], Operations: ['34+14=48', '55-3=52'] Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 48*52=2496, Resulting Numbers: [2496] 2496,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[55, 45], Operations: ['34+14=48', '48-3=45'] Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[55, 16], Operations: ['34+14=48', '48/3=16'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 55*16=880, Resulting Numbers: [880] 880,61 unequal: No Solution Exploring Operation: 55+16=71, Resulting Numbers: [71] 71,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,4 Current State: 61:[55, 51], Operations: ['34+3=37', '14+37=51'] Exploring Operation: 55+51=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 55*51=2805, Resulting Numbers: [2805] 2805,61 unequal: No Solution Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[58, 48], Operations: ['55+3=58', '34+14=48'] Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,61 unequal: No Solution Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[37, 69], Operations: ['34+3=37', '55+14=69'] Exploring Operation: 37*69=2553, Resulting Numbers: [2553] 2553,61 unequal: No Solution Exploring Operation: 37+69=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[34, 72], Operations: ['55+3=58', '14+58=72'] Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 34*72=2448, Resulting Numbers: [2448] 2448,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[55, 23], Operations: ['34+3=37', '37-14=23'] Exploring Operation: 55+23=78, Resulting Numbers: [78] 78,61 unequal: No Solution Exploring Operation: 55*23=1265, Resulting Numbers: [1265] 1265,61 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[34, 44], Operations: ['55+3=58', '58-14=44'] Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,61 unequal: No Solution Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,61 unequal: No Solution Exploring Operation: 34*44=1496, Resulting Numbers: [1496] 1496,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[37, 41], Operations: ['34+3=37', '55-14=41'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,61 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[58, 20], Operations: ['55+3=58', '34-14=20'] Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,61 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,61 unequal: No Solution Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,61 unequal: No Solution Moving to Node #0,4,0 Current State: 61:[14, 92], Operations: ['34+3=37', '55+37=92'] Exploring Operation: 14+92=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 14*92=1288, Resulting Numbers: [1288] 1288,61 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[14, 92], Operations: ['55+3=58', '34+58=92'] Exploring Operation: 14+92=106, Resulting Numbers: [106] 106,61 unequal: No Solution Exploring Operation: 14*92=1288, Resulting Numbers: [1288] 1288,61 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,61 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 68, 70, 25, 64 ]
41
[ "70-68=2", "64-25=39", "2+39=41" ]
Current State: 41:[68, 70, 25, 64], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [25, 64, 2] Generated Node #2: [25, 64, 2] from Operation: 70-68=2 Current State: 41:[25, 64, 2], Operations: ['70-68=2'] Exploring Operation: 64-25=39, Resulting Numbers: [2, 39] Generated Node #3: [2, 39] from Operation: 64-25=39 Current State: 41:[2, 39], Operations: ['70-68=2', '64-25=39'] Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[68, 70, 25, 64], Operations: [] Exploring Operation: 68-25=43, Resulting Numbers: [70, 64, 43] Generated Node #0,0: 41:[70, 64, 43] Operation: 68-25=43 Exploring Operation: 70-25=45, Resulting Numbers: [68, 64, 45] Generated Node #0,1: 41:[68, 64, 45] Operation: 70-25=45 Exploring Operation: 64-25=39, Resulting Numbers: [68, 70, 39] Generated Node #0,2: 41:[68, 70, 39] Operation: 64-25=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[70, 64, 43], Operations: ['68-25=43'] Exploring Operation: 70-43=27, Resulting Numbers: [64, 27] Generated Node #0,0,0: 41:[64, 27] Operation: 70-43=27 Exploring Operation: 64-43=21, Resulting Numbers: [70, 21] Generated Node #0,0,1: 41:[70, 21] Operation: 64-43=21 Exploring Operation: 70-64=6, Resulting Numbers: [43, 6] Generated Node #0,0,2: 41:[43, 6] Operation: 70-64=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[64, 27], Operations: ['68-25=43', '70-43=27'] Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,41 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,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,2 Current State: 41:[43, 6], Operations: ['68-25=43', '70-64=6'] Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,41 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,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:[70, 21], Operations: ['68-25=43', '64-43=21'] Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 70*21=1470, Resulting Numbers: [1470] 1470,41 unequal: No Solution Exploring Operation: 70+21=91, Resulting Numbers: [91] 91,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:[68, 64, 45], Operations: ['70-25=45'] Exploring Operation: 64-45=19, Resulting Numbers: [68, 19] Generated Node #0,1,0: 41:[68, 19] Operation: 64-45=19 Exploring Operation: 68-45=23, Resulting Numbers: [64, 23] Generated Node #0,1,1: 41:[64, 23] Operation: 68-45=23 Exploring Operation: 68-64=4, Resulting Numbers: [45, 4] Generated Node #0,1,2: 41:[45, 4] Operation: 68-64=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[64, 23], Operations: ['70-25=45', '68-45=23'] Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,41 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[68, 70, 25, 64], Operations: [] Exploring Operation: 70-25=45, Resulting Numbers: [68, 64, 45] Generated Node #0,1: 41:[68, 64, 45] Operation: 70-25=45 Moving to Node #0,1 Current State: 41:[68, 64, 45], Operations: ['70-25=45'] Exploring Operation: 68-45=23, Resulting Numbers: [64, 23] Generated Node #0,1,1: 41:[64, 23] Operation: 68-45=23 Moving to Node #0,1,1 Current State: 41:[64, 23], Operations: ['70-25=45', '68-45=23'] Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 50, 50, 7, 35 ]
95
[ "50+50=100", "35/7=5", "100-5=95" ]
Current State: 95:[50, 50, 7, 35], Operations: [] Exploring Operation: 50+50=100, Resulting Numbers: [7, 35, 100] Generated Node #2: [7, 35, 100] from Operation: 50+50=100 Current State: 95:[7, 35, 100], Operations: ['50+50=100'] Exploring Operation: 35/7=5, Resulting Numbers: [100, 5] Generated Node #3: [100, 5] from Operation: 35/7=5 Current State: 95:[100, 5], Operations: ['50+50=100', '35/7=5'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[50, 50, 7, 35], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [50, 7, 15] Generated Node #0,0: 95:[50, 7, 15] Operation: 50-35=15 Exploring Operation: 50-50=0, Resulting Numbers: [7, 35, 0] Generated Node #0,1: 95:[7, 35, 0] Operation: 50-50=0 Exploring Operation: 50/50=1, Resulting Numbers: [7, 35, 1] Generated Node #0,2: 95:[7, 35, 1] Operation: 50/50=1 Exploring Operation: 50+50=100, Resulting Numbers: [7, 35, 100] Generated Node #0,3: 95:[7, 35, 100] Operation: 50+50=100 Moving to Node #0,2 Current State: 95:[7, 35, 1], Operations: ['50/50=1'] Exploring Operation: 35-7=28, Resulting Numbers: [1, 28] Generated Node #0,2,0: 95:[1, 28] Operation: 35-7=28 Exploring Operation: 35-1=34, Resulting Numbers: [7, 34] Generated Node #0,2,1: 95:[7, 34] Operation: 35-1=34 Exploring Operation: 7-1=6, Resulting Numbers: [35, 6] Generated Node #0,2,2: 95:[35, 6] Operation: 7-1=6 Exploring Operation: 35/7=5, Resulting Numbers: [1, 5] Generated Node #0,2,3: 95:[1, 5] Operation: 35/7=5 Moving to Node #0,3 Current State: 95:[7, 35, 100], Operations: ['50+50=100'] Exploring Operation: 35-7=28, Resulting Numbers: [100, 28] Generated Node #0,3,0: 95:[100, 28] Operation: 35-7=28 Exploring Operation: 7+35=42, Resulting Numbers: [100, 42] Generated Node #0,3,1: 95:[100, 42] Operation: 7+35=42 Exploring Operation: 100-7=93, Resulting Numbers: [35, 93] Generated Node #0,3,2: 95:[35, 93] Operation: 100-7=93 Exploring Operation: 35/7=5, Resulting Numbers: [100, 5] Generated Node #0,3,3: 95:[100, 5] Operation: 35/7=5 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 95:[100, 5], Operations: ['50+50=100', '35/7=5'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[50, 50, 7, 35], Operations: [] Exploring Operation: 50+50=100, Resulting Numbers: [7, 35, 100] Generated Node #0,3: 95:[7, 35, 100] Operation: 50+50=100 Moving to Node #0,3 Current State: 95:[7, 35, 100], Operations: ['50+50=100'] Exploring Operation: 35/7=5, Resulting Numbers: [100, 5] Generated Node #0,3,3: 95:[100, 5] Operation: 35/7=5 Moving to Node #0,3,3 Current State: 95:[100, 5], Operations: ['50+50=100', '35/7=5'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 73, 48, 74, 69 ]
20
[ "73-48=25", "74-69=5", "25-5=20" ]
Current State: 20:[73, 48, 74, 69], Operations: [] Exploring Operation: 73-48=25, Resulting Numbers: [74, 69, 25] Generated Node #2: [74, 69, 25] from Operation: 73-48=25 Current State: 20:[74, 69, 25], Operations: ['73-48=25'] Exploring Operation: 74-69=5, Resulting Numbers: [25, 5] Generated Node #3: [25, 5] from Operation: 74-69=5 Current State: 20:[25, 5], Operations: ['73-48=25', '74-69=5'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[73, 48, 74, 69], Operations: [] Exploring Operation: 74-73=1, Resulting Numbers: [48, 69, 1] Generated Node #0,0: 20:[48, 69, 1] Operation: 74-73=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[48, 69, 1], Operations: ['74-73=1'] Exploring Operation: 69-48=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 20:[1, 21] Operation: 69-48=21 Moving to Node #0,0,0 Current State: 20:[1, 21], Operations: ['74-73=1', '69-48=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[73, 48, 74, 69], Operations: [] Exploring Operation: 74-73=1, Resulting Numbers: [48, 69, 1] Generated Node #0,0: 20:[48, 69, 1] Operation: 74-73=1 Moving to Node #0,0 Current State: 20:[48, 69, 1], Operations: ['74-73=1'] Exploring Operation: 69-48=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 20:[1, 21] Operation: 69-48=21 Moving to Node #0,0,0 Current State: 20:[1, 21], Operations: ['74-73=1', '69-48=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 90, 13, 61, 23 ]
39
[ "90-13=77", "61-23=38", "77-38=39" ]
Current State: 39:[90, 13, 61, 23], Operations: [] Exploring Operation: 90-13=77, Resulting Numbers: [61, 23, 77] Generated Node #2: [61, 23, 77] from Operation: 90-13=77 Current State: 39:[61, 23, 77], Operations: ['90-13=77'] Exploring Operation: 61-23=38, Resulting Numbers: [77, 38] Generated Node #3: [77, 38] from Operation: 61-23=38 Current State: 39:[77, 38], Operations: ['90-13=77', '61-23=38'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[90, 13, 61, 23], Operations: [] Exploring Operation: 90-23=67, Resulting Numbers: [13, 61, 67] Generated Node #0,0: 39:[13, 61, 67] Operation: 90-23=67 Exploring Operation: 90-61=29, Resulting Numbers: [13, 23, 29] Generated Node #0,1: 39:[13, 23, 29] Operation: 90-61=29 Exploring Operation: 61-23=38, Resulting Numbers: [90, 13, 38] Generated Node #0,2: 39:[90, 13, 38] Operation: 61-23=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[13, 23, 29], Operations: ['90-61=29'] Exploring Operation: 23-13=10, Resulting Numbers: [29, 10] Generated Node #0,1,0: 39:[29, 10] Operation: 23-13=10 Exploring Operation: 29-23=6, Resulting Numbers: [13, 6] Generated Node #0,1,1: 39:[13, 6] Operation: 29-23=6 Exploring Operation: 13+23=36, Resulting Numbers: [29, 36] Generated Node #0,1,2: 39:[29, 36] Operation: 13+23=36 Moving to Node #0,1,1 Current State: 39:[13, 6], Operations: ['90-61=29', '29-23=6'] Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[29, 10], Operations: ['90-61=29', '23-13=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[90, 13, 61, 23], Operations: [] Exploring Operation: 90-61=29, Resulting Numbers: [13, 23, 29] Generated Node #0,1: 39:[13, 23, 29] Operation: 90-61=29 Moving to Node #0,1 Current State: 39:[13, 23, 29], Operations: ['90-61=29'] Exploring Operation: 23-13=10, Resulting Numbers: [29, 10] Generated Node #0,1,0: 39:[29, 10] Operation: 23-13=10 Moving to Node #0,1,0 Current State: 39:[29, 10], Operations: ['90-61=29', '23-13=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 7, 44, 6, 11 ]
52
[ "7+6=13", "44/11=4", "13*4=52" ]
Current State: 52:[7, 44, 6, 11], Operations: [] Exploring Operation: 7+6=13, Resulting Numbers: [44, 11, 13] Generated Node #2: [44, 11, 13] from Operation: 7+6=13 Current State: 52:[44, 11, 13], Operations: ['7+6=13'] Exploring Operation: 44/11=4, Resulting Numbers: [13, 4] Generated Node #3: [13, 4] from Operation: 44/11=4 Current State: 52:[13, 4], Operations: ['7+6=13', '44/11=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[7, 44, 6, 11], Operations: [] Exploring Operation: 7+44=51, Resulting Numbers: [6, 11, 51] Generated Node #0,0: 52:[6, 11, 51] Operation: 7+44=51 Moving to Node #0,0 Current State: 52:[6, 11, 51], Operations: ['7+44=51'] Exploring Operation: 11-6=5, Resulting Numbers: [51, 5] Generated Node #0,0,0: 52:[51, 5] Operation: 11-6=5 Moving to Node #0,0,0 Current State: 52:[51, 5], Operations: ['7+44=51', '11-6=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,52 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 72, 71, 11, 76 ]
66
[ "72-71=1", "76-11=65", "1+65=66" ]
Current State: 66:[72, 71, 11, 76], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [11, 76, 1] Generated Node #2: [11, 76, 1] from Operation: 72-71=1 Current State: 66:[11, 76, 1], Operations: ['72-71=1'] Exploring Operation: 76-11=65, Resulting Numbers: [1, 65] Generated Node #3: [1, 65] from Operation: 76-11=65 Current State: 66:[1, 65], Operations: ['72-71=1', '76-11=65'] Exploring Operation: 1+65=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[72, 71, 11, 76], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [11, 76, 1] Generated Node #0,0: 66:[11, 76, 1] Operation: 72-71=1 Exploring Operation: 76-11=65, Resulting Numbers: [72, 71, 65] Generated Node #0,1: 66:[72, 71, 65] Operation: 76-11=65 Exploring Operation: 76-71=5, Resulting Numbers: [72, 11, 5] Generated Node #0,2: 66:[72, 11, 5] Operation: 76-71=5 Exploring Operation: 76-72=4, Resulting Numbers: [71, 11, 4] Generated Node #0,3: 66:[71, 11, 4] Operation: 76-72=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[71, 11, 4], Operations: ['76-72=4'] Exploring Operation: 11-4=7, Resulting Numbers: [71, 7] Generated Node #0,3,0: 66:[71, 7] Operation: 11-4=7 Exploring Operation: 71+4=75, Resulting Numbers: [11, 75] Generated Node #0,3,1: 66:[11, 75] Operation: 71+4=75 Exploring Operation: 71-4=67, Resulting Numbers: [11, 67] Generated Node #0,3,2: 66:[11, 67] Operation: 71-4=67 Exploring Operation: 71-11=60, Resulting Numbers: [4, 60] Generated Node #0,3,3: 66:[4, 60] Operation: 71-11=60 Moving to Node #0,3,2 Current State: 66:[11, 67], Operations: ['76-72=4', '71-4=67'] Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[71, 7], Operations: ['76-72=4', '11-4=7'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 71*7=497, Resulting Numbers: [497] 497,66 unequal: No Solution Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[4, 60], Operations: ['76-72=4', '71-11=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,66 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[11, 75], Operations: ['76-72=4', '71+4=75'] Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 11*75=825, Resulting Numbers: [825] 825,66 unequal: No Solution Exploring Operation: 11+75=86, Resulting Numbers: [86] 86,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[72, 11, 5], Operations: ['76-71=5'] Exploring Operation: 72+5=77, Resulting Numbers: [11, 77] Generated Node #0,2,0: 66:[11, 77] Operation: 72+5=77 Exploring Operation: 72-5=67, Resulting Numbers: [11, 67] Generated Node #0,2,1: 66:[11, 67] Operation: 72-5=67 Exploring Operation: 72-11=61, Resulting Numbers: [5, 61] Generated Node #0,2,2: 66:[5, 61] Operation: 72-11=61 Exploring Operation: 11-5=6, Resulting Numbers: [72, 6] Generated Node #0,2,3: 66:[72, 6] Operation: 11-5=6 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 66:[11, 67], Operations: ['76-71=5', '72-5=67'] Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,66 unequal: No Solution Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,66 unequal: No Solution No 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: 66:[5, 61], Operations: ['76-71=5', '72-11=61'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[72, 71, 11, 76], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [72, 11, 5] Generated Node #0,2: 66:[72, 11, 5] Operation: 76-71=5 Moving to Node #0,2 Current State: 66:[72, 11, 5], Operations: ['76-71=5'] Exploring Operation: 72-11=61, Resulting Numbers: [5, 61] Generated Node #0,2,2: 66:[5, 61] Operation: 72-11=61 Moving to Node #0,2,2 Current State: 66:[5, 61], Operations: ['76-71=5', '72-11=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 65, 28, 6, 2 ]
49
[ "65-28=37", "6*2=12", "37+12=49" ]
Current State: 49:[65, 28, 6, 2], Operations: [] Exploring Operation: 65-28=37, Resulting Numbers: [6, 2, 37] Generated Node #2: [6, 2, 37] from Operation: 65-28=37 Current State: 49:[6, 2, 37], Operations: ['65-28=37'] Exploring Operation: 6*2=12, Resulting Numbers: [37, 12] Generated Node #3: [37, 12] from Operation: 6*2=12 Current State: 49:[37, 12], Operations: ['65-28=37', '6*2=12'] Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[65, 28, 6, 2], Operations: [] Exploring Operation: 28/2=14, Resulting Numbers: [65, 6, 14] Generated Node #0,0: 49:[65, 6, 14] Operation: 28/2=14 Exploring Operation: 65-6=59, Resulting Numbers: [28, 2, 59] Generated Node #0,1: 49:[28, 2, 59] Operation: 65-6=59 Exploring Operation: 28*2=56, Resulting Numbers: [65, 6, 56] Generated Node #0,2: 49:[65, 6, 56] Operation: 28*2=56 Exploring Operation: 65-28=37, Resulting Numbers: [6, 2, 37] Generated Node #0,3: 49:[6, 2, 37] Operation: 65-28=37 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[6, 2, 37], Operations: ['65-28=37'] Exploring Operation: 2+37=39, Resulting Numbers: [6, 39] Generated Node #0,3,0: 49:[6, 39] Operation: 2+37=39 Exploring Operation: 6+2=8, Resulting Numbers: [37, 8] Generated Node #0,3,1: 49:[37, 8] Operation: 6+2=8 Exploring Operation: 6+37=43, Resulting Numbers: [2, 43] Generated Node #0,3,2: 49:[2, 43] Operation: 6+37=43 Exploring Operation: 6-2=4, Resulting Numbers: [37, 4] Generated Node #0,3,3: 49:[37, 4] Operation: 6-2=4 Moving to Node #0,3,0 Current State: 49:[6, 39], Operations: ['65-28=37', '2+37=39'] Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,49 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[2, 43], Operations: ['65-28=37', '6+37=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,49 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[37, 8], Operations: ['65-28=37', '6+2=8'] Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,49 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[37, 4], Operations: ['65-28=37', '6-2=4'] Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,49 unequal: No Solution Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,49 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[65, 6, 14], Operations: ['28/2=14'] Exploring Operation: 65-14=51, Resulting Numbers: [6, 51] Generated Node #0,0,0: 49:[6, 51] Operation: 65-14=51 Exploring Operation: 65+6=71, Resulting Numbers: [14, 71] Generated Node #0,0,1: 49:[14, 71] Operation: 65+6=71 Exploring Operation: 65-6=59, Resulting Numbers: [14, 59] Generated Node #0,0,2: 49:[14, 59] Operation: 65-6=59 Exploring Operation: 14-6=8, Resulting Numbers: [65, 8] Generated Node #0,0,3: 49:[65, 8] Operation: 14-6=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[6, 51], Operations: ['28/2=14', '65-14=51'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,49 unequal: No Solution No 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: 49:[14, 59], Operations: ['28/2=14', '65-6=59'] Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,49 unequal: No Solution No 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: 49:[65, 8], Operations: ['28/2=14', '14-6=8'] Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 65*8=520, Resulting Numbers: [520] 520,49 unequal: No Solution No 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: 49:[14, 71], Operations: ['28/2=14', '65+6=71'] Exploring Operation: 14+71=85, Resulting Numbers: [85] 85,49 unequal: No Solution Exploring Operation: 14*71=994, Resulting Numbers: [994] 994,49 unequal: No Solution Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,49 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: 49:[65, 6, 56], Operations: ['28*2=56'] Exploring Operation: 65+6=71, Resulting Numbers: [56, 71] Generated Node #0,2,0: 49:[56, 71] Operation: 65+6=71 Exploring Operation: 65-6=59, Resulting Numbers: [56, 59] Generated Node #0,2,1: 49:[56, 59] Operation: 65-6=59 Exploring Operation: 65-56=9, Resulting Numbers: [6, 9] Generated Node #0,2,2: 49:[6, 9] Operation: 65-56=9 Exploring Operation: 56-6=50, Resulting Numbers: [65, 50] Generated Node #0,2,3: 49:[65, 50] Operation: 56-6=50 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[6, 9], Operations: ['28*2=56', '65-56=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,49 unequal: No Solution No 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: 49:[56, 59], Operations: ['28*2=56', '65-6=59'] Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 56*59=3304, Resulting Numbers: [3304] 3304,49 unequal: No Solution Exploring Operation: 56+59=115, Resulting Numbers: [115] 115,49 unequal: No Solution No 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: 49:[65, 50], Operations: ['28*2=56', '56-6=50'] Exploring Operation: 65+50=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 65*50=3250, Resulting Numbers: [3250] 3250,49 unequal: No Solution No 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: 49:[56, 71], Operations: ['28*2=56', '65+6=71'] Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 56+71=127, Resulting Numbers: [127] 127,49 unequal: No Solution Exploring Operation: 56*71=3976, Resulting Numbers: [3976] 3976,49 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: 49:[28, 2, 59], Operations: ['65-6=59'] Exploring Operation: 28+2=30, Resulting Numbers: [59, 30] Generated Node #0,1,0: 49:[59, 30] Operation: 28+2=30 Exploring Operation: 59-28=31, Resulting Numbers: [2, 31] Generated Node #0,1,1: 49:[2, 31] Operation: 59-28=31 Exploring Operation: 28*2=56, Resulting Numbers: [59, 56] Generated Node #0,1,2: 49:[59, 56] Operation: 28*2=56 Exploring Operation: 28/2=14, Resulting Numbers: [59, 14] Generated Node #0,1,3: 49:[59, 14] Operation: 28/2=14 Moving to Node #0,1,2 Current State: 49:[59, 56], Operations: ['65-6=59', '28*2=56'] Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 59+56=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 59*56=3304, Resulting Numbers: [3304] 3304,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[59, 14], Operations: ['65-6=59', '28/2=14'] Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 59*14=826, Resulting Numbers: [826] 826,49 unequal: No Solution Exploring Operation: 59+14=73, Resulting Numbers: [73] 73,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[2, 31], Operations: ['65-6=59', '59-28=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,49 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[59, 30], Operations: ['65-6=59', '28+2=30'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,49 unequal: No Solution Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,49 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,49 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
[ 13, 26, 24, 15 ]
37
[ "26/13=2", "24+15=39", "39-2=37" ]
Current State: 37:[13, 26, 24, 15], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [24, 15, 2] Generated Node #2: [24, 15, 2] from Operation: 26/13=2 Current State: 37:[24, 15, 2], Operations: ['26/13=2'] Exploring Operation: 24+15=39, Resulting Numbers: [2, 39] Generated Node #3: [2, 39] from Operation: 24+15=39 Current State: 37:[2, 39], Operations: ['26/13=2', '24+15=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[13, 26, 24, 15], Operations: [] Exploring Operation: 13+15=28, Resulting Numbers: [26, 24, 28] Generated Node #0,0: 37:[26, 24, 28] Operation: 13+15=28 Exploring Operation: 13+24=37, Resulting Numbers: [26, 15, 37] Generated Node #0,1: 37:[26, 15, 37] Operation: 13+24=37 Exploring Operation: 13+26=39, Resulting Numbers: [24, 15, 39] Generated Node #0,2: 37:[24, 15, 39] Operation: 13+26=39 Exploring Operation: 24+15=39, Resulting Numbers: [13, 26, 39] Generated Node #0,3: 37:[13, 26, 39] Operation: 24+15=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[26, 24, 28], Operations: ['13+15=28'] Exploring Operation: 26-24=2, Resulting Numbers: [28, 2] Generated Node #0,0,0: 37:[28, 2] Operation: 26-24=2 Exploring Operation: 24+28=52, Resulting Numbers: [26, 52] Generated Node #0,0,1: 37:[26, 52] Operation: 24+28=52 Exploring Operation: 26+28=54, Resulting Numbers: [24, 54] Generated Node #0,0,2: 37:[24, 54] Operation: 26+28=54 Exploring Operation: 26+24=50, Resulting Numbers: [28, 50] Generated Node #0,0,3: 37:[28, 50] Operation: 26+24=50 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 37:[28, 50], Operations: ['13+15=28', '26+24=50'] Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 28*50=1400, Resulting Numbers: [1400] 1400,37 unequal: No Solution Exploring Operation: 28+50=78, Resulting Numbers: [78] 78,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[26, 52], Operations: ['13+15=28', '24+28=52'] Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,37 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,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:[24, 54], Operations: ['13+15=28', '26+28=54'] Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 24*54=1296, Resulting Numbers: [1296] 1296,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:[28, 2], Operations: ['13+15=28', '26-24=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,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:[26, 15, 37], Operations: ['13+24=37'] Exploring Operation: 26+15=41, Resulting Numbers: [37, 41] Generated Node #0,1,0: 37:[37, 41] Operation: 26+15=41 Exploring Operation: 37-15=22, Resulting Numbers: [26, 22] Generated Node #0,1,1: 37:[26, 22] Operation: 37-15=22 Exploring Operation: 26-15=11, Resulting Numbers: [37, 11] Generated Node #0,1,2: 37:[37, 11] Operation: 26-15=11 Exploring Operation: 15+37=52, Resulting Numbers: [26, 52] Generated Node #0,1,3: 37:[26, 52] Operation: 15+37=52 Moving to Node #0,1,0 Current State: 37:[37, 41], Operations: ['13+24=37', '26+15=41'] Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,37 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[37, 11], Operations: ['13+24=37', '26-15=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[26, 22], Operations: ['13+24=37', '37-15=22'] Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[26, 52], Operations: ['13+24=37', '15+37=52'] Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,37 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,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:[24, 15, 39], Operations: ['13+26=39'] Exploring Operation: 24-15=9, Resulting Numbers: [39, 9] Generated Node #0,2,0: 37:[39, 9] Operation: 24-15=9 Exploring Operation: 24+15=39, Resulting Numbers: [39, 39] Generated Node #0,2,1: 37:[39, 39] Operation: 24+15=39 Exploring Operation: 15+39=54, Resulting Numbers: [24, 54] Generated Node #0,2,2: 37:[24, 54] Operation: 15+39=54 Exploring Operation: 39-15=24, Resulting Numbers: [24, 24] Generated Node #0,2,3: 37:[24, 24] Operation: 39-15=24 Moving to Node #0,2,1 Current State: 37:[39, 39], Operations: ['13+26=39', '24+15=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 39*39=1521, Resulting Numbers: [1521] 1521,37 unequal: No Solution Exploring Operation: 39-39=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 39/39=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[24, 24], Operations: ['13+26=39', '39-15=24'] Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,37 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[24, 54], Operations: ['13+26=39', '15+39=54'] Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 24*54=1296, Resulting Numbers: [1296] 1296,37 unequal: No Solution Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[39, 9], Operations: ['13+26=39', '24-15=9'] Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 39*9=351, Resulting Numbers: [351] 351,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:[13, 26, 39], Operations: ['24+15=39'] Exploring Operation: 13+39=52, Resulting Numbers: [26, 52] Generated Node #0,3,0: 37:[26, 52] Operation: 13+39=52 Exploring Operation: 39-13=26, Resulting Numbers: [26, 26] Generated Node #0,3,1: 37:[26, 26] Operation: 39-13=26 Exploring Operation: 13+26=39, Resulting Numbers: [39, 39] Generated Node #0,3,2: 37:[39, 39] Operation: 13+26=39 Exploring Operation: 26-13=13, Resulting Numbers: [39, 13] Generated Node #0,3,3: 37:[39, 13] Operation: 26-13=13 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 37:[39, 39], Operations: ['24+15=39', '13+26=39'] Exploring Operation: 39/39=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 39-39=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 39*39=1521, Resulting Numbers: [1521] 1521,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:[26, 26], Operations: ['24+15=39', '39-13=26'] Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,37 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 26+26=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,0 Current State: 37:[26, 52], Operations: ['24+15=39', '13+39=52'] Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,37 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,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:[39, 13], Operations: ['24+15=39', '26-13=13'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 39*13=507, Resulting Numbers: [507] 507,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 54, 15, 11, 67 ]
52
[ "67-54=13", "15-11=4", "13*4=52" ]
Current State: 52:[54, 15, 11, 67], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [15, 11, 13] Generated Node #2: [15, 11, 13] from Operation: 67-54=13 Current State: 52:[15, 11, 13], Operations: ['67-54=13'] Exploring Operation: 15-11=4, Resulting Numbers: [13, 4] Generated Node #3: [13, 4] from Operation: 15-11=4 Current State: 52:[13, 4], Operations: ['67-54=13', '15-11=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[54, 15, 11, 67], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [15, 11, 13] Generated Node #0,0: 52:[15, 11, 13] Operation: 67-54=13 Exploring Operation: 67-11=56, Resulting Numbers: [54, 15, 56] Generated Node #0,1: 52:[54, 15, 56] Operation: 67-11=56 Exploring Operation: 67-15=52, Resulting Numbers: [54, 11, 52] Generated Node #0,2: 52:[54, 11, 52] Operation: 67-15=52 Exploring Operation: 15+11=26, Resulting Numbers: [54, 67, 26] Generated Node #0,3: 52:[54, 67, 26] Operation: 15+11=26 Exploring Operation: 15-11=4, Resulting Numbers: [54, 67, 4] Generated Node #0,4: 52:[54, 67, 4] Operation: 15-11=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[15, 11, 13], Operations: ['67-54=13'] Exploring Operation: 13-11=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 52:[15, 2] Operation: 13-11=2 Exploring Operation: 15-13=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 52:[11, 2] Operation: 15-13=2 Exploring Operation: 15+13=28, Resulting Numbers: [11, 28] Generated Node #0,0,2: 52:[11, 28] Operation: 15+13=28 Exploring Operation: 15+11=26, Resulting Numbers: [13, 26] Generated Node #0,0,3: 52:[13, 26] Operation: 15+11=26 Exploring Operation: 15-11=4, Resulting Numbers: [13, 4] Generated Node #0,0,4: 52:[13, 4] Operation: 15-11=4 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[13, 26], Operations: ['67-54=13', '15+11=26'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,52 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 52:[13, 4], Operations: ['67-54=13', '15-11=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[54, 15, 11, 67], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [15, 11, 13] Generated Node #0,0: 52:[15, 11, 13] Operation: 67-54=13 Moving to Node #0,0 Current State: 52:[15, 11, 13], Operations: ['67-54=13'] Exploring Operation: 15-11=4, Resulting Numbers: [13, 4] Generated Node #0,0,4: 52:[13, 4] Operation: 15-11=4 Moving to Node #0,0,4 Current State: 52:[13, 4], Operations: ['67-54=13', '15-11=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 34, 37, 42, 37 ]
51
[ "37-34=3", "42/3=14", "37+14=51" ]
Current State: 51:[34, 37, 42, 37], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [42, 3] Generated Node #2: [42, 3] from Operation: 37-34=3 Current State: 51:[42, 3], Operations: ['37-34=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,51 equal: Goal Reached Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[34, 37, 42, 37], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [42, 37, 3] Generated Node #0,0: 51:[42, 37, 3] Operation: 37-34=3 Moving to Node #0,0 Current State: 51:[42, 37, 3], Operations: ['37-34=3'] Exploring Operation: 42-37=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 51:[3, 5] Operation: 42-37=5 Moving to Node #0,0,0 Current State: 51:[3, 5], Operations: ['37-34=3', '42-37=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,51 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 98, 68, 5, 36 ]
14
[ "98+68=166", "5*36=180", "180-166=14" ]
Current State: 14:[98, 68, 5, 36], Operations: [] Exploring Operation: 98+68=166, Resulting Numbers: [5, 36, 166] Generated Node #2: [5, 36, 166] from Operation: 98+68=166 Current State: 14:[5, 36, 166], Operations: ['98+68=166'] Exploring Operation: 5*36=180, Resulting Numbers: [166, 180] Generated Node #3: [166, 180] from Operation: 5*36=180 Current State: 14:[166, 180], Operations: ['98+68=166', '5*36=180'] Exploring Operation: 180-166=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[98, 68, 5, 36], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [5, 36, 30] Generated Node #0,0: 14:[5, 36, 30] Operation: 98-68=30 Exploring Operation: 98-36=62, Resulting Numbers: [68, 5, 62] Generated Node #0,1: 14:[68, 5, 62] Operation: 98-36=62 Exploring Operation: 68-5=63, Resulting Numbers: [98, 36, 63] Generated Node #0,2: 14:[98, 36, 63] Operation: 68-5=63 Exploring Operation: 68-36=32, Resulting Numbers: [98, 5, 32] Generated Node #0,3: 14:[98, 5, 32] Operation: 68-36=32 Exploring Operation: 98-5=93, Resulting Numbers: [68, 36, 93] Generated Node #0,4: 14:[68, 36, 93] Operation: 98-5=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[5, 36, 30], Operations: ['98-68=30'] Exploring Operation: 36-30=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 14:[5, 6] Operation: 36-30=6 Exploring Operation: 5+36=41, Resulting Numbers: [30, 41] Generated Node #0,0,1: 14:[30, 41] Operation: 5+36=41 Exploring Operation: 30-5=25, Resulting Numbers: [36, 25] Generated Node #0,0,2: 14:[36, 25] Operation: 30-5=25 Exploring Operation: 36-5=31, Resulting Numbers: [30, 31] Generated Node #0,0,3: 14:[30, 31] Operation: 36-5=31 Exploring Operation: 30/5=6, Resulting Numbers: [36, 6] Generated Node #0,0,4: 14:[36, 6] Operation: 30/5=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[5, 6], Operations: ['98-68=30', '36-30=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 14:[36, 6], Operations: ['98-68=30', '30/5=6'] Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,14 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,14 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[36, 25], Operations: ['98-68=30', '30-5=25'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,14 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 14:[30, 31], Operations: ['98-68=30', '36-5=31'] Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,14 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,14 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[30, 41], Operations: ['98-68=30', '5+36=41'] Exploring Operation: 30+41=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 30*41=1230, Resulting Numbers: [1230] 1230,14 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[68, 5, 62], Operations: ['98-36=62'] Exploring Operation: 68+5=73, Resulting Numbers: [62, 73] Generated Node #0,1,0: 14:[62, 73] Operation: 68+5=73 Exploring Operation: 68-5=63, Resulting Numbers: [62, 63] Generated Node #0,1,1: 14:[62, 63] Operation: 68-5=63 Exploring Operation: 5+62=67, Resulting Numbers: [68, 67] Generated Node #0,1,2: 14:[68, 67] Operation: 5+62=67 Exploring Operation: 62-5=57, Resulting Numbers: [68, 57] Generated Node #0,1,3: 14:[68, 57] Operation: 62-5=57 Exploring Operation: 68-62=6, Resulting Numbers: [5, 6] Generated Node #0,1,4: 14:[5, 6] Operation: 68-62=6 Moving to Node #0,1,4 Current State: 14:[5, 6], Operations: ['98-36=62', '68-62=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[68, 57], Operations: ['98-36=62', '62-5=57'] Exploring Operation: 68*57=3876, Resulting Numbers: [3876] 3876,14 unequal: No Solution Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,14 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[62, 63], Operations: ['98-36=62', '68-5=63'] Exploring Operation: 62*63=3906, Resulting Numbers: [3906] 3906,14 unequal: No Solution Exploring Operation: 62+63=125, Resulting Numbers: [125] 125,14 unequal: No Solution Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[62, 73], Operations: ['98-36=62', '68+5=73'] Exploring Operation: 73-62=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 62*73=4526, Resulting Numbers: [4526] 4526,14 unequal: No Solution Exploring Operation: 62+73=135, Resulting Numbers: [135] 135,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[68, 67], Operations: ['98-36=62', '5+62=67'] Exploring Operation: 68*67=4556, Resulting Numbers: [4556] 4556,14 unequal: No Solution Exploring Operation: 68+67=135, Resulting Numbers: [135] 135,14 unequal: No Solution Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[98, 5, 32], Operations: ['68-36=32'] Exploring Operation: 5+32=37, Resulting Numbers: [98, 37] Generated Node #0,3,0: 14:[98, 37] Operation: 5+32=37 Exploring Operation: 98-5=93, Resulting Numbers: [32, 93] Generated Node #0,3,1: 14:[32, 93] Operation: 98-5=93 Exploring Operation: 98-32=66, Resulting Numbers: [5, 66] Generated Node #0,3,2: 14:[5, 66] Operation: 98-32=66 Exploring Operation: 32-5=27, Resulting Numbers: [98, 27] Generated Node #0,3,3: 14:[98, 27] Operation: 32-5=27 Exploring Operation: 98+5=103, Resulting Numbers: [32, 103] Generated Node #0,3,4: 14:[32, 103] Operation: 98+5=103 Moving to Node #0,3,2 Current State: 14:[5, 66], Operations: ['68-36=32', '98-32=66'] Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,14 unequal: No Solution Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[98, 27], Operations: ['68-36=32', '32-5=27'] Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 98*27=2646, Resulting Numbers: [2646] 2646,14 unequal: No Solution Exploring Operation: 98+27=125, Resulting Numbers: [125] 125,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[32, 93], Operations: ['68-36=32', '98-5=93'] Exploring Operation: 32*93=2976, Resulting Numbers: [2976] 2976,14 unequal: No Solution Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,14 unequal: No Solution Exploring Operation: 32+93=125, Resulting Numbers: [125] 125,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[98, 37], Operations: ['68-36=32', '5+32=37'] Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,14 unequal: No Solution Exploring Operation: 98+37=135, Resulting Numbers: [135] 135,14 unequal: No Solution Exploring Operation: 98*37=3626, Resulting Numbers: [3626] 3626,14 unequal: No Solution Moving to Node #0,3,4 Current State: 14:[32, 103], Operations: ['68-36=32', '98+5=103'] Exploring Operation: 32*103=3296, Resulting Numbers: [3296] 3296,14 unequal: No Solution Exploring Operation: 32+103=135, Resulting Numbers: [135] 135,14 unequal: No Solution Exploring Operation: 103-32=71, Resulting Numbers: [71] 71,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[98, 36, 63], Operations: ['68-5=63'] Exploring Operation: 98-36=62, Resulting Numbers: [63, 62] Generated Node #0,2,0: 14:[63, 62] Operation: 98-36=62 Exploring Operation: 63-36=27, Resulting Numbers: [98, 27] Generated Node #0,2,1: 14:[98, 27] Operation: 63-36=27 Exploring Operation: 98+36=134, Resulting Numbers: [63, 134] Generated Node #0,2,2: 14:[63, 134] Operation: 98+36=134 Exploring Operation: 98-63=35, Resulting Numbers: [36, 35] Generated Node #0,2,3: 14:[36, 35] Operation: 98-63=35 Exploring Operation: 98+63=161, Resulting Numbers: [36, 161] Generated Node #0,2,4: 14:[36, 161] Operation: 98+63=161 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 14:[36, 35], Operations: ['68-5=63', '98-63=35'] Exploring Operation: 36*35=1260, Resulting Numbers: [1260] 1260,14 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 36+35=71, Resulting Numbers: [71] 71,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[63, 62], Operations: ['68-5=63', '98-36=62'] Exploring Operation: 63+62=125, Resulting Numbers: [125] 125,14 unequal: No Solution Exploring Operation: 63*62=3906, Resulting Numbers: [3906] 3906,14 unequal: No Solution Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 14:[98, 27], Operations: ['68-5=63', '63-36=27'] Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 98+27=125, Resulting Numbers: [125] 125,14 unequal: No Solution Exploring Operation: 98*27=2646, Resulting Numbers: [2646] 2646,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[63, 134], Operations: ['68-5=63', '98+36=134'] Exploring Operation: 63*134=8442, Resulting Numbers: [8442] 8442,14 unequal: No Solution Exploring Operation: 134-63=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 63+134=197, Resulting Numbers: [197] 197,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 14:[36, 161], Operations: ['68-5=63', '98+63=161'] Exploring Operation: 36*161=5796, Resulting Numbers: [5796] 5796,14 unequal: No Solution Exploring Operation: 36+161=197, Resulting Numbers: [197] 197,14 unequal: No Solution Exploring Operation: 161-36=125, Resulting Numbers: [125] 125,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 14:[68, 36, 93], Operations: ['98-5=93'] Exploring Operation: 93-68=25, Resulting Numbers: [36, 25] Generated Node #0,4,0: 14:[36, 25] Operation: 93-68=25 Exploring Operation: 68-36=32, Resulting Numbers: [93, 32] Generated Node #0,4,1: 14:[93, 32] Operation: 68-36=32 Exploring Operation: 68+36=104, Resulting Numbers: [93, 104] Generated Node #0,4,2: 14:[93, 104] Operation: 68+36=104 Exploring Operation: 68+93=161, Resulting Numbers: [36, 161] Generated Node #0,4,3: 14:[36, 161] Operation: 68+93=161 Exploring Operation: 93-36=57, Resulting Numbers: [68, 57] Generated Node #0,4,4: 14:[68, 57] Operation: 93-36=57 Moving to Node #0,4,0 Current State: 14:[36, 25], Operations: ['98-5=93', '93-68=25'] Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,14 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,14 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,4,4 Current State: 14:[68, 57], Operations: ['98-5=93', '93-36=57'] Exploring Operation: 68*57=3876, Resulting Numbers: [3876] 3876,14 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,14 unequal: No Solution Moving to Node #0,4,1 Current State: 14:[93, 32], Operations: ['98-5=93', '68-36=32'] Exploring Operation: 93+32=125, Resulting Numbers: [125] 125,14 unequal: No Solution Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,14 unequal: No Solution Exploring Operation: 93*32=2976, Resulting Numbers: [2976] 2976,14 unequal: No Solution Moving to Node #0,4,2 Current State: 14:[93, 104], Operations: ['98-5=93', '68+36=104'] Exploring Operation: 93+104=197, Resulting Numbers: [197] 197,14 unequal: No Solution Exploring Operation: 104-93=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 93*104=9672, Resulting Numbers: [9672] 9672,14 unequal: No Solution Moving to Node #0,4,3 Current State: 14:[36, 161], Operations: ['98-5=93', '68+93=161'] Exploring Operation: 161-36=125, Resulting Numbers: [125] 125,14 unequal: No Solution Exploring Operation: 36*161=5796, Resulting Numbers: [5796] 5796,14 unequal: No Solution Exploring Operation: 36+161=197, Resulting Numbers: [197] 197,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 5, 58, 93, 90 ]
66
[ "5+58=63", "93-90=3", "63+3=66" ]
Current State: 66:[5, 58, 93, 90], Operations: [] Exploring Operation: 5+58=63, Resulting Numbers: [93, 90, 63] Generated Node #2: [93, 90, 63] from Operation: 5+58=63 Current State: 66:[93, 90, 63], Operations: ['5+58=63'] Exploring Operation: 93-90=3, Resulting Numbers: [63, 3] Generated Node #3: [63, 3] from Operation: 93-90=3 Current State: 66:[63, 3], Operations: ['5+58=63', '93-90=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[5, 58, 93, 90], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [58, 93, 18] Generated Node #0,0: 66:[58, 93, 18] Operation: 90/5=18 Exploring Operation: 93-58=35, Resulting Numbers: [5, 90, 35] Generated Node #0,1: 66:[5, 90, 35] Operation: 93-58=35 Exploring Operation: 93-90=3, Resulting Numbers: [5, 58, 3] Generated Node #0,2: 66:[5, 58, 3] Operation: 93-90=3 Exploring Operation: 90-58=32, Resulting Numbers: [5, 93, 32] Generated Node #0,3: 66:[5, 93, 32] Operation: 90-58=32 Moving to Node #0,2 Current State: 66:[5, 58, 3], Operations: ['93-90=3'] Exploring Operation: 58+3=61, Resulting Numbers: [5, 61] Generated Node #0,2,0: 66:[5, 61] Operation: 58+3=61 Exploring Operation: 5+3=8, Resulting Numbers: [58, 8] Generated Node #0,2,1: 66:[58, 8] Operation: 5+3=8 Exploring Operation: 5-3=2, Resulting Numbers: [58, 2] Generated Node #0,2,2: 66:[58, 2] Operation: 5-3=2 Exploring Operation: 5+58=63, Resulting Numbers: [3, 63] Generated Node #0,2,3: 66:[3, 63] Operation: 5+58=63 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 66:[3, 63], Operations: ['93-90=3', '5+58=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[5, 58, 93, 90], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [5, 58, 3] Generated Node #0,2: 66:[5, 58, 3] Operation: 93-90=3 Moving to Node #0,2 Current State: 66:[5, 58, 3], Operations: ['93-90=3'] Exploring Operation: 5+58=63, Resulting Numbers: [3, 63] Generated Node #0,2,3: 66:[3, 63] Operation: 5+58=63 Moving to Node #0,2,3 Current State: 66:[3, 63], Operations: ['93-90=3', '5+58=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 33, 31, 12, 91 ]
16
[ "33+91=124", "124/31=4", "12+4=16" ]
Current State: 16:[33, 31, 12, 91], Operations: [] Exploring Operation: 33+91=124, Resulting Numbers: [31, 12, 124] Generated Node #2: [31, 12, 124] from Operation: 33+91=124 Current State: 16:[31, 12, 124], Operations: ['33+91=124'] Exploring Operation: 124/31=4, Resulting Numbers: [12, 4] Generated Node #3: [12, 4] from Operation: 124/31=4 Current State: 16:[12, 4], Operations: ['33+91=124', '124/31=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[33, 31, 12, 91], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [12, 91, 2] Generated Node #0,0: 16:[12, 91, 2] Operation: 33-31=2 Exploring Operation: 91-33=58, Resulting Numbers: [31, 12, 58] Generated Node #0,1: 16:[31, 12, 58] Operation: 91-33=58 Exploring Operation: 91-31=60, Resulting Numbers: [33, 12, 60] Generated Node #0,2: 16:[33, 12, 60] Operation: 91-31=60 Moving to Node #0,1 Current State: 16:[31, 12, 58], Operations: ['91-33=58'] Exploring Operation: 58-31=27, Resulting Numbers: [12, 27] Generated Node #0,1,0: 16:[12, 27] Operation: 58-31=27 Exploring Operation: 58-12=46, Resulting Numbers: [31, 46] Generated Node #0,1,1: 16:[31, 46] Operation: 58-12=46 Exploring Operation: 31-12=19, Resulting Numbers: [58, 19] Generated Node #0,1,2: 16:[58, 19] Operation: 31-12=19 Moving to Node #0,2 Current State: 16:[33, 12, 60], Operations: ['91-31=60'] Exploring Operation: 60-33=27, Resulting Numbers: [12, 27] Generated Node #0,2,0: 16:[12, 27] Operation: 60-33=27 Exploring Operation: 33-12=21, Resulting Numbers: [60, 21] Generated Node #0,2,1: 16:[60, 21] Operation: 33-12=21 Exploring Operation: 60/12=5, Resulting Numbers: [33, 5] Generated Node #0,2,2: 16:[33, 5] Operation: 60/12=5 Moving to Node #0,0 Current State: 16:[12, 91, 2], Operations: ['33-31=2'] Exploring Operation: 12-2=10, Resulting Numbers: [91, 10] Generated Node #0,0,0: 16:[91, 10] Operation: 12-2=10 Exploring Operation: 91-12=79, Resulting Numbers: [2, 79] Generated Node #0,0,1: 16:[2, 79] Operation: 91-12=79 Exploring Operation: 12+2=14, Resulting Numbers: [91, 14] Generated Node #0,0,2: 16:[91, 14] Operation: 12+2=14 Moving to Node #0,1,0 Current State: 16:[12, 27], Operations: ['91-33=58', '58-31=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[12, 27], Operations: ['91-31=60', '60-33=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,16 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[33, 5], Operations: ['91-31=60', '60/12=5'] Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,16 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[58, 19], Operations: ['91-33=58', '31-12=19'] Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,16 unequal: No Solution Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,16 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[31, 46], Operations: ['91-33=58', '58-12=46'] Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 31+46=77, Resulting Numbers: [77] 77,16 unequal: No Solution Exploring Operation: 31*46=1426, Resulting Numbers: [1426] 1426,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[60, 21], Operations: ['91-31=60', '33-12=21'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,16 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[2, 79], Operations: ['33-31=2', '91-12=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,16 unequal: No Solution Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[91, 10], Operations: ['33-31=2', '12-2=10'] Exploring Operation: 91*10=910, Resulting Numbers: [910] 910,16 unequal: No Solution Exploring Operation: 91+10=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[91, 14], Operations: ['33-31=2', '12+2=14'] Exploring Operation: 91+14=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,16 unequal: No Solution Exploring Operation: 91*14=1274, Resulting Numbers: [1274] 1274,16 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 5, 50, 86, 2 ]
88
[ "50-5=45", "86/2=43", "45+43=88" ]
Current State: 88:[5, 50, 86, 2], Operations: [] Exploring Operation: 50-5=45, Resulting Numbers: [86, 2, 45] Generated Node #2: [86, 2, 45] from Operation: 50-5=45 Current State: 88:[86, 2, 45], Operations: ['50-5=45'] Exploring Operation: 86/2=43, Resulting Numbers: [45, 43] Generated Node #3: [45, 43] from Operation: 86/2=43 Current State: 88:[45, 43], Operations: ['50-5=45', '86/2=43'] Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[5, 50, 86, 2], Operations: [] Exploring Operation: 50-2=48, Resulting Numbers: [5, 86, 48] Generated Node #0,0: 88:[5, 86, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [5, 86, 25] Generated Node #0,1: 88:[5, 86, 25] Operation: 50/2=25 Exploring Operation: 50/5=10, Resulting Numbers: [86, 2, 10] Generated Node #0,2: 88:[86, 2, 10] Operation: 50/5=10 Exploring Operation: 50-5=45, Resulting Numbers: [86, 2, 45] Generated Node #0,3: 88:[86, 2, 45] Operation: 50-5=45 Moving to Node #0,2 Current State: 88:[86, 2, 10], Operations: ['50/5=10'] Exploring Operation: 10-2=8, Resulting Numbers: [86, 8] Generated Node #0,2,0: 88:[86, 8] Operation: 10-2=8 Exploring Operation: 86+2=88, Resulting Numbers: [10, 88] Generated Node #0,2,1: 88:[10, 88] Operation: 86+2=88 Exploring Operation: 2+10=12, Resulting Numbers: [86, 12] Generated Node #0,2,2: 88:[86, 12] Operation: 2+10=12 Exploring Operation: 86/2=43, Resulting Numbers: [10, 43] Generated Node #0,2,3: 88:[10, 43] Operation: 86/2=43 Moving to Node #0,3 Current State: 88:[86, 2, 45], Operations: ['50-5=45'] Exploring Operation: 86/2=43, Resulting Numbers: [45, 43] Generated Node #0,3,0: 88:[45, 43] Operation: 86/2=43 Exploring Operation: 86-45=41, Resulting Numbers: [2, 41] Generated Node #0,3,1: 88:[2, 41] Operation: 86-45=41 Exploring Operation: 86+2=88, Resulting Numbers: [45, 88] Generated Node #0,3,2: 88:[45, 88] Operation: 86+2=88 Exploring Operation: 45-2=43, Resulting Numbers: [86, 43] Generated Node #0,3,3: 88:[86, 43] Operation: 45-2=43 Moving to Node #0,1 Current State: 88:[5, 86, 25], Operations: ['50/2=25'] Exploring Operation: 25/5=5, Resulting Numbers: [86, 5] Generated Node #0,1,0: 88:[86, 5] Operation: 25/5=5 Exploring Operation: 5+86=91, Resulting Numbers: [25, 91] Generated Node #0,1,1: 88:[25, 91] Operation: 5+86=91 Exploring Operation: 25-5=20, Resulting Numbers: [86, 20] Generated Node #0,1,2: 88:[86, 20] Operation: 25-5=20 Exploring Operation: 86-5=81, Resulting Numbers: [25, 81] Generated Node #0,1,3: 88:[25, 81] Operation: 86-5=81 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[86, 5], Operations: ['50/2=25', '25/5=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,88 unequal: No Solution Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 86*5=430, Resulting Numbers: [430] 430,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[86, 20], Operations: ['50/2=25', '25-5=20'] Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,88 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,88 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[25, 91], Operations: ['50/2=25', '5+86=91'] Exploring Operation: 25*91=2275, Resulting Numbers: [2275] 2275,88 unequal: No Solution Exploring Operation: 25+91=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[25, 81], Operations: ['50/2=25', '86-5=81'] Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 25*81=2025, Resulting Numbers: [2025] 2025,88 unequal: No Solution Exploring Operation: 25+81=106, Resulting Numbers: [106] 106,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 88:[5, 86, 48], Operations: ['50-2=48'] Exploring Operation: 48-5=43, Resulting Numbers: [86, 43] Generated Node #0,0,0: 88:[86, 43] Operation: 48-5=43 Exploring Operation: 86-48=38, Resulting Numbers: [5, 38] Generated Node #0,0,1: 88:[5, 38] Operation: 86-48=38 Exploring Operation: 5+86=91, Resulting Numbers: [48, 91] Generated Node #0,0,2: 88:[48, 91] Operation: 5+86=91 Exploring Operation: 86-5=81, Resulting Numbers: [48, 81] Generated Node #0,0,3: 88:[48, 81] Operation: 86-5=81 Moving to Node #0,2,1 Current State: 88:[10, 88], Operations: ['50/5=10', '86+2=88'] Exploring Operation: 10+88=98, Resulting Numbers: [98] 98,88 unequal: No Solution Exploring Operation: 10*88=880, Resulting Numbers: [880] 880,88 unequal: No Solution Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[45, 88], Operations: ['50-5=45', '86+2=88'] Exploring Operation: 45*88=3960, Resulting Numbers: [3960] 3960,88 unequal: No Solution Exploring Operation: 45+88=133, Resulting Numbers: [133] 133,88 unequal: No Solution Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[10, 43], Operations: ['50/5=10', '86/2=43'] Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,88 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,88 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[45, 43], Operations: ['50-5=45', '86/2=43'] Exploring Operation: 45*43=1935, Resulting Numbers: [1935] 1935,88 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[5, 50, 86, 2], Operations: [] Exploring Operation: 50-5=45, Resulting Numbers: [86, 2, 45] Generated Node #0,3: 88:[86, 2, 45] Operation: 50-5=45 Moving to Node #0,3 Current State: 88:[86, 2, 45], Operations: ['50-5=45'] Exploring Operation: 86/2=43, Resulting Numbers: [45, 43] Generated Node #0,3,0: 88:[45, 43] Operation: 86/2=43 Moving to Node #0,3,0 Current State: 88:[45, 43], Operations: ['50-5=45', '86/2=43'] Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.958333
hs_4
mult_heuristic
[ 81, 91, 24, 1 ]
33
[ "91-81=10", "24-1=23", "10+23=33" ]
Current State: 33:[81, 91, 24, 1], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [24, 1, 10] Generated Node #2: [24, 1, 10] from Operation: 91-81=10 Current State: 33:[24, 1, 10], Operations: ['91-81=10'] Exploring Operation: 24-1=23, Resulting Numbers: [10, 23] Generated Node #3: [10, 23] from Operation: 24-1=23 Current State: 33:[10, 23], Operations: ['91-81=10', '24-1=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[81, 91, 24, 1], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [24, 1, 10] Generated Node #0,0: 33:[24, 1, 10] Operation: 91-81=10 Moving to Node #0,0 Current State: 33:[24, 1, 10], Operations: ['91-81=10'] Exploring Operation: 24+10=34, Resulting Numbers: [1, 34] Generated Node #0,0,0: 33:[1, 34] Operation: 24+10=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[1, 34], Operations: ['91-81=10', '24+10=34'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[81, 91, 24, 1], Operations: [] Exploring Operation: 91-81=10, Resulting Numbers: [24, 1, 10] Generated Node #0,0: 33:[24, 1, 10] Operation: 91-81=10 Moving to Node #0,0 Current State: 33:[24, 1, 10], Operations: ['91-81=10'] Exploring Operation: 24+10=34, Resulting Numbers: [1, 34] Generated Node #0,0,0: 33:[1, 34] Operation: 24+10=34 Moving to Node #0,0,0 Current State: 33:[1, 34], Operations: ['91-81=10', '24+10=34'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 98, 65, 50, 70 ]
88
[ "70-65=5", "50/5=10", "98-10=88" ]
Current State: 88:[98, 65, 50, 70], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [98, 50, 5] Generated Node #2: [98, 50, 5] from Operation: 70-65=5 Current State: 88:[98, 50, 5], Operations: ['70-65=5'] Exploring Operation: 50/5=10, Resulting Numbers: [98, 10] Generated Node #3: [98, 10] from Operation: 50/5=10 Current State: 88:[98, 10], Operations: ['70-65=5', '50/5=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[98, 65, 50, 70], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [98, 50, 5] Generated Node #0,0: 88:[98, 50, 5] Operation: 70-65=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[98, 50, 5], Operations: ['70-65=5'] Exploring Operation: 98-50=48, Resulting Numbers: [5, 48] Generated Node #0,0,0: 88:[5, 48] Operation: 98-50=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[5, 48], Operations: ['70-65=5', '98-50=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 38, 26, 10, 38 ]
35
[ "38/38=1", "26+10=36", "36-1=35" ]
Current State: 35:[38, 26, 10, 38], Operations: [] Exploring Operation: 38/38=1, Resulting Numbers: [26, 10, 1] Generated Node #2: [26, 10, 1] from Operation: 38/38=1 Current State: 35:[26, 10, 1], Operations: ['38/38=1'] Exploring Operation: 26+10=36, Resulting Numbers: [1, 36] Generated Node #3: [1, 36] from Operation: 26+10=36 Current State: 35:[1, 36], Operations: ['38/38=1', '26+10=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[38, 26, 10, 38], Operations: [] Exploring Operation: 26+10=36, Resulting Numbers: [38, 38, 36] Generated Node #0,0: 35:[38, 38, 36] Operation: 26+10=36 Exploring Operation: 38-26=12, Resulting Numbers: [10, 38, 12] Generated Node #0,1: 35:[10, 38, 12] Operation: 38-26=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[38, 38, 36], Operations: ['26+10=36'] Exploring Operation: 38-38=0, Resulting Numbers: [36, 0] Generated Node #0,0,0: 35:[36, 0] Operation: 38-38=0 Exploring Operation: 38/38=1, Resulting Numbers: [36, 1] Generated Node #0,0,1: 35:[36, 1] Operation: 38/38=1 Moving to Node #0,0,1 Current State: 35:[36, 1], Operations: ['26+10=36', '38/38=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[38, 26, 10, 38], Operations: [] Exploring Operation: 26+10=36, Resulting Numbers: [38, 38, 36] Generated Node #0,0: 35:[38, 38, 36] Operation: 26+10=36 Moving to Node #0,0 Current State: 35:[38, 38, 36], Operations: ['26+10=36'] Exploring Operation: 38/38=1, Resulting Numbers: [36, 1] Generated Node #0,0,1: 35:[36, 1] Operation: 38/38=1 Moving to Node #0,0,1 Current State: 35:[36, 1], Operations: ['26+10=36', '38/38=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 16, 8, 31, 22 ]
18
[ "16/8=2", "31-22=9", "2*9=18" ]
Current State: 18:[16, 8, 31, 22], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [31, 22, 2] Generated Node #2: [31, 22, 2] from Operation: 16/8=2 Current State: 18:[31, 22, 2], Operations: ['16/8=2'] Exploring Operation: 31-22=9, Resulting Numbers: [2, 9] Generated Node #3: [2, 9] from Operation: 31-22=9 Current State: 18:[2, 9], Operations: ['16/8=2', '31-22=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[16, 8, 31, 22], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [8, 22, 15] Generated Node #0,0: 18:[8, 22, 15] Operation: 31-16=15 Exploring Operation: 31-22=9, Resulting Numbers: [16, 8, 9] Generated Node #0,1: 18:[16, 8, 9] Operation: 31-22=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[16, 8, 9], Operations: ['31-22=9'] Exploring Operation: 16/8=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 18:[9, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [9, 8] Generated Node #0,1,1: 18:[9, 8] Operation: 16-8=8 Moving to Node #0,1,0 Current State: 18:[9, 2], Operations: ['31-22=9', '16/8=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[16, 8, 31, 22], Operations: [] Exploring Operation: 31-22=9, Resulting Numbers: [16, 8, 9] Generated Node #0,1: 18:[16, 8, 9] Operation: 31-22=9 Moving to Node #0,1 Current State: 18:[16, 8, 9], Operations: ['31-22=9'] Exploring Operation: 16/8=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 18:[9, 2] Operation: 16/8=2 Moving to Node #0,1,0 Current State: 18:[9, 2], Operations: ['31-22=9', '16/8=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 10, 27, 72, 38 ]
93
[ "27-10=17", "72+38=110", "110-17=93" ]
Current State: 93:[10, 27, 72, 38], Operations: [] Exploring Operation: 27-10=17, Resulting Numbers: [72, 38, 17] Generated Node #2: [72, 38, 17] from Operation: 27-10=17 Current State: 93:[72, 38, 17], Operations: ['27-10=17'] Exploring Operation: 72+38=110, Resulting Numbers: [17, 110] Generated Node #3: [17, 110] from Operation: 72+38=110 Current State: 93:[17, 110], Operations: ['27-10=17', '72+38=110'] Exploring Operation: 110-17=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[10, 27, 72, 38], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [10, 27, 34] Generated Node #0,0: 93:[10, 27, 34] Operation: 72-38=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[10, 27, 34], Operations: ['72-38=34'] Exploring Operation: 10+27=37, Resulting Numbers: [34, 37] Generated Node #0,0,0: 93:[34, 37] Operation: 10+27=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[34, 37], Operations: ['72-38=34', '10+27=37'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,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 No solution found.
0
hs_1
mult_heuristic
[ 16, 32, 97, 65 ]
64
[ "32/16=2", "97-65=32", "2*32=64" ]
Current State: 64:[16, 32, 97, 65], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [97, 65, 2] Generated Node #2: [97, 65, 2] from Operation: 32/16=2 Current State: 64:[97, 65, 2], Operations: ['32/16=2'] Exploring Operation: 97-65=32, Resulting Numbers: [2, 32] Generated Node #3: [2, 32] from Operation: 97-65=32 Current State: 64:[2, 32], Operations: ['32/16=2', '97-65=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[16, 32, 97, 65], Operations: [] Exploring Operation: 97-32=65, Resulting Numbers: [16, 65, 65] Generated Node #0,0: 64:[16, 65, 65] Operation: 97-32=65 Exploring Operation: 97-65=32, Resulting Numbers: [16, 32, 32] Generated Node #0,1: 64:[16, 32, 32] Operation: 97-65=32 Exploring Operation: 97-16=81, Resulting Numbers: [32, 65, 81] Generated Node #0,2: 64:[32, 65, 81] Operation: 97-16=81 Moving to Node #0,1 Current State: 64:[16, 32, 32], Operations: ['97-65=32'] Exploring Operation: 32-16=16, Resulting Numbers: [32, 16] Generated Node #0,1,0: 64:[32, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [32, 2] Generated Node #0,1,1: 64:[32, 2] Operation: 32/16=2 Exploring Operation: 32-16=16, Resulting Numbers: [32, 16] Generated Node #0,1,2: 64:[32, 16] Operation: 32-16=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[32, 16], Operations: ['97-65=32', '32-16=16'] Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,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,1,1 Current State: 64:[32, 2], Operations: ['97-65=32', '32/16=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[16, 32, 97, 65], Operations: [] Exploring Operation: 97-65=32, Resulting Numbers: [16, 32, 32] Generated Node #0,1: 64:[16, 32, 32] Operation: 97-65=32 Moving to Node #0,1 Current State: 64:[16, 32, 32], Operations: ['97-65=32'] Exploring Operation: 32/16=2, Resulting Numbers: [32, 2] Generated Node #0,1,1: 64:[32, 2] Operation: 32/16=2 Moving to Node #0,1,1 Current State: 64:[32, 2], Operations: ['97-65=32', '32/16=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 37, 2, 15, 60 ]
39
[ "37-2=35", "60/15=4", "35+4=39" ]
Current State: 39:[37, 2, 15, 60], Operations: [] Exploring Operation: 37-2=35, Resulting Numbers: [15, 60, 35] Generated Node #2: [15, 60, 35] from Operation: 37-2=35 Current State: 39:[15, 60, 35], Operations: ['37-2=35'] Exploring Operation: 60/15=4, Resulting Numbers: [35, 4] Generated Node #3: [35, 4] from Operation: 60/15=4 Current State: 39:[35, 4], Operations: ['37-2=35', '60/15=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[37, 2, 15, 60], Operations: [] Exploring Operation: 60-15=45, Resulting Numbers: [37, 2, 45] Generated Node #0,0: 39:[37, 2, 45] Operation: 60-15=45 Exploring Operation: 60/15=4, Resulting Numbers: [37, 2, 4] Generated Node #0,1: 39:[37, 2, 4] Operation: 60/15=4 Exploring Operation: 60-37=23, Resulting Numbers: [2, 15, 23] Generated Node #0,2: 39:[2, 15, 23] Operation: 60-37=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[37, 2, 4], Operations: ['60/15=4'] Exploring Operation: 4-2=2, Resulting Numbers: [37, 2] Generated Node #0,1,0: 39:[37, 2] Operation: 4-2=2 Exploring Operation: 37+4=41, Resulting Numbers: [2, 41] Generated Node #0,1,1: 39:[2, 41] Operation: 37+4=41 Exploring Operation: 37+2=39, Resulting Numbers: [4, 39] Generated Node #0,1,2: 39:[4, 39] Operation: 37+2=39 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 39:[4, 39], Operations: ['60/15=4', '37+2=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,39 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[37, 2], Operations: ['60/15=4', '4-2=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[37, 2, 15, 60], Operations: [] Exploring Operation: 60/15=4, Resulting Numbers: [37, 2, 4] Generated Node #0,1: 39:[37, 2, 4] Operation: 60/15=4 Moving to Node #0,1 Current State: 39:[37, 2, 4], Operations: ['60/15=4'] Exploring Operation: 4-2=2, Resulting Numbers: [37, 2] Generated Node #0,1,0: 39:[37, 2] Operation: 4-2=2 Moving to Node #0,1,0 Current State: 39:[37, 2], Operations: ['60/15=4', '4-2=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 77, 5, 2, 32 ]
20
[ "77-5=72", "72-32=40", "40/2=20" ]
Current State: 20:[77, 5, 2, 32], Operations: [] Exploring Operation: 77-5=72, Resulting Numbers: [2, 32, 72] Generated Node #2: [2, 32, 72] from Operation: 77-5=72 Current State: 20:[2, 32, 72], Operations: ['77-5=72'] Exploring Operation: 72-32=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 72-32=40 Current State: 20:[2, 40], Operations: ['77-5=72', '72-32=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[77, 5, 2, 32], Operations: [] Exploring Operation: 77-5=72, Resulting Numbers: [2, 32, 72] Generated Node #0,0: 20:[2, 32, 72] Operation: 77-5=72 Exploring Operation: 77-32=45, Resulting Numbers: [5, 2, 45] Generated Node #0,1: 20:[5, 2, 45] Operation: 77-32=45 Exploring Operation: 32/2=16, Resulting Numbers: [77, 5, 16] Generated Node #0,2: 20:[77, 5, 16] Operation: 32/2=16 Moving to Node #0,1 Current State: 20:[5, 2, 45], Operations: ['77-32=45'] Exploring Operation: 45/5=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 20:[2, 9] Operation: 45/5=9 Exploring Operation: 45-2=43, Resulting Numbers: [5, 43] Generated Node #0,1,1: 20:[5, 43] Operation: 45-2=43 Exploring Operation: 45-5=40, Resulting Numbers: [2, 40] Generated Node #0,1,2: 20:[2, 40] Operation: 45-5=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[2, 9], Operations: ['77-32=45', '45/5=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,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:[2, 40], Operations: ['77-32=45', '45-5=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[77, 5, 2, 32], Operations: [] Exploring Operation: 77-32=45, Resulting Numbers: [5, 2, 45] Generated Node #0,1: 20:[5, 2, 45] Operation: 77-32=45 Moving to Node #0,1 Current State: 20:[5, 2, 45], Operations: ['77-32=45'] Exploring Operation: 45-5=40, Resulting Numbers: [2, 40] Generated Node #0,1,2: 20:[2, 40] Operation: 45-5=40 Moving to Node #0,1,2 Current State: 20:[2, 40], Operations: ['77-32=45', '45-5=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 81, 34, 20, 56 ]
83
[ "81-34=47", "56-20=36", "47+36=83" ]
Current State: 83:[81, 34, 20, 56], Operations: [] Exploring Operation: 81-34=47, Resulting Numbers: [20, 56, 47] Generated Node #2: [20, 56, 47] from Operation: 81-34=47 Current State: 83:[20, 56, 47], Operations: ['81-34=47'] Exploring Operation: 56-20=36, Resulting Numbers: [47, 36] Generated Node #3: [47, 36] from Operation: 56-20=36 Current State: 83:[47, 36], Operations: ['81-34=47', '56-20=36'] Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[81, 34, 20, 56], Operations: [] Exploring Operation: 81+20=101, Resulting Numbers: [34, 56, 101] Generated Node #0,0: 83:[34, 56, 101] Operation: 81+20=101 Exploring Operation: 34+56=90, Resulting Numbers: [81, 20, 90] Generated Node #0,1: 83:[81, 20, 90] Operation: 34+56=90 Exploring Operation: 20+56=76, Resulting Numbers: [81, 34, 76] Generated Node #0,2: 83:[81, 34, 76] Operation: 20+56=76 Exploring Operation: 34+20=54, Resulting Numbers: [81, 56, 54] Generated Node #0,3: 83:[81, 56, 54] Operation: 34+20=54 Exploring Operation: 81-20=61, Resulting Numbers: [34, 56, 61] Generated Node #0,4: 83:[34, 56, 61] Operation: 81-20=61 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[81, 34, 76], Operations: ['20+56=76'] Exploring Operation: 81+34=115, Resulting Numbers: [76, 115] Generated Node #0,2,0: 83:[76, 115] Operation: 81+34=115 Exploring Operation: 34+76=110, Resulting Numbers: [81, 110] Generated Node #0,2,1: 83:[81, 110] Operation: 34+76=110 Exploring Operation: 81+76=157, Resulting Numbers: [34, 157] Generated Node #0,2,2: 83:[34, 157] Operation: 81+76=157 Exploring Operation: 81-34=47, Resulting Numbers: [76, 47] Generated Node #0,2,3: 83:[76, 47] Operation: 81-34=47 Exploring Operation: 76-34=42, Resulting Numbers: [81, 42] Generated Node #0,2,4: 83:[81, 42] Operation: 76-34=42 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[81, 110], Operations: ['20+56=76', '34+76=110'] Exploring Operation: 81*110=8910, Resulting Numbers: [8910] 8910,83 unequal: No Solution Exploring Operation: 81+110=191, Resulting Numbers: [191] 191,83 unequal: No Solution Exploring Operation: 110-81=29, Resulting Numbers: [29] 29,83 unequal: No Solution No 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: 83:[76, 115], Operations: ['20+56=76', '81+34=115'] Exploring Operation: 76+115=191, Resulting Numbers: [191] 191,83 unequal: No Solution Exploring Operation: 115-76=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 76*115=8740, Resulting Numbers: [8740] 8740,83 unequal: No Solution No 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: 83:[76, 47], Operations: ['20+56=76', '81-34=47'] Exploring Operation: 76+47=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 76*47=3572, Resulting Numbers: [3572] 3572,83 unequal: No Solution Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,83 unequal: No Solution No 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: 83:[81, 42], Operations: ['20+56=76', '76-34=42'] Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 81*42=3402, Resulting Numbers: [3402] 3402,83 unequal: No Solution Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,83 unequal: No Solution No 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: 83:[34, 157], Operations: ['20+56=76', '81+76=157'] Exploring Operation: 34+157=191, Resulting Numbers: [191] 191,83 unequal: No Solution Exploring Operation: 34*157=5338, Resulting Numbers: [5338] 5338,83 unequal: No Solution Exploring Operation: 157-34=123, Resulting Numbers: [123] 123,83 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: 83:[81, 56, 54], Operations: ['34+20=54'] Exploring Operation: 56-54=2, Resulting Numbers: [81, 2] Generated Node #0,3,0: 83:[81, 2] Operation: 56-54=2 Exploring Operation: 81-54=27, Resulting Numbers: [56, 27] Generated Node #0,3,1: 83:[56, 27] Operation: 81-54=27 Exploring Operation: 81+56=137, Resulting Numbers: [54, 137] Generated Node #0,3,2: 83:[54, 137] Operation: 81+56=137 Exploring Operation: 81+54=135, Resulting Numbers: [56, 135] Generated Node #0,3,3: 83:[56, 135] Operation: 81+54=135 Exploring Operation: 56+54=110, Resulting Numbers: [81, 110] Generated Node #0,3,4: 83:[81, 110] Operation: 56+54=110 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 83:[81, 110], Operations: ['34+20=54', '56+54=110'] Exploring Operation: 110-81=29, Resulting Numbers: [29] 29,83 unequal: No Solution Exploring Operation: 81*110=8910, Resulting Numbers: [8910] 8910,83 unequal: No Solution Exploring Operation: 81+110=191, Resulting Numbers: [191] 191,83 unequal: No Solution No 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: 83:[56, 135], Operations: ['34+20=54', '81+54=135'] Exploring Operation: 135-56=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 56+135=191, Resulting Numbers: [191] 191,83 unequal: No Solution Exploring Operation: 56*135=7560, Resulting Numbers: [7560] 7560,83 unequal: No Solution No 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: 83:[81, 2], Operations: ['34+20=54', '56-54=2'] Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,83 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[81, 34, 20, 56], Operations: [] Exploring Operation: 34+20=54, Resulting Numbers: [81, 56, 54] Generated Node #0,3: 83:[81, 56, 54] Operation: 34+20=54 Moving to Node #0,3 Current State: 83:[81, 56, 54], Operations: ['34+20=54'] Exploring Operation: 56-54=2, Resulting Numbers: [81, 2] Generated Node #0,3,0: 83:[81, 2] Operation: 56-54=2 Moving to Node #0,3,0 Current State: 83:[81, 2], Operations: ['34+20=54', '56-54=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 47, 13, 92, 83 ]
82
[ "47+83=130", "130/13=10", "92-10=82" ]
Current State: 82:[47, 13, 92, 83], Operations: [] Exploring Operation: 47+83=130, Resulting Numbers: [13, 92, 130] Generated Node #2: [13, 92, 130] from Operation: 47+83=130 Current State: 82:[13, 92, 130], Operations: ['47+83=130'] Exploring Operation: 130/13=10, Resulting Numbers: [92, 10] Generated Node #3: [92, 10] from Operation: 130/13=10 Current State: 82:[92, 10], Operations: ['47+83=130', '130/13=10'] Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[47, 13, 92, 83], Operations: [] Exploring Operation: 92-83=9, Resulting Numbers: [47, 13, 9] Generated Node #0,0: 82:[47, 13, 9] Operation: 92-83=9 Exploring Operation: 92-47=45, Resulting Numbers: [13, 83, 45] Generated Node #0,1: 82:[13, 83, 45] Operation: 92-47=45 Exploring Operation: 47-13=34, Resulting Numbers: [92, 83, 34] Generated Node #0,2: 82:[92, 83, 34] Operation: 47-13=34 Exploring Operation: 92-13=79, Resulting Numbers: [47, 83, 79] Generated Node #0,3: 82:[47, 83, 79] Operation: 92-13=79 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[47, 83, 79], Operations: ['92-13=79'] Exploring Operation: 47+79=126, Resulting Numbers: [83, 126] Generated Node #0,3,0: 82:[83, 126] Operation: 47+79=126 Exploring Operation: 79-47=32, Resulting Numbers: [83, 32] Generated Node #0,3,1: 82:[83, 32] Operation: 79-47=32 Exploring Operation: 83-47=36, Resulting Numbers: [79, 36] Generated Node #0,3,2: 82:[79, 36] Operation: 83-47=36 Exploring Operation: 83-79=4, Resulting Numbers: [47, 4] Generated Node #0,3,3: 82:[47, 4] Operation: 83-79=4 Moving to Node #0,3,2 Current State: 82:[79, 36], Operations: ['92-13=79', '83-47=36'] Exploring Operation: 79*36=2844, Resulting Numbers: [2844] 2844,82 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 79+36=115, Resulting Numbers: [115] 115,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[47, 4], Operations: ['92-13=79', '83-79=4'] Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,82 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[83, 32], Operations: ['92-13=79', '79-47=32'] Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 83+32=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 83*32=2656, Resulting Numbers: [2656] 2656,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[83, 126], Operations: ['92-13=79', '47+79=126'] Exploring Operation: 83+126=209, Resulting Numbers: [209] 209,82 unequal: No Solution Exploring Operation: 83*126=10458, Resulting Numbers: [10458] 10458,82 unequal: No Solution Exploring Operation: 126-83=43, Resulting Numbers: [43] 43,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[13, 83, 45], Operations: ['92-47=45'] Exploring Operation: 83-13=70, Resulting Numbers: [45, 70] Generated Node #0,1,0: 82:[45, 70] Operation: 83-13=70 Exploring Operation: 83-45=38, Resulting Numbers: [13, 38] Generated Node #0,1,1: 82:[13, 38] Operation: 83-45=38 Exploring Operation: 13+83=96, Resulting Numbers: [45, 96] Generated Node #0,1,2: 82:[45, 96] Operation: 13+83=96 Exploring Operation: 45-13=32, Resulting Numbers: [83, 32] Generated Node #0,1,3: 82:[83, 32] Operation: 45-13=32 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 82:[83, 32], Operations: ['92-47=45', '45-13=32'] Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 83+32=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 83*32=2656, Resulting Numbers: [2656] 2656,82 unequal: No Solution No 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: 82:[13, 38], Operations: ['92-47=45', '83-45=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,82 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,82 unequal: No Solution No 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: 82:[45, 70], Operations: ['92-47=45', '83-13=70'] Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,82 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,82 unequal: No Solution No 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: 82:[45, 96], Operations: ['92-47=45', '13+83=96'] Exploring Operation: 45*96=4320, Resulting Numbers: [4320] 4320,82 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,82 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: 82:[92, 83, 34], Operations: ['47-13=34'] Exploring Operation: 92-34=58, Resulting Numbers: [83, 58] Generated Node #0,2,0: 82:[83, 58] Operation: 92-34=58 Exploring Operation: 92+34=126, Resulting Numbers: [83, 126] Generated Node #0,2,1: 82:[83, 126] Operation: 92+34=126 Exploring Operation: 92-83=9, Resulting Numbers: [34, 9] Generated Node #0,2,2: 82:[34, 9] Operation: 92-83=9 Exploring Operation: 83-34=49, Resulting Numbers: [92, 49] Generated Node #0,2,3: 82:[92, 49] Operation: 83-34=49 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[34, 9], Operations: ['47-13=34', '92-83=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,82 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,82 unequal: No Solution No 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: 82:[83, 58], Operations: ['47-13=34', '92-34=58'] Exploring Operation: 83*58=4814, Resulting Numbers: [4814] 4814,82 unequal: No Solution Exploring Operation: 83-58=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 83+58=141, Resulting Numbers: [141] 141,82 unequal: No Solution No 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: 82:[92, 49], Operations: ['47-13=34', '83-34=49'] Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,82 unequal: No Solution No 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: 82:[83, 126], Operations: ['47-13=34', '92+34=126'] Exploring Operation: 83*126=10458, Resulting Numbers: [10458] 10458,82 unequal: No Solution Exploring Operation: 126-83=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 83+126=209, Resulting Numbers: [209] 209,82 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: 82:[47, 13, 9], Operations: ['92-83=9'] Exploring Operation: 13+9=22, Resulting Numbers: [47, 22] Generated Node #0,0,0: 82:[47, 22] Operation: 13+9=22 Exploring Operation: 47-13=34, Resulting Numbers: [9, 34] Generated Node #0,0,1: 82:[9, 34] Operation: 47-13=34 Exploring Operation: 13-9=4, Resulting Numbers: [47, 4] Generated Node #0,0,2: 82:[47, 4] Operation: 13-9=4 Exploring Operation: 47-9=38, Resulting Numbers: [13, 38] Generated Node #0,0,3: 82:[13, 38] Operation: 47-9=38 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[47, 4], Operations: ['92-83=9', '13-9=4'] Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,82 unequal: No Solution No 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: 82:[9, 34], Operations: ['92-83=9', '47-13=34'] Exploring Operation: 9*34=306, Resulting Numbers: [306] 306,82 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,82 unequal: No Solution No 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: 82:[13, 38], Operations: ['92-83=9', '47-9=38'] Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,82 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,82 unequal: No Solution No 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: 82:[47, 22], Operations: ['92-83=9', '13+9=22'] Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 47*22=1034, Resulting Numbers: [1034] 1034,82 unequal: No Solution Exploring Operation: 47+22=69, Resulting Numbers: [69] 69,82 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
[ 61, 26, 7, 42 ]
29
[ "61-26=35", "42/7=6", "35-6=29" ]
Current State: 29:[61, 26, 7, 42], Operations: [] Exploring Operation: 61-26=35, Resulting Numbers: [7, 42, 35] Generated Node #2: [7, 42, 35] from Operation: 61-26=35 Current State: 29:[7, 42, 35], Operations: ['61-26=35'] Exploring Operation: 42/7=6, Resulting Numbers: [35, 6] Generated Node #3: [35, 6] from Operation: 42/7=6 Current State: 29:[35, 6], Operations: ['61-26=35', '42/7=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[61, 26, 7, 42], Operations: [] Exploring Operation: 42-7=35, Resulting Numbers: [61, 26, 35] Generated Node #0,0: 29:[61, 26, 35] Operation: 42-7=35 Exploring Operation: 26+7=33, Resulting Numbers: [61, 42, 33] Generated Node #0,1: 29:[61, 42, 33] Operation: 26+7=33 Exploring Operation: 61-7=54, Resulting Numbers: [26, 42, 54] Generated Node #0,2: 29:[26, 42, 54] Operation: 61-7=54 Exploring Operation: 61-42=19, Resulting Numbers: [26, 7, 19] Generated Node #0,3: 29:[26, 7, 19] Operation: 61-42=19 Exploring Operation: 61-26=35, Resulting Numbers: [7, 42, 35] Generated Node #0,4: 29:[7, 42, 35] Operation: 61-26=35 Moving to Node #0,3 Current State: 29:[26, 7, 19], Operations: ['61-42=19'] Exploring Operation: 26+19=45, Resulting Numbers: [7, 45] Generated Node #0,3,0: 29:[7, 45] Operation: 26+19=45 Exploring Operation: 7+19=26, Resulting Numbers: [26, 26] Generated Node #0,3,1: 29:[26, 26] Operation: 7+19=26 Exploring Operation: 19-7=12, Resulting Numbers: [26, 12] Generated Node #0,3,2: 29:[26, 12] Operation: 19-7=12 Exploring Operation: 26-7=19, Resulting Numbers: [19, 19] Generated Node #0,3,3: 29:[19, 19] Operation: 26-7=19 Exploring Operation: 26+7=33, Resulting Numbers: [19, 33] Generated Node #0,3,4: 29:[19, 33] Operation: 26+7=33 Moving to Node #0,2 Current State: 29:[26, 42, 54], Operations: ['61-7=54'] Exploring Operation: 26+42=68, Resulting Numbers: [54, 68] Generated Node #0,2,0: 29:[54, 68] Operation: 26+42=68 Exploring Operation: 54-26=28, Resulting Numbers: [42, 28] Generated Node #0,2,1: 29:[42, 28] Operation: 54-26=28 Exploring Operation: 26+54=80, Resulting Numbers: [42, 80] Generated Node #0,2,2: 29:[42, 80] Operation: 26+54=80 Exploring Operation: 42-26=16, Resulting Numbers: [54, 16] Generated Node #0,2,3: 29:[54, 16] Operation: 42-26=16 Exploring Operation: 54-42=12, Resulting Numbers: [26, 12] Generated Node #0,2,4: 29:[26, 12] Operation: 54-42=12 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[42, 28], Operations: ['61-7=54', '54-26=28'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,29 unequal: No Solution Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 29:[26, 12], Operations: ['61-7=54', '54-42=12'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 29:[54, 16], Operations: ['61-7=54', '42-26=16'] Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[54, 68], Operations: ['61-7=54', '26+42=68'] Exploring Operation: 54+68=122, Resulting Numbers: [122] 122,29 unequal: No Solution Exploring Operation: 54*68=3672, Resulting Numbers: [3672] 3672,29 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[42, 80], Operations: ['61-7=54', '26+54=80'] Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,29 unequal: No Solution Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,29 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 29:[61, 26, 35], Operations: ['42-7=35'] Exploring Operation: 61-26=35, Resulting Numbers: [35, 35] Generated Node #0,0,0: 29:[35, 35] Operation: 61-26=35 Exploring Operation: 26+35=61, Resulting Numbers: [61, 61] Generated Node #0,0,1: 29:[61, 61] Operation: 26+35=61 Exploring Operation: 35-26=9, Resulting Numbers: [61, 9] Generated Node #0,0,2: 29:[61, 9] Operation: 35-26=9 Exploring Operation: 61+26=87, Resulting Numbers: [35, 87] Generated Node #0,0,3: 29:[35, 87] Operation: 61+26=87 Exploring Operation: 61-35=26, Resulting Numbers: [26, 26] Generated Node #0,0,4: 29:[26, 26] Operation: 61-35=26 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 29:[26, 26], Operations: ['42-7=35', '61-35=26'] Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[35, 35], Operations: ['42-7=35', '61-26=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[61, 9], Operations: ['42-7=35', '35-26=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[61, 61], Operations: ['42-7=35', '26+35=61'] Exploring Operation: 61/61=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 61*61=3721, Resulting Numbers: [3721] 3721,29 unequal: No Solution Exploring Operation: 61-61=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 61+61=122, Resulting Numbers: [122] 122,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 29:[35, 87], Operations: ['42-7=35', '61+26=87'] Exploring Operation: 35*87=3045, Resulting Numbers: [3045] 3045,29 unequal: No Solution Exploring Operation: 35+87=122, Resulting Numbers: [122] 122,29 unequal: No Solution Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 29:[7, 42, 35], Operations: ['61-26=35'] Exploring Operation: 42/7=6, Resulting Numbers: [35, 6] Generated Node #0,4,0: 29:[35, 6] Operation: 42/7=6 Exploring Operation: 7+35=42, Resulting Numbers: [42, 42] Generated Node #0,4,1: 29:[42, 42] Operation: 7+35=42 Exploring Operation: 42-7=35, Resulting Numbers: [35, 35] Generated Node #0,4,2: 29:[35, 35] Operation: 42-7=35 Exploring Operation: 7+42=49, Resulting Numbers: [35, 49] Generated Node #0,4,3: 29:[35, 49] Operation: 7+42=49 Exploring Operation: 35-7=28, Resulting Numbers: [42, 28] Generated Node #0,4,4: 29:[42, 28] Operation: 35-7=28 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 29:[35, 35], Operations: ['61-26=35', '42-7=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,29 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 29:[42, 28], Operations: ['61-26=35', '35-7=28'] Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,29 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 29:[42, 42], Operations: ['61-26=35', '7+35=42'] Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,29 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 29:[35, 49], Operations: ['61-26=35', '7+42=49'] Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,29 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 29:[35, 6], Operations: ['61-26=35', '42/7=6'] Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,29 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,29 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[61, 26, 7, 42], Operations: [] Exploring Operation: 61-26=35, Resulting Numbers: [7, 42, 35] Generated Node #0,4: 29:[7, 42, 35] Operation: 61-26=35 Moving to Node #0,4 Current State: 29:[7, 42, 35], Operations: ['61-26=35'] Exploring Operation: 42/7=6, Resulting Numbers: [35, 6] Generated Node #0,4,0: 29:[35, 6] Operation: 42/7=6 Moving to Node #0,4,0 Current State: 29:[35, 6], Operations: ['61-26=35', '42/7=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.931424
hs_5
sum_heuristic
[ 85, 28, 3, 76 ]
59
[ "76-28=48", "3*48=144", "144-85=59" ]
Current State: 59:[85, 28, 3, 76], Operations: [] Exploring Operation: 76-28=48, Resulting Numbers: [85, 3, 48] Generated Node #2: [85, 3, 48] from Operation: 76-28=48 Current State: 59:[85, 3, 48], Operations: ['76-28=48'] Exploring Operation: 3*48=144, Resulting Numbers: [85, 144] Generated Node #3: [85, 144] from Operation: 3*48=144 Current State: 59:[85, 144], Operations: ['76-28=48', '3*48=144'] Exploring Operation: 144-85=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[85, 28, 3, 76], Operations: [] Exploring Operation: 28*3=84, Resulting Numbers: [85, 76, 84] Generated Node #0,0: 59:[85, 76, 84] Operation: 28*3=84 Exploring Operation: 28+3=31, Resulting Numbers: [85, 76, 31] Generated Node #0,1: 59:[85, 76, 31] Operation: 28+3=31 Exploring Operation: 85-3=82, Resulting Numbers: [28, 76, 82] Generated Node #0,2: 59:[28, 76, 82] Operation: 85-3=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[85, 76, 84], Operations: ['28*3=84'] Exploring Operation: 84-76=8, Resulting Numbers: [85, 8] Generated Node #0,0,0: 59:[85, 8] Operation: 84-76=8 Exploring Operation: 85-84=1, Resulting Numbers: [76, 1] Generated Node #0,0,1: 59:[76, 1] Operation: 85-84=1 Exploring Operation: 85-76=9, Resulting Numbers: [84, 9] Generated Node #0,0,2: 59:[84, 9] Operation: 85-76=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[76, 1], Operations: ['28*3=84', '85-84=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,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:[84, 9], Operations: ['28*3=84', '85-76=9'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,59 unequal: No Solution Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,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,0 Current State: 59:[85, 8], Operations: ['28*3=84', '84-76=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,59 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,59 unequal: No Solution Exploring Operation: 85*8=680, Resulting Numbers: [680] 680,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:[85, 76, 31], Operations: ['28+3=31'] Exploring Operation: 85+31=116, Resulting Numbers: [76, 116] Generated Node #0,1,0: 59:[76, 116] Operation: 85+31=116 Exploring Operation: 85-31=54, Resulting Numbers: [76, 54] Generated Node #0,1,1: 59:[76, 54] Operation: 85-31=54 Exploring Operation: 76-31=45, Resulting Numbers: [85, 45] Generated Node #0,1,2: 59:[85, 45] Operation: 76-31=45 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[76, 54], Operations: ['28+3=31', '85-31=54'] Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,59 unequal: No Solution Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,59 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,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:[85, 45], Operations: ['28+3=31', '76-31=45'] Exploring Operation: 85*45=3825, Resulting Numbers: [3825] 3825,59 unequal: No Solution Exploring Operation: 85+45=130, Resulting Numbers: [130] 130,59 unequal: No Solution Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,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:[76, 116], Operations: ['28+3=31', '85+31=116'] Exploring Operation: 76*116=8816, Resulting Numbers: [8816] 8816,59 unequal: No Solution Exploring Operation: 76+116=192, Resulting Numbers: [192] 192,59 unequal: No Solution Exploring Operation: 116-76=40, Resulting Numbers: [40] 40,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:[28, 76, 82], Operations: ['85-3=82'] Exploring Operation: 28+76=104, Resulting Numbers: [82, 104] Generated Node #0,2,0: 59:[82, 104] Operation: 28+76=104 Exploring Operation: 76-28=48, Resulting Numbers: [82, 48] Generated Node #0,2,1: 59:[82, 48] Operation: 76-28=48 Exploring Operation: 82-28=54, Resulting Numbers: [76, 54] Generated Node #0,2,2: 59:[76, 54] Operation: 82-28=54 Moving to Node #0,2,2 Current State: 59:[76, 54], Operations: ['85-3=82', '82-28=54'] Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,59 unequal: No Solution Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[82, 48], Operations: ['85-3=82', '76-28=48'] Exploring Operation: 82*48=3936, Resulting Numbers: [3936] 3936,59 unequal: No Solution Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 82+48=130, Resulting Numbers: [130] 130,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[82, 104], Operations: ['85-3=82', '28+76=104'] Exploring Operation: 104-82=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 82*104=8528, Resulting Numbers: [8528] 8528,59 unequal: No Solution Exploring Operation: 82+104=186, Resulting Numbers: [186] 186,59 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
[ 87, 66, 75, 43 ]
53
[ "87-66=21", "75-43=32", "21+32=53" ]
Current State: 53:[87, 66, 75, 43], Operations: [] Exploring Operation: 87-66=21, Resulting Numbers: [75, 43, 21] Generated Node #2: [75, 43, 21] from Operation: 87-66=21 Current State: 53:[75, 43, 21], Operations: ['87-66=21'] Exploring Operation: 75-43=32, Resulting Numbers: [21, 32] Generated Node #3: [21, 32] from Operation: 75-43=32 Current State: 53:[21, 32], Operations: ['87-66=21', '75-43=32'] Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[87, 66, 75, 43], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [66, 43, 12] Generated Node #0,0: 53:[66, 43, 12] Operation: 87-75=12 Exploring Operation: 87-66=21, Resulting Numbers: [75, 43, 21] Generated Node #0,1: 53:[75, 43, 21] Operation: 87-66=21 Exploring Operation: 75-43=32, Resulting Numbers: [87, 66, 32] Generated Node #0,2: 53:[87, 66, 32] Operation: 75-43=32 Exploring Operation: 87-43=44, Resulting Numbers: [66, 75, 44] Generated Node #0,3: 53:[66, 75, 44] Operation: 87-43=44 Moving to Node #0,3 Current State: 53:[66, 75, 44], Operations: ['87-43=44'] Exploring Operation: 75-66=9, Resulting Numbers: [44, 9] Generated Node #0,3,0: 53:[44, 9] Operation: 75-66=9 Exploring Operation: 66+44=110, Resulting Numbers: [75, 110] Generated Node #0,3,1: 53:[75, 110] Operation: 66+44=110 Exploring Operation: 66-44=22, Resulting Numbers: [75, 22] Generated Node #0,3,2: 53:[75, 22] Operation: 66-44=22 Exploring Operation: 75-44=31, Resulting Numbers: [66, 31] Generated Node #0,3,3: 53:[66, 31] Operation: 75-44=31 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[66, 31], Operations: ['87-43=44', '75-44=31'] Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 66*31=2046, Resulting Numbers: [2046] 2046,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[44, 9], Operations: ['87-43=44', '75-66=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[87, 66, 75, 43], Operations: [] Exploring Operation: 87-43=44, Resulting Numbers: [66, 75, 44] Generated Node #0,3: 53:[66, 75, 44] Operation: 87-43=44 Moving to Node #0,3 Current State: 53:[66, 75, 44], Operations: ['87-43=44'] Exploring Operation: 75-66=9, Resulting Numbers: [44, 9] Generated Node #0,3,0: 53:[44, 9] Operation: 75-66=9 Moving to Node #0,3,0 Current State: 53:[44, 9], Operations: ['87-43=44', '75-66=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 26, 32, 66, 68 ]
19
[ "68-66=2", "26/2=13", "32-13=19" ]
Current State: 19:[26, 32, 66, 68], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [26, 32, 2] Generated Node #2: [26, 32, 2] from Operation: 68-66=2 Current State: 19:[26, 32, 2], Operations: ['68-66=2'] Exploring Operation: 26/2=13, Resulting Numbers: [32, 13] Generated Node #3: [32, 13] from Operation: 26/2=13 Current State: 19:[32, 13], Operations: ['68-66=2', '26/2=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[26, 32, 66, 68], Operations: [] Exploring Operation: 66-26=40, Resulting Numbers: [32, 68, 40] Generated Node #0,0: 19:[32, 68, 40] Operation: 66-26=40 Exploring Operation: 68-32=36, Resulting Numbers: [26, 66, 36] Generated Node #0,1: 19:[26, 66, 36] Operation: 68-32=36 Exploring Operation: 66-32=34, Resulting Numbers: [26, 68, 34] Generated Node #0,2: 19:[26, 68, 34] Operation: 66-32=34 Exploring Operation: 68-26=42, Resulting Numbers: [32, 66, 42] Generated Node #0,3: 19:[32, 66, 42] Operation: 68-26=42 Exploring Operation: 68-66=2, Resulting Numbers: [26, 32, 2] Generated Node #0,4: 19:[26, 32, 2] Operation: 68-66=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 19:[26, 32, 2], Operations: ['68-66=2'] Exploring Operation: 32/2=16, Resulting Numbers: [26, 16] Generated Node #0,4,0: 19:[26, 16] Operation: 32/2=16 Exploring Operation: 32-2=30, Resulting Numbers: [26, 30] Generated Node #0,4,1: 19:[26, 30] Operation: 32-2=30 Exploring Operation: 26/2=13, Resulting Numbers: [32, 13] Generated Node #0,4,2: 19:[32, 13] Operation: 26/2=13 Exploring Operation: 26+2=28, Resulting Numbers: [32, 28] Generated Node #0,4,3: 19:[32, 28] Operation: 26+2=28 Exploring Operation: 26-2=24, Resulting Numbers: [32, 24] Generated Node #0,4,4: 19:[32, 24] Operation: 26-2=24 Moving to Node #0,4,0 Current State: 19:[26, 16], Operations: ['68-66=2', '32/2=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,19 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,19 unequal: No Solution Moving to Node #0,4,4 Current State: 19:[32, 24], Operations: ['68-66=2', '26-2=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,19 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,19 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,4,1 Current State: 19:[26, 30], Operations: ['68-66=2', '32-2=30'] Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,19 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,19 unequal: No Solution Moving to Node #0,4,2 Current State: 19:[32, 13], Operations: ['68-66=2', '26/2=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[26, 32, 66, 68], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [26, 32, 2] Generated Node #0,4: 19:[26, 32, 2] Operation: 68-66=2 Moving to Node #0,4 Current State: 19:[26, 32, 2], Operations: ['68-66=2'] Exploring Operation: 26/2=13, Resulting Numbers: [32, 13] Generated Node #0,4,2: 19:[32, 13] Operation: 26/2=13 Moving to Node #0,4,2 Current State: 19:[32, 13], Operations: ['68-66=2', '26/2=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
sum_heuristic
[ 69, 11, 76, 4 ]
56
[ "69+11=80", "80/4=20", "76-20=56" ]
Current State: 56:[69, 11, 76, 4], Operations: [] Exploring Operation: 69+11=80, Resulting Numbers: [76, 4, 80] Generated Node #2: [76, 4, 80] from Operation: 69+11=80 Current State: 56:[76, 4, 80], Operations: ['69+11=80'] Exploring Operation: 80/4=20, Resulting Numbers: [76, 20] Generated Node #3: [76, 20] from Operation: 80/4=20 Current State: 56:[76, 20], Operations: ['69+11=80', '80/4=20'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[69, 11, 76, 4], Operations: [] Exploring Operation: 76-11=65, Resulting Numbers: [69, 4, 65] Generated Node #0,0: 56:[69, 4, 65] Operation: 76-11=65 Exploring Operation: 69-11=58, Resulting Numbers: [76, 4, 58] Generated Node #0,1: 56:[76, 4, 58] Operation: 69-11=58 Exploring Operation: 76/4=19, Resulting Numbers: [69, 11, 19] Generated Node #0,2: 56:[69, 11, 19] Operation: 76/4=19 Exploring Operation: 69-4=65, Resulting Numbers: [11, 76, 65] Generated Node #0,3: 56:[11, 76, 65] Operation: 69-4=65 Exploring Operation: 76-69=7, Resulting Numbers: [11, 4, 7] Generated Node #0,4: 56:[11, 4, 7] Operation: 76-69=7 Moving to Node #0,4 Current State: 56:[11, 4, 7], Operations: ['76-69=7'] Exploring Operation: 11+4=15, Resulting Numbers: [7, 15] Generated Node #0,4,0: 56:[7, 15] Operation: 11+4=15 Exploring Operation: 11-7=4, Resulting Numbers: [4, 4] Generated Node #0,4,1: 56:[4, 4] Operation: 11-7=4 Exploring Operation: 11+7=18, Resulting Numbers: [4, 18] Generated Node #0,4,2: 56:[4, 18] Operation: 11+7=18 Exploring Operation: 4*7=28, Resulting Numbers: [11, 28] Generated Node #0,4,3: 56:[11, 28] Operation: 4*7=28 Exploring Operation: 11-4=7, Resulting Numbers: [7, 7] Generated Node #0,4,4: 56:[7, 7] Operation: 11-4=7 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 56:[4, 4], Operations: ['76-69=7', '11-7=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,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,4,4 Current State: 56:[7, 7], Operations: ['76-69=7', '11-4=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 7+7=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,4,0 Current State: 56:[7, 15], Operations: ['76-69=7', '11+4=15'] Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,56 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,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,4,3 Current State: 56:[11, 28], Operations: ['76-69=7', '4*7=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,56 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,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,4,2 Current State: 56:[4, 18], Operations: ['76-69=7', '11+7=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 18-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 Moving to Node #0,2 Current State: 56:[69, 11, 19], Operations: ['76/4=19'] Exploring Operation: 19-11=8, Resulting Numbers: [69, 8] Generated Node #0,2,0: 56:[69, 8] Operation: 19-11=8 Exploring Operation: 11+19=30, Resulting Numbers: [69, 30] Generated Node #0,2,1: 56:[69, 30] Operation: 11+19=30 Exploring Operation: 69-19=50, Resulting Numbers: [11, 50] Generated Node #0,2,2: 56:[11, 50] Operation: 69-19=50 Exploring Operation: 69+11=80, Resulting Numbers: [19, 80] Generated Node #0,2,3: 56:[19, 80] Operation: 69+11=80 Exploring Operation: 69-11=58, Resulting Numbers: [19, 58] Generated Node #0,2,4: 56:[19, 58] Operation: 69-11=58 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 56:[19, 58], Operations: ['76/4=19', '69-11=58'] Exploring Operation: 19*58=1102, Resulting Numbers: [1102] 1102,56 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 19+58=77, Resulting Numbers: [77] 77,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[11, 50], Operations: ['76/4=19', '69-19=50'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 11*50=550, Resulting Numbers: [550] 550,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[69, 8], Operations: ['76/4=19', '19-11=8'] Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,56 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[69, 30], Operations: ['76/4=19', '11+19=30'] Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,56 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[19, 80], Operations: ['76/4=19', '69+11=80'] Exploring Operation: 19+80=99, Resulting Numbers: [99] 99,56 unequal: No Solution Exploring Operation: 19*80=1520, Resulting Numbers: [1520] 1520,56 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,56 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: 56:[69, 4, 65], Operations: ['76-11=65'] Exploring Operation: 4+65=69, Resulting Numbers: [69, 69] Generated Node #0,0,0: 56:[69, 69] Operation: 4+65=69 Exploring Operation: 69-4=65, Resulting Numbers: [65, 65] Generated Node #0,0,1: 56:[65, 65] Operation: 69-4=65 Exploring Operation: 69-65=4, Resulting Numbers: [4, 4] Generated Node #0,0,2: 56:[4, 4] Operation: 69-65=4 Exploring Operation: 65-4=61, Resulting Numbers: [69, 61] Generated Node #0,0,3: 56:[69, 61] Operation: 65-4=61 Exploring Operation: 69+4=73, Resulting Numbers: [65, 73] Generated Node #0,0,4: 56:[65, 73] Operation: 69+4=73 Moving to Node #0,1 Current State: 56:[76, 4, 58], Operations: ['69-11=58'] Exploring Operation: 76-58=18, Resulting Numbers: [4, 18] Generated Node #0,1,0: 56:[4, 18] Operation: 76-58=18 Exploring Operation: 76+4=80, Resulting Numbers: [58, 80] Generated Node #0,1,1: 56:[58, 80] Operation: 76+4=80 Exploring Operation: 58-4=54, Resulting Numbers: [76, 54] Generated Node #0,1,2: 56:[76, 54] Operation: 58-4=54 Exploring Operation: 76/4=19, Resulting Numbers: [58, 19] Generated Node #0,1,3: 56:[58, 19] Operation: 76/4=19 Exploring Operation: 76-4=72, Resulting Numbers: [58, 72] Generated Node #0,1,4: 56:[58, 72] Operation: 76-4=72 Moving to Node #0,3 Current State: 56:[11, 76, 65], Operations: ['69-4=65'] Exploring Operation: 11+76=87, Resulting Numbers: [65, 87] Generated Node #0,3,0: 56:[65, 87] Operation: 11+76=87 Exploring Operation: 76-65=11, Resulting Numbers: [11, 11] Generated Node #0,3,1: 56:[11, 11] Operation: 76-65=11 Exploring Operation: 76-11=65, Resulting Numbers: [65, 65] Generated Node #0,3,2: 56:[65, 65] Operation: 76-11=65 Exploring Operation: 65-11=54, Resulting Numbers: [76, 54] Generated Node #0,3,3: 56:[76, 54] Operation: 65-11=54 Exploring Operation: 11+65=76, Resulting Numbers: [76, 76] Generated Node #0,3,4: 56:[76, 76] Operation: 11+65=76 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[11, 11], Operations: ['69-4=65', '76-65=11'] Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 11*11=121, Resulting Numbers: [121] 121,56 unequal: No Solution Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,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,3,2 Current State: 56:[65, 65], Operations: ['69-4=65', '76-11=65'] Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,56 unequal: No Solution Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,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,3,3 Current State: 56:[76, 54], Operations: ['69-4=65', '65-11=54'] Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,56 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,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,3,0 Current State: 56:[65, 87], Operations: ['69-4=65', '11+76=87'] Exploring Operation: 87-65=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 65+87=152, Resulting Numbers: [152] 152,56 unequal: No Solution Exploring Operation: 65*87=5655, Resulting Numbers: [5655] 5655,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,3,4 Current State: 56:[76, 76], Operations: ['69-4=65', '11+65=76'] Exploring Operation: 76-76=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 76+76=152, Resulting Numbers: [152] 152,56 unequal: No Solution Exploring Operation: 76/76=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 76*76=5776, Resulting Numbers: [5776] 5776,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 56:[4, 4], Operations: ['76-11=65', '69-65=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[4, 18], Operations: ['69-11=58', '76-58=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[58, 19], Operations: ['69-11=58', '76/4=19'] Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[69, 61], Operations: ['76-11=65', '65-4=61'] Exploring Operation: 69*61=4209, Resulting Numbers: [4209] 4209,56 unequal: No Solution Exploring Operation: 69+61=130, Resulting Numbers: [130] 130,56 unequal: No Solution Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[65, 65], Operations: ['76-11=65', '69-4=65'] Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,56 unequal: No Solution Exploring Operation: 65*65=4225, Resulting Numbers: [4225] 4225,56 unequal: No Solution Moving to Node #0,1,4 Current State: 56:[58, 72], Operations: ['69-11=58', '76-4=72'] Exploring Operation: 58*72=4176, Resulting Numbers: [4176] 4176,56 unequal: No Solution Exploring Operation: 58+72=130, Resulting Numbers: [130] 130,56 unequal: No Solution Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[76, 54], Operations: ['69-11=58', '58-4=54'] Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,56 unequal: No Solution Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,56 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[69, 69], Operations: ['76-11=65', '4+65=69'] Exploring Operation: 69+69=138, Resulting Numbers: [138] 138,56 unequal: No Solution Exploring Operation: 69-69=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 69*69=4761, Resulting Numbers: [4761] 4761,56 unequal: No Solution Exploring Operation: 69/69=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[65, 73], Operations: ['76-11=65', '69+4=73'] Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,56 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[58, 80], Operations: ['69-11=58', '76+4=80'] Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,56 unequal: No Solution Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,56 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,56 unequal: No Solution No solution found.
0
hs_5
sum_heuristic