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 |
|---|---|---|---|---|---|---|---|---|
[
96,
40,
76,
90
] | 88 | [
"96-76=20",
"40/20=2",
"90-2=88"
] | Current State: 88:[96, 40, 76, 90], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [40, 90, 20]
Generated Node #2: [40, 90, 20] from Operation: 96-76=20
Current State: 88:[40, 90, 20], Operations: ['96-76=20']
Exploring Operation: 40/20=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 40/20=2
Current State: 88:[90, 2], Operations: ['96-76=20', '40/20=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[96, 40, 76, 90], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [40, 90, 20]
Generated Node #0,0: 88:[40, 90, 20] Operation: 96-76=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[40, 90, 20], Operations: ['96-76=20']
Exploring Operation: 40/20=2, Resulting Numbers: [90, 2]
Generated Node #0,0,0: 88:[90, 2] Operation: 40/20=2
Moving to Node #0,0,0
Current State: 88:[90, 2], Operations: ['96-76=20', '40/20=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[96, 40, 76, 90], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [40, 90, 20]
Generated Node #0,0: 88:[40, 90, 20] Operation: 96-76=20
Moving to Node #0,0
Current State: 88:[40, 90, 20], Operations: ['96-76=20']
Exploring Operation: 40/20=2, Resulting Numbers: [90, 2]
Generated Node #0,0,0: 88:[90, 2] Operation: 40/20=2
Moving to Node #0,0,0
Current State: 88:[90, 2], Operations: ['96-76=20', '40/20=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
91,
7,
27,
36
] | 35 | [
"91+7=98",
"27+36=63",
"98-63=35"
] | Current State: 35:[91, 7, 27, 36], Operations: []
Exploring Operation: 91+7=98, Resulting Numbers: [27, 36, 98]
Generated Node #2: [27, 36, 98] from Operation: 91+7=98
Current State: 35:[27, 36, 98], Operations: ['91+7=98']
Exploring Operation: 27+36=63, Resulting Numbers: [98, 63]
Generated Node #3: [98, 63] from Operation: 27+36=63
Current State: 35:[98, 63], Operations: ['91+7=98', '27+36=63']
Exploring Operation: 98-63=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[91, 7, 27, 36], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [27, 36, 13]
Generated Node #0,0: 35:[27, 36, 13] Operation: 91/7=13
Moving to Node #0,0
Current State: 35:[27, 36, 13], Operations: ['91/7=13']
Exploring Operation: 27+13=40, Resulting Numbers: [36, 40]
Generated Node #0,0,0: 35:[36, 40] Operation: 27+13=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[36, 40], Operations: ['91/7=13', '27+13=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,35 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 |
[
60,
61,
6,
64
] | 69 | [
"61-60=1",
"6+64=70",
"70-1=69"
] | Current State: 69:[60, 61, 6, 64], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [6, 64, 1]
Generated Node #2: [6, 64, 1] from Operation: 61-60=1
Current State: 69:[6, 64, 1], Operations: ['61-60=1']
Exploring Operation: 6+64=70, Resulting Numbers: [1, 70]
Generated Node #3: [1, 70] from Operation: 6+64=70
Current State: 69:[1, 70], Operations: ['61-60=1', '6+64=70']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[60, 61, 6, 64], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [6, 64, 1]
Generated Node #0,0: 69:[6, 64, 1] Operation: 61-60=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[6, 64, 1], Operations: ['61-60=1']
Exploring Operation: 6+64=70, Resulting Numbers: [1, 70]
Generated Node #0,0,0: 69:[1, 70] Operation: 6+64=70
Moving to Node #0,0,0
Current State: 69:[1, 70], Operations: ['61-60=1', '6+64=70']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[60, 61, 6, 64], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [6, 64, 1]
Generated Node #0,0: 69:[6, 64, 1] Operation: 61-60=1
Moving to Node #0,0
Current State: 69:[6, 64, 1], Operations: ['61-60=1']
Exploring Operation: 6+64=70, Resulting Numbers: [1, 70]
Generated Node #0,0,0: 69:[1, 70] Operation: 6+64=70
Moving to Node #0,0,0
Current State: 69:[1, 70], Operations: ['61-60=1', '6+64=70']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
2,
24,
22,
80
] | 30 | [
"24+80=104",
"104/2=52",
"52-22=30"
] | Current State: 30:[2, 24, 22, 80], Operations: []
Exploring Operation: 24+80=104, Resulting Numbers: [2, 22, 104]
Generated Node #2: [2, 22, 104] from Operation: 24+80=104
Current State: 30:[2, 22, 104], Operations: ['24+80=104']
Exploring Operation: 104/2=52, Resulting Numbers: [22, 52]
Generated Node #3: [22, 52] from Operation: 104/2=52
Current State: 30:[22, 52], Operations: ['24+80=104', '104/2=52']
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[2, 24, 22, 80], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [24, 22, 40]
Generated Node #0,0: 30:[24, 22, 40] Operation: 80/2=40
Moving to Node #0,0
Current State: 30:[24, 22, 40], Operations: ['80/2=40']
Exploring Operation: 40-24=16, Resulting Numbers: [22, 16]
Generated Node #0,0,0: 30:[22, 16] Operation: 40-24=16
Moving to Node #0,0,0
Current State: 30:[22, 16], Operations: ['80/2=40', '40-24=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,30 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
69,
64,
78
] | 98 | [
"78-69=9",
"18*9=162",
"162-64=98"
] | Current State: 98:[18, 69, 64, 78], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [18, 64, 9]
Generated Node #2: [18, 64, 9] from Operation: 78-69=9
Current State: 98:[18, 64, 9], Operations: ['78-69=9']
Exploring Operation: 18*9=162, Resulting Numbers: [64, 162]
Generated Node #3: [64, 162] from Operation: 18*9=162
Current State: 98:[64, 162], Operations: ['78-69=9', '18*9=162']
Exploring Operation: 162-64=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[18, 69, 64, 78], Operations: []
Exploring Operation: 69-18=51, Resulting Numbers: [64, 78, 51]
Generated Node #0,0: 98:[64, 78, 51] Operation: 69-18=51
Exploring Operation: 78-69=9, Resulting Numbers: [18, 64, 9]
Generated Node #0,1: 98:[18, 64, 9] Operation: 78-69=9
Exploring Operation: 69-64=5, Resulting Numbers: [18, 78, 5]
Generated Node #0,2: 98:[18, 78, 5] Operation: 69-64=5
Exploring Operation: 18+78=96, Resulting Numbers: [69, 64, 96]
Generated Node #0,3: 98:[69, 64, 96] Operation: 18+78=96
Exploring Operation: 78-64=14, Resulting Numbers: [18, 69, 14]
Generated Node #0,4: 98:[18, 69, 14] Operation: 78-64=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[18, 64, 9], Operations: ['78-69=9']
Exploring Operation: 64-18=46, Resulting Numbers: [9, 46]
Generated Node #0,1,0: 98:[9, 46] Operation: 64-18=46
Exploring Operation: 18+64=82, Resulting Numbers: [9, 82]
Generated Node #0,1,1: 98:[9, 82] Operation: 18+64=82
Exploring Operation: 64-9=55, Resulting Numbers: [18, 55]
Generated Node #0,1,2: 98:[18, 55] Operation: 64-9=55
Exploring Operation: 18-9=9, Resulting Numbers: [64, 9]
Generated Node #0,1,3: 98:[64, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [64, 2]
Generated Node #0,1,4: 98:[64, 2] Operation: 18/9=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[9, 46], Operations: ['78-69=9', '64-18=46']
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,98 unequal: No Solution
No 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: 98:[18, 55], Operations: ['78-69=9', '64-9=55']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 98:[64, 2], Operations: ['78-69=9', '18/9=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,98 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,98 unequal: No Solution
No 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: 98:[64, 9], Operations: ['78-69=9', '18-9=9']
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,98 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No 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: 98:[9, 82], Operations: ['78-69=9', '18+64=82']
Exploring Operation: 9*82=738, Resulting Numbers: [738]
738,98 unequal: No Solution
Exploring Operation: 9+82=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,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
Start Sub Search at level 1: Moving to Node #0,4
Current State: 98:[18, 69, 14], Operations: ['78-64=14']
Exploring Operation: 18-14=4, Resulting Numbers: [69, 4]
Generated Node #0,4,0: 98:[69, 4] Operation: 18-14=4
Exploring Operation: 69-14=55, Resulting Numbers: [18, 55]
Generated Node #0,4,1: 98:[18, 55] Operation: 69-14=55
Exploring Operation: 69+14=83, Resulting Numbers: [18, 83]
Generated Node #0,4,2: 98:[18, 83] Operation: 69+14=83
Exploring Operation: 18+69=87, Resulting Numbers: [14, 87]
Generated Node #0,4,3: 98:[14, 87] Operation: 18+69=87
Exploring Operation: 69-18=51, Resulting Numbers: [14, 51]
Generated Node #0,4,4: 98:[14, 51] Operation: 69-18=51
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 98:[14, 51], Operations: ['78-64=14', '69-18=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 98:[18, 55], Operations: ['78-64=14', '69-14=55']
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 98:[14, 87], Operations: ['78-64=14', '18+69=87']
Exploring Operation: 14*87=1218, Resulting Numbers: [1218]
1218,98 unequal: No Solution
Exploring Operation: 14+87=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 98:[18, 83], Operations: ['78-64=14', '69+14=83']
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 18+83=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 18*83=1494, Resulting Numbers: [1494]
1494,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 98:[69, 4], Operations: ['78-64=14', '18-14=4']
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,98 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 69*4=276, Resulting Numbers: [276]
276,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[18, 78, 5], Operations: ['69-64=5']
Exploring Operation: 18+78=96, Resulting Numbers: [5, 96]
Generated Node #0,2,0: 98:[5, 96] Operation: 18+78=96
Exploring Operation: 18*5=90, Resulting Numbers: [78, 90]
Generated Node #0,2,1: 98:[78, 90] Operation: 18*5=90
Exploring Operation: 18-5=13, Resulting Numbers: [78, 13]
Generated Node #0,2,2: 98:[78, 13] Operation: 18-5=13
Exploring Operation: 78-18=60, Resulting Numbers: [5, 60]
Generated Node #0,2,3: 98:[5, 60] Operation: 78-18=60
Exploring Operation: 78+5=83, Resulting Numbers: [18, 83]
Generated Node #0,2,4: 98:[18, 83] Operation: 78+5=83
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[5, 96], Operations: ['69-64=5', '18+78=96']
Exploring Operation: 5+96=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 5*96=480, Resulting Numbers: [480]
480,98 unequal: No Solution
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,98 unequal: No Solution
No 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: 98:[5, 60], Operations: ['69-64=5', '78-18=60']
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,98 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No 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: 98:[18, 83], Operations: ['69-64=5', '78+5=83']
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 18*83=1494, Resulting Numbers: [1494]
1494,98 unequal: No Solution
Exploring Operation: 18+83=101, Resulting Numbers: [101]
101,98 unequal: No Solution
No 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: 98:[78, 13], Operations: ['69-64=5', '18-5=13']
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,98 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,98 unequal: No Solution
No 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: 98:[78, 90], Operations: ['69-64=5', '18*5=90']
Exploring Operation: 78+90=168, Resulting Numbers: [168]
168,98 unequal: No Solution
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 78*90=7020, Resulting Numbers: [7020]
7020,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[64, 78, 51], Operations: ['69-18=51']
Exploring Operation: 64+51=115, Resulting Numbers: [78, 115]
Generated Node #0,0,0: 98:[78, 115] Operation: 64+51=115
Exploring Operation: 64-51=13, Resulting Numbers: [78, 13]
Generated Node #0,0,1: 98:[78, 13] Operation: 64-51=13
Exploring Operation: 78-64=14, Resulting Numbers: [51, 14]
Generated Node #0,0,2: 98:[51, 14] Operation: 78-64=14
Exploring Operation: 78-51=27, Resulting Numbers: [64, 27]
Generated Node #0,0,3: 98:[64, 27] Operation: 78-51=27
Exploring Operation: 64+78=142, Resulting Numbers: [51, 142]
Generated Node #0,0,4: 98:[51, 142] Operation: 64+78=142
Moving to Node #0,0,2
Current State: 98:[51, 14], Operations: ['69-18=51', '78-64=14']
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[78, 13], Operations: ['69-18=51', '64-51=13']
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,98 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[64, 27], Operations: ['69-18=51', '78-51=27']
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[78, 115], Operations: ['69-18=51', '64+51=115']
Exploring Operation: 78+115=193, Resulting Numbers: [193]
193,98 unequal: No Solution
Exploring Operation: 78*115=8970, Resulting Numbers: [8970]
8970,98 unequal: No Solution
Exploring Operation: 115-78=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[51, 142], Operations: ['69-18=51', '64+78=142']
Exploring Operation: 142-51=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 51+142=193, Resulting Numbers: [193]
193,98 unequal: No Solution
Exploring Operation: 51*142=7242, Resulting Numbers: [7242]
7242,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,3
Current State: 98:[69, 64, 96], Operations: ['18+78=96']
Exploring Operation: 96-64=32, Resulting Numbers: [69, 32]
Generated Node #0,3,0: 98:[69, 32] Operation: 96-64=32
Exploring Operation: 69-64=5, Resulting Numbers: [96, 5]
Generated Node #0,3,1: 98:[96, 5] Operation: 69-64=5
Exploring Operation: 69+64=133, Resulting Numbers: [96, 133]
Generated Node #0,3,2: 98:[96, 133] Operation: 69+64=133
Exploring Operation: 96-69=27, Resulting Numbers: [64, 27]
Generated Node #0,3,3: 98:[64, 27] Operation: 96-69=27
Exploring Operation: 69+96=165, Resulting Numbers: [64, 165]
Generated Node #0,3,4: 98:[64, 165] Operation: 69+96=165
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 98:[96, 5], Operations: ['18+78=96', '69-64=5']
Exploring Operation: 96*5=480, Resulting Numbers: [480]
480,98 unequal: No Solution
Exploring Operation: 96+5=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,98 unequal: No Solution
No 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: 98:[64, 27], Operations: ['18+78=96', '96-69=27']
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,98 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,98 unequal: No Solution
No 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: 98:[69, 32], Operations: ['18+78=96', '96-64=32']
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 98:[96, 133], Operations: ['18+78=96', '69+64=133']
Exploring Operation: 96+133=229, Resulting Numbers: [229]
229,98 unequal: No Solution
Exploring Operation: 133-96=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 96*133=12768, Resulting Numbers: [12768]
12768,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 98:[64, 165], Operations: ['18+78=96', '69+96=165']
Exploring Operation: 165-64=101, Resulting Numbers: [101]
101,98 unequal: No Solution
Exploring Operation: 64*165=10560, Resulting Numbers: [10560]
10560,98 unequal: No Solution
Exploring Operation: 64+165=229, Resulting Numbers: [229]
229,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_5 | sum_heuristic |
[
73,
84,
51,
11
] | 29 | [
"84-73=11",
"51-11=40",
"40-11=29"
] | Current State: 29:[73, 84, 51, 11], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [51, 11, 11]
Generated Node #2: [51, 11, 11] from Operation: 84-73=11
Current State: 29:[51, 11, 11], Operations: ['84-73=11']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,29 equal: Goal Reached
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[73, 84, 51, 11], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [51, 11, 11]
Generated Node #0,0: 29:[51, 11, 11] Operation: 84-73=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[51, 11, 11], Operations: ['84-73=11']
Exploring Operation: 51-11=40, Resulting Numbers: [11, 40]
Generated Node #0,0,0: 29:[11, 40] Operation: 51-11=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[11, 40], Operations: ['84-73=11', '51-11=40']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[73, 84, 51, 11], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [51, 11, 11]
Generated Node #0,0: 29:[51, 11, 11] Operation: 84-73=11
Moving to Node #0,0
Current State: 29:[51, 11, 11], Operations: ['84-73=11']
Exploring Operation: 51-11=40, Resulting Numbers: [11, 40]
Generated Node #0,0,0: 29:[11, 40] Operation: 51-11=40
Moving to Node #0,0,0
Current State: 29:[11, 40], Operations: ['84-73=11', '51-11=40']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
73,
45,
29,
50
] | 50 | [
"73-45=28",
"29-28=1",
"50*1=50"
] | Current State: 50:[73, 45, 29, 50], Operations: []
Exploring Operation: 73-45=28, Resulting Numbers: [29, 50, 28]
Generated Node #2: [29, 50, 28] from Operation: 73-45=28
Current State: 50:[29, 50, 28], Operations: ['73-45=28']
Exploring Operation: 29-28=1, Resulting Numbers: [50, 1]
Generated Node #3: [50, 1] from Operation: 29-28=1
Current State: 50:[50, 1], Operations: ['73-45=28', '29-28=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[73, 45, 29, 50], Operations: []
Exploring Operation: 73-50=23, Resulting Numbers: [45, 29, 23]
Generated Node #0,0: 50:[45, 29, 23] Operation: 73-50=23
Exploring Operation: 73-29=44, Resulting Numbers: [45, 50, 44]
Generated Node #0,1: 50:[45, 50, 44] Operation: 73-29=44
Exploring Operation: 73-45=28, Resulting Numbers: [29, 50, 28]
Generated Node #0,2: 50:[29, 50, 28] Operation: 73-45=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[29, 50, 28], Operations: ['73-45=28']
Exploring Operation: 29+28=57, Resulting Numbers: [50, 57]
Generated Node #0,2,0: 50:[50, 57] Operation: 29+28=57
Exploring Operation: 29-28=1, Resulting Numbers: [50, 1]
Generated Node #0,2,1: 50:[50, 1] Operation: 29-28=1
Exploring Operation: 50-29=21, Resulting Numbers: [28, 21]
Generated Node #0,2,2: 50:[28, 21] Operation: 50-29=21
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 50:[50, 1], Operations: ['73-45=28', '29-28=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[73, 45, 29, 50], Operations: []
Exploring Operation: 73-45=28, Resulting Numbers: [29, 50, 28]
Generated Node #0,2: 50:[29, 50, 28] Operation: 73-45=28
Moving to Node #0,2
Current State: 50:[29, 50, 28], Operations: ['73-45=28']
Exploring Operation: 29-28=1, Resulting Numbers: [50, 1]
Generated Node #0,2,1: 50:[50, 1] Operation: 29-28=1
Moving to Node #0,2,1
Current State: 50:[50, 1], Operations: ['73-45=28', '29-28=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
14,
61,
5,
97
] | 88 | [
"14*5=70",
"61+97=158",
"158-70=88"
] | Current State: 88:[14, 61, 5, 97], Operations: []
Exploring Operation: 14*5=70, Resulting Numbers: [61, 97, 70]
Generated Node #2: [61, 97, 70] from Operation: 14*5=70
Current State: 88:[61, 97, 70], Operations: ['14*5=70']
Exploring Operation: 61+97=158, Resulting Numbers: [70, 158]
Generated Node #3: [70, 158] from Operation: 61+97=158
Current State: 88:[70, 158], Operations: ['14*5=70', '61+97=158']
Exploring Operation: 158-70=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[14, 61, 5, 97], Operations: []
Exploring Operation: 61-14=47, Resulting Numbers: [5, 97, 47]
Generated Node #0,0: 88:[5, 97, 47] Operation: 61-14=47
Exploring Operation: 97-61=36, Resulting Numbers: [14, 5, 36]
Generated Node #0,1: 88:[14, 5, 36] Operation: 97-61=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[14, 5, 36], Operations: ['97-61=36']
Exploring Operation: 5+36=41, Resulting Numbers: [14, 41]
Generated Node #0,1,0: 88:[14, 41] Operation: 5+36=41
Exploring Operation: 36-14=22, Resulting Numbers: [5, 22]
Generated Node #0,1,1: 88:[5, 22] Operation: 36-14=22
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[5, 22], Operations: ['97-61=36', '36-14=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[14, 41], Operations: ['97-61=36', '5+36=41']
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[5, 97, 47], Operations: ['61-14=47']
Exploring Operation: 97-47=50, Resulting Numbers: [5, 50]
Generated Node #0,0,0: 88:[5, 50] Operation: 97-47=50
Exploring Operation: 97-5=92, Resulting Numbers: [47, 92]
Generated Node #0,0,1: 88:[47, 92] Operation: 97-5=92
Moving to Node #0,0,0
Current State: 88:[5, 50], Operations: ['61-14=47', '97-47=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[47, 92], Operations: ['61-14=47', '97-5=92']
Exploring Operation: 47+92=139, Resulting Numbers: [139]
139,88 unequal: No Solution
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,88 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 |
[
44,
18,
41,
93
] | 26 | [
"44-18=26",
"93-41=52",
"52-26=26"
] | Current State: 26:[44, 18, 41, 93], Operations: []
Exploring Operation: 44-18=26, Resulting Numbers: [41, 93, 26]
Generated Node #2: [41, 93, 26] from Operation: 44-18=26
Current State: 26:[41, 93, 26], Operations: ['44-18=26']
Exploring Operation: 93-41=52, Resulting Numbers: [26, 52]
Generated Node #3: [26, 52] from Operation: 93-41=52
Current State: 26:[26, 52], Operations: ['44-18=26', '93-41=52']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[44, 18, 41, 93], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [18, 41, 49]
Generated Node #0,0: 26:[18, 41, 49] Operation: 93-44=49
Exploring Operation: 93-41=52, Resulting Numbers: [44, 18, 52]
Generated Node #0,1: 26:[44, 18, 52] Operation: 93-41=52
Moving to Node #0,0
Current State: 26:[18, 41, 49], Operations: ['93-44=49']
Exploring Operation: 49-18=31, Resulting Numbers: [41, 31]
Generated Node #0,0,0: 26:[41, 31] Operation: 49-18=31
Exploring Operation: 49-41=8, Resulting Numbers: [18, 8]
Generated Node #0,0,1: 26:[18, 8] Operation: 49-41=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[18, 8], Operations: ['93-44=49', '49-41=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[44, 18, 41, 93], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [18, 41, 49]
Generated Node #0,0: 26:[18, 41, 49] Operation: 93-44=49
Moving to Node #0,0
Current State: 26:[18, 41, 49], Operations: ['93-44=49']
Exploring Operation: 49-41=8, Resulting Numbers: [18, 8]
Generated Node #0,0,1: 26:[18, 8] Operation: 49-41=8
Moving to Node #0,0,1
Current State: 26:[18, 8], Operations: ['93-44=49', '49-41=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
9,
28,
55,
7
] | 68 | [
"9+55=64",
"28/7=4",
"64+4=68"
] | Current State: 68:[9, 28, 55, 7], Operations: []
Exploring Operation: 9+55=64, Resulting Numbers: [28, 7, 64]
Generated Node #2: [28, 7, 64] from Operation: 9+55=64
Current State: 68:[28, 7, 64], Operations: ['9+55=64']
Exploring Operation: 28/7=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 28/7=4
Current State: 68:[64, 4], Operations: ['9+55=64', '28/7=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[9, 28, 55, 7], Operations: []
Exploring Operation: 55-28=27, Resulting Numbers: [9, 7, 27]
Generated Node #0,0: 68:[9, 7, 27] Operation: 55-28=27
Exploring Operation: 9+55=64, Resulting Numbers: [28, 7, 64]
Generated Node #0,1: 68:[28, 7, 64] Operation: 9+55=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[28, 7, 64], Operations: ['9+55=64']
Exploring Operation: 28/7=4, Resulting Numbers: [64, 4]
Generated Node #0,1,0: 68:[64, 4] Operation: 28/7=4
Exploring Operation: 28+7=35, Resulting Numbers: [64, 35]
Generated Node #0,1,1: 68:[64, 35] Operation: 28+7=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[64, 4], Operations: ['9+55=64', '28/7=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[9, 28, 55, 7], Operations: []
Exploring Operation: 9+55=64, Resulting Numbers: [28, 7, 64]
Generated Node #0,1: 68:[28, 7, 64] Operation: 9+55=64
Moving to Node #0,1
Current State: 68:[28, 7, 64], Operations: ['9+55=64']
Exploring Operation: 28/7=4, Resulting Numbers: [64, 4]
Generated Node #0,1,0: 68:[64, 4] Operation: 28/7=4
Moving to Node #0,1,0
Current State: 68:[64, 4], Operations: ['9+55=64', '28/7=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
36,
22,
50,
87
] | 75 | [
"36+22=58",
"50*87=4350",
"4350/58=75"
] | Current State: 75:[36, 22, 50, 87], Operations: []
Exploring Operation: 36+22=58, Resulting Numbers: [50, 87, 58]
Generated Node #2: [50, 87, 58] from Operation: 36+22=58
Current State: 75:[50, 87, 58], Operations: ['36+22=58']
Exploring Operation: 50*87=4350, Resulting Numbers: [58, 4350]
Generated Node #3: [58, 4350] from Operation: 50*87=4350
Current State: 75:[58, 4350], Operations: ['36+22=58', '50*87=4350']
Exploring Operation: 4350/58=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[36, 22, 50, 87], Operations: []
Exploring Operation: 36+50=86, Resulting Numbers: [22, 87, 86]
Generated Node #0,0: 75:[22, 87, 86] Operation: 36+50=86
Exploring Operation: 50-36=14, Resulting Numbers: [22, 87, 14]
Generated Node #0,1: 75:[22, 87, 14] Operation: 50-36=14
Moving to Node #0,1
Current State: 75:[22, 87, 14], Operations: ['50-36=14']
Exploring Operation: 87-22=65, Resulting Numbers: [14, 65]
Generated Node #0,1,0: 75:[14, 65] Operation: 87-22=65
Exploring Operation: 87-14=73, Resulting Numbers: [22, 73]
Generated Node #0,1,1: 75:[22, 73] Operation: 87-14=73
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[22, 73], Operations: ['50-36=14', '87-14=73']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 22+73=95, Resulting Numbers: [95]
95,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[14, 65], Operations: ['50-36=14', '87-22=65']
Exploring Operation: 14+65=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,75 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: 75:[22, 87, 86], Operations: ['36+50=86']
Exploring Operation: 87-22=65, Resulting Numbers: [86, 65]
Generated Node #0,0,0: 75:[86, 65] Operation: 87-22=65
Exploring Operation: 87-86=1, Resulting Numbers: [22, 1]
Generated Node #0,0,1: 75:[22, 1] Operation: 87-86=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[22, 1], Operations: ['36+50=86', '87-86=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[86, 65], Operations: ['36+50=86', '87-22=65']
Exploring Operation: 86+65=151, Resulting Numbers: [151]
151,75 unequal: No Solution
Exploring Operation: 86-65=21, Resulting Numbers: [21]
21,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
60,
30,
37,
54
] | 93 | [
"60/30=2",
"37+54=91",
"2+91=93"
] | Current State: 93:[60, 30, 37, 54], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [37, 54, 2]
Generated Node #2: [37, 54, 2] from Operation: 60/30=2
Current State: 93:[37, 54, 2], Operations: ['60/30=2']
Exploring Operation: 37+54=91, Resulting Numbers: [2, 91]
Generated Node #3: [2, 91] from Operation: 37+54=91
Current State: 93:[2, 91], Operations: ['60/30=2', '37+54=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[60, 30, 37, 54], Operations: []
Exploring Operation: 60+37=97, Resulting Numbers: [30, 54, 97]
Generated Node #0,0: 93:[30, 54, 97] Operation: 60+37=97
Exploring Operation: 60-30=30, Resulting Numbers: [37, 54, 30]
Generated Node #0,1: 93:[37, 54, 30] Operation: 60-30=30
Exploring Operation: 60-54=6, Resulting Numbers: [30, 37, 6]
Generated Node #0,2: 93:[30, 37, 6] Operation: 60-54=6
Exploring Operation: 60/30=2, Resulting Numbers: [37, 54, 2]
Generated Node #0,3: 93:[37, 54, 2] Operation: 60/30=2
Exploring Operation: 60+54=114, Resulting Numbers: [30, 37, 114]
Generated Node #0,4: 93:[30, 37, 114] Operation: 60+54=114
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[30, 37, 6], Operations: ['60-54=6']
Exploring Operation: 30/6=5, Resulting Numbers: [37, 5]
Generated Node #0,2,0: 93:[37, 5] Operation: 30/6=5
Exploring Operation: 37-6=31, Resulting Numbers: [30, 31]
Generated Node #0,2,1: 93:[30, 31] Operation: 37-6=31
Exploring Operation: 30-6=24, Resulting Numbers: [37, 24]
Generated Node #0,2,2: 93:[37, 24] Operation: 30-6=24
Exploring Operation: 37-30=7, Resulting Numbers: [6, 7]
Generated Node #0,2,3: 93:[6, 7] Operation: 37-30=7
Exploring Operation: 30+6=36, Resulting Numbers: [37, 36]
Generated Node #0,2,4: 93:[37, 36] Operation: 30+6=36
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 93:[30, 31], Operations: ['60-54=6', '37-6=31']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[6, 7], Operations: ['60-54=6', '37-30=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[37, 5], Operations: ['60-54=6', '30/6=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,93 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 93:[37, 36], Operations: ['60-54=6', '30+6=36']
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[37, 24], Operations: ['60-54=6', '30-6=24']
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,93 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[30, 54, 97], Operations: ['60+37=97']
Exploring Operation: 30+97=127, Resulting Numbers: [54, 127]
Generated Node #0,0,0: 93:[54, 127] Operation: 30+97=127
Exploring Operation: 30+54=84, Resulting Numbers: [97, 84]
Generated Node #0,0,1: 93:[97, 84] Operation: 30+54=84
Exploring Operation: 97-30=67, Resulting Numbers: [54, 67]
Generated Node #0,0,2: 93:[54, 67] Operation: 97-30=67
Exploring Operation: 54-30=24, Resulting Numbers: [97, 24]
Generated Node #0,0,3: 93:[97, 24] Operation: 54-30=24
Exploring Operation: 97-54=43, Resulting Numbers: [30, 43]
Generated Node #0,0,4: 93:[30, 43] Operation: 97-54=43
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 93:[97, 24], Operations: ['60+37=97', '54-30=24']
Exploring Operation: 97*24=2328, Resulting Numbers: [2328]
2328,93 unequal: No Solution
Exploring Operation: 97+24=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 97-24=73, Resulting Numbers: [73]
73,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[97, 84], Operations: ['60+37=97', '30+54=84']
Exploring Operation: 97*84=8148, Resulting Numbers: [8148]
8148,93 unequal: No Solution
Exploring Operation: 97-84=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 97+84=181, Resulting Numbers: [181]
181,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 93:[30, 43], Operations: ['60+37=97', '97-54=43']
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 93:[54, 67], Operations: ['60+37=97', '97-30=67']
Exploring Operation: 54*67=3618, Resulting Numbers: [3618]
3618,93 unequal: No Solution
Exploring Operation: 54+67=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 67-54=13, Resulting Numbers: [13]
13,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[54, 127], Operations: ['60+37=97', '30+97=127']
Exploring Operation: 54*127=6858, Resulting Numbers: [6858]
6858,93 unequal: No Solution
Exploring Operation: 127-54=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 54+127=181, Resulting Numbers: [181]
181,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 93:[30, 37, 114], Operations: ['60+54=114']
Exploring Operation: 30+114=144, Resulting Numbers: [37, 144]
Generated Node #0,4,0: 93:[37, 144] Operation: 30+114=144
Exploring Operation: 114-37=77, Resulting Numbers: [30, 77]
Generated Node #0,4,1: 93:[30, 77] Operation: 114-37=77
Exploring Operation: 114-30=84, Resulting Numbers: [37, 84]
Generated Node #0,4,2: 93:[37, 84] Operation: 114-30=84
Exploring Operation: 30+37=67, Resulting Numbers: [114, 67]
Generated Node #0,4,3: 93:[114, 67] Operation: 30+37=67
Exploring Operation: 37-30=7, Resulting Numbers: [114, 7]
Generated Node #0,4,4: 93:[114, 7] Operation: 37-30=7
Moving to Node #0,4,2
Current State: 93:[37, 84], Operations: ['60+54=114', '114-30=84']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,93 unequal: No Solution
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Moving to Node #0,4,1
Current State: 93:[30, 77], Operations: ['60+54=114', '114-37=77']
Exploring Operation: 30+77=107, Resulting Numbers: [107]
107,93 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 30*77=2310, Resulting Numbers: [2310]
2310,93 unequal: No Solution
Moving to Node #0,4,4
Current State: 93:[114, 7], Operations: ['60+54=114', '37-30=7']
Exploring Operation: 114-7=107, Resulting Numbers: [107]
107,93 unequal: No Solution
Exploring Operation: 114*7=798, Resulting Numbers: [798]
798,93 unequal: No Solution
Exploring Operation: 114+7=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Moving to Node #0,4,3
Current State: 93:[114, 67], Operations: ['60+54=114', '30+37=67']
Exploring Operation: 114+67=181, Resulting Numbers: [181]
181,93 unequal: No Solution
Exploring Operation: 114-67=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 114*67=7638, Resulting Numbers: [7638]
7638,93 unequal: No Solution
Moving to Node #0,4,0
Current State: 93:[37, 144], Operations: ['60+54=114', '30+114=144']
Exploring Operation: 37*144=5328, Resulting Numbers: [5328]
5328,93 unequal: No Solution
Exploring Operation: 37+144=181, Resulting Numbers: [181]
181,93 unequal: No Solution
Exploring Operation: 144-37=107, Resulting Numbers: [107]
107,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[37, 54, 30], Operations: ['60-30=30']
Exploring Operation: 54-37=17, Resulting Numbers: [30, 17]
Generated Node #0,1,0: 93:[30, 17] Operation: 54-37=17
Exploring Operation: 54-30=24, Resulting Numbers: [37, 24]
Generated Node #0,1,1: 93:[37, 24] Operation: 54-30=24
Exploring Operation: 37+54=91, Resulting Numbers: [30, 91]
Generated Node #0,1,2: 93:[30, 91] Operation: 37+54=91
Exploring Operation: 37-30=7, Resulting Numbers: [54, 7]
Generated Node #0,1,3: 93:[54, 7] Operation: 37-30=7
Exploring Operation: 54+30=84, Resulting Numbers: [37, 84]
Generated Node #0,1,4: 93:[37, 84] Operation: 54+30=84
Moving to Node #0,1,2
Current State: 93:[30, 91], Operations: ['60-30=30', '37+54=91']
Exploring Operation: 30+91=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 30*91=2730, Resulting Numbers: [2730]
2730,93 unequal: No Solution
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[37, 24], Operations: ['60-30=30', '54-30=24']
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,93 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[30, 17], Operations: ['60-30=30', '54-37=17']
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,93 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Moving to Node #0,1,4
Current State: 93:[37, 84], Operations: ['60-30=30', '54+30=84']
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[54, 7], Operations: ['60-30=30', '37-30=7']
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,93 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[37, 54, 2], Operations: ['60/30=2']
Exploring Operation: 54/2=27, Resulting Numbers: [37, 27]
Generated Node #0,3,0: 93:[37, 27] Operation: 54/2=27
Exploring Operation: 54-37=17, Resulting Numbers: [2, 17]
Generated Node #0,3,1: 93:[2, 17] Operation: 54-37=17
Exploring Operation: 37+54=91, Resulting Numbers: [2, 91]
Generated Node #0,3,2: 93:[2, 91] Operation: 37+54=91
Exploring Operation: 54*2=108, Resulting Numbers: [37, 108]
Generated Node #0,3,3: 93:[37, 108] Operation: 54*2=108
Exploring Operation: 37-2=35, Resulting Numbers: [54, 35]
Generated Node #0,3,4: 93:[54, 35] Operation: 37-2=35
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[2, 91], Operations: ['60/30=2', '37+54=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[60, 30, 37, 54], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [37, 54, 2]
Generated Node #0,3: 93:[37, 54, 2] Operation: 60/30=2
Moving to Node #0,3
Current State: 93:[37, 54, 2], Operations: ['60/30=2']
Exploring Operation: 37+54=91, Resulting Numbers: [2, 91]
Generated Node #0,3,2: 93:[2, 91] Operation: 37+54=91
Moving to Node #0,3,2
Current State: 93:[2, 91], Operations: ['60/30=2', '37+54=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.917535 | hs_5 | mult_heuristic |
[
51,
8,
51,
40
] | 49 | [
"51/51=1",
"8+40=48",
"1+48=49"
] | Current State: 49:[51, 8, 51, 40], Operations: []
Exploring Operation: 51/51=1, Resulting Numbers: [8, 40, 1]
Generated Node #2: [8, 40, 1] from Operation: 51/51=1
Current State: 49:[8, 40, 1], Operations: ['51/51=1']
Exploring Operation: 8+40=48, Resulting Numbers: [1, 48]
Generated Node #3: [1, 48] from Operation: 8+40=48
Current State: 49:[1, 48], Operations: ['51/51=1', '8+40=48']
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[51, 8, 51, 40], Operations: []
Exploring Operation: 8+40=48, Resulting Numbers: [51, 51, 48]
Generated Node #0,0: 49:[51, 51, 48] Operation: 8+40=48
Exploring Operation: 40/8=5, Resulting Numbers: [51, 51, 5]
Generated Node #0,1: 49:[51, 51, 5] Operation: 40/8=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[51, 51, 48], Operations: ['8+40=48']
Exploring Operation: 51-48=3, Resulting Numbers: [51, 3]
Generated Node #0,0,0: 49:[51, 3] Operation: 51-48=3
Exploring Operation: 51-48=3, Resulting Numbers: [51, 3]
Generated Node #0,0,1: 49:[51, 3] Operation: 51-48=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[51, 3], Operations: ['8+40=48', '51-48=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,49 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,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:[51, 3], Operations: ['8+40=48', '51-48=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,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:[51, 51, 5], Operations: ['40/8=5']
Exploring Operation: 51-5=46, Resulting Numbers: [51, 46]
Generated Node #0,1,0: 49:[51, 46] Operation: 51-5=46
Exploring Operation: 51-5=46, Resulting Numbers: [51, 46]
Generated Node #0,1,1: 49:[51, 46] Operation: 51-5=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[51, 46], Operations: ['40/8=5', '51-5=46']
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,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,1,1
Current State: 49:[51, 46], Operations: ['40/8=5', '51-5=46']
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
23,
37,
50
] | 39 | [
"69/23=3",
"50-37=13",
"3*13=39"
] | Current State: 39:[69, 23, 37, 50], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [37, 50, 3]
Generated Node #2: [37, 50, 3] from Operation: 69/23=3
Current State: 39:[37, 50, 3], Operations: ['69/23=3']
Exploring Operation: 50-37=13, Resulting Numbers: [3, 13]
Generated Node #3: [3, 13] from Operation: 50-37=13
Current State: 39:[3, 13], Operations: ['69/23=3', '50-37=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[69, 23, 37, 50], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [37, 50, 3]
Generated Node #0,0: 39:[37, 50, 3] Operation: 69/23=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[37, 50, 3], Operations: ['69/23=3']
Exploring Operation: 50-37=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 39:[3, 13] Operation: 50-37=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[3, 13], Operations: ['69/23=3', '50-37=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[69, 23, 37, 50], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [37, 50, 3]
Generated Node #0,0: 39:[37, 50, 3] Operation: 69/23=3
Moving to Node #0,0
Current State: 39:[37, 50, 3], Operations: ['69/23=3']
Exploring Operation: 50-37=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 39:[3, 13] Operation: 50-37=13
Moving to Node #0,0,0
Current State: 39:[3, 13], Operations: ['69/23=3', '50-37=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
45,
17,
23,
15
] | 44 | [
"45-23=22",
"17-15=2",
"22*2=44"
] | Current State: 44:[45, 17, 23, 15], Operations: []
Exploring Operation: 45-23=22, Resulting Numbers: [17, 15, 22]
Generated Node #2: [17, 15, 22] from Operation: 45-23=22
Current State: 44:[17, 15, 22], Operations: ['45-23=22']
Exploring Operation: 17-15=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 17-15=2
Current State: 44:[22, 2], Operations: ['45-23=22', '17-15=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[45, 17, 23, 15], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [45, 15, 6]
Generated Node #0,0: 44:[45, 15, 6] Operation: 23-17=6
Exploring Operation: 45/15=3, Resulting Numbers: [17, 23, 3]
Generated Node #0,1: 44:[17, 23, 3] Operation: 45/15=3
Exploring Operation: 17-15=2, Resulting Numbers: [45, 23, 2]
Generated Node #0,2: 44:[45, 23, 2] Operation: 17-15=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[45, 23, 2], Operations: ['17-15=2']
Exploring Operation: 23-2=21, Resulting Numbers: [45, 21]
Generated Node #0,2,0: 44:[45, 21] Operation: 23-2=21
Exploring Operation: 45-23=22, Resulting Numbers: [2, 22]
Generated Node #0,2,1: 44:[2, 22] Operation: 45-23=22
Exploring Operation: 45-2=43, Resulting Numbers: [23, 43]
Generated Node #0,2,2: 44:[23, 43] Operation: 45-2=43
Moving to Node #0,2,1
Current State: 44:[2, 22], Operations: ['17-15=2', '45-23=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[45, 17, 23, 15], Operations: []
Exploring Operation: 17-15=2, Resulting Numbers: [45, 23, 2]
Generated Node #0,2: 44:[45, 23, 2] Operation: 17-15=2
Moving to Node #0,2
Current State: 44:[45, 23, 2], Operations: ['17-15=2']
Exploring Operation: 45-23=22, Resulting Numbers: [2, 22]
Generated Node #0,2,1: 44:[2, 22] Operation: 45-23=22
Moving to Node #0,2,1
Current State: 44:[2, 22], Operations: ['17-15=2', '45-23=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
5,
6,
94,
68
] | 26 | [
"6-5=1",
"94-68=26",
"1*26=26"
] | Current State: 26:[5, 6, 94, 68], Operations: []
Exploring Operation: 6-5=1, Resulting Numbers: [94, 68, 1]
Generated Node #2: [94, 68, 1] from Operation: 6-5=1
Current State: 26:[94, 68, 1], Operations: ['6-5=1']
Exploring Operation: 94-68=26, Resulting Numbers: [1, 26]
Generated Node #3: [1, 26] from Operation: 94-68=26
Current State: 26:[1, 26], Operations: ['6-5=1', '94-68=26']
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[5, 6, 94, 68], Operations: []
Exploring Operation: 94-5=89, Resulting Numbers: [6, 68, 89]
Generated Node #0,0: 26:[6, 68, 89] Operation: 94-5=89
Exploring Operation: 68-5=63, Resulting Numbers: [6, 94, 63]
Generated Node #0,1: 26:[6, 94, 63] Operation: 68-5=63
Exploring Operation: 68-6=62, Resulting Numbers: [5, 94, 62]
Generated Node #0,2: 26:[5, 94, 62] Operation: 68-6=62
Exploring Operation: 94-6=88, Resulting Numbers: [5, 68, 88]
Generated Node #0,3: 26:[5, 68, 88] Operation: 94-6=88
Exploring Operation: 94-68=26, Resulting Numbers: [5, 6, 26]
Generated Node #0,4: 26:[5, 6, 26] Operation: 94-68=26
Moving to Node #0,4
Current State: 26:[5, 6, 26], Operations: ['94-68=26']
Exploring Operation: 5+26=31, Resulting Numbers: [6, 31]
Generated Node #0,4,0: 26:[6, 31] Operation: 5+26=31
Exploring Operation: 5+6=11, Resulting Numbers: [26, 11]
Generated Node #0,4,1: 26:[26, 11] Operation: 5+6=11
Exploring Operation: 6-5=1, Resulting Numbers: [26, 1]
Generated Node #0,4,2: 26:[26, 1] Operation: 6-5=1
Exploring Operation: 26-5=21, Resulting Numbers: [6, 21]
Generated Node #0,4,3: 26:[6, 21] Operation: 26-5=21
Exploring Operation: 5*6=30, Resulting Numbers: [26, 30]
Generated Node #0,4,4: 26:[26, 30] Operation: 5*6=30
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 26:[26, 1], Operations: ['94-68=26', '6-5=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[5, 6, 94, 68], Operations: []
Exploring Operation: 94-68=26, Resulting Numbers: [5, 6, 26]
Generated Node #0,4: 26:[5, 6, 26] Operation: 94-68=26
Moving to Node #0,4
Current State: 26:[5, 6, 26], Operations: ['94-68=26']
Exploring Operation: 6-5=1, Resulting Numbers: [26, 1]
Generated Node #0,4,2: 26:[26, 1] Operation: 6-5=1
Moving to Node #0,4,2
Current State: 26:[26, 1], Operations: ['94-68=26', '6-5=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
68,
1,
63,
1
] | 97 | [
"1+1=2",
"68/2=34",
"63+34=97"
] | Current State: 97:[68, 1, 63, 1], Operations: []
Exploring Operation: 1+1=2, Resulting Numbers: [68, 63, 2]
Generated Node #2: [68, 63, 2] from Operation: 1+1=2
Current State: 97:[68, 63, 2], Operations: ['1+1=2']
Exploring Operation: 68/2=34, Resulting Numbers: [63, 34]
Generated Node #3: [63, 34] from Operation: 68/2=34
Current State: 97:[63, 34], Operations: ['1+1=2', '68/2=34']
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[68, 1, 63, 1], Operations: []
Exploring Operation: 68+1=69, Resulting Numbers: [1, 63, 69]
Generated Node #0,0: 97:[1, 63, 69] Operation: 68+1=69
Exploring Operation: 1+1=2, Resulting Numbers: [68, 63, 2]
Generated Node #0,1: 97:[68, 63, 2] Operation: 1+1=2
Exploring Operation: 1+63=64, Resulting Numbers: [68, 1, 64]
Generated Node #0,2: 97:[68, 1, 64] Operation: 1+63=64
Exploring Operation: 63+1=64, Resulting Numbers: [68, 1, 64]
Generated Node #0,3: 97:[68, 1, 64] Operation: 63+1=64
Exploring Operation: 68+1=69, Resulting Numbers: [63, 1, 69]
Generated Node #0,4: 97:[63, 1, 69] Operation: 68+1=69
Moving to Node #0,0
Current State: 97:[1, 63, 69], Operations: ['68+1=69']
Exploring Operation: 1+63=64, Resulting Numbers: [69, 64]
Generated Node #0,0,0: 97:[69, 64] Operation: 1+63=64
Exploring Operation: 1+69=70, Resulting Numbers: [63, 70]
Generated Node #0,0,1: 97:[63, 70] Operation: 1+69=70
Exploring Operation: 1*63=63, Resulting Numbers: [69, 63]
Generated Node #0,0,2: 97:[69, 63] Operation: 1*63=63
Exploring Operation: 1*69=69, Resulting Numbers: [63, 69]
Generated Node #0,0,3: 97:[63, 69] Operation: 1*69=69
Exploring Operation: 63/1=63, Resulting Numbers: [69, 63]
Generated Node #0,0,4: 97:[69, 63] Operation: 63/1=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[69, 64], Operations: ['68+1=69', '1+63=64']
Exploring Operation: 69*64=4416, Resulting Numbers: [4416]
4416,97 unequal: No Solution
Exploring Operation: 69+64=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[63, 70], Operations: ['68+1=69', '1+69=70']
Exploring Operation: 63+70=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 63*70=4410, Resulting Numbers: [4410]
4410,97 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[69, 63], Operations: ['68+1=69', '1*63=63']
Exploring Operation: 69*63=4347, Resulting Numbers: [4347]
4347,97 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 69+63=132, Resulting Numbers: [132]
132,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[63, 69], Operations: ['68+1=69', '1*69=69']
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,97 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 97:[69, 63], Operations: ['68+1=69', '63/1=63']
Exploring Operation: 69*63=4347, Resulting Numbers: [4347]
4347,97 unequal: No Solution
Exploring Operation: 69+63=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,97 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: 97:[68, 1, 64], Operations: ['1+63=64']
Exploring Operation: 68*1=68, Resulting Numbers: [64, 68]
Generated Node #0,2,0: 97:[64, 68] Operation: 68*1=68
Exploring Operation: 1*64=64, Resulting Numbers: [68, 64]
Generated Node #0,2,1: 97:[68, 64] Operation: 1*64=64
Exploring Operation: 68/1=68, Resulting Numbers: [64, 68]
Generated Node #0,2,2: 97:[64, 68] Operation: 68/1=68
Exploring Operation: 68+1=69, Resulting Numbers: [64, 69]
Generated Node #0,2,3: 97:[64, 69] Operation: 68+1=69
Exploring Operation: 1+64=65, Resulting Numbers: [68, 65]
Generated Node #0,2,4: 97:[68, 65] Operation: 1+64=65
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[64, 69], Operations: ['1+63=64', '68+1=69']
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 64*69=4416, Resulting Numbers: [4416]
4416,97 unequal: No Solution
Exploring Operation: 64+69=133, Resulting Numbers: [133]
133,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 97:[68, 65], Operations: ['1+63=64', '1+64=65']
Exploring Operation: 68+65=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 68*65=4420, Resulting Numbers: [4420]
4420,97 unequal: No Solution
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[64, 68], Operations: ['1+63=64', '68*1=68']
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,97 unequal: No Solution
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[68, 64], Operations: ['1+63=64', '1*64=64']
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,97 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[64, 68], Operations: ['1+63=64', '68/1=68']
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,97 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: 97:[63, 1, 69], Operations: ['68+1=69']
Exploring Operation: 63*1=63, Resulting Numbers: [69, 63]
Generated Node #0,4,0: 97:[69, 63] Operation: 63*1=63
Exploring Operation: 1+69=70, Resulting Numbers: [63, 70]
Generated Node #0,4,1: 97:[63, 70] Operation: 1+69=70
Exploring Operation: 63+1=64, Resulting Numbers: [69, 64]
Generated Node #0,4,2: 97:[69, 64] Operation: 63+1=64
Exploring Operation: 1*69=69, Resulting Numbers: [63, 69]
Generated Node #0,4,3: 97:[63, 69] Operation: 1*69=69
Exploring Operation: 63/1=63, Resulting Numbers: [69, 63]
Generated Node #0,4,4: 97:[69, 63] Operation: 63/1=63
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 97:[63, 70], Operations: ['68+1=69', '1+69=70']
Exploring Operation: 63+70=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 63*70=4410, Resulting Numbers: [4410]
4410,97 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 97:[69, 64], Operations: ['68+1=69', '63+1=64']
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 69+64=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 69*64=4416, Resulting Numbers: [4416]
4416,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 97:[69, 63], Operations: ['68+1=69', '63*1=63']
Exploring Operation: 69*63=4347, Resulting Numbers: [4347]
4347,97 unequal: No Solution
Exploring Operation: 69+63=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 97:[63, 69], Operations: ['68+1=69', '1*69=69']
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,97 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 97:[69, 63], Operations: ['68+1=69', '63/1=63']
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 69*63=4347, Resulting Numbers: [4347]
4347,97 unequal: No Solution
Exploring Operation: 69+63=132, Resulting Numbers: [132]
132,97 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: 97:[68, 63, 2], Operations: ['1+1=2']
Exploring Operation: 68+2=70, Resulting Numbers: [63, 70]
Generated Node #0,1,0: 97:[63, 70] Operation: 68+2=70
Exploring Operation: 68-2=66, Resulting Numbers: [63, 66]
Generated Node #0,1,1: 97:[63, 66] Operation: 68-2=66
Exploring Operation: 63+2=65, Resulting Numbers: [68, 65]
Generated Node #0,1,2: 97:[68, 65] Operation: 63+2=65
Exploring Operation: 63*2=126, Resulting Numbers: [68, 126]
Generated Node #0,1,3: 97:[68, 126] Operation: 63*2=126
Exploring Operation: 63-2=61, Resulting Numbers: [68, 61]
Generated Node #0,1,4: 97:[68, 61] Operation: 63-2=61
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 97:[68, 126], Operations: ['1+1=2', '63*2=126']
Exploring Operation: 68+126=194, Resulting Numbers: [194]
194,97 unequal: No Solution
Exploring Operation: 126-68=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Exploring Operation: 68*126=8568, Resulting Numbers: [8568]
8568,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[63, 70], Operations: ['1+1=2', '68+2=70']
Exploring Operation: 63*70=4410, Resulting Numbers: [4410]
4410,97 unequal: No Solution
Exploring Operation: 63+70=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[68, 65], Operations: ['1+1=2', '63+2=65']
Exploring Operation: 68*65=4420, Resulting Numbers: [4420]
4420,97 unequal: No Solution
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 68+65=133, Resulting Numbers: [133]
133,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[63, 66], Operations: ['1+1=2', '68-2=66']
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 63+66=129, Resulting Numbers: [129]
129,97 unequal: No Solution
Exploring Operation: 63*66=4158, Resulting Numbers: [4158]
4158,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 97:[68, 61], Operations: ['1+1=2', '63-2=61']
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,97 unequal: No Solution
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,97 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[68, 1, 64], Operations: ['63+1=64']
Exploring Operation: 68/1=68, Resulting Numbers: [64, 68]
Generated Node #0,3,0: 97:[64, 68] Operation: 68/1=68
Exploring Operation: 1*64=64, Resulting Numbers: [68, 64]
Generated Node #0,3,1: 97:[68, 64] Operation: 1*64=64
Exploring Operation: 1+64=65, Resulting Numbers: [68, 65]
Generated Node #0,3,2: 97:[68, 65] Operation: 1+64=65
Exploring Operation: 68*1=68, Resulting Numbers: [64, 68]
Generated Node #0,3,3: 97:[64, 68] Operation: 68*1=68
Exploring Operation: 68+1=69, Resulting Numbers: [64, 69]
Generated Node #0,3,4: 97:[64, 69] Operation: 68+1=69
Moving to Node #0,3,2
Current State: 97:[68, 65], Operations: ['63+1=64', '1+64=65']
Exploring Operation: 68+65=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 68*65=4420, Resulting Numbers: [4420]
4420,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[64, 69], Operations: ['63+1=64', '68+1=69']
Exploring Operation: 64+69=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 64*69=4416, Resulting Numbers: [4416]
4416,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[64, 68], Operations: ['63+1=64', '68/1=68']
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,97 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[68, 64], Operations: ['63+1=64', '1*64=64']
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,97 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[64, 68], Operations: ['63+1=64', '68*1=68']
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,97 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
32,
54,
19,
56
] | 45 | [
"56-54=2",
"32*2=64",
"64-19=45"
] | Current State: 45:[32, 54, 19, 56], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [32, 19, 2]
Generated Node #2: [32, 19, 2] from Operation: 56-54=2
Current State: 45:[32, 19, 2], Operations: ['56-54=2']
Exploring Operation: 32*2=64, Resulting Numbers: [19, 64]
Generated Node #3: [19, 64] from Operation: 32*2=64
Current State: 45:[19, 64], Operations: ['56-54=2', '32*2=64']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[32, 54, 19, 56], Operations: []
Exploring Operation: 32-19=13, Resulting Numbers: [54, 56, 13]
Generated Node #0,0: 45:[54, 56, 13] Operation: 32-19=13
Exploring Operation: 56-54=2, Resulting Numbers: [32, 19, 2]
Generated Node #0,1: 45:[32, 19, 2] Operation: 56-54=2
Exploring Operation: 54-32=22, Resulting Numbers: [19, 56, 22]
Generated Node #0,2: 45:[19, 56, 22] Operation: 54-32=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[32, 19, 2], Operations: ['56-54=2']
Exploring Operation: 32/2=16, Resulting Numbers: [19, 16]
Generated Node #0,1,0: 45:[19, 16] Operation: 32/2=16
Exploring Operation: 32+19=51, Resulting Numbers: [2, 51]
Generated Node #0,1,1: 45:[2, 51] Operation: 32+19=51
Exploring Operation: 32-19=13, Resulting Numbers: [2, 13]
Generated Node #0,1,2: 45:[2, 13] Operation: 32-19=13
Moving to Node #0,1,2
Current State: 45:[2, 13], Operations: ['56-54=2', '32-19=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[19, 16], Operations: ['56-54=2', '32/2=16']
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,45 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[2, 51], Operations: ['56-54=2', '32+19=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[54, 56, 13], Operations: ['32-19=13']
Exploring Operation: 56-13=43, Resulting Numbers: [54, 43]
Generated Node #0,0,0: 45:[54, 43] Operation: 56-13=43
Exploring Operation: 54-13=41, Resulting Numbers: [56, 41]
Generated Node #0,0,1: 45:[56, 41] Operation: 54-13=41
Exploring Operation: 56-54=2, Resulting Numbers: [13, 2]
Generated Node #0,0,2: 45:[13, 2] Operation: 56-54=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[13, 2], Operations: ['32-19=13', '56-54=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No 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: 45:[54, 43], Operations: ['32-19=13', '56-13=43']
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,45 unequal: No Solution
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,45 unequal: No Solution
No 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: 45:[56, 41], Operations: ['32-19=13', '54-13=41']
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,45 unequal: No Solution
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,45 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: 45:[19, 56, 22], Operations: ['54-32=22']
Exploring Operation: 22-19=3, Resulting Numbers: [56, 3]
Generated Node #0,2,0: 45:[56, 3] Operation: 22-19=3
Exploring Operation: 19+22=41, Resulting Numbers: [56, 41]
Generated Node #0,2,1: 45:[56, 41] Operation: 19+22=41
Exploring Operation: 56-19=37, Resulting Numbers: [22, 37]
Generated Node #0,2,2: 45:[22, 37] Operation: 56-19=37
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[56, 3], Operations: ['54-32=22', '22-19=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,45 unequal: No Solution
No 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: 45:[56, 41], Operations: ['54-32=22', '19+22=41']
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,45 unequal: No Solution
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,45 unequal: No Solution
No 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: 45:[22, 37], Operations: ['54-32=22', '56-19=37']
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,45 unequal: No Solution
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
24,
30,
4,
2
] | 88 | [
"24+4=28",
"30*2=60",
"28+60=88"
] | Current State: 88:[24, 30, 4, 2], Operations: []
Exploring Operation: 24+4=28, Resulting Numbers: [30, 2, 28]
Generated Node #2: [30, 2, 28] from Operation: 24+4=28
Current State: 88:[30, 2, 28], Operations: ['24+4=28']
Exploring Operation: 30*2=60, Resulting Numbers: [28, 60]
Generated Node #3: [28, 60] from Operation: 30*2=60
Current State: 88:[28, 60], Operations: ['24+4=28', '30*2=60']
Exploring Operation: 28+60=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[24, 30, 4, 2], Operations: []
Exploring Operation: 30-24=6, Resulting Numbers: [4, 2, 6]
Generated Node #0,0: 88:[4, 2, 6] Operation: 30-24=6
Exploring Operation: 30-4=26, Resulting Numbers: [24, 2, 26]
Generated Node #0,1: 88:[24, 2, 26] Operation: 30-4=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[4, 2, 6], Operations: ['30-24=6']
Exploring Operation: 2+6=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 88:[4, 8] Operation: 2+6=8
Exploring Operation: 6-4=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 88:[2, 2] Operation: 6-4=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[4, 8], Operations: ['30-24=6', '2+6=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[2, 2], Operations: ['30-24=6', '6-4=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[24, 2, 26], Operations: ['30-4=26']
Exploring Operation: 26-24=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 88:[2, 2] Operation: 26-24=2
Exploring Operation: 24-2=22, Resulting Numbers: [26, 22]
Generated Node #0,1,1: 88:[26, 22] Operation: 24-2=22
Moving to Node #0,1,0
Current State: 88:[2, 2], Operations: ['30-4=26', '26-24=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[26, 22], Operations: ['30-4=26', '24-2=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,88 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 |
[
5,
1,
33,
15
] | 100 | [
"15/5=3",
"33*3=99",
"1+99=100"
] | Current State: 100:[5, 1, 33, 15], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [1, 33, 3]
Generated Node #2: [1, 33, 3] from Operation: 15/5=3
Current State: 100:[1, 33, 3], Operations: ['15/5=3']
Exploring Operation: 33*3=99, Resulting Numbers: [1, 99]
Generated Node #3: [1, 99] from Operation: 33*3=99
Current State: 100:[1, 99], Operations: ['15/5=3', '33*3=99']
Exploring Operation: 1+99=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[5, 1, 33, 15], Operations: []
Exploring Operation: 5+15=20, Resulting Numbers: [1, 33, 20]
Generated Node #0,0: 100:[1, 33, 20] Operation: 5+15=20
Exploring Operation: 33-15=18, Resulting Numbers: [5, 1, 18]
Generated Node #0,1: 100:[5, 1, 18] Operation: 33-15=18
Exploring Operation: 33-5=28, Resulting Numbers: [1, 15, 28]
Generated Node #0,2: 100:[1, 15, 28] Operation: 33-5=28
Exploring Operation: 33+15=48, Resulting Numbers: [5, 1, 48]
Generated Node #0,3: 100:[5, 1, 48] Operation: 33+15=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[5, 1, 18], Operations: ['33-15=18']
Exploring Operation: 5*1=5, Resulting Numbers: [18, 5]
Generated Node #0,1,0: 100:[18, 5] Operation: 5*1=5
Exploring Operation: 5-1=4, Resulting Numbers: [18, 4]
Generated Node #0,1,1: 100:[18, 4] Operation: 5-1=4
Exploring Operation: 1+18=19, Resulting Numbers: [5, 19]
Generated Node #0,1,2: 100:[5, 19] Operation: 1+18=19
Exploring Operation: 5/1=5, Resulting Numbers: [18, 5]
Generated Node #0,1,3: 100:[18, 5] Operation: 5/1=5
Moving to Node #0,1,2
Current State: 100:[5, 19], Operations: ['33-15=18', '1+18=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[18, 4], Operations: ['33-15=18', '5-1=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,100 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[18, 5], Operations: ['33-15=18', '5*1=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,100 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[18, 5], Operations: ['33-15=18', '5/1=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,100 unequal: No Solution
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,100 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,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,3
Current State: 100:[5, 1, 48], Operations: ['33+15=48']
Exploring Operation: 1+48=49, Resulting Numbers: [5, 49]
Generated Node #0,3,0: 100:[5, 49] Operation: 1+48=49
Exploring Operation: 5/1=5, Resulting Numbers: [48, 5]
Generated Node #0,3,1: 100:[48, 5] Operation: 5/1=5
Exploring Operation: 5-1=4, Resulting Numbers: [48, 4]
Generated Node #0,3,2: 100:[48, 4] Operation: 5-1=4
Exploring Operation: 5*1=5, Resulting Numbers: [48, 5]
Generated Node #0,3,3: 100:[48, 5] Operation: 5*1=5
Moving to Node #0,3,0
Current State: 100:[5, 49], Operations: ['33+15=48', '1+48=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,100 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[48, 4], Operations: ['33+15=48', '5-1=4']
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,100 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[48, 5], Operations: ['33+15=48', '5/1=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,100 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[48, 5], Operations: ['33+15=48', '5*1=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,100 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[1, 33, 20], Operations: ['5+15=20']
Exploring Operation: 33-1=32, Resulting Numbers: [20, 32]
Generated Node #0,0,0: 100:[20, 32] Operation: 33-1=32
Exploring Operation: 33-20=13, Resulting Numbers: [1, 13]
Generated Node #0,0,1: 100:[1, 13] Operation: 33-20=13
Exploring Operation: 33+20=53, Resulting Numbers: [1, 53]
Generated Node #0,0,2: 100:[1, 53] Operation: 33+20=53
Exploring Operation: 1*33=33, Resulting Numbers: [20, 33]
Generated Node #0,0,3: 100:[20, 33] Operation: 1*33=33
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[1, 13], Operations: ['5+15=20', '33-20=13']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[1, 53], Operations: ['5+15=20', '33+20=53']
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[20, 32], Operations: ['5+15=20', '33-1=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 100:[20, 33], Operations: ['5+15=20', '1*33=33']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[1, 15, 28], Operations: ['33-5=28']
Exploring Operation: 28-1=27, Resulting Numbers: [15, 27]
Generated Node #0,2,0: 100:[15, 27] Operation: 28-1=27
Exploring Operation: 28-15=13, Resulting Numbers: [1, 13]
Generated Node #0,2,1: 100:[1, 13] Operation: 28-15=13
Exploring Operation: 1+15=16, Resulting Numbers: [28, 16]
Generated Node #0,2,2: 100:[28, 16] Operation: 1+15=16
Exploring Operation: 15-1=14, Resulting Numbers: [28, 14]
Generated Node #0,2,3: 100:[28, 14] Operation: 15-1=14
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[1, 13], Operations: ['33-5=28', '28-15=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[15, 27], Operations: ['33-5=28', '28-1=27']
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,100 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 100:[28, 16], Operations: ['33-5=28', '1+15=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,100 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 100:[28, 14], Operations: ['33-5=28', '15-1=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
40,
67,
35,
71
] | 100 | [
"71-67=4",
"35*4=140",
"140-40=100"
] | Current State: 100:[40, 67, 35, 71], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [40, 35, 4]
Generated Node #2: [40, 35, 4] from Operation: 71-67=4
Current State: 100:[40, 35, 4], Operations: ['71-67=4']
Exploring Operation: 35*4=140, Resulting Numbers: [40, 140]
Generated Node #3: [40, 140] from Operation: 35*4=140
Current State: 100:[40, 140], Operations: ['71-67=4', '35*4=140']
Exploring Operation: 140-40=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[40, 67, 35, 71], Operations: []
Exploring Operation: 71-40=31, Resulting Numbers: [67, 35, 31]
Generated Node #0,0: 100:[67, 35, 31] Operation: 71-40=31
Exploring Operation: 67-40=27, Resulting Numbers: [35, 71, 27]
Generated Node #0,1: 100:[35, 71, 27] Operation: 67-40=27
Exploring Operation: 71-67=4, Resulting Numbers: [40, 35, 4]
Generated Node #0,2: 100:[40, 35, 4] Operation: 71-67=4
Exploring Operation: 67+35=102, Resulting Numbers: [40, 71, 102]
Generated Node #0,3: 100:[40, 71, 102] Operation: 67+35=102
Moving to Node #0,2
Current State: 100:[40, 35, 4], Operations: ['71-67=4']
Exploring Operation: 40+4=44, Resulting Numbers: [35, 44]
Generated Node #0,2,0: 100:[35, 44] Operation: 40+4=44
Exploring Operation: 40-35=5, Resulting Numbers: [4, 5]
Generated Node #0,2,1: 100:[4, 5] Operation: 40-35=5
Exploring Operation: 35-4=31, Resulting Numbers: [40, 31]
Generated Node #0,2,2: 100:[40, 31] Operation: 35-4=31
Exploring Operation: 40/4=10, Resulting Numbers: [35, 10]
Generated Node #0,2,3: 100:[35, 10] Operation: 40/4=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[4, 5], Operations: ['71-67=4', '40-35=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,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:[35, 10], Operations: ['71-67=4', '40/4=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,100 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,100 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,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:[35, 44], Operations: ['71-67=4', '40+4=44']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,100 unequal: No Solution
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,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:[40, 31], Operations: ['71-67=4', '35-4=31']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,100 unequal: No Solution
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,100 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: 100:[35, 71, 27], Operations: ['67-40=27']
Exploring Operation: 71-27=44, Resulting Numbers: [35, 44]
Generated Node #0,1,0: 100:[35, 44] Operation: 71-27=44
Exploring Operation: 71+27=98, Resulting Numbers: [35, 98]
Generated Node #0,1,1: 100:[35, 98] Operation: 71+27=98
Exploring Operation: 35+71=106, Resulting Numbers: [27, 106]
Generated Node #0,1,2: 100:[27, 106] Operation: 35+71=106
Exploring Operation: 71-35=36, Resulting Numbers: [27, 36]
Generated Node #0,1,3: 100:[27, 36] Operation: 71-35=36
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[27, 106], Operations: ['67-40=27', '35+71=106']
Exploring Operation: 27*106=2862, Resulting Numbers: [2862]
2862,100 unequal: No Solution
Exploring Operation: 27+106=133, Resulting Numbers: [133]
133,100 unequal: No Solution
Exploring Operation: 106-27=79, Resulting Numbers: [79]
79,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[35, 98], Operations: ['67-40=27', '71+27=98']
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 35+98=133, Resulting Numbers: [133]
133,100 unequal: No Solution
Exploring Operation: 35*98=3430, Resulting Numbers: [3430]
3430,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 100:[27, 36], Operations: ['67-40=27', '71-35=36']
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,100 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[35, 44], Operations: ['67-40=27', '71-27=44']
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,100 unequal: No Solution
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,100 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: 100:[67, 35, 31], Operations: ['71-40=31']
Exploring Operation: 67-35=32, Resulting Numbers: [31, 32]
Generated Node #0,0,0: 100:[31, 32] Operation: 67-35=32
Exploring Operation: 35-31=4, Resulting Numbers: [67, 4]
Generated Node #0,0,1: 100:[67, 4] Operation: 35-31=4
Exploring Operation: 67+35=102, Resulting Numbers: [31, 102]
Generated Node #0,0,2: 100:[31, 102] Operation: 67+35=102
Exploring Operation: 67+31=98, Resulting Numbers: [35, 98]
Generated Node #0,0,3: 100:[35, 98] Operation: 67+31=98
Moving to Node #0,3
Current State: 100:[40, 71, 102], Operations: ['67+35=102']
Exploring Operation: 40+71=111, Resulting Numbers: [102, 111]
Generated Node #0,3,0: 100:[102, 111] Operation: 40+71=111
Exploring Operation: 71-40=31, Resulting Numbers: [102, 31]
Generated Node #0,3,1: 100:[102, 31] Operation: 71-40=31
Exploring Operation: 102-71=31, Resulting Numbers: [40, 31]
Generated Node #0,3,2: 100:[40, 31] Operation: 102-71=31
Exploring Operation: 102-40=62, Resulting Numbers: [71, 62]
Generated Node #0,3,3: 100:[71, 62] Operation: 102-40=62
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[102, 31], Operations: ['67+35=102', '71-40=31']
Exploring Operation: 102-31=71, Resulting Numbers: [71]
71,100 unequal: No Solution
Exploring Operation: 102+31=133, Resulting Numbers: [133]
133,100 unequal: No Solution
Exploring Operation: 102*31=3162, Resulting Numbers: [3162]
3162,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,3,0
Current State: 100:[102, 111], Operations: ['67+35=102', '40+71=111']
Exploring Operation: 111-102=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 102*111=11322, Resulting Numbers: [11322]
11322,100 unequal: No Solution
Exploring Operation: 102+111=213, Resulting Numbers: [213]
213,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,3,2
Current State: 100:[40, 31], Operations: ['67+35=102', '102-71=31']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,100 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,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,3,3
Current State: 100:[71, 62], Operations: ['67+35=102', '102-40=62']
Exploring Operation: 71-62=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 71+62=133, Resulting Numbers: [133]
133,100 unequal: No Solution
Exploring Operation: 71*62=4402, Resulting Numbers: [4402]
4402,100 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: 100:[31, 102], Operations: ['71-40=31', '67+35=102']
Exploring Operation: 31*102=3162, Resulting Numbers: [3162]
3162,100 unequal: No Solution
Exploring Operation: 102-31=71, Resulting Numbers: [71]
71,100 unequal: No Solution
Exploring Operation: 31+102=133, Resulting Numbers: [133]
133,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[35, 98], Operations: ['71-40=31', '67+31=98']
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 35+98=133, Resulting Numbers: [133]
133,100 unequal: No Solution
Exploring Operation: 35*98=3430, Resulting Numbers: [3430]
3430,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[31, 32], Operations: ['71-40=31', '67-35=32']
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[67, 4], Operations: ['71-40=31', '35-31=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,100 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,100 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
93,
65,
92,
25
] | 10 | [
"93+65=158",
"92+158=250",
"250/25=10"
] | Current State: 10:[93, 65, 92, 25], Operations: []
Exploring Operation: 93+65=158, Resulting Numbers: [92, 25, 158]
Generated Node #2: [92, 25, 158] from Operation: 93+65=158
Current State: 10:[92, 25, 158], Operations: ['93+65=158']
Exploring Operation: 92+158=250, Resulting Numbers: [25, 250]
Generated Node #3: [25, 250] from Operation: 92+158=250
Current State: 10:[25, 250], Operations: ['93+65=158', '92+158=250']
Exploring Operation: 250/25=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[93, 65, 92, 25], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [65, 25, 1]
Generated Node #0,0: 10:[65, 25, 1] Operation: 93-92=1
Exploring Operation: 92-65=27, Resulting Numbers: [93, 25, 27]
Generated Node #0,1: 10:[93, 25, 27] Operation: 92-65=27
Exploring Operation: 93-65=28, Resulting Numbers: [92, 25, 28]
Generated Node #0,2: 10:[92, 25, 28] Operation: 93-65=28
Moving to Node #0,0
Current State: 10:[65, 25, 1], Operations: ['93-92=1']
Exploring Operation: 25-1=24, Resulting Numbers: [65, 24]
Generated Node #0,0,0: 10:[65, 24] Operation: 25-1=24
Exploring Operation: 65-25=40, Resulting Numbers: [1, 40]
Generated Node #0,0,1: 10:[1, 40] Operation: 65-25=40
Exploring Operation: 65-1=64, Resulting Numbers: [25, 64]
Generated Node #0,0,2: 10:[25, 64] Operation: 65-1=64
Moving to Node #0,1
Current State: 10:[93, 25, 27], Operations: ['92-65=27']
Exploring Operation: 93-25=68, Resulting Numbers: [27, 68]
Generated Node #0,1,0: 10:[27, 68] Operation: 93-25=68
Exploring Operation: 93-27=66, Resulting Numbers: [25, 66]
Generated Node #0,1,1: 10:[25, 66] Operation: 93-27=66
Exploring Operation: 27-25=2, Resulting Numbers: [93, 2]
Generated Node #0,1,2: 10:[93, 2] Operation: 27-25=2
Moving to Node #0,2
Current State: 10:[92, 25, 28], Operations: ['93-65=28']
Exploring Operation: 92-28=64, Resulting Numbers: [25, 64]
Generated Node #0,2,0: 10:[25, 64] Operation: 92-28=64
Exploring Operation: 28-25=3, Resulting Numbers: [92, 3]
Generated Node #0,2,1: 10:[92, 3] Operation: 28-25=3
Exploring Operation: 92-25=67, Resulting Numbers: [28, 67]
Generated Node #0,2,2: 10:[28, 67] Operation: 92-25=67
Moving to Node #0,0,1
Current State: 10:[1, 40], Operations: ['93-92=1', '65-25=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[25, 64], Operations: ['93-92=1', '65-1=64']
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 25*64=1600, Resulting Numbers: [1600]
1600,10 unequal: No Solution
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[25, 64], Operations: ['93-65=28', '92-28=64']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 25*64=1600, Resulting Numbers: [1600]
1600,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[65, 24], Operations: ['93-92=1', '25-1=24']
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 65*24=1560, Resulting Numbers: [1560]
1560,10 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[25, 66], Operations: ['92-65=27', '93-27=66']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 25*66=1650, Resulting Numbers: [1650]
1650,10 unequal: No Solution
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[28, 67], Operations: ['93-65=28', '92-25=67']
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Exploring Operation: 28*67=1876, Resulting Numbers: [1876]
1876,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[27, 68], Operations: ['92-65=27', '93-25=68']
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,10 unequal: No Solution
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[92, 3], Operations: ['93-65=28', '28-25=3']
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,10 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[93, 2], Operations: ['92-65=27', '27-25=2']
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,10 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,10 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,10 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
35,
42,
54,
21
] | 93 | [
"42-35=7",
"21*7=147",
"147-54=93"
] | Current State: 93:[35, 42, 54, 21], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [54, 21, 7]
Generated Node #2: [54, 21, 7] from Operation: 42-35=7
Current State: 93:[54, 21, 7], Operations: ['42-35=7']
Exploring Operation: 21*7=147, Resulting Numbers: [54, 147]
Generated Node #3: [54, 147] from Operation: 21*7=147
Current State: 93:[54, 147], Operations: ['42-35=7', '21*7=147']
Exploring Operation: 147-54=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[35, 42, 54, 21], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [35, 54, 2]
Generated Node #0,0: 93:[35, 54, 2] Operation: 42/21=2
Exploring Operation: 35+54=89, Resulting Numbers: [42, 21, 89]
Generated Node #0,1: 93:[42, 21, 89] Operation: 35+54=89
Exploring Operation: 54-21=33, Resulting Numbers: [35, 42, 33]
Generated Node #0,2: 93:[35, 42, 33] Operation: 54-21=33
Exploring Operation: 54-42=12, Resulting Numbers: [35, 21, 12]
Generated Node #0,3: 93:[35, 21, 12] Operation: 54-42=12
Exploring Operation: 42+54=96, Resulting Numbers: [35, 21, 96]
Generated Node #0,4: 93:[35, 21, 96] Operation: 42+54=96
Moving to Node #0,2
Current State: 93:[35, 42, 33], Operations: ['54-21=33']
Exploring Operation: 42+33=75, Resulting Numbers: [35, 75]
Generated Node #0,2,0: 93:[35, 75] Operation: 42+33=75
Exploring Operation: 35+42=77, Resulting Numbers: [33, 77]
Generated Node #0,2,1: 93:[33, 77] Operation: 35+42=77
Exploring Operation: 42-35=7, Resulting Numbers: [33, 7]
Generated Node #0,2,2: 93:[33, 7] Operation: 42-35=7
Exploring Operation: 42-33=9, Resulting Numbers: [35, 9]
Generated Node #0,2,3: 93:[35, 9] Operation: 42-33=9
Exploring Operation: 35-33=2, Resulting Numbers: [42, 2]
Generated Node #0,2,4: 93:[42, 2] Operation: 35-33=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[33, 7], Operations: ['54-21=33', '42-35=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 93:[35, 9], Operations: ['54-21=33', '42-33=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,93 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 93:[42, 2], Operations: ['54-21=33', '35-33=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,93 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[33, 77], Operations: ['54-21=33', '35+42=77']
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[35, 75], Operations: ['54-21=33', '42+33=75']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,93 unequal: No Solution
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,93 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: 93:[35, 21, 96], Operations: ['42+54=96']
Exploring Operation: 96-35=61, Resulting Numbers: [21, 61]
Generated Node #0,4,0: 93:[21, 61] Operation: 96-35=61
Exploring Operation: 35-21=14, Resulting Numbers: [96, 14]
Generated Node #0,4,1: 93:[96, 14] Operation: 35-21=14
Exploring Operation: 35+21=56, Resulting Numbers: [96, 56]
Generated Node #0,4,2: 93:[96, 56] Operation: 35+21=56
Exploring Operation: 96-21=75, Resulting Numbers: [35, 75]
Generated Node #0,4,3: 93:[35, 75] Operation: 96-21=75
Exploring Operation: 21+96=117, Resulting Numbers: [35, 117]
Generated Node #0,4,4: 93:[35, 117] Operation: 21+96=117
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 93:[96, 14], Operations: ['42+54=96', '35-21=14']
Exploring Operation: 96*14=1344, Resulting Numbers: [1344]
1344,93 unequal: No Solution
Exploring Operation: 96+14=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 93:[35, 75], Operations: ['42+54=96', '96-21=75']
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 93:[96, 56], Operations: ['42+54=96', '35+21=56']
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 96*56=5376, Resulting Numbers: [5376]
5376,93 unequal: No Solution
Exploring Operation: 96+56=152, Resulting Numbers: [152]
152,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 93:[35, 117], Operations: ['42+54=96', '21+96=117']
Exploring Operation: 35*117=4095, Resulting Numbers: [4095]
4095,93 unequal: No Solution
Exploring Operation: 35+117=152, Resulting Numbers: [152]
152,93 unequal: No Solution
Exploring Operation: 117-35=82, Resulting Numbers: [82]
82,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 93:[21, 61], Operations: ['42+54=96', '96-35=61']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,93 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,93 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: 93:[35, 21, 12], Operations: ['54-42=12']
Exploring Operation: 35-12=23, Resulting Numbers: [21, 23]
Generated Node #0,3,0: 93:[21, 23] Operation: 35-12=23
Exploring Operation: 35-21=14, Resulting Numbers: [12, 14]
Generated Node #0,3,1: 93:[12, 14] Operation: 35-21=14
Exploring Operation: 35+12=47, Resulting Numbers: [21, 47]
Generated Node #0,3,2: 93:[21, 47] Operation: 35+12=47
Exploring Operation: 21+12=33, Resulting Numbers: [35, 33]
Generated Node #0,3,3: 93:[35, 33] Operation: 21+12=33
Exploring Operation: 21-12=9, Resulting Numbers: [35, 9]
Generated Node #0,3,4: 93:[35, 9] Operation: 21-12=9
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 93:[35, 33], Operations: ['54-42=12', '21+12=33']
Exploring Operation: 35*33=1155, Resulting Numbers: [1155]
1155,93 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 93:[35, 9], Operations: ['54-42=12', '21-12=9']
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,93 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[21, 23], Operations: ['54-42=12', '35-12=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,93 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[12, 14], Operations: ['54-42=12', '35-21=14']
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,93 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[21, 47], Operations: ['54-42=12', '35+12=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,93 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,93 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: 93:[42, 21, 89], Operations: ['35+54=89']
Exploring Operation: 42-21=21, Resulting Numbers: [89, 21]
Generated Node #0,1,0: 93:[89, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [89, 2]
Generated Node #0,1,1: 93:[89, 2] Operation: 42/21=2
Exploring Operation: 21+89=110, Resulting Numbers: [42, 110]
Generated Node #0,1,2: 93:[42, 110] Operation: 21+89=110
Exploring Operation: 42+21=63, Resulting Numbers: [89, 63]
Generated Node #0,1,3: 93:[89, 63] Operation: 42+21=63
Exploring Operation: 89-42=47, Resulting Numbers: [21, 47]
Generated Node #0,1,4: 93:[21, 47] Operation: 89-42=47
Moving to Node #0,0
Current State: 93:[35, 54, 2], Operations: ['42/21=2']
Exploring Operation: 35+54=89, Resulting Numbers: [2, 89]
Generated Node #0,0,0: 93:[2, 89] Operation: 35+54=89
Exploring Operation: 35-2=33, Resulting Numbers: [54, 33]
Generated Node #0,0,1: 93:[54, 33] Operation: 35-2=33
Exploring Operation: 54-35=19, Resulting Numbers: [2, 19]
Generated Node #0,0,2: 93:[2, 19] Operation: 54-35=19
Exploring Operation: 54/2=27, Resulting Numbers: [35, 27]
Generated Node #0,0,3: 93:[35, 27] Operation: 54/2=27
Exploring Operation: 54*2=108, Resulting Numbers: [35, 108]
Generated Node #0,0,4: 93:[35, 108] Operation: 54*2=108
Moving to Node #0,1,1
Current State: 93:[89, 2], Operations: ['35+54=89', '42/21=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,93 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[2, 89], Operations: ['42/21=2', '35+54=89']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,93 unequal: No Solution
Exploring Operation: 2*89=178, Resulting Numbers: [178]
178,93 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[35, 27], Operations: ['42/21=2', '54/2=27']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[2, 19], Operations: ['42/21=2', '54-35=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[89, 21], Operations: ['35+54=89', '42-21=21']
Exploring Operation: 89+21=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 89*21=1869, Resulting Numbers: [1869]
1869,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[35, 108], Operations: ['42/21=2', '54*2=108']
Exploring Operation: 108-35=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Exploring Operation: 35+108=143, Resulting Numbers: [143]
143,93 unequal: No Solution
Exploring Operation: 35*108=3780, Resulting Numbers: [3780]
3780,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[54, 33], Operations: ['42/21=2', '35-2=33']
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,93 unequal: No Solution
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,93 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Moving to Node #0,1,4
Current State: 93:[21, 47], Operations: ['35+54=89', '89-42=47']
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,93 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[42, 110], Operations: ['35+54=89', '21+89=110']
Exploring Operation: 42*110=4620, Resulting Numbers: [4620]
4620,93 unequal: No Solution
Exploring Operation: 110-42=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 42+110=152, Resulting Numbers: [152]
152,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[89, 63], Operations: ['35+54=89', '42+21=63']
Exploring Operation: 89+63=152, Resulting Numbers: [152]
152,93 unequal: No Solution
Exploring Operation: 89*63=5607, Resulting Numbers: [5607]
5607,93 unequal: No Solution
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,93 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
80,
40,
20,
71
] | 69 | [
"80+40=120",
"71-20=51",
"120-51=69"
] | Current State: 69:[80, 40, 20, 71], Operations: []
Exploring Operation: 80+40=120, Resulting Numbers: [20, 71, 120]
Generated Node #2: [20, 71, 120] from Operation: 80+40=120
Current State: 69:[20, 71, 120], Operations: ['80+40=120']
Exploring Operation: 71-20=51, Resulting Numbers: [120, 51]
Generated Node #3: [120, 51] from Operation: 71-20=51
Current State: 69:[120, 51], Operations: ['80+40=120', '71-20=51']
Exploring Operation: 120-51=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[80, 40, 20, 71], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [80, 71, 2]
Generated Node #0,0: 69:[80, 71, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [80, 71, 20]
Generated Node #0,1: 69:[80, 71, 20] Operation: 40-20=20
Exploring Operation: 80/40=2, Resulting Numbers: [20, 71, 2]
Generated Node #0,2: 69:[20, 71, 2] Operation: 80/40=2
Exploring Operation: 80/20=4, Resulting Numbers: [40, 71, 4]
Generated Node #0,3: 69:[40, 71, 4] Operation: 80/20=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[20, 71, 2], Operations: ['80/40=2']
Exploring Operation: 20+2=22, Resulting Numbers: [71, 22]
Generated Node #0,2,0: 69:[71, 22] Operation: 20+2=22
Exploring Operation: 71-2=69, Resulting Numbers: [20, 69]
Generated Node #0,2,1: 69:[20, 69] Operation: 71-2=69
Exploring Operation: 20-2=18, Resulting Numbers: [71, 18]
Generated Node #0,2,2: 69:[71, 18] Operation: 20-2=18
Exploring Operation: 71+2=73, Resulting Numbers: [20, 73]
Generated Node #0,2,3: 69:[20, 73] Operation: 71+2=73
Moving to Node #0,2,0
Current State: 69:[71, 22], Operations: ['80/40=2', '20+2=22']
Exploring Operation: 71+22=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 71*22=1562, Resulting Numbers: [1562]
1562,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[20, 69], Operations: ['80/40=2', '71-2=69']
Exploring Operation: 69-20=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 20+69=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Exploring Operation: 20*69=1380, Resulting Numbers: [1380]
1380,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[20, 73], Operations: ['80/40=2', '71+2=73']
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[71, 18], Operations: ['80/40=2', '20-2=18']
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,69 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[80, 71, 2], Operations: ['40/20=2']
Exploring Operation: 80+2=82, Resulting Numbers: [71, 82]
Generated Node #0,0,0: 69:[71, 82] Operation: 80+2=82
Exploring Operation: 80-71=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 69:[2, 9] Operation: 80-71=9
Exploring Operation: 71-2=69, Resulting Numbers: [80, 69]
Generated Node #0,0,2: 69:[80, 69] Operation: 71-2=69
Exploring Operation: 80-2=78, Resulting Numbers: [71, 78]
Generated Node #0,0,3: 69:[71, 78] Operation: 80-2=78
Moving to Node #0,0,1
Current State: 69:[2, 9], Operations: ['40/20=2', '80-71=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[71, 78], Operations: ['40/20=2', '80-2=78']
Exploring Operation: 71*78=5538, Resulting Numbers: [5538]
5538,69 unequal: No Solution
Exploring Operation: 71+78=149, Resulting Numbers: [149]
149,69 unequal: No Solution
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[80, 69], Operations: ['40/20=2', '71-2=69']
Exploring Operation: 80+69=149, Resulting Numbers: [149]
149,69 unequal: No Solution
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 80*69=5520, Resulting Numbers: [5520]
5520,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[71, 82], Operations: ['40/20=2', '80+2=82']
Exploring Operation: 71+82=153, Resulting Numbers: [153]
153,69 unequal: No Solution
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 71*82=5822, Resulting Numbers: [5822]
5822,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[80, 71, 20], Operations: ['40-20=20']
Exploring Operation: 80-20=60, Resulting Numbers: [71, 60]
Generated Node #0,1,0: 69:[71, 60] Operation: 80-20=60
Exploring Operation: 80-71=9, Resulting Numbers: [20, 9]
Generated Node #0,1,1: 69:[20, 9] Operation: 80-71=9
Exploring Operation: 80/20=4, Resulting Numbers: [71, 4]
Generated Node #0,1,2: 69:[71, 4] Operation: 80/20=4
Exploring Operation: 71-20=51, Resulting Numbers: [80, 51]
Generated Node #0,1,3: 69:[80, 51] Operation: 71-20=51
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 69:[71, 4], Operations: ['40-20=20', '80/20=4']
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,69 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[20, 9], Operations: ['40-20=20', '80-71=9']
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,69 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[71, 60], Operations: ['40-20=20', '80-20=60']
Exploring Operation: 71+60=131, Resulting Numbers: [131]
131,69 unequal: No Solution
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 71*60=4260, Resulting Numbers: [4260]
4260,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 69:[80, 51], Operations: ['40-20=20', '71-20=51']
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 80*51=4080, Resulting Numbers: [4080]
4080,69 unequal: No Solution
Exploring Operation: 80+51=131, Resulting Numbers: [131]
131,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[40, 71, 4], Operations: ['80/20=4']
Exploring Operation: 40-4=36, Resulting Numbers: [71, 36]
Generated Node #0,3,0: 69:[71, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [71, 10]
Generated Node #0,3,1: 69:[71, 10] Operation: 40/4=10
Exploring Operation: 71-4=67, Resulting Numbers: [40, 67]
Generated Node #0,3,2: 69:[40, 67] Operation: 71-4=67
Exploring Operation: 71-40=31, Resulting Numbers: [4, 31]
Generated Node #0,3,3: 69:[4, 31] Operation: 71-40=31
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 69:[71, 10], Operations: ['80/20=4', '40/4=10']
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,69 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 69:[4, 31], Operations: ['80/20=4', '71-40=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,69 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 69:[71, 36], Operations: ['80/20=4', '40-4=36']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 71*36=2556, Resulting Numbers: [2556]
2556,69 unequal: No Solution
Exploring Operation: 71+36=107, Resulting Numbers: [107]
107,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 69:[40, 67], Operations: ['80/20=4', '71-4=67']
Exploring Operation: 40*67=2680, Resulting Numbers: [2680]
2680,69 unequal: No Solution
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 40+67=107, Resulting Numbers: [107]
107,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
2,
62,
11,
12
] | 26 | [
"62+12=74",
"74/2=37",
"37-11=26"
] | Current State: 26:[2, 62, 11, 12], Operations: []
Exploring Operation: 62+12=74, Resulting Numbers: [2, 11, 74]
Generated Node #2: [2, 11, 74] from Operation: 62+12=74
Current State: 26:[2, 11, 74], Operations: ['62+12=74']
Exploring Operation: 74/2=37, Resulting Numbers: [11, 37]
Generated Node #3: [11, 37] from Operation: 74/2=37
Current State: 26:[11, 37], Operations: ['62+12=74', '74/2=37']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[2, 62, 11, 12], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [11, 12, 31]
Generated Node #0,0: 26:[11, 12, 31] Operation: 62/2=31
Exploring Operation: 62-11=51, Resulting Numbers: [2, 12, 51]
Generated Node #0,1: 26:[2, 12, 51] Operation: 62-11=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[11, 12, 31], Operations: ['62/2=31']
Exploring Operation: 31-11=20, Resulting Numbers: [12, 20]
Generated Node #0,0,0: 26:[12, 20] Operation: 31-11=20
Exploring Operation: 12-11=1, Resulting Numbers: [31, 1]
Generated Node #0,0,1: 26:[31, 1] Operation: 12-11=1
Moving to Node #0,0,1
Current State: 26:[31, 1], Operations: ['62/2=31', '12-11=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[12, 20], Operations: ['62/2=31', '31-11=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[2, 12, 51], Operations: ['62-11=51']
Exploring Operation: 51-12=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 26:[2, 39] Operation: 51-12=39
Exploring Operation: 51-2=49, Resulting Numbers: [12, 49]
Generated Node #0,1,1: 26:[12, 49] Operation: 51-2=49
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[2, 39], Operations: ['62-11=51', '51-12=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,26 unequal: No Solution
No 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: 26:[12, 49], Operations: ['62-11=51', '51-2=49']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,26 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 |
[
80,
44,
19,
43
] | 99 | [
"80+19=99",
"44-43=1",
"99*1=99"
] | Current State: 99:[80, 44, 19, 43], Operations: []
Exploring Operation: 80+19=99, Resulting Numbers: [44, 43, 99]
Generated Node #2: [44, 43, 99] from Operation: 80+19=99
Current State: 99:[44, 43, 99], Operations: ['80+19=99']
Exploring Operation: 44-43=1, Resulting Numbers: [99, 1]
Generated Node #3: [99, 1] from Operation: 44-43=1
Current State: 99:[99, 1], Operations: ['80+19=99', '44-43=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[80, 44, 19, 43], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [19, 43, 36]
Generated Node #0,0: 99:[19, 43, 36] Operation: 80-44=36
Exploring Operation: 44-43=1, Resulting Numbers: [80, 19, 1]
Generated Node #0,1: 99:[80, 19, 1] Operation: 44-43=1
Exploring Operation: 80+19=99, Resulting Numbers: [44, 43, 99]
Generated Node #0,2: 99:[44, 43, 99] Operation: 80+19=99
Exploring Operation: 80-43=37, Resulting Numbers: [44, 19, 37]
Generated Node #0,3: 99:[44, 19, 37] Operation: 80-43=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[19, 43, 36], Operations: ['80-44=36']
Exploring Operation: 43-36=7, Resulting Numbers: [19, 7]
Generated Node #0,0,0: 99:[19, 7] Operation: 43-36=7
Exploring Operation: 43+36=79, Resulting Numbers: [19, 79]
Generated Node #0,0,1: 99:[19, 79] Operation: 43+36=79
Exploring Operation: 36-19=17, Resulting Numbers: [43, 17]
Generated Node #0,0,2: 99:[43, 17] Operation: 36-19=17
Exploring Operation: 43-19=24, Resulting Numbers: [36, 24]
Generated Node #0,0,3: 99:[36, 24] Operation: 43-19=24
Moving to Node #0,0,0
Current State: 99:[19, 7], Operations: ['80-44=36', '43-36=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[36, 24], Operations: ['80-44=36', '43-19=24']
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,99 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[43, 17], Operations: ['80-44=36', '36-19=17']
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,99 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[19, 79], Operations: ['80-44=36', '43+36=79']
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 19*79=1501, Resulting Numbers: [1501]
1501,99 unequal: No Solution
Exploring Operation: 19+79=98, Resulting Numbers: [98]
98,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
Current State: 99:[44, 43, 99], Operations: ['80+19=99']
Exploring Operation: 44-43=1, Resulting Numbers: [99, 1]
Generated Node #0,2,0: 99:[99, 1] Operation: 44-43=1
Exploring Operation: 99-44=55, Resulting Numbers: [43, 55]
Generated Node #0,2,1: 99:[43, 55] Operation: 99-44=55
Exploring Operation: 44+43=87, Resulting Numbers: [99, 87]
Generated Node #0,2,2: 99:[99, 87] Operation: 44+43=87
Exploring Operation: 99-43=56, Resulting Numbers: [44, 56]
Generated Node #0,2,3: 99:[44, 56] Operation: 99-43=56
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[99, 1], Operations: ['80+19=99', '44-43=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[80, 44, 19, 43], Operations: []
Exploring Operation: 80+19=99, Resulting Numbers: [44, 43, 99]
Generated Node #0,2: 99:[44, 43, 99] Operation: 80+19=99
Moving to Node #0,2
Current State: 99:[44, 43, 99], Operations: ['80+19=99']
Exploring Operation: 44-43=1, Resulting Numbers: [99, 1]
Generated Node #0,2,0: 99:[99, 1] Operation: 44-43=1
Moving to Node #0,2,0
Current State: 99:[99, 1], Operations: ['80+19=99', '44-43=1']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
46,
35,
10,
9
] | 80 | [
"46+35=81",
"10-9=1",
"81-1=80"
] | Current State: 80:[46, 35, 10, 9], Operations: []
Exploring Operation: 46+35=81, Resulting Numbers: [10, 9, 81]
Generated Node #2: [10, 9, 81] from Operation: 46+35=81
Current State: 80:[10, 9, 81], Operations: ['46+35=81']
Exploring Operation: 10-9=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 10-9=1
Current State: 80:[81, 1], Operations: ['46+35=81', '10-9=1']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[46, 35, 10, 9], Operations: []
Exploring Operation: 46+35=81, Resulting Numbers: [10, 9, 81]
Generated Node #0,0: 80:[10, 9, 81] Operation: 46+35=81
Exploring Operation: 35+9=44, Resulting Numbers: [46, 10, 44]
Generated Node #0,1: 80:[46, 10, 44] Operation: 35+9=44
Exploring Operation: 46-9=37, Resulting Numbers: [35, 10, 37]
Generated Node #0,2: 80:[35, 10, 37] Operation: 46-9=37
Exploring Operation: 46-10=36, Resulting Numbers: [35, 9, 36]
Generated Node #0,3: 80:[35, 9, 36] Operation: 46-10=36
Exploring Operation: 46-35=11, Resulting Numbers: [10, 9, 11]
Generated Node #0,4: 80:[10, 9, 11] Operation: 46-35=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[10, 9, 81], Operations: ['46+35=81']
Exploring Operation: 10+9=19, Resulting Numbers: [81, 19]
Generated Node #0,0,0: 80:[81, 19] Operation: 10+9=19
Exploring Operation: 81-9=72, Resulting Numbers: [10, 72]
Generated Node #0,0,1: 80:[10, 72] Operation: 81-9=72
Exploring Operation: 10-9=1, Resulting Numbers: [81, 1]
Generated Node #0,0,2: 80:[81, 1] Operation: 10-9=1
Exploring Operation: 81-10=71, Resulting Numbers: [9, 71]
Generated Node #0,0,3: 80:[9, 71] Operation: 81-10=71
Exploring Operation: 81/9=9, Resulting Numbers: [10, 9]
Generated Node #0,0,4: 80:[10, 9] Operation: 81/9=9
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 80:[10, 9], Operations: ['46+35=81', '81/9=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,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:[81, 19], Operations: ['46+35=81', '10+9=19']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,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,2
Current State: 80:[81, 1], Operations: ['46+35=81', '10-9=1']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[46, 35, 10, 9], Operations: []
Exploring Operation: 46+35=81, Resulting Numbers: [10, 9, 81]
Generated Node #0,0: 80:[10, 9, 81] Operation: 46+35=81
Moving to Node #0,0
Current State: 80:[10, 9, 81], Operations: ['46+35=81']
Exploring Operation: 10-9=1, Resulting Numbers: [81, 1]
Generated Node #0,0,2: 80:[81, 1] Operation: 10-9=1
Moving to Node #0,0,2
Current State: 80:[81, 1], Operations: ['46+35=81', '10-9=1']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
12,
60,
59,
65
] | 11 | [
"60/12=5",
"65-59=6",
"5+6=11"
] | Current State: 11:[12, 60, 59, 65], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [59, 65, 5]
Generated Node #2: [59, 65, 5] from Operation: 60/12=5
Current State: 11:[59, 65, 5], Operations: ['60/12=5']
Exploring Operation: 65-59=6, Resulting Numbers: [5, 6]
Generated Node #3: [5, 6] from Operation: 65-59=6
Current State: 11:[5, 6], Operations: ['60/12=5', '65-59=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[12, 60, 59, 65], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [12, 65, 1]
Generated Node #0,0: 11:[12, 65, 1] Operation: 60-59=1
Exploring Operation: 60-12=48, Resulting Numbers: [59, 65, 48]
Generated Node #0,1: 11:[59, 65, 48] Operation: 60-12=48
Exploring Operation: 65-59=6, Resulting Numbers: [12, 60, 6]
Generated Node #0,2: 11:[12, 60, 6] Operation: 65-59=6
Exploring Operation: 60/12=5, Resulting Numbers: [59, 65, 5]
Generated Node #0,3: 11:[59, 65, 5] Operation: 60/12=5
Exploring Operation: 65-60=5, Resulting Numbers: [12, 59, 5]
Generated Node #0,4: 11:[12, 59, 5] Operation: 65-60=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[12, 60, 6], Operations: ['65-59=6']
Exploring Operation: 60/12=5, Resulting Numbers: [6, 5]
Generated Node #0,2,0: 11:[6, 5] Operation: 60/12=5
Exploring Operation: 12-6=6, Resulting Numbers: [60, 6]
Generated Node #0,2,1: 11:[60, 6] Operation: 12-6=6
Exploring Operation: 60-6=54, Resulting Numbers: [12, 54]
Generated Node #0,2,2: 11:[12, 54] Operation: 60-6=54
Exploring Operation: 60-12=48, Resulting Numbers: [6, 48]
Generated Node #0,2,3: 11:[6, 48] Operation: 60-12=48
Exploring Operation: 60/6=10, Resulting Numbers: [12, 10]
Generated Node #0,2,4: 11:[12, 10] Operation: 60/6=10
Moving to Node #0,2,4
Current State: 11:[12, 10], Operations: ['65-59=6', '60/6=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[6, 5], Operations: ['65-59=6', '60/12=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[12, 60, 59, 65], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [12, 60, 6]
Generated Node #0,2: 11:[12, 60, 6] Operation: 65-59=6
Moving to Node #0,2
Current State: 11:[12, 60, 6], Operations: ['65-59=6']
Exploring Operation: 60/12=5, Resulting Numbers: [6, 5]
Generated Node #0,2,0: 11:[6, 5] Operation: 60/12=5
Moving to Node #0,2,0
Current State: 11:[6, 5], Operations: ['65-59=6', '60/12=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
29,
82,
22,
3
] | 93 | [
"82-29=53",
"53-22=31",
"3*31=93"
] | Current State: 93:[29, 82, 22, 3], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [22, 3, 53]
Generated Node #2: [22, 3, 53] from Operation: 82-29=53
Current State: 93:[22, 3, 53], Operations: ['82-29=53']
Exploring Operation: 53-22=31, Resulting Numbers: [3, 31]
Generated Node #3: [3, 31] from Operation: 53-22=31
Current State: 93:[3, 31], Operations: ['82-29=53', '53-22=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[29, 82, 22, 3], Operations: []
Exploring Operation: 82+22=104, Resulting Numbers: [29, 3, 104]
Generated Node #0,0: 93:[29, 3, 104] Operation: 82+22=104
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[29, 3, 104], Operations: ['82+22=104']
Exploring Operation: 104-3=101, Resulting Numbers: [29, 101]
Generated Node #0,0,0: 93:[29, 101] Operation: 104-3=101
Moving to Node #0,0,0
Current State: 93:[29, 101], Operations: ['82+22=104', '104-3=101']
Exploring Operation: 101-29=72, Resulting Numbers: [72]
72,93 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 |
[
69,
72,
78,
60
] | 86 | [
"72-69=3",
"78/3=26",
"60+26=86"
] | Current State: 86:[69, 72, 78, 60], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [78, 60, 3]
Generated Node #2: [78, 60, 3] from Operation: 72-69=3
Current State: 86:[78, 60, 3], Operations: ['72-69=3']
Exploring Operation: 78/3=26, Resulting Numbers: [60, 26]
Generated Node #3: [60, 26] from Operation: 78/3=26
Current State: 86:[60, 26], Operations: ['72-69=3', '78/3=26']
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[69, 72, 78, 60], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [72, 78, 9]
Generated Node #0,0: 86:[72, 78, 9] Operation: 69-60=9
Exploring Operation: 78-69=9, Resulting Numbers: [72, 60, 9]
Generated Node #0,1: 86:[72, 60, 9] Operation: 78-69=9
Exploring Operation: 72-60=12, Resulting Numbers: [69, 78, 12]
Generated Node #0,2: 86:[69, 78, 12] Operation: 72-60=12
Exploring Operation: 72-69=3, Resulting Numbers: [78, 60, 3]
Generated Node #0,3: 86:[78, 60, 3] Operation: 72-69=3
Moving to Node #0,3
Current State: 86:[78, 60, 3], Operations: ['72-69=3']
Exploring Operation: 78-60=18, Resulting Numbers: [3, 18]
Generated Node #0,3,0: 86:[3, 18] Operation: 78-60=18
Exploring Operation: 60-3=57, Resulting Numbers: [78, 57]
Generated Node #0,3,1: 86:[78, 57] Operation: 60-3=57
Exploring Operation: 78+3=81, Resulting Numbers: [60, 81]
Generated Node #0,3,2: 86:[60, 81] Operation: 78+3=81
Exploring Operation: 60/3=20, Resulting Numbers: [78, 20]
Generated Node #0,3,3: 86:[78, 20] Operation: 60/3=20
Moving to Node #0,0
Current State: 86:[72, 78, 9], Operations: ['69-60=9']
Exploring Operation: 72/9=8, Resulting Numbers: [78, 8]
Generated Node #0,0,0: 86:[78, 8] Operation: 72/9=8
Exploring Operation: 78-72=6, Resulting Numbers: [9, 6]
Generated Node #0,0,1: 86:[9, 6] Operation: 78-72=6
Exploring Operation: 78+9=87, Resulting Numbers: [72, 87]
Generated Node #0,0,2: 86:[72, 87] Operation: 78+9=87
Exploring Operation: 72+9=81, Resulting Numbers: [78, 81]
Generated Node #0,0,3: 86:[78, 81] Operation: 72+9=81
Moving to Node #0,2
Current State: 86:[69, 78, 12], Operations: ['72-60=12']
Exploring Operation: 69+12=81, Resulting Numbers: [78, 81]
Generated Node #0,2,0: 86:[78, 81] Operation: 69+12=81
Exploring Operation: 69-12=57, Resulting Numbers: [78, 57]
Generated Node #0,2,1: 86:[78, 57] Operation: 69-12=57
Exploring Operation: 78-69=9, Resulting Numbers: [12, 9]
Generated Node #0,2,2: 86:[12, 9] Operation: 78-69=9
Exploring Operation: 78+12=90, Resulting Numbers: [69, 90]
Generated Node #0,2,3: 86:[69, 90] Operation: 78+12=90
Moving to Node #0,1
Current State: 86:[72, 60, 9], Operations: ['78-69=9']
Exploring Operation: 60-9=51, Resulting Numbers: [72, 51]
Generated Node #0,1,0: 86:[72, 51] Operation: 60-9=51
Exploring Operation: 72/9=8, Resulting Numbers: [60, 8]
Generated Node #0,1,1: 86:[60, 8] Operation: 72/9=8
Exploring Operation: 72+9=81, Resulting Numbers: [60, 81]
Generated Node #0,1,2: 86:[60, 81] Operation: 72+9=81
Exploring Operation: 72-60=12, Resulting Numbers: [9, 12]
Generated Node #0,1,3: 86:[9, 12] Operation: 72-60=12
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[9, 12], Operations: ['78-69=9', '72-60=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,86 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[72, 51], Operations: ['78-69=9', '60-9=51']
Exploring Operation: 72*51=3672, Resulting Numbers: [3672]
3672,86 unequal: No Solution
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 72+51=123, Resulting Numbers: [123]
123,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[60, 81], Operations: ['78-69=9', '72+9=81']
Exploring Operation: 60+81=141, Resulting Numbers: [141]
141,86 unequal: No Solution
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 60*81=4860, Resulting Numbers: [4860]
4860,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[60, 8], Operations: ['78-69=9', '72/9=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,86 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 86:[9, 6], Operations: ['69-60=9', '78-72=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[78, 81], Operations: ['69-60=9', '72+9=81']
Exploring Operation: 78+81=159, Resulting Numbers: [159]
159,86 unequal: No Solution
Exploring Operation: 81-78=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 78*81=6318, Resulting Numbers: [6318]
6318,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[78, 81], Operations: ['72-60=12', '69+12=81']
Exploring Operation: 78+81=159, Resulting Numbers: [159]
159,86 unequal: No Solution
Exploring Operation: 78*81=6318, Resulting Numbers: [6318]
6318,86 unequal: No Solution
Exploring Operation: 81-78=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[78, 8], Operations: ['69-60=9', '72/9=8']
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[69, 72, 78, 60], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [72, 78, 9]
Generated Node #0,0: 86:[72, 78, 9] Operation: 69-60=9
Moving to Node #0,0
Current State: 86:[72, 78, 9], Operations: ['69-60=9']
Exploring Operation: 72/9=8, Resulting Numbers: [78, 8]
Generated Node #0,0,0: 86:[78, 8] Operation: 72/9=8
Moving to Node #0,0,0
Current State: 86:[78, 8], Operations: ['69-60=9', '72/9=8']
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.959201 | hs_4 | mult_heuristic |
[
27,
33,
54,
30
] | 63 | [
"30-27=3",
"54-33=21",
"3*21=63"
] | Current State: 63:[27, 33, 54, 30], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [33, 54, 3]
Generated Node #2: [33, 54, 3] from Operation: 30-27=3
Current State: 63:[33, 54, 3], Operations: ['30-27=3']
Exploring Operation: 54-33=21, Resulting Numbers: [3, 21]
Generated Node #3: [3, 21] from Operation: 54-33=21
Current State: 63:[3, 21], Operations: ['30-27=3', '54-33=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[27, 33, 54, 30], Operations: []
Exploring Operation: 54-33=21, Resulting Numbers: [27, 30, 21]
Generated Node #0,0: 63:[27, 30, 21] Operation: 54-33=21
Moving to Node #0,0
Current State: 63:[27, 30, 21], Operations: ['54-33=21']
Exploring Operation: 30-27=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 63:[21, 3] Operation: 30-27=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[21, 3], Operations: ['54-33=21', '30-27=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[27, 33, 54, 30], Operations: []
Exploring Operation: 54-33=21, Resulting Numbers: [27, 30, 21]
Generated Node #0,0: 63:[27, 30, 21] Operation: 54-33=21
Moving to Node #0,0
Current State: 63:[27, 30, 21], Operations: ['54-33=21']
Exploring Operation: 30-27=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 63:[21, 3] Operation: 30-27=3
Moving to Node #0,0,0
Current State: 63:[21, 3], Operations: ['54-33=21', '30-27=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
85,
49,
81,
98
] | 10 | [
"98-85=13",
"49+81=130",
"130/13=10"
] | Current State: 10:[85, 49, 81, 98], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [49, 81, 13]
Generated Node #2: [49, 81, 13] from Operation: 98-85=13
Current State: 10:[49, 81, 13], Operations: ['98-85=13']
Exploring Operation: 49+81=130, Resulting Numbers: [13, 130]
Generated Node #3: [13, 130] from Operation: 49+81=130
Current State: 10:[13, 130], Operations: ['98-85=13', '49+81=130']
Exploring Operation: 130/13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[85, 49, 81, 98], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [49, 81, 13]
Generated Node #0,0: 10:[49, 81, 13] Operation: 98-85=13
Exploring Operation: 85-81=4, Resulting Numbers: [49, 98, 4]
Generated Node #0,1: 10:[49, 98, 4] Operation: 85-81=4
Exploring Operation: 85-49=36, Resulting Numbers: [81, 98, 36]
Generated Node #0,2: 10:[81, 98, 36] Operation: 85-49=36
Exploring Operation: 98-81=17, Resulting Numbers: [85, 49, 17]
Generated Node #0,3: 10:[85, 49, 17] Operation: 98-81=17
Exploring Operation: 98/49=2, Resulting Numbers: [85, 81, 2]
Generated Node #0,4: 10:[85, 81, 2] Operation: 98/49=2
Moving to Node #0,0
Current State: 10:[49, 81, 13], Operations: ['98-85=13']
Exploring Operation: 81-49=32, Resulting Numbers: [13, 32]
Generated Node #0,0,0: 10:[13, 32] Operation: 81-49=32
Exploring Operation: 81-13=68, Resulting Numbers: [49, 68]
Generated Node #0,0,1: 10:[49, 68] Operation: 81-13=68
Exploring Operation: 49-13=36, Resulting Numbers: [81, 36]
Generated Node #0,0,2: 10:[81, 36] Operation: 49-13=36
Exploring Operation: 49+81=130, Resulting Numbers: [13, 130]
Generated Node #0,0,3: 10:[13, 130] Operation: 49+81=130
Exploring Operation: 49+13=62, Resulting Numbers: [81, 62]
Generated Node #0,0,4: 10:[81, 62] Operation: 49+13=62
Moving to Node #0,3
Current State: 10:[85, 49, 17], Operations: ['98-81=17']
Exploring Operation: 85/17=5, Resulting Numbers: [49, 5]
Generated Node #0,3,0: 10:[49, 5] Operation: 85/17=5
Exploring Operation: 85+49=134, Resulting Numbers: [17, 134]
Generated Node #0,3,1: 10:[17, 134] Operation: 85+49=134
Exploring Operation: 85-49=36, Resulting Numbers: [17, 36]
Generated Node #0,3,2: 10:[17, 36] Operation: 85-49=36
Exploring Operation: 85-17=68, Resulting Numbers: [49, 68]
Generated Node #0,3,3: 10:[49, 68] Operation: 85-17=68
Exploring Operation: 49-17=32, Resulting Numbers: [85, 32]
Generated Node #0,3,4: 10:[85, 32] Operation: 49-17=32
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[17, 36], Operations: ['98-81=17', '85-49=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,10 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[49, 5], Operations: ['98-81=17', '85/17=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[49, 68], Operations: ['98-81=17', '85-17=68']
Exploring Operation: 49*68=3332, Resulting Numbers: [3332]
3332,10 unequal: No Solution
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 49+68=117, Resulting Numbers: [117]
117,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 10:[85, 32], Operations: ['98-81=17', '49-17=32']
Exploring Operation: 85*32=2720, Resulting Numbers: [2720]
2720,10 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 85+32=117, Resulting Numbers: [117]
117,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[17, 134], Operations: ['98-81=17', '85+49=134']
Exploring Operation: 17+134=151, Resulting Numbers: [151]
151,10 unequal: No Solution
Exploring Operation: 134-17=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 17*134=2278, Resulting Numbers: [2278]
2278,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 10:[49, 98, 4], Operations: ['85-81=4']
Exploring Operation: 49+4=53, Resulting Numbers: [98, 53]
Generated Node #0,1,0: 10:[98, 53] Operation: 49+4=53
Exploring Operation: 98/49=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 10:[4, 2] Operation: 98/49=2
Exploring Operation: 98-49=49, Resulting Numbers: [4, 49]
Generated Node #0,1,2: 10:[4, 49] Operation: 98-49=49
Exploring Operation: 49-4=45, Resulting Numbers: [98, 45]
Generated Node #0,1,3: 10:[98, 45] Operation: 49-4=45
Exploring Operation: 98-4=94, Resulting Numbers: [49, 94]
Generated Node #0,1,4: 10:[49, 94] Operation: 98-4=94
Moving to Node #0,4
Current State: 10:[85, 81, 2], Operations: ['98/49=2']
Exploring Operation: 85-2=83, Resulting Numbers: [81, 83]
Generated Node #0,4,0: 10:[81, 83] Operation: 85-2=83
Exploring Operation: 85-81=4, Resulting Numbers: [2, 4]
Generated Node #0,4,1: 10:[2, 4] Operation: 85-81=4
Exploring Operation: 81-2=79, Resulting Numbers: [85, 79]
Generated Node #0,4,2: 10:[85, 79] Operation: 81-2=79
Exploring Operation: 85+2=87, Resulting Numbers: [81, 87]
Generated Node #0,4,3: 10:[81, 87] Operation: 85+2=87
Exploring Operation: 81+2=83, Resulting Numbers: [85, 83]
Generated Node #0,4,4: 10:[85, 83] Operation: 81+2=83
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 10:[2, 4], Operations: ['98/49=2', '85-81=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 10:[81, 83], Operations: ['98/49=2', '85-2=83']
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 81+83=164, Resulting Numbers: [164]
164,10 unequal: No Solution
Exploring Operation: 81*83=6723, Resulting Numbers: [6723]
6723,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 10:[85, 79], Operations: ['98/49=2', '81-2=79']
Exploring Operation: 85*79=6715, Resulting Numbers: [6715]
6715,10 unequal: No Solution
Exploring Operation: 85-79=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 85+79=164, Resulting Numbers: [164]
164,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 10:[81, 87], Operations: ['98/49=2', '85+2=87']
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 81+87=168, Resulting Numbers: [168]
168,10 unequal: No Solution
Exploring Operation: 81*87=7047, Resulting Numbers: [7047]
7047,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 10:[85, 83], Operations: ['98/49=2', '81+2=83']
Exploring Operation: 85-83=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 85+83=168, Resulting Numbers: [168]
168,10 unequal: No Solution
Exploring Operation: 85*83=7055, Resulting Numbers: [7055]
7055,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 10:[81, 98, 36], Operations: ['85-49=36']
Exploring Operation: 81+98=179, Resulting Numbers: [36, 179]
Generated Node #0,2,0: 10:[36, 179] Operation: 81+98=179
Exploring Operation: 98-36=62, Resulting Numbers: [81, 62]
Generated Node #0,2,1: 10:[81, 62] Operation: 98-36=62
Exploring Operation: 98-81=17, Resulting Numbers: [36, 17]
Generated Node #0,2,2: 10:[36, 17] Operation: 98-81=17
Exploring Operation: 81-36=45, Resulting Numbers: [98, 45]
Generated Node #0,2,3: 10:[98, 45] Operation: 81-36=45
Exploring Operation: 81+36=117, Resulting Numbers: [98, 117]
Generated Node #0,2,4: 10:[98, 117] Operation: 81+36=117
Moving to Node #0,1,1
Current State: 10:[4, 2], Operations: ['85-81=4', '98/49=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[13, 32], Operations: ['98-85=13', '81-49=32']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[36, 17], Operations: ['85-49=36', '98-81=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[4, 49], Operations: ['85-81=4', '98-49=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,10 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[81, 36], Operations: ['98-85=13', '49-13=36']
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[49, 68], Operations: ['98-85=13', '81-13=68']
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 49*68=3332, Resulting Numbers: [3332]
3332,10 unequal: No Solution
Exploring Operation: 49+68=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[81, 62], Operations: ['85-49=36', '98-36=62']
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 81*62=5022, Resulting Numbers: [5022]
5022,10 unequal: No Solution
Exploring Operation: 81+62=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[98, 45], Operations: ['85-49=36', '81-36=45']
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 98*45=4410, Resulting Numbers: [4410]
4410,10 unequal: No Solution
Exploring Operation: 98+45=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Moving to Node #0,1,4
Current State: 10:[49, 94], Operations: ['85-81=4', '98-4=94']
Exploring Operation: 49*94=4606, Resulting Numbers: [4606]
4606,10 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 49+94=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[98, 45], Operations: ['85-81=4', '49-4=45']
Exploring Operation: 98*45=4410, Resulting Numbers: [4410]
4410,10 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 98+45=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Moving to Node #0,0,4
Current State: 10:[81, 62], Operations: ['98-85=13', '49+13=62']
Exploring Operation: 81+62=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 81*62=5022, Resulting Numbers: [5022]
5022,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[13, 130], Operations: ['98-85=13', '49+81=130']
Exploring Operation: 130-13=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 13+130=143, Resulting Numbers: [143]
143,10 unequal: No Solution
Exploring Operation: 13*130=1690, Resulting Numbers: [1690]
1690,10 unequal: No Solution
Exploring Operation: 130/13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[85, 49, 81, 98], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [49, 81, 13]
Generated Node #0,0: 10:[49, 81, 13] Operation: 98-85=13
Moving to Node #0,0
Current State: 10:[49, 81, 13], Operations: ['98-85=13']
Exploring Operation: 49+81=130, Resulting Numbers: [13, 130]
Generated Node #0,0,3: 10:[13, 130] Operation: 49+81=130
Moving to Node #0,0,3
Current State: 10:[13, 130], Operations: ['98-85=13', '49+81=130']
Exploring Operation: 130/13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.91059 | hs_5 | sum_heuristic |
[
60,
10,
50,
77
] | 76 | [
"60-10=50",
"50/50=1",
"77-1=76"
] | Current State: 76:[60, 10, 50, 77], Operations: []
Exploring Operation: 60-10=50, Resulting Numbers: [50, 77, 50]
Generated Node #2: [50, 77, 50] from Operation: 60-10=50
Current State: 76:[50, 77, 50], Operations: ['60-10=50']
Exploring Operation: 50/50=1, Resulting Numbers: [77, 1]
Generated Node #3: [77, 1] from Operation: 50/50=1
Current State: 76:[77, 1], Operations: ['60-10=50', '50/50=1']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[60, 10, 50, 77], Operations: []
Exploring Operation: 50-10=40, Resulting Numbers: [60, 77, 40]
Generated Node #0,0: 76:[60, 77, 40] Operation: 50-10=40
Exploring Operation: 60/10=6, Resulting Numbers: [50, 77, 6]
Generated Node #0,1: 76:[50, 77, 6] Operation: 60/10=6
Exploring Operation: 60-50=10, Resulting Numbers: [10, 77, 10]
Generated Node #0,2: 76:[10, 77, 10] Operation: 60-50=10
Exploring Operation: 60+10=70, Resulting Numbers: [50, 77, 70]
Generated Node #0,3: 76:[50, 77, 70] Operation: 60+10=70
Exploring Operation: 50/10=5, Resulting Numbers: [60, 77, 5]
Generated Node #0,4: 76:[60, 77, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[10, 77, 10], Operations: ['60-50=10']
Exploring Operation: 77-10=67, Resulting Numbers: [10, 67]
Generated Node #0,2,0: 76:[10, 67] Operation: 77-10=67
Exploring Operation: 10+10=20, Resulting Numbers: [77, 20]
Generated Node #0,2,1: 76:[77, 20] Operation: 10+10=20
Exploring Operation: 10-10=0, Resulting Numbers: [77, 0]
Generated Node #0,2,2: 76:[77, 0] Operation: 10-10=0
Exploring Operation: 10/10=1, Resulting Numbers: [77, 1]
Generated Node #0,2,3: 76:[77, 1] Operation: 10/10=1
Exploring Operation: 77-10=67, Resulting Numbers: [10, 67]
Generated Node #0,2,4: 76:[10, 67] Operation: 77-10=67
Moving to Node #0,2,1
Current State: 76:[77, 20], Operations: ['60-50=10', '10+10=20']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,76 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[77, 1], Operations: ['60-50=10', '10/10=1']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[60, 10, 50, 77], Operations: []
Exploring Operation: 60-50=10, Resulting Numbers: [10, 77, 10]
Generated Node #0,2: 76:[10, 77, 10] Operation: 60-50=10
Moving to Node #0,2
Current State: 76:[10, 77, 10], Operations: ['60-50=10']
Exploring Operation: 10/10=1, Resulting Numbers: [77, 1]
Generated Node #0,2,3: 76:[77, 1] Operation: 10/10=1
Moving to Node #0,2,3
Current State: 76:[77, 1], Operations: ['60-50=10', '10/10=1']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
56,
17,
22,
36
] | 100 | [
"56-36=20",
"22-17=5",
"20*5=100"
] | Current State: 100:[56, 17, 22, 36], Operations: []
Exploring Operation: 56-36=20, Resulting Numbers: [17, 22, 20]
Generated Node #2: [17, 22, 20] from Operation: 56-36=20
Current State: 100:[17, 22, 20], Operations: ['56-36=20']
Exploring Operation: 22-17=5, Resulting Numbers: [20, 5]
Generated Node #3: [20, 5] from Operation: 22-17=5
Current State: 100:[20, 5], Operations: ['56-36=20', '22-17=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[56, 17, 22, 36], Operations: []
Exploring Operation: 36-17=19, Resulting Numbers: [56, 22, 19]
Generated Node #0,0: 100:[56, 22, 19] Operation: 36-17=19
Exploring Operation: 56-36=20, Resulting Numbers: [17, 22, 20]
Generated Node #0,1: 100:[17, 22, 20] Operation: 56-36=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[17, 22, 20], Operations: ['56-36=20']
Exploring Operation: 20-17=3, Resulting Numbers: [22, 3]
Generated Node #0,1,0: 100:[22, 3] Operation: 20-17=3
Exploring Operation: 22-17=5, Resulting Numbers: [20, 5]
Generated Node #0,1,1: 100:[20, 5] Operation: 22-17=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[20, 5], Operations: ['56-36=20', '22-17=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[56, 17, 22, 36], Operations: []
Exploring Operation: 56-36=20, Resulting Numbers: [17, 22, 20]
Generated Node #0,1: 100:[17, 22, 20] Operation: 56-36=20
Moving to Node #0,1
Current State: 100:[17, 22, 20], Operations: ['56-36=20']
Exploring Operation: 22-17=5, Resulting Numbers: [20, 5]
Generated Node #0,1,1: 100:[20, 5] Operation: 22-17=5
Moving to Node #0,1,1
Current State: 100:[20, 5], Operations: ['56-36=20', '22-17=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
69,
5,
46,
43
] | 100 | [
"69+46=115",
"5*43=215",
"215-115=100"
] | Current State: 100:[69, 5, 46, 43], Operations: []
Exploring Operation: 69+46=115, Resulting Numbers: [5, 43, 115]
Generated Node #2: [5, 43, 115] from Operation: 69+46=115
Current State: 100:[5, 43, 115], Operations: ['69+46=115']
Exploring Operation: 5*43=215, Resulting Numbers: [115, 215]
Generated Node #3: [115, 215] from Operation: 5*43=215
Current State: 100:[115, 215], Operations: ['69+46=115', '5*43=215']
Exploring Operation: 215-115=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[69, 5, 46, 43], Operations: []
Exploring Operation: 69+43=112, Resulting Numbers: [5, 46, 112]
Generated Node #0,0: 100:[5, 46, 112] Operation: 69+43=112
Exploring Operation: 69-46=23, Resulting Numbers: [5, 43, 23]
Generated Node #0,1: 100:[5, 43, 23] Operation: 69-46=23
Exploring Operation: 69+46=115, Resulting Numbers: [5, 43, 115]
Generated Node #0,2: 100:[5, 43, 115] Operation: 69+46=115
Exploring Operation: 46-43=3, Resulting Numbers: [69, 5, 3]
Generated Node #0,3: 100:[69, 5, 3] Operation: 46-43=3
Exploring Operation: 69-43=26, Resulting Numbers: [5, 46, 26]
Generated Node #0,4: 100:[5, 46, 26] Operation: 69-43=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[5, 46, 26], Operations: ['69-43=26']
Exploring Operation: 5+46=51, Resulting Numbers: [26, 51]
Generated Node #0,4,0: 100:[26, 51] Operation: 5+46=51
Exploring Operation: 46-26=20, Resulting Numbers: [5, 20]
Generated Node #0,4,1: 100:[5, 20] Operation: 46-26=20
Exploring Operation: 26-5=21, Resulting Numbers: [46, 21]
Generated Node #0,4,2: 100:[46, 21] Operation: 26-5=21
Exploring Operation: 46-5=41, Resulting Numbers: [26, 41]
Generated Node #0,4,3: 100:[26, 41] Operation: 46-5=41
Exploring Operation: 5+26=31, Resulting Numbers: [46, 31]
Generated Node #0,4,4: 100:[46, 31] Operation: 5+26=31
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 100:[5, 20], Operations: ['69-43=26', '46-26=20']
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[69, 5, 46, 43], Operations: []
Exploring Operation: 69-43=26, Resulting Numbers: [5, 46, 26]
Generated Node #0,4: 100:[5, 46, 26] Operation: 69-43=26
Moving to Node #0,4
Current State: 100:[5, 46, 26], Operations: ['69-43=26']
Exploring Operation: 46-26=20, Resulting Numbers: [5, 20]
Generated Node #0,4,1: 100:[5, 20] Operation: 46-26=20
Moving to Node #0,4,1
Current State: 100:[5, 20], Operations: ['69-43=26', '46-26=20']
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
74,
46,
24,
48
] | 44 | [
"74-46=28",
"24+48=72",
"72-28=44"
] | Current State: 44:[74, 46, 24, 48], Operations: []
Exploring Operation: 74-46=28, Resulting Numbers: [24, 48, 28]
Generated Node #2: [24, 48, 28] from Operation: 74-46=28
Current State: 44:[24, 48, 28], Operations: ['74-46=28']
Exploring Operation: 24+48=72, Resulting Numbers: [28, 72]
Generated Node #3: [28, 72] from Operation: 24+48=72
Current State: 44:[28, 72], Operations: ['74-46=28', '24+48=72']
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[74, 46, 24, 48], Operations: []
Exploring Operation: 74-24=50, Resulting Numbers: [46, 48, 50]
Generated Node #0,0: 44:[46, 48, 50] Operation: 74-24=50
Exploring Operation: 74-46=28, Resulting Numbers: [24, 48, 28]
Generated Node #0,1: 44:[24, 48, 28] Operation: 74-46=28
Exploring Operation: 74-48=26, Resulting Numbers: [46, 24, 26]
Generated Node #0,2: 44:[46, 24, 26] Operation: 74-48=26
Moving to Node #0,2
Current State: 44:[46, 24, 26], Operations: ['74-48=26']
Exploring Operation: 46-26=20, Resulting Numbers: [24, 20]
Generated Node #0,2,0: 44:[24, 20] Operation: 46-26=20
Exploring Operation: 46-24=22, Resulting Numbers: [26, 22]
Generated Node #0,2,1: 44:[26, 22] Operation: 46-24=22
Exploring Operation: 26-24=2, Resulting Numbers: [46, 2]
Generated Node #0,2,2: 44:[46, 2] Operation: 26-24=2
Moving to Node #0,0
Current State: 44:[46, 48, 50], Operations: ['74-24=50']
Exploring Operation: 50-48=2, Resulting Numbers: [46, 2]
Generated Node #0,0,0: 44:[46, 2] Operation: 50-48=2
Exploring Operation: 48-46=2, Resulting Numbers: [50, 2]
Generated Node #0,0,1: 44:[50, 2] Operation: 48-46=2
Exploring Operation: 50-46=4, Resulting Numbers: [48, 4]
Generated Node #0,0,2: 44:[48, 4] Operation: 50-46=4
Moving to Node #0,1
Current State: 44:[24, 48, 28], Operations: ['74-46=28']
Exploring Operation: 48/24=2, Resulting Numbers: [28, 2]
Generated Node #0,1,0: 44:[28, 2] Operation: 48/24=2
Exploring Operation: 28-24=4, Resulting Numbers: [48, 4]
Generated Node #0,1,1: 44:[48, 4] Operation: 28-24=4
Exploring Operation: 48-28=20, Resulting Numbers: [24, 20]
Generated Node #0,1,2: 44:[24, 20] Operation: 48-28=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[48, 4], Operations: ['74-46=28', '28-24=4']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[74, 46, 24, 48], Operations: []
Exploring Operation: 74-46=28, Resulting Numbers: [24, 48, 28]
Generated Node #0,1: 44:[24, 48, 28] Operation: 74-46=28
Moving to Node #0,1
Current State: 44:[24, 48, 28], Operations: ['74-46=28']
Exploring Operation: 28-24=4, Resulting Numbers: [48, 4]
Generated Node #0,1,1: 44:[48, 4] Operation: 28-24=4
Moving to Node #0,1,1
Current State: 44:[48, 4], Operations: ['74-46=28', '28-24=4']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
64,
94,
67,
36
] | 46 | [
"64*67=4288",
"36+4288=4324",
"4324/94=46"
] | Current State: 46:[64, 94, 67, 36], Operations: []
Exploring Operation: 64*67=4288, Resulting Numbers: [94, 36, 4288]
Generated Node #2: [94, 36, 4288] from Operation: 64*67=4288
Current State: 46:[94, 36, 4288], Operations: ['64*67=4288']
Exploring Operation: 36+4288=4324, Resulting Numbers: [94, 4324]
Generated Node #3: [94, 4324] from Operation: 36+4288=4324
Current State: 46:[94, 4324], Operations: ['64*67=4288', '36+4288=4324']
Exploring Operation: 4324/94=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[64, 94, 67, 36], Operations: []
Exploring Operation: 94-67=27, Resulting Numbers: [64, 36, 27]
Generated Node #0,0: 46:[64, 36, 27] Operation: 94-67=27
Exploring Operation: 94-64=30, Resulting Numbers: [67, 36, 30]
Generated Node #0,1: 46:[67, 36, 30] Operation: 94-64=30
Exploring Operation: 94-36=58, Resulting Numbers: [64, 67, 58]
Generated Node #0,2: 46:[64, 67, 58] Operation: 94-36=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[64, 36, 27], Operations: ['94-67=27']
Exploring Operation: 36-27=9, Resulting Numbers: [64, 9]
Generated Node #0,0,0: 46:[64, 9] Operation: 36-27=9
Exploring Operation: 64-36=28, Resulting Numbers: [27, 28]
Generated Node #0,0,1: 46:[27, 28] Operation: 64-36=28
Exploring Operation: 64-27=37, Resulting Numbers: [36, 37]
Generated Node #0,0,2: 46:[36, 37] Operation: 64-27=37
Moving to Node #0,0,1
Current State: 46:[27, 28], Operations: ['94-67=27', '64-36=28']
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,46 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[36, 37], Operations: ['94-67=27', '64-27=37']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,46 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[64, 9], Operations: ['94-67=27', '36-27=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,46 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,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
Current State: 46:[67, 36, 30], Operations: ['94-64=30']
Exploring Operation: 36-30=6, Resulting Numbers: [67, 6]
Generated Node #0,1,0: 46:[67, 6] Operation: 36-30=6
Exploring Operation: 67-30=37, Resulting Numbers: [36, 37]
Generated Node #0,1,1: 46:[36, 37] Operation: 67-30=37
Exploring Operation: 67-36=31, Resulting Numbers: [30, 31]
Generated Node #0,1,2: 46:[30, 31] Operation: 67-36=31
Moving to Node #0,1,2
Current State: 46:[30, 31], Operations: ['94-64=30', '67-36=31']
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,46 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[36, 37], Operations: ['94-64=30', '67-30=37']
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[67, 6], Operations: ['94-64=30', '36-30=6']
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,46 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[64, 67, 58], Operations: ['94-36=58']
Exploring Operation: 64-58=6, Resulting Numbers: [67, 6]
Generated Node #0,2,0: 46:[67, 6] Operation: 64-58=6
Exploring Operation: 67-58=9, Resulting Numbers: [64, 9]
Generated Node #0,2,1: 46:[64, 9] Operation: 67-58=9
Exploring Operation: 67-64=3, Resulting Numbers: [58, 3]
Generated Node #0,2,2: 46:[58, 3] Operation: 67-64=3
Moving to Node #0,2,2
Current State: 46:[58, 3], Operations: ['94-36=58', '67-64=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,46 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[67, 6], Operations: ['94-36=58', '64-58=6']
Exploring Operation: 67*6=402, Resulting Numbers: [402]
402,46 unequal: No Solution
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[64, 9], Operations: ['94-36=58', '67-58=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,46 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 |
[
14,
73,
9,
82
] | 32 | [
"73-14=59",
"9+82=91",
"91-59=32"
] | Current State: 32:[14, 73, 9, 82], Operations: []
Exploring Operation: 73-14=59, Resulting Numbers: [9, 82, 59]
Generated Node #2: [9, 82, 59] from Operation: 73-14=59
Current State: 32:[9, 82, 59], Operations: ['73-14=59']
Exploring Operation: 9+82=91, Resulting Numbers: [59, 91]
Generated Node #3: [59, 91] from Operation: 9+82=91
Current State: 32:[59, 91], Operations: ['73-14=59', '9+82=91']
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[14, 73, 9, 82], Operations: []
Exploring Operation: 73-14=59, Resulting Numbers: [9, 82, 59]
Generated Node #0,0: 32:[9, 82, 59] Operation: 73-14=59
Exploring Operation: 82-14=68, Resulting Numbers: [73, 9, 68]
Generated Node #0,1: 32:[73, 9, 68] Operation: 82-14=68
Exploring Operation: 82-73=9, Resulting Numbers: [14, 9, 9]
Generated Node #0,2: 32:[14, 9, 9] Operation: 82-73=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[14, 9, 9], Operations: ['82-73=9']
Exploring Operation: 9/9=1, Resulting Numbers: [14, 1]
Generated Node #0,2,0: 32:[14, 1] Operation: 9/9=1
Exploring Operation: 14-9=5, Resulting Numbers: [9, 5]
Generated Node #0,2,1: 32:[9, 5] Operation: 14-9=5
Exploring Operation: 14-9=5, Resulting Numbers: [9, 5]
Generated Node #0,2,2: 32:[9, 5] Operation: 14-9=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 32:[9, 5], Operations: ['82-73=9', '14-9=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[9, 5], Operations: ['82-73=9', '14-9=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[14, 1], Operations: ['82-73=9', '9/9=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,32 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[9, 82, 59], Operations: ['73-14=59']
Exploring Operation: 82-59=23, Resulting Numbers: [9, 23]
Generated Node #0,0,0: 32:[9, 23] Operation: 82-59=23
Exploring Operation: 59-9=50, Resulting Numbers: [82, 50]
Generated Node #0,0,1: 32:[82, 50] Operation: 59-9=50
Exploring Operation: 82-9=73, Resulting Numbers: [59, 73]
Generated Node #0,0,2: 32:[59, 73] Operation: 82-9=73
Moving to Node #0,0,0
Current State: 32:[9, 23], Operations: ['73-14=59', '82-59=23']
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,32 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[14, 73, 9, 82], Operations: []
Exploring Operation: 73-14=59, Resulting Numbers: [9, 82, 59]
Generated Node #0,0: 32:[9, 82, 59] Operation: 73-14=59
Moving to Node #0,0
Current State: 32:[9, 82, 59], Operations: ['73-14=59']
Exploring Operation: 82-59=23, Resulting Numbers: [9, 23]
Generated Node #0,0,0: 32:[9, 23] Operation: 82-59=23
Moving to Node #0,0,0
Current State: 32:[9, 23], Operations: ['73-14=59', '82-59=23']
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
78,
80,
72,
68
] | 76 | [
"80-78=2",
"72*2=144",
"144-68=76"
] | Current State: 76:[78, 80, 72, 68], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [72, 68, 2]
Generated Node #2: [72, 68, 2] from Operation: 80-78=2
Current State: 76:[72, 68, 2], Operations: ['80-78=2']
Exploring Operation: 72*2=144, Resulting Numbers: [68, 144]
Generated Node #3: [68, 144] from Operation: 72*2=144
Current State: 76:[68, 144], Operations: ['80-78=2', '72*2=144']
Exploring Operation: 144-68=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[78, 80, 72, 68], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [78, 80, 4]
Generated Node #0,0: 76:[78, 80, 4] Operation: 72-68=4
Exploring Operation: 80-78=2, Resulting Numbers: [72, 68, 2]
Generated Node #0,1: 76:[72, 68, 2] Operation: 80-78=2
Exploring Operation: 80-68=12, Resulting Numbers: [78, 72, 12]
Generated Node #0,2: 76:[78, 72, 12] Operation: 80-68=12
Exploring Operation: 78-68=10, Resulting Numbers: [80, 72, 10]
Generated Node #0,3: 76:[80, 72, 10] Operation: 78-68=10
Exploring Operation: 78-72=6, Resulting Numbers: [80, 68, 6]
Generated Node #0,4: 76:[80, 68, 6] Operation: 78-72=6
Moving to Node #0,0
Current State: 76:[78, 80, 4], Operations: ['72-68=4']
Exploring Operation: 80/4=20, Resulting Numbers: [78, 20]
Generated Node #0,0,0: 76:[78, 20] Operation: 80/4=20
Exploring Operation: 78-4=74, Resulting Numbers: [80, 74]
Generated Node #0,0,1: 76:[80, 74] Operation: 78-4=74
Exploring Operation: 80-4=76, Resulting Numbers: [78, 76]
Generated Node #0,0,2: 76:[78, 76] Operation: 80-4=76
Exploring Operation: 78+4=82, Resulting Numbers: [80, 82]
Generated Node #0,0,3: 76:[80, 82] Operation: 78+4=82
Exploring Operation: 80-78=2, Resulting Numbers: [4, 2]
Generated Node #0,0,4: 76:[4, 2] Operation: 80-78=2
Moving to Node #0,1
Current State: 76:[72, 68, 2], Operations: ['80-78=2']
Exploring Operation: 68+2=70, Resulting Numbers: [72, 70]
Generated Node #0,1,0: 76:[72, 70] Operation: 68+2=70
Exploring Operation: 72-68=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 76:[2, 4] Operation: 72-68=4
Exploring Operation: 72+2=74, Resulting Numbers: [68, 74]
Generated Node #0,1,2: 76:[68, 74] Operation: 72+2=74
Exploring Operation: 68/2=34, Resulting Numbers: [72, 34]
Generated Node #0,1,3: 76:[72, 34] Operation: 68/2=34
Exploring Operation: 72/2=36, Resulting Numbers: [68, 36]
Generated Node #0,1,4: 76:[68, 36] Operation: 72/2=36
Moving to Node #0,2
Current State: 76:[78, 72, 12], Operations: ['80-68=12']
Exploring Operation: 72+12=84, Resulting Numbers: [78, 84]
Generated Node #0,2,0: 76:[78, 84] Operation: 72+12=84
Exploring Operation: 78-12=66, Resulting Numbers: [72, 66]
Generated Node #0,2,1: 76:[72, 66] Operation: 78-12=66
Exploring Operation: 78-72=6, Resulting Numbers: [12, 6]
Generated Node #0,2,2: 76:[12, 6] Operation: 78-72=6
Exploring Operation: 78+12=90, Resulting Numbers: [72, 90]
Generated Node #0,2,3: 76:[72, 90] Operation: 78+12=90
Exploring Operation: 72/12=6, Resulting Numbers: [78, 6]
Generated Node #0,2,4: 76:[78, 6] Operation: 72/12=6
Moving to Node #0,3
Current State: 76:[80, 72, 10], Operations: ['78-68=10']
Exploring Operation: 80-10=70, Resulting Numbers: [72, 70]
Generated Node #0,3,0: 76:[72, 70] Operation: 80-10=70
Exploring Operation: 72+10=82, Resulting Numbers: [80, 82]
Generated Node #0,3,1: 76:[80, 82] Operation: 72+10=82
Exploring Operation: 80/10=8, Resulting Numbers: [72, 8]
Generated Node #0,3,2: 76:[72, 8] Operation: 80/10=8
Exploring Operation: 80-72=8, Resulting Numbers: [10, 8]
Generated Node #0,3,3: 76:[10, 8] Operation: 80-72=8
Exploring Operation: 80+10=90, Resulting Numbers: [72, 90]
Generated Node #0,3,4: 76:[72, 90] Operation: 80+10=90
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 76:[72, 8], Operations: ['78-68=10', '80/10=8']
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,76 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,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,3,0
Current State: 76:[72, 70], Operations: ['78-68=10', '80-10=70']
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,76 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,76 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,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,3,1
Current State: 76:[80, 82], Operations: ['78-68=10', '72+10=82']
Exploring Operation: 80*82=6560, Resulting Numbers: [6560]
6560,76 unequal: No Solution
Exploring Operation: 80+82=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Exploring Operation: 82-80=2, Resulting Numbers: [2]
2,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,3,3
Current State: 76:[10, 8], Operations: ['78-68=10', '80-72=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,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,3,4
Current State: 76:[72, 90], Operations: ['78-68=10', '80+10=90']
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,76 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: 76:[80, 68, 6], Operations: ['78-72=6']
Exploring Operation: 80-6=74, Resulting Numbers: [68, 74]
Generated Node #0,4,0: 76:[68, 74] Operation: 80-6=74
Exploring Operation: 80+6=86, Resulting Numbers: [68, 86]
Generated Node #0,4,1: 76:[68, 86] Operation: 80+6=86
Exploring Operation: 80-68=12, Resulting Numbers: [6, 12]
Generated Node #0,4,2: 76:[6, 12] Operation: 80-68=12
Exploring Operation: 68+6=74, Resulting Numbers: [80, 74]
Generated Node #0,4,3: 76:[80, 74] Operation: 68+6=74
Exploring Operation: 68-6=62, Resulting Numbers: [80, 62]
Generated Node #0,4,4: 76:[80, 62] Operation: 68-6=62
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 76:[80, 74], Operations: ['78-72=6', '68+6=74']
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,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,4,2
Current State: 76:[6, 12], Operations: ['78-72=6', '80-68=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,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,4,0
Current State: 76:[68, 74], Operations: ['78-72=6', '80-6=74']
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,76 unequal: No Solution
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,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,4,1
Current State: 76:[68, 86], Operations: ['78-72=6', '80+6=86']
Exploring Operation: 68*86=5848, Resulting Numbers: [5848]
5848,76 unequal: No Solution
Exploring Operation: 68+86=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,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,4,4
Current State: 76:[80, 62], Operations: ['78-72=6', '68-6=62']
Exploring Operation: 80*62=4960, Resulting Numbers: [4960]
4960,76 unequal: No Solution
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 80+62=142, Resulting Numbers: [142]
142,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 76:[4, 2], Operations: ['72-68=4', '80-78=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[2, 4], Operations: ['80-78=2', '72-68=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[78, 76], Operations: ['72-68=4', '80-4=76']
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 78+76=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 78*76=5928, Resulting Numbers: [5928]
5928,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[78, 20], Operations: ['72-68=4', '80/4=20']
Exploring Operation: 78*20=1560, Resulting Numbers: [1560]
1560,76 unequal: No Solution
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,76 unequal: No Solution
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[78, 6], Operations: ['80-68=12', '72/12=6']
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,76 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[80, 74], Operations: ['72-68=4', '78-4=74']
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,76 unequal: No Solution
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[72, 34], Operations: ['80-78=2', '68/2=34']
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 72*34=2448, Resulting Numbers: [2448]
2448,76 unequal: No Solution
Exploring Operation: 72+34=106, Resulting Numbers: [106]
106,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[12, 6], Operations: ['80-68=12', '78-72=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[78, 84], Operations: ['80-68=12', '72+12=84']
Exploring Operation: 78*84=6552, Resulting Numbers: [6552]
6552,76 unequal: No Solution
Exploring Operation: 78+84=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[72, 70], Operations: ['80-78=2', '68+2=70']
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,76 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[80, 82], Operations: ['72-68=4', '78+4=82']
Exploring Operation: 82-80=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 80*82=6560, Resulting Numbers: [6560]
6560,76 unequal: No Solution
Exploring Operation: 80+82=162, Resulting Numbers: [162]
162,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[68, 36], Operations: ['80-78=2', '72/2=36']
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,76 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,76 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[68, 74], Operations: ['80-78=2', '72+2=74']
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,76 unequal: No Solution
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[72, 66], Operations: ['80-68=12', '78-12=66']
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 72*66=4752, Resulting Numbers: [4752]
4752,76 unequal: No Solution
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[72, 90], Operations: ['80-68=12', '78+12=90']
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,76 unequal: No Solution
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,76 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
2,
63,
53
] | 60 | [
"7+2=9",
"63/9=7",
"53+7=60"
] | Current State: 60:[7, 2, 63, 53], Operations: []
Exploring Operation: 7+2=9, Resulting Numbers: [63, 53, 9]
Generated Node #2: [63, 53, 9] from Operation: 7+2=9
Current State: 60:[63, 53, 9], Operations: ['7+2=9']
Exploring Operation: 63/9=7, Resulting Numbers: [53, 7]
Generated Node #3: [53, 7] from Operation: 63/9=7
Current State: 60:[53, 7], Operations: ['7+2=9', '63/9=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[7, 2, 63, 53], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [7, 2, 10]
Generated Node #0,0: 60:[7, 2, 10] Operation: 63-53=10
Exploring Operation: 63/7=9, Resulting Numbers: [2, 53, 9]
Generated Node #0,1: 60:[2, 53, 9] Operation: 63/7=9
Exploring Operation: 7+53=60, Resulting Numbers: [2, 63, 60]
Generated Node #0,2: 60:[2, 63, 60] Operation: 7+53=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[7, 2, 10], Operations: ['63-53=10']
Exploring Operation: 7-2=5, Resulting Numbers: [10, 5]
Generated Node #0,0,0: 60:[10, 5] Operation: 7-2=5
Exploring Operation: 7+2=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 60:[10, 9] Operation: 7+2=9
Exploring Operation: 10-7=3, Resulting Numbers: [2, 3]
Generated Node #0,0,2: 60:[2, 3] Operation: 10-7=3
Moving to Node #0,0,0
Current State: 60:[10, 5], Operations: ['63-53=10', '7-2=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[2, 3], Operations: ['63-53=10', '10-7=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[10, 9], Operations: ['63-53=10', '7+2=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,60 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[2, 63, 60], Operations: ['7+53=60']
Exploring Operation: 60/2=30, Resulting Numbers: [63, 30]
Generated Node #0,2,0: 60:[63, 30] Operation: 60/2=30
Exploring Operation: 63-60=3, Resulting Numbers: [2, 3]
Generated Node #0,2,1: 60:[2, 3] Operation: 63-60=3
Exploring Operation: 63-2=61, Resulting Numbers: [60, 61]
Generated Node #0,2,2: 60:[60, 61] Operation: 63-2=61
Moving to Node #0,2,1
Current State: 60:[2, 3], Operations: ['7+53=60', '63-60=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[60, 61], Operations: ['7+53=60', '63-2=61']
Exploring Operation: 60+61=121, Resulting Numbers: [121]
121,60 unequal: No Solution
Exploring Operation: 60*61=3660, Resulting Numbers: [3660]
3660,60 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[63, 30], Operations: ['7+53=60', '60/2=30']
Exploring Operation: 63*30=1890, Resulting Numbers: [1890]
1890,60 unequal: No Solution
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[2, 53, 9], Operations: ['63/7=9']
Exploring Operation: 2+9=11, Resulting Numbers: [53, 11]
Generated Node #0,1,0: 60:[53, 11] Operation: 2+9=11
Exploring Operation: 2+53=55, Resulting Numbers: [9, 55]
Generated Node #0,1,1: 60:[9, 55] Operation: 2+53=55
Exploring Operation: 53+9=62, Resulting Numbers: [2, 62]
Generated Node #0,1,2: 60:[2, 62] Operation: 53+9=62
Moving to Node #0,1,2
Current State: 60:[2, 62], Operations: ['63/7=9', '53+9=62']
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[7, 2, 63, 53], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [2, 53, 9]
Generated Node #0,1: 60:[2, 53, 9] Operation: 63/7=9
Moving to Node #0,1
Current State: 60:[2, 53, 9], Operations: ['63/7=9']
Exploring Operation: 53+9=62, Resulting Numbers: [2, 62]
Generated Node #0,1,2: 60:[2, 62] Operation: 53+9=62
Moving to Node #0,1,2
Current State: 60:[2, 62], Operations: ['63/7=9', '53+9=62']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
51,
84,
94,
27
] | 100 | [
"84-51=33",
"94-27=67",
"33+67=100"
] | Current State: 100:[51, 84, 94, 27], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [94, 27, 33]
Generated Node #2: [94, 27, 33] from Operation: 84-51=33
Current State: 100:[94, 27, 33], Operations: ['84-51=33']
Exploring Operation: 94-27=67, Resulting Numbers: [33, 67]
Generated Node #3: [33, 67] from Operation: 94-27=67
Current State: 100:[33, 67], Operations: ['84-51=33', '94-27=67']
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[51, 84, 94, 27], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [51, 27, 10]
Generated Node #0,0: 100:[51, 27, 10] Operation: 94-84=10
Moving to Node #0,0
Current State: 100:[51, 27, 10], Operations: ['94-84=10']
Exploring Operation: 51-27=24, Resulting Numbers: [10, 24]
Generated Node #0,0,0: 100:[10, 24] Operation: 51-27=24
Moving to Node #0,0,0
Current State: 100:[10, 24], Operations: ['94-84=10', '51-27=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,100 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
34,
31,
52,
94
] | 23 | [
"34+31=65",
"94-52=42",
"65-42=23"
] | Current State: 23:[34, 31, 52, 94], Operations: []
Exploring Operation: 34+31=65, Resulting Numbers: [52, 94, 65]
Generated Node #2: [52, 94, 65] from Operation: 34+31=65
Current State: 23:[52, 94, 65], Operations: ['34+31=65']
Exploring Operation: 94-52=42, Resulting Numbers: [65, 42]
Generated Node #3: [65, 42] from Operation: 94-52=42
Current State: 23:[65, 42], Operations: ['34+31=65', '94-52=42']
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[34, 31, 52, 94], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [34, 31, 42]
Generated Node #0,0: 23:[34, 31, 42] Operation: 94-52=42
Moving to Node #0,0
Current State: 23:[34, 31, 42], Operations: ['94-52=42']
Exploring Operation: 42-34=8, Resulting Numbers: [31, 8]
Generated Node #0,0,0: 23:[31, 8] Operation: 42-34=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[31, 8], Operations: ['94-52=42', '42-34=8']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[34, 31, 52, 94], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [34, 31, 42]
Generated Node #0,0: 23:[34, 31, 42] Operation: 94-52=42
Moving to Node #0,0
Current State: 23:[34, 31, 42], Operations: ['94-52=42']
Exploring Operation: 42-34=8, Resulting Numbers: [31, 8]
Generated Node #0,0,0: 23:[31, 8] Operation: 42-34=8
Moving to Node #0,0,0
Current State: 23:[31, 8], Operations: ['94-52=42', '42-34=8']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
11,
9,
73,
99
] | 46 | [
"11+9=20",
"99-73=26",
"20+26=46"
] | Current State: 46:[11, 9, 73, 99], Operations: []
Exploring Operation: 11+9=20, Resulting Numbers: [73, 99, 20]
Generated Node #2: [73, 99, 20] from Operation: 11+9=20
Current State: 46:[73, 99, 20], Operations: ['11+9=20']
Exploring Operation: 99-73=26, Resulting Numbers: [20, 26]
Generated Node #3: [20, 26] from Operation: 99-73=26
Current State: 46:[20, 26], Operations: ['11+9=20', '99-73=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[11, 9, 73, 99], Operations: []
Exploring Operation: 99-73=26, Resulting Numbers: [11, 9, 26]
Generated Node #0,0: 46:[11, 9, 26] Operation: 99-73=26
Exploring Operation: 99/11=9, Resulting Numbers: [9, 73, 9]
Generated Node #0,1: 46:[9, 73, 9] Operation: 99/11=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[11, 9, 26], Operations: ['99-73=26']
Exploring Operation: 11+9=20, Resulting Numbers: [26, 20]
Generated Node #0,0,0: 46:[26, 20] Operation: 11+9=20
Exploring Operation: 11-9=2, Resulting Numbers: [26, 2]
Generated Node #0,0,1: 46:[26, 2] Operation: 11-9=2
Moving to Node #0,0,1
Current State: 46:[26, 2], Operations: ['99-73=26', '11-9=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[26, 20], Operations: ['99-73=26', '11+9=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[11, 9, 73, 99], Operations: []
Exploring Operation: 99-73=26, Resulting Numbers: [11, 9, 26]
Generated Node #0,0: 46:[11, 9, 26] Operation: 99-73=26
Moving to Node #0,0
Current State: 46:[11, 9, 26], Operations: ['99-73=26']
Exploring Operation: 11+9=20, Resulting Numbers: [26, 20]
Generated Node #0,0,0: 46:[26, 20] Operation: 11+9=20
Moving to Node #0,0,0
Current State: 46:[26, 20], Operations: ['99-73=26', '11+9=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
61,
92,
30,
4
] | 32 | [
"61-30=31",
"4*31=124",
"124-92=32"
] | Current State: 32:[61, 92, 30, 4], Operations: []
Exploring Operation: 61-30=31, Resulting Numbers: [92, 4, 31]
Generated Node #2: [92, 4, 31] from Operation: 61-30=31
Current State: 32:[92, 4, 31], Operations: ['61-30=31']
Exploring Operation: 4*31=124, Resulting Numbers: [92, 124]
Generated Node #3: [92, 124] from Operation: 4*31=124
Current State: 32:[92, 124], Operations: ['61-30=31', '4*31=124']
Exploring Operation: 124-92=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[61, 92, 30, 4], Operations: []
Exploring Operation: 92/4=23, Resulting Numbers: [61, 30, 23]
Generated Node #0,0: 32:[61, 30, 23] Operation: 92/4=23
Exploring Operation: 92-61=31, Resulting Numbers: [30, 4, 31]
Generated Node #0,1: 32:[30, 4, 31] Operation: 92-61=31
Moving to Node #0,1
Current State: 32:[30, 4, 31], Operations: ['92-61=31']
Exploring Operation: 31-30=1, Resulting Numbers: [4, 1]
Generated Node #0,1,0: 32:[4, 1] Operation: 31-30=1
Exploring Operation: 30+4=34, Resulting Numbers: [31, 34]
Generated Node #0,1,1: 32:[31, 34] Operation: 30+4=34
Moving to Node #0,0
Current State: 32:[61, 30, 23], Operations: ['92/4=23']
Exploring Operation: 61-23=38, Resulting Numbers: [30, 38]
Generated Node #0,0,0: 32:[30, 38] Operation: 61-23=38
Exploring Operation: 61-30=31, Resulting Numbers: [23, 31]
Generated Node #0,0,1: 32:[23, 31] Operation: 61-30=31
Moving to Node #0,1,0
Current State: 32:[4, 1], Operations: ['92-61=31', '31-30=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[31, 34], Operations: ['92-61=31', '30+4=34']
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[23, 31], Operations: ['92/4=23', '61-30=31']
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[30, 38], Operations: ['92/4=23', '61-23=38']
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,32 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
37,
14,
60,
97
] | 88 | [
"37+14=51",
"97-60=37",
"51+37=88"
] | Current State: 88:[37, 14, 60, 97], Operations: []
Exploring Operation: 37+14=51, Resulting Numbers: [60, 97, 51]
Generated Node #2: [60, 97, 51] from Operation: 37+14=51
Current State: 88:[60, 97, 51], Operations: ['37+14=51']
Exploring Operation: 97-60=37, Resulting Numbers: [51, 37]
Generated Node #3: [51, 37] from Operation: 97-60=37
Current State: 88:[51, 37], Operations: ['37+14=51', '97-60=37']
Exploring Operation: 51+37=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[37, 14, 60, 97], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [14, 97, 23]
Generated Node #0,0: 88:[14, 97, 23] Operation: 60-37=23
Moving to Node #0,0
Current State: 88:[14, 97, 23], Operations: ['60-37=23']
Exploring Operation: 97-14=83, Resulting Numbers: [23, 83]
Generated Node #0,0,0: 88:[23, 83] Operation: 97-14=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[23, 83], Operations: ['60-37=23', '97-14=83']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,88 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 |
[
61,
23,
20,
23
] | 41 | [
"61+23=84",
"20+23=43",
"84-43=41"
] | Current State: 41:[61, 23, 20, 23], Operations: []
Exploring Operation: 61+23=84, Resulting Numbers: [20, 84]
Generated Node #2: [20, 84] from Operation: 61+23=84
Current State: 41:[20, 84], Operations: ['61+23=84']
Exploring Operation: 20+23=43, Resulting Numbers: [84, 43]
Generated Node #3: [84, 43] from Operation: 20+23=43
Current State: 41:[84, 43], Operations: ['61+23=84', '20+23=43']
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[61, 23, 20, 23], Operations: []
Exploring Operation: 61-23=38, Resulting Numbers: [23, 20, 38]
Generated Node #0,0: 41:[23, 20, 38] Operation: 61-23=38
Exploring Operation: 20+23=43, Resulting Numbers: [61, 23, 43]
Generated Node #0,1: 41:[61, 23, 43] Operation: 20+23=43
Exploring Operation: 61-20=41, Resulting Numbers: [23, 23, 41]
Generated Node #0,2: 41:[23, 23, 41] Operation: 61-20=41
Exploring Operation: 61-23=38, Resulting Numbers: [20, 23, 38]
Generated Node #0,3: 41:[20, 23, 38] Operation: 61-23=38
Exploring Operation: 23+20=43, Resulting Numbers: [61, 23, 43]
Generated Node #0,4: 41:[61, 23, 43] Operation: 23+20=43
Moving to Node #0,2
Current State: 41:[23, 23, 41], Operations: ['61-20=41']
Exploring Operation: 23+41=64, Resulting Numbers: [23, 64]
Generated Node #0,2,0: 41:[23, 64] Operation: 23+41=64
Exploring Operation: 23+23=46, Resulting Numbers: [41, 46]
Generated Node #0,2,1: 41:[41, 46] Operation: 23+23=46
Exploring Operation: 41-23=18, Resulting Numbers: [23, 18]
Generated Node #0,2,2: 41:[23, 18] Operation: 41-23=18
Exploring Operation: 23-23=0, Resulting Numbers: [41, 0]
Generated Node #0,2,3: 41:[41, 0] Operation: 23-23=0
Exploring Operation: 23/23=1, Resulting Numbers: [41, 1]
Generated Node #0,2,4: 41:[41, 1] Operation: 23/23=1
Moving to Node #0,4
Current State: 41:[61, 23, 43], Operations: ['23+20=43']
Exploring Operation: 61+23=84, Resulting Numbers: [43, 84]
Generated Node #0,4,0: 41:[43, 84] Operation: 61+23=84
Exploring Operation: 61-43=18, Resulting Numbers: [23, 18]
Generated Node #0,4,1: 41:[23, 18] Operation: 61-43=18
Exploring Operation: 61-23=38, Resulting Numbers: [43, 38]
Generated Node #0,4,2: 41:[43, 38] Operation: 61-23=38
Exploring Operation: 43-23=20, Resulting Numbers: [61, 20]
Generated Node #0,4,3: 41:[61, 20] Operation: 43-23=20
Exploring Operation: 23+43=66, Resulting Numbers: [61, 66]
Generated Node #0,4,4: 41:[61, 66] Operation: 23+43=66
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[43, 38], Operations: ['23+20=43', '61-23=38']
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 43*38=1634, Resulting Numbers: [1634]
1634,41 unequal: No Solution
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[23, 18], Operations: ['23+20=43', '61-43=18']
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[61, 23, 20, 23], Operations: []
Exploring Operation: 23+20=43, Resulting Numbers: [61, 23, 43]
Generated Node #0,4: 41:[61, 23, 43] Operation: 23+20=43
Moving to Node #0,4
Current State: 41:[61, 23, 43], Operations: ['23+20=43']
Exploring Operation: 61-43=18, Resulting Numbers: [23, 18]
Generated Node #0,4,1: 41:[23, 18] Operation: 61-43=18
Moving to Node #0,4,1
Current State: 41:[23, 18], Operations: ['23+20=43', '61-43=18']
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
50,
78,
31,
15
] | 45 | [
"78-50=28",
"31-28=3",
"15*3=45"
] | Current State: 45:[50, 78, 31, 15], Operations: []
Exploring Operation: 78-50=28, Resulting Numbers: [31, 15, 28]
Generated Node #2: [31, 15, 28] from Operation: 78-50=28
Current State: 45:[31, 15, 28], Operations: ['78-50=28']
Exploring Operation: 31-28=3, Resulting Numbers: [15, 3]
Generated Node #3: [15, 3] from Operation: 31-28=3
Current State: 45:[15, 3], Operations: ['78-50=28', '31-28=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[50, 78, 31, 15], Operations: []
Exploring Operation: 78-15=63, Resulting Numbers: [50, 31, 63]
Generated Node #0,0: 45:[50, 31, 63] Operation: 78-15=63
Exploring Operation: 78-50=28, Resulting Numbers: [31, 15, 28]
Generated Node #0,1: 45:[31, 15, 28] Operation: 78-50=28
Exploring Operation: 31+15=46, Resulting Numbers: [50, 78, 46]
Generated Node #0,2: 45:[50, 78, 46] Operation: 31+15=46
Exploring Operation: 78-31=47, Resulting Numbers: [50, 15, 47]
Generated Node #0,3: 45:[50, 15, 47] Operation: 78-31=47
Exploring Operation: 50-31=19, Resulting Numbers: [78, 15, 19]
Generated Node #0,4: 45:[78, 15, 19] Operation: 50-31=19
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[50, 15, 47], Operations: ['78-31=47']
Exploring Operation: 47-15=32, Resulting Numbers: [50, 32]
Generated Node #0,3,0: 45:[50, 32] Operation: 47-15=32
Exploring Operation: 50-15=35, Resulting Numbers: [47, 35]
Generated Node #0,3,1: 45:[47, 35] Operation: 50-15=35
Exploring Operation: 15+47=62, Resulting Numbers: [50, 62]
Generated Node #0,3,2: 45:[50, 62] Operation: 15+47=62
Exploring Operation: 50+15=65, Resulting Numbers: [47, 65]
Generated Node #0,3,3: 45:[47, 65] Operation: 50+15=65
Exploring Operation: 50-47=3, Resulting Numbers: [15, 3]
Generated Node #0,3,4: 45:[15, 3] Operation: 50-47=3
Moving to Node #0,3,4
Current State: 45:[15, 3], Operations: ['78-31=47', '50-47=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[50, 78, 31, 15], Operations: []
Exploring Operation: 78-31=47, Resulting Numbers: [50, 15, 47]
Generated Node #0,3: 45:[50, 15, 47] Operation: 78-31=47
Moving to Node #0,3
Current State: 45:[50, 15, 47], Operations: ['78-31=47']
Exploring Operation: 50-47=3, Resulting Numbers: [15, 3]
Generated Node #0,3,4: 45:[15, 3] Operation: 50-47=3
Moving to Node #0,3,4
Current State: 45:[15, 3], Operations: ['78-31=47', '50-47=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
58,
1,
2,
66
] | 52 | [
"58+1=59",
"2*59=118",
"118-66=52"
] | Current State: 52:[58, 1, 2, 66], Operations: []
Exploring Operation: 58+1=59, Resulting Numbers: [2, 66, 59]
Generated Node #2: [2, 66, 59] from Operation: 58+1=59
Current State: 52:[2, 66, 59], Operations: ['58+1=59']
Exploring Operation: 2*59=118, Resulting Numbers: [66, 118]
Generated Node #3: [66, 118] from Operation: 2*59=118
Current State: 52:[66, 118], Operations: ['58+1=59', '2*59=118']
Exploring Operation: 118-66=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[58, 1, 2, 66], Operations: []
Exploring Operation: 58-1=57, Resulting Numbers: [2, 66, 57]
Generated Node #0,0: 52:[2, 66, 57] Operation: 58-1=57
Exploring Operation: 66-58=8, Resulting Numbers: [1, 2, 8]
Generated Node #0,1: 52:[1, 2, 8] Operation: 66-58=8
Exploring Operation: 58/2=29, Resulting Numbers: [1, 66, 29]
Generated Node #0,2: 52:[1, 66, 29] Operation: 58/2=29
Exploring Operation: 66/2=33, Resulting Numbers: [58, 1, 33]
Generated Node #0,3: 52:[58, 1, 33] Operation: 66/2=33
Exploring Operation: 58-2=56, Resulting Numbers: [1, 66, 56]
Generated Node #0,4: 52:[1, 66, 56] Operation: 58-2=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[1, 2, 8], Operations: ['66-58=8']
Exploring Operation: 1*2=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 52:[8, 2] Operation: 1*2=2
Exploring Operation: 8-1=7, Resulting Numbers: [2, 7]
Generated Node #0,1,1: 52:[2, 7] Operation: 8-1=7
Exploring Operation: 8/2=4, Resulting Numbers: [1, 4]
Generated Node #0,1,2: 52:[1, 4] Operation: 8/2=4
Exploring Operation: 2/1=2, Resulting Numbers: [8, 2]
Generated Node #0,1,3: 52:[8, 2] Operation: 2/1=2
Exploring Operation: 8-2=6, Resulting Numbers: [1, 6]
Generated Node #0,1,4: 52:[1, 6] Operation: 8-2=6
Moving to Node #0,1,2
Current State: 52:[1, 4], Operations: ['66-58=8', '8/2=4']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Moving to Node #0,1,4
Current State: 52:[1, 6], Operations: ['66-58=8', '8-2=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[2, 7], Operations: ['66-58=8', '8-1=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[8, 2], Operations: ['66-58=8', '1*2=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[8, 2], Operations: ['66-58=8', '2/1=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,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,3
Current State: 52:[58, 1, 33], Operations: ['66/2=33']
Exploring Operation: 58-33=25, Resulting Numbers: [1, 25]
Generated Node #0,3,0: 52:[1, 25] Operation: 58-33=25
Exploring Operation: 33-1=32, Resulting Numbers: [58, 32]
Generated Node #0,3,1: 52:[58, 32] Operation: 33-1=32
Exploring Operation: 58-1=57, Resulting Numbers: [33, 57]
Generated Node #0,3,2: 52:[33, 57] Operation: 58-1=57
Exploring Operation: 58*1=58, Resulting Numbers: [33, 58]
Generated Node #0,3,3: 52:[33, 58] Operation: 58*1=58
Exploring Operation: 58/1=58, Resulting Numbers: [33, 58]
Generated Node #0,3,4: 52:[33, 58] Operation: 58/1=58
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 52:[1, 25], Operations: ['66/2=33', '58-33=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,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,3,1
Current State: 52:[58, 32], Operations: ['66/2=33', '33-1=32']
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,52 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,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,3,2
Current State: 52:[33, 57], Operations: ['66/2=33', '58-1=57']
Exploring Operation: 33+57=90, Resulting Numbers: [90]
90,52 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 33*57=1881, Resulting Numbers: [1881]
1881,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,3,3
Current State: 52:[33, 58], Operations: ['66/2=33', '58*1=58']
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,52 unequal: No Solution
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,52 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,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,3,4
Current State: 52:[33, 58], Operations: ['66/2=33', '58/1=58']
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,52 unequal: No Solution
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,52 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[1, 66, 29], Operations: ['58/2=29']
Exploring Operation: 29-1=28, Resulting Numbers: [66, 28]
Generated Node #0,2,0: 52:[66, 28] Operation: 29-1=28
Exploring Operation: 66-29=37, Resulting Numbers: [1, 37]
Generated Node #0,2,1: 52:[1, 37] Operation: 66-29=37
Exploring Operation: 66-1=65, Resulting Numbers: [29, 65]
Generated Node #0,2,2: 52:[29, 65] Operation: 66-1=65
Exploring Operation: 66/1=66, Resulting Numbers: [29, 66]
Generated Node #0,2,3: 52:[29, 66] Operation: 66/1=66
Exploring Operation: 1*66=66, Resulting Numbers: [29, 66]
Generated Node #0,2,4: 52:[29, 66] Operation: 1*66=66
Moving to Node #0,2,1
Current State: 52:[1, 37], Operations: ['58/2=29', '66-29=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[29, 65], Operations: ['58/2=29', '66-1=65']
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,52 unequal: No Solution
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[66, 28], Operations: ['58/2=29', '29-1=28']
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,52 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[29, 66], Operations: ['58/2=29', '66/1=66']
Exploring Operation: 29*66=1914, Resulting Numbers: [1914]
1914,52 unequal: No Solution
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,52 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Moving to Node #0,2,4
Current State: 52:[29, 66], Operations: ['58/2=29', '1*66=66']
Exploring Operation: 29*66=1914, Resulting Numbers: [1914]
1914,52 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[2, 66, 57], Operations: ['58-1=57']
Exploring Operation: 2+66=68, Resulting Numbers: [57, 68]
Generated Node #0,0,0: 52:[57, 68] Operation: 2+66=68
Exploring Operation: 66-2=64, Resulting Numbers: [57, 64]
Generated Node #0,0,1: 52:[57, 64] Operation: 66-2=64
Exploring Operation: 66-57=9, Resulting Numbers: [2, 9]
Generated Node #0,0,2: 52:[2, 9] Operation: 66-57=9
Exploring Operation: 66/2=33, Resulting Numbers: [57, 33]
Generated Node #0,0,3: 52:[57, 33] Operation: 66/2=33
Exploring Operation: 57-2=55, Resulting Numbers: [66, 55]
Generated Node #0,0,4: 52:[66, 55] Operation: 57-2=55
Moving to Node #0,0,2
Current State: 52:[2, 9], Operations: ['58-1=57', '66-57=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[57, 33], Operations: ['58-1=57', '66/2=33']
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,52 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[57, 64], Operations: ['58-1=57', '66-2=64']
Exploring Operation: 57*64=3648, Resulting Numbers: [3648]
3648,52 unequal: No Solution
Exploring Operation: 57+64=121, Resulting Numbers: [121]
121,52 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Moving to Node #0,0,4
Current State: 52:[66, 55], Operations: ['58-1=57', '57-2=55']
Exploring Operation: 66*55=3630, Resulting Numbers: [3630]
3630,52 unequal: No Solution
Exploring Operation: 66+55=121, Resulting Numbers: [121]
121,52 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[57, 68], Operations: ['58-1=57', '2+66=68']
Exploring Operation: 57+68=125, Resulting Numbers: [125]
125,52 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 57*68=3876, Resulting Numbers: [3876]
3876,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,4
Current State: 52:[1, 66, 56], Operations: ['58-2=56']
Exploring Operation: 56-1=55, Resulting Numbers: [66, 55]
Generated Node #0,4,0: 52:[66, 55] Operation: 56-1=55
Exploring Operation: 66/1=66, Resulting Numbers: [56, 66]
Generated Node #0,4,1: 52:[56, 66] Operation: 66/1=66
Exploring Operation: 1*66=66, Resulting Numbers: [56, 66]
Generated Node #0,4,2: 52:[56, 66] Operation: 1*66=66
Exploring Operation: 66-56=10, Resulting Numbers: [1, 10]
Generated Node #0,4,3: 52:[1, 10] Operation: 66-56=10
Exploring Operation: 66-1=65, Resulting Numbers: [56, 65]
Generated Node #0,4,4: 52:[56, 65] Operation: 66-1=65
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 52:[1, 10], Operations: ['58-2=56', '66-56=10']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,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,4,0
Current State: 52:[66, 55], Operations: ['58-2=56', '56-1=55']
Exploring Operation: 66+55=121, Resulting Numbers: [121]
121,52 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 66*55=3630, Resulting Numbers: [3630]
3630,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,4,4
Current State: 52:[56, 65], Operations: ['58-2=56', '66-1=65']
Exploring Operation: 56+65=121, Resulting Numbers: [121]
121,52 unequal: No Solution
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 56*65=3640, Resulting Numbers: [3640]
3640,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,4,1
Current State: 52:[56, 66], Operations: ['58-2=56', '66/1=66']
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,52 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 56*66=3696, Resulting Numbers: [3696]
3696,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,4,2
Current State: 52:[56, 66], Operations: ['58-2=56', '1*66=66']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,52 unequal: No Solution
Exploring Operation: 56*66=3696, Resulting Numbers: [3696]
3696,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_5 | sum_heuristic |
[
5,
13,
7,
65
] | 80 | [
"13-5=8",
"7+65=72",
"8+72=80"
] | Current State: 80:[5, 13, 7, 65], Operations: []
Exploring Operation: 13-5=8, Resulting Numbers: [7, 65, 8]
Generated Node #2: [7, 65, 8] from Operation: 13-5=8
Current State: 80:[7, 65, 8], Operations: ['13-5=8']
Exploring Operation: 7+65=72, Resulting Numbers: [8, 72]
Generated Node #3: [8, 72] from Operation: 7+65=72
Current State: 80:[8, 72], Operations: ['13-5=8', '7+65=72']
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[5, 13, 7, 65], Operations: []
Exploring Operation: 65/5=13, Resulting Numbers: [13, 7, 13]
Generated Node #0,0: 80:[13, 7, 13] Operation: 65/5=13
Exploring Operation: 13+65=78, Resulting Numbers: [5, 7, 78]
Generated Node #0,1: 80:[5, 7, 78] Operation: 13+65=78
Exploring Operation: 7+65=72, Resulting Numbers: [5, 13, 72]
Generated Node #0,2: 80:[5, 13, 72] Operation: 7+65=72
Exploring Operation: 65/13=5, Resulting Numbers: [5, 7, 5]
Generated Node #0,3: 80:[5, 7, 5] Operation: 65/13=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[5, 7, 5], Operations: ['65/13=5']
Exploring Operation: 7-5=2, Resulting Numbers: [5, 2]
Generated Node #0,3,0: 80:[5, 2] Operation: 7-5=2
Exploring Operation: 7-5=2, Resulting Numbers: [5, 2]
Generated Node #0,3,1: 80:[5, 2] Operation: 7-5=2
Exploring Operation: 5+7=12, Resulting Numbers: [5, 12]
Generated Node #0,3,2: 80:[5, 12] Operation: 5+7=12
Exploring Operation: 5+5=10, Resulting Numbers: [7, 10]
Generated Node #0,3,3: 80:[7, 10] Operation: 5+5=10
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 80:[5, 2], Operations: ['65/13=5', '7-5=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,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,3,1
Current State: 80:[5, 2], Operations: ['65/13=5', '7-5=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,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,3,3
Current State: 80:[7, 10], Operations: ['65/13=5', '5+5=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,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,3,2
Current State: 80:[5, 12], Operations: ['65/13=5', '5+7=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[5, 7, 78], Operations: ['13+65=78']
Exploring Operation: 7+78=85, Resulting Numbers: [5, 85]
Generated Node #0,1,0: 80:[5, 85] Operation: 7+78=85
Exploring Operation: 5+78=83, Resulting Numbers: [7, 83]
Generated Node #0,1,1: 80:[7, 83] Operation: 5+78=83
Exploring Operation: 5+7=12, Resulting Numbers: [78, 12]
Generated Node #0,1,2: 80:[78, 12] Operation: 5+7=12
Exploring Operation: 7-5=2, Resulting Numbers: [78, 2]
Generated Node #0,1,3: 80:[78, 2] Operation: 7-5=2
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 80:[78, 2], Operations: ['13+65=78', '7-5=2']
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,80 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[5, 13, 7, 65], Operations: []
Exploring Operation: 13+65=78, Resulting Numbers: [5, 7, 78]
Generated Node #0,1: 80:[5, 7, 78] Operation: 13+65=78
Moving to Node #0,1
Current State: 80:[5, 7, 78], Operations: ['13+65=78']
Exploring Operation: 7-5=2, Resulting Numbers: [78, 2]
Generated Node #0,1,3: 80:[78, 2] Operation: 7-5=2
Moving to Node #0,1,3
Current State: 80:[78, 2], Operations: ['13+65=78', '7-5=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
21,
40,
42,
38
] | 55 | [
"42-40=2",
"38*2=76",
"76-21=55"
] | Current State: 55:[21, 40, 42, 38], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [21, 38, 2]
Generated Node #2: [21, 38, 2] from Operation: 42-40=2
Current State: 55:[21, 38, 2], Operations: ['42-40=2']
Exploring Operation: 38*2=76, Resulting Numbers: [21, 76]
Generated Node #3: [21, 76] from Operation: 38*2=76
Current State: 55:[21, 76], Operations: ['42-40=2', '38*2=76']
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[21, 40, 42, 38], Operations: []
Exploring Operation: 40-38=2, Resulting Numbers: [21, 42, 2]
Generated Node #0,0: 55:[21, 42, 2] Operation: 40-38=2
Moving to Node #0,0
Current State: 55:[21, 42, 2], Operations: ['40-38=2']
Exploring Operation: 42/21=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 55:[2, 2] Operation: 42/21=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[2, 2], Operations: ['40-38=2', '42/21=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
72,
82,
58
] | 90 | [
"42+72=114",
"82-58=24",
"114-24=90"
] | Current State: 90:[42, 72, 82, 58], Operations: []
Exploring Operation: 42+72=114, Resulting Numbers: [82, 58, 114]
Generated Node #2: [82, 58, 114] from Operation: 42+72=114
Current State: 90:[82, 58, 114], Operations: ['42+72=114']
Exploring Operation: 82-58=24, Resulting Numbers: [114, 24]
Generated Node #3: [114, 24] from Operation: 82-58=24
Current State: 90:[114, 24], Operations: ['42+72=114', '82-58=24']
Exploring Operation: 114-24=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[42, 72, 82, 58], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [72, 82, 16]
Generated Node #0,0: 90:[72, 82, 16] Operation: 58-42=16
Exploring Operation: 82-72=10, Resulting Numbers: [42, 58, 10]
Generated Node #0,1: 90:[42, 58, 10] Operation: 82-72=10
Exploring Operation: 72-42=30, Resulting Numbers: [82, 58, 30]
Generated Node #0,2: 90:[82, 58, 30] Operation: 72-42=30
Exploring Operation: 72-58=14, Resulting Numbers: [42, 82, 14]
Generated Node #0,3: 90:[42, 82, 14] Operation: 72-58=14
Exploring Operation: 82-58=24, Resulting Numbers: [42, 72, 24]
Generated Node #0,4: 90:[42, 72, 24] Operation: 82-58=24
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[42, 82, 14], Operations: ['72-58=14']
Exploring Operation: 42+14=56, Resulting Numbers: [82, 56]
Generated Node #0,3,0: 90:[82, 56] Operation: 42+14=56
Exploring Operation: 82-42=40, Resulting Numbers: [14, 40]
Generated Node #0,3,1: 90:[14, 40] Operation: 82-42=40
Exploring Operation: 82+14=96, Resulting Numbers: [42, 96]
Generated Node #0,3,2: 90:[42, 96] Operation: 82+14=96
Exploring Operation: 42-14=28, Resulting Numbers: [82, 28]
Generated Node #0,3,3: 90:[82, 28] Operation: 42-14=28
Exploring Operation: 42/14=3, Resulting Numbers: [82, 3]
Generated Node #0,3,4: 90:[82, 3] Operation: 42/14=3
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[14, 40], Operations: ['72-58=14', '82-42=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,90 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,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,3,4
Current State: 90:[82, 3], Operations: ['72-58=14', '42/14=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,90 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,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,3,2
Current State: 90:[42, 96], Operations: ['72-58=14', '82+14=96']
Exploring Operation: 42*96=4032, Resulting Numbers: [4032]
4032,90 unequal: No Solution
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 42+96=138, Resulting Numbers: [138]
138,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,3,3
Current State: 90:[82, 28], Operations: ['72-58=14', '42-14=28']
Exploring Operation: 82+28=110, Resulting Numbers: [110]
110,90 unequal: No Solution
Exploring Operation: 82*28=2296, Resulting Numbers: [2296]
2296,90 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,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,3,0
Current State: 90:[82, 56], Operations: ['72-58=14', '42+14=56']
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,90 unequal: No Solution
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,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:[42, 58, 10], Operations: ['82-72=10']
Exploring Operation: 58-42=16, Resulting Numbers: [10, 16]
Generated Node #0,1,0: 90:[10, 16] Operation: 58-42=16
Exploring Operation: 42+58=100, Resulting Numbers: [10, 100]
Generated Node #0,1,1: 90:[10, 100] Operation: 42+58=100
Exploring Operation: 42-10=32, Resulting Numbers: [58, 32]
Generated Node #0,1,2: 90:[58, 32] Operation: 42-10=32
Exploring Operation: 42+10=52, Resulting Numbers: [58, 52]
Generated Node #0,1,3: 90:[58, 52] Operation: 42+10=52
Exploring Operation: 58-10=48, Resulting Numbers: [42, 48]
Generated Node #0,1,4: 90:[42, 48] Operation: 58-10=48
Moving to Node #0,1,0
Current State: 90:[10, 16], Operations: ['82-72=10', '58-42=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[42, 48], Operations: ['82-72=10', '58-10=48']
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[42, 72, 82, 58], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [42, 58, 10]
Generated Node #0,1: 90:[42, 58, 10] Operation: 82-72=10
Moving to Node #0,1
Current State: 90:[42, 58, 10], Operations: ['82-72=10']
Exploring Operation: 58-10=48, Resulting Numbers: [42, 48]
Generated Node #0,1,4: 90:[42, 48] Operation: 58-10=48
Moving to Node #0,1,4
Current State: 90:[42, 48], Operations: ['82-72=10', '58-10=48']
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
5,
33,
52,
12
] | 35 | [
"52-33=19",
"19-12=7",
"5*7=35"
] | Current State: 35:[5, 33, 52, 12], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [5, 12, 19]
Generated Node #2: [5, 12, 19] from Operation: 52-33=19
Current State: 35:[5, 12, 19], Operations: ['52-33=19']
Exploring Operation: 19-12=7, Resulting Numbers: [5, 7]
Generated Node #3: [5, 7] from Operation: 19-12=7
Current State: 35:[5, 7], Operations: ['52-33=19', '19-12=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[5, 33, 52, 12], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [5, 12, 19]
Generated Node #0,0: 35:[5, 12, 19] Operation: 52-33=19
Exploring Operation: 52-5=47, Resulting Numbers: [33, 12, 47]
Generated Node #0,1: 35:[33, 12, 47] Operation: 52-5=47
Exploring Operation: 52-12=40, Resulting Numbers: [5, 33, 40]
Generated Node #0,2: 35:[5, 33, 40] Operation: 52-12=40
Moving to Node #0,2
Current State: 35:[5, 33, 40], Operations: ['52-12=40']
Exploring Operation: 40-5=35, Resulting Numbers: [33, 35]
Generated Node #0,2,0: 35:[33, 35] Operation: 40-5=35
Exploring Operation: 40/5=8, Resulting Numbers: [33, 8]
Generated Node #0,2,1: 35:[33, 8] Operation: 40/5=8
Exploring Operation: 40-33=7, Resulting Numbers: [5, 7]
Generated Node #0,2,2: 35:[5, 7] Operation: 40-33=7
Moving to Node #0,0
Current State: 35:[5, 12, 19], Operations: ['52-33=19']
Exploring Operation: 12+19=31, Resulting Numbers: [5, 31]
Generated Node #0,0,0: 35:[5, 31] Operation: 12+19=31
Exploring Operation: 19-12=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 35:[5, 7] Operation: 19-12=7
Exploring Operation: 12-5=7, Resulting Numbers: [19, 7]
Generated Node #0,0,2: 35:[19, 7] Operation: 12-5=7
Moving to Node #0,1
Current State: 35:[33, 12, 47], Operations: ['52-5=47']
Exploring Operation: 33+12=45, Resulting Numbers: [47, 45]
Generated Node #0,1,0: 35:[47, 45] Operation: 33+12=45
Exploring Operation: 47-12=35, Resulting Numbers: [33, 35]
Generated Node #0,1,1: 35:[33, 35] Operation: 47-12=35
Exploring Operation: 47-33=14, Resulting Numbers: [12, 14]
Generated Node #0,1,2: 35:[12, 14] Operation: 47-33=14
Moving to Node #0,2,2
Current State: 35:[5, 7], Operations: ['52-12=40', '40-33=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[5, 33, 52, 12], Operations: []
Exploring Operation: 52-12=40, Resulting Numbers: [5, 33, 40]
Generated Node #0,2: 35:[5, 33, 40] Operation: 52-12=40
Moving to Node #0,2
Current State: 35:[5, 33, 40], Operations: ['52-12=40']
Exploring Operation: 40-33=7, Resulting Numbers: [5, 7]
Generated Node #0,2,2: 35:[5, 7] Operation: 40-33=7
Moving to Node #0,2,2
Current State: 35:[5, 7], Operations: ['52-12=40', '40-33=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.984375 | hs_3 | sum_heuristic |
[
12,
17,
6,
12
] | 41 | [
"12/6=2",
"12*2=24",
"17+24=41"
] | Current State: 41:[12, 17, 6, 12], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [17, 2]
Generated Node #2: [17, 2] from Operation: 12/6=2
Current State: 41:[17, 2], Operations: ['12/6=2']
Exploring Operation: 12*2=24, Resulting Numbers: [17, 24]
Generated Node #3: [17, 24] from Operation: 12*2=24
Current State: 41:[17, 24], Operations: ['12/6=2', '12*2=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[12, 17, 6, 12], Operations: []
Exploring Operation: 12+6=18, Resulting Numbers: [17, 12, 18]
Generated Node #0,0: 41:[17, 12, 18] Operation: 12+6=18
Exploring Operation: 12+12=24, Resulting Numbers: [17, 6, 24]
Generated Node #0,1: 41:[17, 6, 24] Operation: 12+12=24
Exploring Operation: 12+17=29, Resulting Numbers: [6, 12, 29]
Generated Node #0,2: 41:[6, 12, 29] Operation: 12+17=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[17, 12, 18], Operations: ['12+6=18']
Exploring Operation: 17+12=29, Resulting Numbers: [18, 29]
Generated Node #0,0,0: 41:[18, 29] Operation: 17+12=29
Exploring Operation: 12+18=30, Resulting Numbers: [17, 30]
Generated Node #0,0,1: 41:[17, 30] Operation: 12+18=30
Exploring Operation: 17+18=35, Resulting Numbers: [12, 35]
Generated Node #0,0,2: 41:[12, 35] Operation: 17+18=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[18, 29], Operations: ['12+6=18', '17+12=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,41 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,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:[17, 30], Operations: ['12+6=18', '12+18=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,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:[12, 35], Operations: ['12+6=18', '17+18=35']
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,41 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,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:[17, 6, 24], Operations: ['12+12=24']
Exploring Operation: 17+6=23, Resulting Numbers: [24, 23]
Generated Node #0,1,0: 41:[24, 23] Operation: 17+6=23
Exploring Operation: 6+24=30, Resulting Numbers: [17, 30]
Generated Node #0,1,1: 41:[17, 30] Operation: 6+24=30
Exploring Operation: 17+24=41, Resulting Numbers: [6, 41]
Generated Node #0,1,2: 41:[6, 41] Operation: 17+24=41
Moving to Node #0,1,0
Current State: 41:[24, 23], Operations: ['12+12=24', '17+6=23']
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,41 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[17, 30], Operations: ['12+12=24', '6+24=30']
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,41 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[6, 41], Operations: ['12+12=24', '17+24=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[6, 12, 29], Operations: ['12+17=29']
Exploring Operation: 6+29=35, Resulting Numbers: [12, 35]
Generated Node #0,2,0: 41:[12, 35] Operation: 6+29=35
Exploring Operation: 6+12=18, Resulting Numbers: [29, 18]
Generated Node #0,2,1: 41:[29, 18] Operation: 6+12=18
Exploring Operation: 12+29=41, Resulting Numbers: [6, 41]
Generated Node #0,2,2: 41:[6, 41] Operation: 12+29=41
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[12, 35], Operations: ['12+17=29', '6+29=35']
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,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,2,1
Current State: 41:[29, 18], Operations: ['12+17=29', '6+12=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,41 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,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,2,2
Current State: 41:[6, 41], Operations: ['12+17=29', '12+29=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,41 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
34,
21,
89
] | 41 | [
"34-7=27",
"89-21=68",
"68-27=41"
] | Current State: 41:[7, 34, 21, 89], Operations: []
Exploring Operation: 34-7=27, Resulting Numbers: [21, 89, 27]
Generated Node #2: [21, 89, 27] from Operation: 34-7=27
Current State: 41:[21, 89, 27], Operations: ['34-7=27']
Exploring Operation: 89-21=68, Resulting Numbers: [27, 68]
Generated Node #3: [27, 68] from Operation: 89-21=68
Current State: 41:[27, 68], Operations: ['34-7=27', '89-21=68']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[7, 34, 21, 89], Operations: []
Exploring Operation: 7+34=41, Resulting Numbers: [21, 89, 41]
Generated Node #0,0: 41:[21, 89, 41] Operation: 7+34=41
Exploring Operation: 7+21=28, Resulting Numbers: [34, 89, 28]
Generated Node #0,1: 41:[34, 89, 28] Operation: 7+21=28
Moving to Node #0,0
Current State: 41:[21, 89, 41], Operations: ['7+34=41']
Exploring Operation: 89-41=48, Resulting Numbers: [21, 48]
Generated Node #0,0,0: 41:[21, 48] Operation: 89-41=48
Exploring Operation: 89-21=68, Resulting Numbers: [41, 68]
Generated Node #0,0,1: 41:[41, 68] Operation: 89-21=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[21, 48], Operations: ['7+34=41', '89-41=48']
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[41, 68], Operations: ['7+34=41', '89-21=68']
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 41+68=109, Resulting Numbers: [109]
109,41 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: 41:[34, 89, 28], Operations: ['7+21=28']
Exploring Operation: 89-34=55, Resulting Numbers: [28, 55]
Generated Node #0,1,0: 41:[28, 55] Operation: 89-34=55
Exploring Operation: 89-28=61, Resulting Numbers: [34, 61]
Generated Node #0,1,1: 41:[34, 61] Operation: 89-28=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[28, 55], Operations: ['7+21=28', '89-34=55']
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,41 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[34, 61], Operations: ['7+21=28', '89-28=61']
Exploring Operation: 34+61=95, Resulting Numbers: [95]
95,41 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
55,
77,
63,
25
] | 70 | [
"55*63=3465",
"3465/77=45",
"25+45=70"
] | Current State: 70:[55, 77, 63, 25], Operations: []
Exploring Operation: 55*63=3465, Resulting Numbers: [77, 25, 3465]
Generated Node #2: [77, 25, 3465] from Operation: 55*63=3465
Current State: 70:[77, 25, 3465], Operations: ['55*63=3465']
Exploring Operation: 3465/77=45, Resulting Numbers: [25, 45]
Generated Node #3: [25, 45] from Operation: 3465/77=45
Current State: 70:[25, 45], Operations: ['55*63=3465', '3465/77=45']
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[55, 77, 63, 25], Operations: []
Exploring Operation: 55+25=80, Resulting Numbers: [77, 63, 80]
Generated Node #0,0: 70:[77, 63, 80] Operation: 55+25=80
Exploring Operation: 63-55=8, Resulting Numbers: [77, 25, 8]
Generated Node #0,1: 70:[77, 25, 8] Operation: 63-55=8
Exploring Operation: 77-55=22, Resulting Numbers: [63, 25, 22]
Generated Node #0,2: 70:[63, 25, 22] Operation: 77-55=22
Exploring Operation: 55-25=30, Resulting Numbers: [77, 63, 30]
Generated Node #0,3: 70:[77, 63, 30] Operation: 55-25=30
Moving to Node #0,1
Current State: 70:[77, 25, 8], Operations: ['63-55=8']
Exploring Operation: 25+8=33, Resulting Numbers: [77, 33]
Generated Node #0,1,0: 70:[77, 33] Operation: 25+8=33
Exploring Operation: 25-8=17, Resulting Numbers: [77, 17]
Generated Node #0,1,1: 70:[77, 17] Operation: 25-8=17
Exploring Operation: 77-8=69, Resulting Numbers: [25, 69]
Generated Node #0,1,2: 70:[25, 69] Operation: 77-8=69
Exploring Operation: 77-25=52, Resulting Numbers: [8, 52]
Generated Node #0,1,3: 70:[8, 52] Operation: 77-25=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[77, 33], Operations: ['63-55=8', '25+8=33']
Exploring Operation: 77*33=2541, Resulting Numbers: [2541]
2541,70 unequal: No Solution
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,70 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[77, 17], Operations: ['63-55=8', '25-8=17']
Exploring Operation: 77*17=1309, Resulting Numbers: [1309]
1309,70 unequal: No Solution
Exploring Operation: 77+17=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[25, 69], Operations: ['63-55=8', '77-8=69']
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,70 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[8, 52], Operations: ['63-55=8', '77-25=52']
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,70 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,70 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: 70:[77, 63, 30], Operations: ['55-25=30']
Exploring Operation: 77-30=47, Resulting Numbers: [63, 47]
Generated Node #0,3,0: 70:[63, 47] Operation: 77-30=47
Exploring Operation: 77-63=14, Resulting Numbers: [30, 14]
Generated Node #0,3,1: 70:[30, 14] Operation: 77-63=14
Exploring Operation: 63-30=33, Resulting Numbers: [77, 33]
Generated Node #0,3,2: 70:[77, 33] Operation: 63-30=33
Exploring Operation: 63+30=93, Resulting Numbers: [77, 93]
Generated Node #0,3,3: 70:[77, 93] Operation: 63+30=93
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[30, 14], Operations: ['55-25=30', '77-63=14']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,70 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[77, 33], Operations: ['55-25=30', '63-30=33']
Exploring Operation: 77*33=2541, Resulting Numbers: [2541]
2541,70 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[63, 47], Operations: ['55-25=30', '77-30=47']
Exploring Operation: 63+47=110, Resulting Numbers: [110]
110,70 unequal: No Solution
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 63*47=2961, Resulting Numbers: [2961]
2961,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[77, 93], Operations: ['55-25=30', '63+30=93']
Exploring Operation: 77+93=170, Resulting Numbers: [170]
170,70 unequal: No Solution
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 77*93=7161, Resulting Numbers: [7161]
7161,70 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: 70:[77, 63, 80], Operations: ['55+25=80']
Exploring Operation: 77+63=140, Resulting Numbers: [80, 140]
Generated Node #0,0,0: 70:[80, 140] Operation: 77+63=140
Exploring Operation: 77-63=14, Resulting Numbers: [80, 14]
Generated Node #0,0,1: 70:[80, 14] Operation: 77-63=14
Exploring Operation: 80-63=17, Resulting Numbers: [77, 17]
Generated Node #0,0,2: 70:[77, 17] Operation: 80-63=17
Exploring Operation: 80-77=3, Resulting Numbers: [63, 3]
Generated Node #0,0,3: 70:[63, 3] Operation: 80-77=3
Moving to Node #0,2
Current State: 70:[63, 25, 22], Operations: ['77-55=22']
Exploring Operation: 63-25=38, Resulting Numbers: [22, 38]
Generated Node #0,2,0: 70:[22, 38] Operation: 63-25=38
Exploring Operation: 63-22=41, Resulting Numbers: [25, 41]
Generated Node #0,2,1: 70:[25, 41] Operation: 63-22=41
Exploring Operation: 25-22=3, Resulting Numbers: [63, 3]
Generated Node #0,2,2: 70:[63, 3] Operation: 25-22=3
Exploring Operation: 25+22=47, Resulting Numbers: [63, 47]
Generated Node #0,2,3: 70:[63, 47] Operation: 25+22=47
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[63, 3], Operations: ['77-55=22', '25-22=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,70 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[22, 38], Operations: ['77-55=22', '63-25=38']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[25, 41], Operations: ['77-55=22', '63-22=41']
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[63, 47], Operations: ['77-55=22', '25+22=47']
Exploring Operation: 63*47=2961, Resulting Numbers: [2961]
2961,70 unequal: No Solution
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 63+47=110, Resulting Numbers: [110]
110,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 70:[63, 3], Operations: ['55+25=80', '80-77=3']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,70 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[77, 17], Operations: ['55+25=80', '80-63=17']
Exploring Operation: 77*17=1309, Resulting Numbers: [1309]
1309,70 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 77+17=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[80, 14], Operations: ['55+25=80', '77-63=14']
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,70 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[80, 140], Operations: ['55+25=80', '77+63=140']
Exploring Operation: 80+140=220, Resulting Numbers: [220]
220,70 unequal: No Solution
Exploring Operation: 140-80=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 80*140=11200, Resulting Numbers: [11200]
11200,70 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
34,
53,
89,
90
] | 85 | [
"34*90=3060",
"89-53=36",
"3060/36=85"
] | Current State: 85:[34, 53, 89, 90], Operations: []
Exploring Operation: 34*90=3060, Resulting Numbers: [53, 89, 3060]
Generated Node #2: [53, 89, 3060] from Operation: 34*90=3060
Current State: 85:[53, 89, 3060], Operations: ['34*90=3060']
Exploring Operation: 89-53=36, Resulting Numbers: [3060, 36]
Generated Node #3: [3060, 36] from Operation: 89-53=36
Current State: 85:[3060, 36], Operations: ['34*90=3060', '89-53=36']
Exploring Operation: 3060/36=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[34, 53, 89, 90], Operations: []
Exploring Operation: 34+53=87, Resulting Numbers: [89, 90, 87]
Generated Node #0,0: 85:[89, 90, 87] Operation: 34+53=87
Exploring Operation: 53-34=19, Resulting Numbers: [89, 90, 19]
Generated Node #0,1: 85:[89, 90, 19] Operation: 53-34=19
Moving to Node #0,0
Current State: 85:[89, 90, 87], Operations: ['34+53=87']
Exploring Operation: 90-89=1, Resulting Numbers: [87, 1]
Generated Node #0,0,0: 85:[87, 1] Operation: 90-89=1
Exploring Operation: 90-87=3, Resulting Numbers: [89, 3]
Generated Node #0,0,1: 85:[89, 3] Operation: 90-87=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[87, 1], Operations: ['34+53=87', '90-89=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[89, 3], Operations: ['34+53=87', '90-87=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 85:[89, 90, 19], Operations: ['53-34=19']
Exploring Operation: 90-19=71, Resulting Numbers: [89, 71]
Generated Node #0,1,0: 85:[89, 71] Operation: 90-19=71
Exploring Operation: 90-89=1, Resulting Numbers: [19, 1]
Generated Node #0,1,1: 85:[19, 1] Operation: 90-89=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[19, 1], Operations: ['53-34=19', '90-89=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,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,0
Current State: 85:[89, 71], Operations: ['53-34=19', '90-19=71']
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 89+71=160, Resulting Numbers: [160]
160,85 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 |
[
11,
17,
58,
75
] | 54 | [
"11*17=187",
"58+75=133",
"187-133=54"
] | Current State: 54:[11, 17, 58, 75], Operations: []
Exploring Operation: 11*17=187, Resulting Numbers: [58, 75, 187]
Generated Node #2: [58, 75, 187] from Operation: 11*17=187
Current State: 54:[58, 75, 187], Operations: ['11*17=187']
Exploring Operation: 58+75=133, Resulting Numbers: [187, 133]
Generated Node #3: [187, 133] from Operation: 58+75=133
Current State: 54:[187, 133], Operations: ['11*17=187', '58+75=133']
Exploring Operation: 187-133=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[11, 17, 58, 75], Operations: []
Exploring Operation: 75-17=58, Resulting Numbers: [11, 58, 58]
Generated Node #0,0: 54:[11, 58, 58] Operation: 75-17=58
Exploring Operation: 17-11=6, Resulting Numbers: [58, 75, 6]
Generated Node #0,1: 54:[58, 75, 6] Operation: 17-11=6
Exploring Operation: 75-11=64, Resulting Numbers: [17, 58, 64]
Generated Node #0,2: 54:[17, 58, 64] Operation: 75-11=64
Exploring Operation: 75-58=17, Resulting Numbers: [11, 17, 17]
Generated Node #0,3: 54:[11, 17, 17] Operation: 75-58=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[11, 17, 17], Operations: ['75-58=17']
Exploring Operation: 17-11=6, Resulting Numbers: [17, 6]
Generated Node #0,3,0: 54:[17, 6] Operation: 17-11=6
Exploring Operation: 11+17=28, Resulting Numbers: [17, 28]
Generated Node #0,3,1: 54:[17, 28] Operation: 11+17=28
Exploring Operation: 17-11=6, Resulting Numbers: [17, 6]
Generated Node #0,3,2: 54:[17, 6] Operation: 17-11=6
Exploring Operation: 11+17=28, Resulting Numbers: [17, 28]
Generated Node #0,3,3: 54:[17, 28] Operation: 11+17=28
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 54:[17, 6], Operations: ['75-58=17', '17-11=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,54 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,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,3,2
Current State: 54:[17, 6], Operations: ['75-58=17', '17-11=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,54 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,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,3,1
Current State: 54:[17, 28], Operations: ['75-58=17', '11+17=28']
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,54 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,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,3,3
Current State: 54:[17, 28], Operations: ['75-58=17', '11+17=28']
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[11, 58, 58], Operations: ['75-17=58']
Exploring Operation: 58-58=0, Resulting Numbers: [11, 0]
Generated Node #0,0,0: 54:[11, 0] Operation: 58-58=0
Exploring Operation: 58-11=47, Resulting Numbers: [58, 47]
Generated Node #0,0,1: 54:[58, 47] Operation: 58-11=47
Exploring Operation: 58/58=1, Resulting Numbers: [11, 1]
Generated Node #0,0,2: 54:[11, 1] Operation: 58/58=1
Exploring Operation: 58-11=47, Resulting Numbers: [58, 47]
Generated Node #0,0,3: 54:[58, 47] Operation: 58-11=47
Moving to Node #0,0,2
Current State: 54:[11, 1], Operations: ['75-17=58', '58/58=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[11, 0], Operations: ['75-17=58', '58-58=0']
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 11*0=0, Resulting Numbers: [0]
0,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[58, 47], Operations: ['75-17=58', '58-11=47']
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 58*47=2726, Resulting Numbers: [2726]
2726,54 unequal: No Solution
Exploring Operation: 58+47=105, Resulting Numbers: [105]
105,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[58, 47], Operations: ['75-17=58', '58-11=47']
Exploring Operation: 58*47=2726, Resulting Numbers: [2726]
2726,54 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 58+47=105, Resulting Numbers: [105]
105,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[17, 58, 64], Operations: ['75-11=64']
Exploring Operation: 64-17=47, Resulting Numbers: [58, 47]
Generated Node #0,2,0: 54:[58, 47] Operation: 64-17=47
Exploring Operation: 58-17=41, Resulting Numbers: [64, 41]
Generated Node #0,2,1: 54:[64, 41] Operation: 58-17=41
Exploring Operation: 17+58=75, Resulting Numbers: [64, 75]
Generated Node #0,2,2: 54:[64, 75] Operation: 17+58=75
Exploring Operation: 64-58=6, Resulting Numbers: [17, 6]
Generated Node #0,2,3: 54:[17, 6] Operation: 64-58=6
Moving to Node #0,2,3
Current State: 54:[17, 6], Operations: ['75-11=64', '64-58=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,54 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[58, 47], Operations: ['75-11=64', '64-17=47']
Exploring Operation: 58*47=2726, Resulting Numbers: [2726]
2726,54 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 58+47=105, Resulting Numbers: [105]
105,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[64, 41], Operations: ['75-11=64', '58-17=41']
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,54 unequal: No Solution
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,54 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[64, 75], Operations: ['75-11=64', '17+58=75']
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 64*75=4800, Resulting Numbers: [4800]
4800,54 unequal: No Solution
Exploring Operation: 64+75=139, Resulting Numbers: [139]
139,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:[58, 75, 6], Operations: ['17-11=6']
Exploring Operation: 75-58=17, Resulting Numbers: [6, 17]
Generated Node #0,1,0: 54:[6, 17] Operation: 75-58=17
Exploring Operation: 75-6=69, Resulting Numbers: [58, 69]
Generated Node #0,1,1: 54:[58, 69] Operation: 75-6=69
Exploring Operation: 58+6=64, Resulting Numbers: [75, 64]
Generated Node #0,1,2: 54:[75, 64] Operation: 58+6=64
Exploring Operation: 58-6=52, Resulting Numbers: [75, 52]
Generated Node #0,1,3: 54:[75, 52] Operation: 58-6=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[6, 17], Operations: ['17-11=6', '75-58=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,54 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,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:[58, 69], Operations: ['17-11=6', '75-6=69']
Exploring Operation: 58+69=127, Resulting Numbers: [127]
127,54 unequal: No Solution
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 58*69=4002, Resulting Numbers: [4002]
4002,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[75, 52], Operations: ['17-11=6', '58-6=52']
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 75*52=3900, Resulting Numbers: [3900]
3900,54 unequal: No Solution
Exploring Operation: 75+52=127, Resulting Numbers: [127]
127,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[75, 64], Operations: ['17-11=6', '58+6=64']
Exploring Operation: 75*64=4800, Resulting Numbers: [4800]
4800,54 unequal: No Solution
Exploring Operation: 75+64=139, Resulting Numbers: [139]
139,54 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
8,
84,
3,
99
] | 79 | [
"8+99=107",
"84/3=28",
"107-28=79"
] | Current State: 79:[8, 84, 3, 99], Operations: []
Exploring Operation: 8+99=107, Resulting Numbers: [84, 3, 107]
Generated Node #2: [84, 3, 107] from Operation: 8+99=107
Current State: 79:[84, 3, 107], Operations: ['8+99=107']
Exploring Operation: 84/3=28, Resulting Numbers: [107, 28]
Generated Node #3: [107, 28] from Operation: 84/3=28
Current State: 79:[107, 28], Operations: ['8+99=107', '84/3=28']
Exploring Operation: 107-28=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[8, 84, 3, 99], Operations: []
Exploring Operation: 8*3=24, Resulting Numbers: [84, 99, 24]
Generated Node #0,0: 79:[84, 99, 24] Operation: 8*3=24
Exploring Operation: 99-8=91, Resulting Numbers: [84, 3, 91]
Generated Node #0,1: 79:[84, 3, 91] Operation: 99-8=91
Exploring Operation: 84-3=81, Resulting Numbers: [8, 99, 81]
Generated Node #0,2: 79:[8, 99, 81] Operation: 84-3=81
Exploring Operation: 8+3=11, Resulting Numbers: [84, 99, 11]
Generated Node #0,3: 79:[84, 99, 11] Operation: 8+3=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[84, 99, 24], Operations: ['8*3=24']
Exploring Operation: 84-24=60, Resulting Numbers: [99, 60]
Generated Node #0,0,0: 79:[99, 60] Operation: 84-24=60
Exploring Operation: 84+24=108, Resulting Numbers: [99, 108]
Generated Node #0,0,1: 79:[99, 108] Operation: 84+24=108
Exploring Operation: 99+24=123, Resulting Numbers: [84, 123]
Generated Node #0,0,2: 79:[84, 123] Operation: 99+24=123
Exploring Operation: 99-24=75, Resulting Numbers: [84, 75]
Generated Node #0,0,3: 79:[84, 75] Operation: 99-24=75
Moving to Node #0,0,3
Current State: 79:[84, 75], Operations: ['8*3=24', '99-24=75']
Exploring Operation: 84*75=6300, Resulting Numbers: [6300]
6300,79 unequal: No Solution
Exploring Operation: 84+75=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[99, 60], Operations: ['8*3=24', '84-24=60']
Exploring Operation: 99+60=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 99*60=5940, Resulting Numbers: [5940]
5940,79 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[84, 123], Operations: ['8*3=24', '99+24=123']
Exploring Operation: 84+123=207, Resulting Numbers: [207]
207,79 unequal: No Solution
Exploring Operation: 84*123=10332, Resulting Numbers: [10332]
10332,79 unequal: No Solution
Exploring Operation: 123-84=39, Resulting Numbers: [39]
39,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[99, 108], Operations: ['8*3=24', '84+24=108']
Exploring Operation: 108-99=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 99+108=207, Resulting Numbers: [207]
207,79 unequal: No Solution
Exploring Operation: 99*108=10692, Resulting Numbers: [10692]
10692,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
Current State: 79:[84, 3, 91], Operations: ['99-8=91']
Exploring Operation: 3+91=94, Resulting Numbers: [84, 94]
Generated Node #0,1,0: 79:[84, 94] Operation: 3+91=94
Exploring Operation: 84+3=87, Resulting Numbers: [91, 87]
Generated Node #0,1,1: 79:[91, 87] Operation: 84+3=87
Exploring Operation: 91-3=88, Resulting Numbers: [84, 88]
Generated Node #0,1,2: 79:[84, 88] Operation: 91-3=88
Exploring Operation: 84-3=81, Resulting Numbers: [91, 81]
Generated Node #0,1,3: 79:[91, 81] Operation: 84-3=81
Moving to Node #0,1,2
Current State: 79:[84, 88], Operations: ['99-8=91', '91-3=88']
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,79 unequal: No Solution
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 84*88=7392, Resulting Numbers: [7392]
7392,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[91, 81], Operations: ['99-8=91', '84-3=81']
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 91+81=172, Resulting Numbers: [172]
172,79 unequal: No Solution
Exploring Operation: 91*81=7371, Resulting Numbers: [7371]
7371,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[91, 87], Operations: ['99-8=91', '84+3=87']
Exploring Operation: 91+87=178, Resulting Numbers: [178]
178,79 unequal: No Solution
Exploring Operation: 91-87=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 91*87=7917, Resulting Numbers: [7917]
7917,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[84, 94], Operations: ['99-8=91', '3+91=94']
Exploring Operation: 84*94=7896, Resulting Numbers: [7896]
7896,79 unequal: No Solution
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 84+94=178, Resulting Numbers: [178]
178,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[8, 99, 81], Operations: ['84-3=81']
Exploring Operation: 99-8=91, Resulting Numbers: [81, 91]
Generated Node #0,2,0: 79:[81, 91] Operation: 99-8=91
Exploring Operation: 8+81=89, Resulting Numbers: [99, 89]
Generated Node #0,2,1: 79:[99, 89] Operation: 8+81=89
Exploring Operation: 81-8=73, Resulting Numbers: [99, 73]
Generated Node #0,2,2: 79:[99, 73] Operation: 81-8=73
Exploring Operation: 8+99=107, Resulting Numbers: [81, 107]
Generated Node #0,2,3: 79:[81, 107] Operation: 8+99=107
Moving to Node #0,2,0
Current State: 79:[81, 91], Operations: ['84-3=81', '99-8=91']
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 81*91=7371, Resulting Numbers: [7371]
7371,79 unequal: No Solution
Exploring Operation: 81+91=172, Resulting Numbers: [172]
172,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[99, 73], Operations: ['84-3=81', '81-8=73']
Exploring Operation: 99+73=172, Resulting Numbers: [172]
172,79 unequal: No Solution
Exploring Operation: 99*73=7227, Resulting Numbers: [7227]
7227,79 unequal: No Solution
Exploring Operation: 99-73=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[81, 107], Operations: ['84-3=81', '8+99=107']
Exploring Operation: 81+107=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 81*107=8667, Resulting Numbers: [8667]
8667,79 unequal: No Solution
Exploring Operation: 107-81=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[99, 89], Operations: ['84-3=81', '8+81=89']
Exploring Operation: 99-89=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 99*89=8811, Resulting Numbers: [8811]
8811,79 unequal: No Solution
Exploring Operation: 99+89=188, Resulting Numbers: [188]
188,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[84, 99, 11], Operations: ['8+3=11']
Exploring Operation: 99-11=88, Resulting Numbers: [84, 88]
Generated Node #0,3,0: 79:[84, 88] Operation: 99-11=88
Exploring Operation: 84+11=95, Resulting Numbers: [99, 95]
Generated Node #0,3,1: 79:[99, 95] Operation: 84+11=95
Exploring Operation: 84-11=73, Resulting Numbers: [99, 73]
Generated Node #0,3,2: 79:[99, 73] Operation: 84-11=73
Exploring Operation: 99+11=110, Resulting Numbers: [84, 110]
Generated Node #0,3,3: 79:[84, 110] Operation: 99+11=110
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[84, 88], Operations: ['8+3=11', '99-11=88']
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,79 unequal: No Solution
Exploring Operation: 84*88=7392, Resulting Numbers: [7392]
7392,79 unequal: No Solution
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[99, 73], Operations: ['8+3=11', '84-11=73']
Exploring Operation: 99*73=7227, Resulting Numbers: [7227]
7227,79 unequal: No Solution
Exploring Operation: 99-73=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 99+73=172, Resulting Numbers: [172]
172,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[99, 95], Operations: ['8+3=11', '84+11=95']
Exploring Operation: 99-95=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 99*95=9405, Resulting Numbers: [9405]
9405,79 unequal: No Solution
Exploring Operation: 99+95=194, Resulting Numbers: [194]
194,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[84, 110], Operations: ['8+3=11', '99+11=110']
Exploring Operation: 84*110=9240, Resulting Numbers: [9240]
9240,79 unequal: No Solution
Exploring Operation: 110-84=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 84+110=194, Resulting Numbers: [194]
194,79 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 |
[
26,
9,
52,
77
] | 10 | [
"26+9=35",
"77-52=25",
"35-25=10"
] | Current State: 10:[26, 9, 52, 77], Operations: []
Exploring Operation: 26+9=35, Resulting Numbers: [52, 77, 35]
Generated Node #2: [52, 77, 35] from Operation: 26+9=35
Current State: 10:[52, 77, 35], Operations: ['26+9=35']
Exploring Operation: 77-52=25, Resulting Numbers: [35, 25]
Generated Node #3: [35, 25] from Operation: 77-52=25
Current State: 10:[35, 25], Operations: ['26+9=35', '77-52=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[26, 9, 52, 77], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [26, 9, 25]
Generated Node #0,0: 10:[26, 9, 25] Operation: 77-52=25
Moving to Node #0,0
Current State: 10:[26, 9, 25], Operations: ['77-52=25']
Exploring Operation: 26-25=1, Resulting Numbers: [9, 1]
Generated Node #0,0,0: 10:[9, 1] Operation: 26-25=1
Moving to Node #0,0,0
Current State: 10:[9, 1], Operations: ['77-52=25', '26-25=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[26, 9, 52, 77], Operations: []
Exploring Operation: 77-52=25, Resulting Numbers: [26, 9, 25]
Generated Node #0,0: 10:[26, 9, 25] Operation: 77-52=25
Moving to Node #0,0
Current State: 10:[26, 9, 25], Operations: ['77-52=25']
Exploring Operation: 26-25=1, Resulting Numbers: [9, 1]
Generated Node #0,0,0: 10:[9, 1] Operation: 26-25=1
Moving to Node #0,0,0
Current State: 10:[9, 1], Operations: ['77-52=25', '26-25=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
21,
2,
93,
66
] | 96 | [
"21+93=114",
"114-66=48",
"2*48=96"
] | Current State: 96:[21, 2, 93, 66], Operations: []
Exploring Operation: 21+93=114, Resulting Numbers: [2, 66, 114]
Generated Node #2: [2, 66, 114] from Operation: 21+93=114
Current State: 96:[2, 66, 114], Operations: ['21+93=114']
Exploring Operation: 114-66=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 114-66=48
Current State: 96:[2, 48], Operations: ['21+93=114', '114-66=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[21, 2, 93, 66], Operations: []
Exploring Operation: 66-21=45, Resulting Numbers: [2, 93, 45]
Generated Node #0,0: 96:[2, 93, 45] Operation: 66-21=45
Exploring Operation: 93-66=27, Resulting Numbers: [21, 2, 27]
Generated Node #0,1: 96:[21, 2, 27] Operation: 93-66=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[2, 93, 45], Operations: ['66-21=45']
Exploring Operation: 2+93=95, Resulting Numbers: [45, 95]
Generated Node #0,0,0: 96:[45, 95] Operation: 2+93=95
Exploring Operation: 93-45=48, Resulting Numbers: [2, 48]
Generated Node #0,0,1: 96:[2, 48] Operation: 93-45=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[2, 48], Operations: ['66-21=45', '93-45=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[21, 2, 93, 66], Operations: []
Exploring Operation: 66-21=45, Resulting Numbers: [2, 93, 45]
Generated Node #0,0: 96:[2, 93, 45] Operation: 66-21=45
Moving to Node #0,0
Current State: 96:[2, 93, 45], Operations: ['66-21=45']
Exploring Operation: 93-45=48, Resulting Numbers: [2, 48]
Generated Node #0,0,1: 96:[2, 48] Operation: 93-45=48
Moving to Node #0,0,1
Current State: 96:[2, 48], Operations: ['66-21=45', '93-45=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
74,
37,
72,
83
] | 100 | [
"74+37=111",
"83-72=11",
"111-11=100"
] | Current State: 100:[74, 37, 72, 83], Operations: []
Exploring Operation: 74+37=111, Resulting Numbers: [72, 83, 111]
Generated Node #2: [72, 83, 111] from Operation: 74+37=111
Current State: 100:[72, 83, 111], Operations: ['74+37=111']
Exploring Operation: 83-72=11, Resulting Numbers: [111, 11]
Generated Node #3: [111, 11] from Operation: 83-72=11
Current State: 100:[111, 11], Operations: ['74+37=111', '83-72=11']
Exploring Operation: 111-11=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[74, 37, 72, 83], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [72, 83, 2]
Generated Node #0,0: 100:[72, 83, 2] Operation: 74/37=2
Exploring Operation: 83-72=11, Resulting Numbers: [74, 37, 11]
Generated Node #0,1: 100:[74, 37, 11] Operation: 83-72=11
Exploring Operation: 83-74=9, Resulting Numbers: [37, 72, 9]
Generated Node #0,2: 100:[37, 72, 9] Operation: 83-74=9
Exploring Operation: 74-72=2, Resulting Numbers: [37, 83, 2]
Generated Node #0,3: 100:[37, 83, 2] Operation: 74-72=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[37, 83, 2], Operations: ['74-72=2']
Exploring Operation: 83+2=85, Resulting Numbers: [37, 85]
Generated Node #0,3,0: 100:[37, 85] Operation: 83+2=85
Exploring Operation: 83-37=46, Resulting Numbers: [2, 46]
Generated Node #0,3,1: 100:[2, 46] Operation: 83-37=46
Exploring Operation: 37-2=35, Resulting Numbers: [83, 35]
Generated Node #0,3,2: 100:[83, 35] Operation: 37-2=35
Exploring Operation: 37+83=120, Resulting Numbers: [2, 120]
Generated Node #0,3,3: 100:[2, 120] Operation: 37+83=120
Moving to Node #0,3,1
Current State: 100:[2, 46], Operations: ['74-72=2', '83-37=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,100 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,100 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,100 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[2, 120], Operations: ['74-72=2', '37+83=120']
Exploring Operation: 2*120=240, Resulting Numbers: [240]
240,100 unequal: No Solution
Exploring Operation: 2+120=122, Resulting Numbers: [122]
122,100 unequal: No Solution
Exploring Operation: 120-2=118, Resulting Numbers: [118]
118,100 unequal: No Solution
Exploring Operation: 120/2=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[83, 35], Operations: ['74-72=2', '37-2=35']
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,100 unequal: No Solution
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,100 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Moving to Node #0,3,0
Current State: 100:[37, 85], Operations: ['74-72=2', '83+2=85']
Exploring Operation: 85-37=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Exploring Operation: 37+85=122, Resulting Numbers: [122]
122,100 unequal: No Solution
Exploring Operation: 37*85=3145, Resulting Numbers: [3145]
3145,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[37, 72, 9], Operations: ['83-74=9']
Exploring Operation: 72/9=8, Resulting Numbers: [37, 8]
Generated Node #0,2,0: 100:[37, 8] Operation: 72/9=8
Exploring Operation: 37+72=109, Resulting Numbers: [9, 109]
Generated Node #0,2,1: 100:[9, 109] Operation: 37+72=109
Exploring Operation: 72-37=35, Resulting Numbers: [9, 35]
Generated Node #0,2,2: 100:[9, 35] Operation: 72-37=35
Exploring Operation: 37-9=28, Resulting Numbers: [72, 28]
Generated Node #0,2,3: 100:[72, 28] Operation: 37-9=28
Moving to Node #0,2,1
Current State: 100:[9, 109], Operations: ['83-74=9', '37+72=109']
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[74, 37, 72, 83], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [37, 72, 9]
Generated Node #0,2: 100:[37, 72, 9] Operation: 83-74=9
Moving to Node #0,2
Current State: 100:[37, 72, 9], Operations: ['83-74=9']
Exploring Operation: 37+72=109, Resulting Numbers: [9, 109]
Generated Node #0,2,1: 100:[9, 109] Operation: 37+72=109
Moving to Node #0,2,1
Current State: 100:[9, 109], Operations: ['83-74=9', '37+72=109']
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
12,
66,
6,
91
] | 97 | [
"12*6=72",
"91-66=25",
"72+25=97"
] | Current State: 97:[12, 66, 6, 91], Operations: []
Exploring Operation: 12*6=72, Resulting Numbers: [66, 91, 72]
Generated Node #2: [66, 91, 72] from Operation: 12*6=72
Current State: 97:[66, 91, 72], Operations: ['12*6=72']
Exploring Operation: 91-66=25, Resulting Numbers: [72, 25]
Generated Node #3: [72, 25] from Operation: 91-66=25
Current State: 97:[72, 25], Operations: ['12*6=72', '91-66=25']
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[12, 66, 6, 91], Operations: []
Exploring Operation: 12+66=78, Resulting Numbers: [6, 91, 78]
Generated Node #0,0: 97:[6, 91, 78] Operation: 12+66=78
Exploring Operation: 66+6=72, Resulting Numbers: [12, 91, 72]
Generated Node #0,1: 97:[12, 91, 72] Operation: 66+6=72
Exploring Operation: 12+6=18, Resulting Numbers: [66, 91, 18]
Generated Node #0,2: 97:[66, 91, 18] Operation: 12+6=18
Exploring Operation: 12*6=72, Resulting Numbers: [66, 91, 72]
Generated Node #0,3: 97:[66, 91, 72] Operation: 12*6=72
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[66, 91, 72], Operations: ['12*6=72']
Exploring Operation: 72-66=6, Resulting Numbers: [91, 6]
Generated Node #0,3,0: 97:[91, 6] Operation: 72-66=6
Exploring Operation: 66+72=138, Resulting Numbers: [91, 138]
Generated Node #0,3,1: 97:[91, 138] Operation: 66+72=138
Exploring Operation: 66+91=157, Resulting Numbers: [72, 157]
Generated Node #0,3,2: 97:[72, 157] Operation: 66+91=157
Exploring Operation: 91-66=25, Resulting Numbers: [72, 25]
Generated Node #0,3,3: 97:[72, 25] Operation: 91-66=25
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[91, 138], Operations: ['12*6=72', '66+72=138']
Exploring Operation: 91+138=229, Resulting Numbers: [229]
229,97 unequal: No Solution
Exploring Operation: 138-91=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 91*138=12558, Resulting Numbers: [12558]
12558,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 97:[72, 157], Operations: ['12*6=72', '66+91=157']
Exploring Operation: 157-72=85, Resulting Numbers: [85]
85,97 unequal: No Solution
Exploring Operation: 72+157=229, Resulting Numbers: [229]
229,97 unequal: No Solution
Exploring Operation: 72*157=11304, Resulting Numbers: [11304]
11304,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[91, 6], Operations: ['12*6=72', '72-66=6']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,97 unequal: No Solution
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,97 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[12, 66, 6, 91], Operations: []
Exploring Operation: 12*6=72, Resulting Numbers: [66, 91, 72]
Generated Node #0,3: 97:[66, 91, 72] Operation: 12*6=72
Moving to Node #0,3
Current State: 97:[66, 91, 72], Operations: ['12*6=72']
Exploring Operation: 72-66=6, Resulting Numbers: [91, 6]
Generated Node #0,3,0: 97:[91, 6] Operation: 72-66=6
Moving to Node #0,3,0
Current State: 97:[91, 6], Operations: ['12*6=72', '72-66=6']
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
12,
54,
57,
94
] | 85 | [
"12+54=66",
"57+94=151",
"151-66=85"
] | Current State: 85:[12, 54, 57, 94], Operations: []
Exploring Operation: 12+54=66, Resulting Numbers: [57, 94, 66]
Generated Node #2: [57, 94, 66] from Operation: 12+54=66
Current State: 85:[57, 94, 66], Operations: ['12+54=66']
Exploring Operation: 57+94=151, Resulting Numbers: [66, 151]
Generated Node #3: [66, 151] from Operation: 57+94=151
Current State: 85:[66, 151], Operations: ['12+54=66', '57+94=151']
Exploring Operation: 151-66=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[12, 54, 57, 94], Operations: []
Exploring Operation: 54+57=111, Resulting Numbers: [12, 94, 111]
Generated Node #0,0: 85:[12, 94, 111] Operation: 54+57=111
Exploring Operation: 57-54=3, Resulting Numbers: [12, 94, 3]
Generated Node #0,1: 85:[12, 94, 3] Operation: 57-54=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[12, 94, 3], Operations: ['57-54=3']
Exploring Operation: 12/3=4, Resulting Numbers: [94, 4]
Generated Node #0,1,0: 85:[94, 4] Operation: 12/3=4
Exploring Operation: 94-12=82, Resulting Numbers: [3, 82]
Generated Node #0,1,1: 85:[3, 82] Operation: 94-12=82
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[3, 82], Operations: ['57-54=3', '94-12=82']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[12, 54, 57, 94], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [12, 94, 3]
Generated Node #0,1: 85:[12, 94, 3] Operation: 57-54=3
Moving to Node #0,1
Current State: 85:[12, 94, 3], Operations: ['57-54=3']
Exploring Operation: 94-12=82, Resulting Numbers: [3, 82]
Generated Node #0,1,1: 85:[3, 82] Operation: 94-12=82
Moving to Node #0,1,1
Current State: 85:[3, 82], Operations: ['57-54=3', '94-12=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
77,
83,
91,
84
] | 35 | [
"77*91=7007",
"83*84=6972",
"7007-6972=35"
] | Current State: 35:[77, 83, 91, 84], Operations: []
Exploring Operation: 77*91=7007, Resulting Numbers: [83, 84, 7007]
Generated Node #2: [83, 84, 7007] from Operation: 77*91=7007
Current State: 35:[83, 84, 7007], Operations: ['77*91=7007']
Exploring Operation: 83*84=6972, Resulting Numbers: [7007, 6972]
Generated Node #3: [7007, 6972] from Operation: 83*84=6972
Current State: 35:[7007, 6972], Operations: ['77*91=7007', '83*84=6972']
Exploring Operation: 7007-6972=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[77, 83, 91, 84], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [83, 84, 14]
Generated Node #0,0: 35:[83, 84, 14] Operation: 91-77=14
Exploring Operation: 84-83=1, Resulting Numbers: [77, 91, 1]
Generated Node #0,1: 35:[77, 91, 1] Operation: 84-83=1
Exploring Operation: 91-84=7, Resulting Numbers: [77, 83, 7]
Generated Node #0,2: 35:[77, 83, 7] Operation: 91-84=7
Exploring Operation: 91-83=8, Resulting Numbers: [77, 84, 8]
Generated Node #0,3: 35:[77, 84, 8] Operation: 91-83=8
Exploring Operation: 84-77=7, Resulting Numbers: [83, 91, 7]
Generated Node #0,4: 35:[83, 91, 7] Operation: 84-77=7
Moving to Node #0,2
Current State: 35:[77, 83, 7], Operations: ['91-84=7']
Exploring Operation: 77/7=11, Resulting Numbers: [83, 11]
Generated Node #0,2,0: 35:[83, 11] Operation: 77/7=11
Exploring Operation: 77-7=70, Resulting Numbers: [83, 70]
Generated Node #0,2,1: 35:[83, 70] Operation: 77-7=70
Exploring Operation: 83-7=76, Resulting Numbers: [77, 76]
Generated Node #0,2,2: 35:[77, 76] Operation: 83-7=76
Exploring Operation: 83-77=6, Resulting Numbers: [7, 6]
Generated Node #0,2,3: 35:[7, 6] Operation: 83-77=6
Exploring Operation: 77+7=84, Resulting Numbers: [83, 84]
Generated Node #0,2,4: 35:[83, 84] Operation: 77+7=84
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[7, 6], Operations: ['91-84=7', '83-77=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No 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: 35:[83, 11], Operations: ['91-84=7', '77/7=11']
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,35 unequal: No Solution
No 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: 35:[83, 70], Operations: ['91-84=7', '77-7=70']
Exploring Operation: 83*70=5810, Resulting Numbers: [5810]
5810,35 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,35 unequal: No Solution
No 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: 35:[77, 76], Operations: ['91-84=7', '83-7=76']
Exploring Operation: 77+76=153, Resulting Numbers: [153]
153,35 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 77*76=5852, Resulting Numbers: [5852]
5852,35 unequal: No Solution
No 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: 35:[83, 84], Operations: ['91-84=7', '77+7=84']
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,35 unequal: No Solution
Exploring Operation: 83*84=6972, Resulting Numbers: [6972]
6972,35 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,35 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: 35:[77, 84, 8], Operations: ['91-83=8']
Exploring Operation: 84+8=92, Resulting Numbers: [77, 92]
Generated Node #0,3,0: 35:[77, 92] Operation: 84+8=92
Exploring Operation: 77+8=85, Resulting Numbers: [84, 85]
Generated Node #0,3,1: 35:[84, 85] Operation: 77+8=85
Exploring Operation: 84-77=7, Resulting Numbers: [8, 7]
Generated Node #0,3,2: 35:[8, 7] Operation: 84-77=7
Exploring Operation: 77-8=69, Resulting Numbers: [84, 69]
Generated Node #0,3,3: 35:[84, 69] Operation: 77-8=69
Exploring Operation: 84-8=76, Resulting Numbers: [77, 76]
Generated Node #0,3,4: 35:[77, 76] Operation: 84-8=76
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[8, 7], Operations: ['91-83=8', '84-77=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No 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: 35:[84, 69], Operations: ['91-83=8', '77-8=69']
Exploring Operation: 84*69=5796, Resulting Numbers: [5796]
5796,35 unequal: No Solution
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 84+69=153, Resulting Numbers: [153]
153,35 unequal: No Solution
No 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: 35:[77, 76], Operations: ['91-83=8', '84-8=76']
Exploring Operation: 77+76=153, Resulting Numbers: [153]
153,35 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 77*76=5852, Resulting Numbers: [5852]
5852,35 unequal: No Solution
No 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: 35:[77, 92], Operations: ['91-83=8', '84+8=92']
Exploring Operation: 77*92=7084, Resulting Numbers: [7084]
7084,35 unequal: No Solution
Exploring Operation: 77+92=169, Resulting Numbers: [169]
169,35 unequal: No Solution
Exploring Operation: 92-77=15, Resulting Numbers: [15]
15,35 unequal: No Solution
No 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: 35:[84, 85], Operations: ['91-83=8', '77+8=85']
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,35 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,35 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,35 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: 35:[77, 91, 1], Operations: ['84-83=1']
Exploring Operation: 91-1=90, Resulting Numbers: [77, 90]
Generated Node #0,1,0: 35:[77, 90] Operation: 91-1=90
Exploring Operation: 77-1=76, Resulting Numbers: [91, 76]
Generated Node #0,1,1: 35:[91, 76] Operation: 77-1=76
Exploring Operation: 77/1=77, Resulting Numbers: [91, 77]
Generated Node #0,1,2: 35:[91, 77] Operation: 77/1=77
Exploring Operation: 77*1=77, Resulting Numbers: [91, 77]
Generated Node #0,1,3: 35:[91, 77] Operation: 77*1=77
Exploring Operation: 91-77=14, Resulting Numbers: [1, 14]
Generated Node #0,1,4: 35:[1, 14] Operation: 91-77=14
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 35:[1, 14], Operations: ['84-83=1', '91-77=14']
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No 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: 35:[77, 90], Operations: ['84-83=1', '91-1=90']
Exploring Operation: 77*90=6930, Resulting Numbers: [6930]
6930,35 unequal: No Solution
Exploring Operation: 77+90=167, Resulting Numbers: [167]
167,35 unequal: No Solution
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No 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: 35:[91, 76], Operations: ['84-83=1', '77-1=76']
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,35 unequal: No Solution
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,35 unequal: No Solution
No 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: 35:[91, 77], Operations: ['84-83=1', '77/1=77']
Exploring Operation: 91*77=7007, Resulting Numbers: [7007]
7007,35 unequal: No Solution
Exploring Operation: 91-77=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 91+77=168, Resulting Numbers: [168]
168,35 unequal: No Solution
No 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: 35:[91, 77], Operations: ['84-83=1', '77*1=77']
Exploring Operation: 91*77=7007, Resulting Numbers: [7007]
7007,35 unequal: No Solution
Exploring Operation: 91-77=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 91+77=168, Resulting Numbers: [168]
168,35 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: 35:[83, 84, 14], Operations: ['91-77=14']
Exploring Operation: 84/14=6, Resulting Numbers: [83, 6]
Generated Node #0,0,0: 35:[83, 6] Operation: 84/14=6
Exploring Operation: 84-83=1, Resulting Numbers: [14, 1]
Generated Node #0,0,1: 35:[14, 1] Operation: 84-83=1
Exploring Operation: 83-14=69, Resulting Numbers: [84, 69]
Generated Node #0,0,2: 35:[84, 69] Operation: 83-14=69
Exploring Operation: 84-14=70, Resulting Numbers: [83, 70]
Generated Node #0,0,3: 35:[83, 70] Operation: 84-14=70
Exploring Operation: 83+14=97, Resulting Numbers: [84, 97]
Generated Node #0,0,4: 35:[84, 97] Operation: 83+14=97
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[14, 1], Operations: ['91-77=14', '84-83=1']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,35 unequal: No Solution
No 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: 35:[83, 6], Operations: ['91-77=14', '84/14=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,35 unequal: No Solution
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,35 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,35 unequal: No Solution
No 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: 35:[84, 69], Operations: ['91-77=14', '83-14=69']
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 84*69=5796, Resulting Numbers: [5796]
5796,35 unequal: No Solution
Exploring Operation: 84+69=153, Resulting Numbers: [153]
153,35 unequal: No Solution
No 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: 35:[83, 70], Operations: ['91-77=14', '84-14=70']
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,35 unequal: No Solution
Exploring Operation: 83*70=5810, Resulting Numbers: [5810]
5810,35 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No 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: 35:[84, 97], Operations: ['91-77=14', '83+14=97']
Exploring Operation: 97-84=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 84+97=181, Resulting Numbers: [181]
181,35 unequal: No Solution
Exploring Operation: 84*97=8148, Resulting Numbers: [8148]
8148,35 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: 35:[83, 91, 7], Operations: ['84-77=7']
Exploring Operation: 83-7=76, Resulting Numbers: [91, 76]
Generated Node #0,4,0: 35:[91, 76] Operation: 83-7=76
Exploring Operation: 91-83=8, Resulting Numbers: [7, 8]
Generated Node #0,4,1: 35:[7, 8] Operation: 91-83=8
Exploring Operation: 91/7=13, Resulting Numbers: [83, 13]
Generated Node #0,4,2: 35:[83, 13] Operation: 91/7=13
Exploring Operation: 83+7=90, Resulting Numbers: [91, 90]
Generated Node #0,4,3: 35:[91, 90] Operation: 83+7=90
Exploring Operation: 91-7=84, Resulting Numbers: [83, 84]
Generated Node #0,4,4: 35:[83, 84] Operation: 91-7=84
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 35:[7, 8], Operations: ['84-77=7', '91-83=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,35 unequal: No Solution
No 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: 35:[83, 13], Operations: ['84-77=7', '91/7=13']
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,35 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,35 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,35 unequal: No Solution
No 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: 35:[91, 76], Operations: ['84-77=7', '83-7=76']
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,35 unequal: No Solution
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,35 unequal: No Solution
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,35 unequal: No Solution
No 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: 35:[83, 84], Operations: ['84-77=7', '91-7=84']
Exploring Operation: 83*84=6972, Resulting Numbers: [6972]
6972,35 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,35 unequal: No Solution
No 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: 35:[91, 90], Operations: ['84-77=7', '83+7=90']
Exploring Operation: 91*90=8190, Resulting Numbers: [8190]
8190,35 unequal: No Solution
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 91+90=181, Resulting Numbers: [181]
181,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
74,
48,
7,
24
] | 44 | [
"74*24=1776",
"1776/48=37",
"7+37=44"
] | Current State: 44:[74, 48, 7, 24], Operations: []
Exploring Operation: 74*24=1776, Resulting Numbers: [48, 7, 1776]
Generated Node #2: [48, 7, 1776] from Operation: 74*24=1776
Current State: 44:[48, 7, 1776], Operations: ['74*24=1776']
Exploring Operation: 1776/48=37, Resulting Numbers: [7, 37]
Generated Node #3: [7, 37] from Operation: 1776/48=37
Current State: 44:[7, 37], Operations: ['74*24=1776', '1776/48=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[74, 48, 7, 24], Operations: []
Exploring Operation: 74-24=50, Resulting Numbers: [48, 7, 50]
Generated Node #0,0: 44:[48, 7, 50] Operation: 74-24=50
Exploring Operation: 48-7=41, Resulting Numbers: [74, 24, 41]
Generated Node #0,1: 44:[74, 24, 41] Operation: 48-7=41
Exploring Operation: 74-7=67, Resulting Numbers: [48, 24, 67]
Generated Node #0,2: 44:[48, 24, 67] Operation: 74-7=67
Exploring Operation: 48/24=2, Resulting Numbers: [74, 7, 2]
Generated Node #0,3: 44:[74, 7, 2] Operation: 48/24=2
Exploring Operation: 74-48=26, Resulting Numbers: [7, 24, 26]
Generated Node #0,4: 44:[7, 24, 26] Operation: 74-48=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 44:[7, 24, 26], Operations: ['74-48=26']
Exploring Operation: 24+26=50, Resulting Numbers: [7, 50]
Generated Node #0,4,0: 44:[7, 50] Operation: 24+26=50
Exploring Operation: 24-7=17, Resulting Numbers: [26, 17]
Generated Node #0,4,1: 44:[26, 17] Operation: 24-7=17
Exploring Operation: 7+24=31, Resulting Numbers: [26, 31]
Generated Node #0,4,2: 44:[26, 31] Operation: 7+24=31
Exploring Operation: 26-7=19, Resulting Numbers: [24, 19]
Generated Node #0,4,3: 44:[24, 19] Operation: 26-7=19
Exploring Operation: 26-24=2, Resulting Numbers: [7, 2]
Generated Node #0,4,4: 44:[7, 2] Operation: 26-24=2
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 44:[7, 2], Operations: ['74-48=26', '26-24=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 44:[24, 19], Operations: ['74-48=26', '26-7=19']
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 44:[7, 50], Operations: ['74-48=26', '24+26=50']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,44 unequal: No Solution
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 44:[26, 17], Operations: ['74-48=26', '24-7=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 44:[26, 31], Operations: ['74-48=26', '7+24=31']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 26*31=806, Resulting Numbers: [806]
806,44 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[48, 7, 50], Operations: ['74-24=50']
Exploring Operation: 48+7=55, Resulting Numbers: [50, 55]
Generated Node #0,0,0: 44:[50, 55] Operation: 48+7=55
Exploring Operation: 48-7=41, Resulting Numbers: [50, 41]
Generated Node #0,0,1: 44:[50, 41] Operation: 48-7=41
Exploring Operation: 50-7=43, Resulting Numbers: [48, 43]
Generated Node #0,0,2: 44:[48, 43] Operation: 50-7=43
Exploring Operation: 7+50=57, Resulting Numbers: [48, 57]
Generated Node #0,0,3: 44:[48, 57] Operation: 7+50=57
Exploring Operation: 50-48=2, Resulting Numbers: [7, 2]
Generated Node #0,0,4: 44:[7, 2] Operation: 50-48=2
Moving to Node #0,0,4
Current State: 44:[7, 2], Operations: ['74-24=50', '50-48=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[48, 43], Operations: ['74-24=50', '50-7=43']
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,44 unequal: No Solution
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,44 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[50, 41], Operations: ['74-24=50', '48-7=41']
Exploring Operation: 50*41=2050, Resulting Numbers: [2050]
2050,44 unequal: No Solution
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 50+41=91, Resulting Numbers: [91]
91,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[50, 55], Operations: ['74-24=50', '48+7=55']
Exploring Operation: 50*55=2750, Resulting Numbers: [2750]
2750,44 unequal: No Solution
Exploring Operation: 50+55=105, Resulting Numbers: [105]
105,44 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[48, 57], Operations: ['74-24=50', '7+50=57']
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,44 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[48, 24, 67], Operations: ['74-7=67']
Exploring Operation: 67-48=19, Resulting Numbers: [24, 19]
Generated Node #0,2,0: 44:[24, 19] Operation: 67-48=19
Exploring Operation: 48/24=2, Resulting Numbers: [67, 2]
Generated Node #0,2,1: 44:[67, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [67, 24]
Generated Node #0,2,2: 44:[67, 24] Operation: 48-24=24
Exploring Operation: 48+24=72, Resulting Numbers: [67, 72]
Generated Node #0,2,3: 44:[67, 72] Operation: 48+24=72
Exploring Operation: 67-24=43, Resulting Numbers: [48, 43]
Generated Node #0,2,4: 44:[48, 43] Operation: 67-24=43
Moving to Node #0,2,0
Current State: 44:[24, 19], Operations: ['74-7=67', '67-48=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,44 unequal: No Solution
Moving to Node #0,2,4
Current State: 44:[48, 43], Operations: ['74-7=67', '67-24=43']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,44 unequal: No Solution
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[67, 2], Operations: ['74-7=67', '48/24=2']
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,44 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,44 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[67, 24], Operations: ['74-7=67', '48-24=24']
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 67+24=91, Resulting Numbers: [91]
91,44 unequal: No Solution
Exploring Operation: 67*24=1608, Resulting Numbers: [1608]
1608,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[67, 72], Operations: ['74-7=67', '48+24=72']
Exploring Operation: 67*72=4824, Resulting Numbers: [4824]
4824,44 unequal: No Solution
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 67+72=139, Resulting Numbers: [139]
139,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,3
Current State: 44:[74, 7, 2], Operations: ['48/24=2']
Exploring Operation: 7+2=9, Resulting Numbers: [74, 9]
Generated Node #0,3,0: 44:[74, 9] Operation: 7+2=9
Exploring Operation: 74-7=67, Resulting Numbers: [2, 67]
Generated Node #0,3,1: 44:[2, 67] Operation: 74-7=67
Exploring Operation: 7-2=5, Resulting Numbers: [74, 5]
Generated Node #0,3,2: 44:[74, 5] Operation: 7-2=5
Exploring Operation: 74/2=37, Resulting Numbers: [7, 37]
Generated Node #0,3,3: 44:[7, 37] Operation: 74/2=37
Exploring Operation: 74-2=72, Resulting Numbers: [7, 72]
Generated Node #0,3,4: 44:[7, 72] Operation: 74-2=72
Moving to Node #0,3,3
Current State: 44:[7, 37], Operations: ['48/24=2', '74/2=37']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,44 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[74, 48, 7, 24], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [74, 7, 2]
Generated Node #0,3: 44:[74, 7, 2] Operation: 48/24=2
Moving to Node #0,3
Current State: 44:[74, 7, 2], Operations: ['48/24=2']
Exploring Operation: 74/2=37, Resulting Numbers: [7, 37]
Generated Node #0,3,3: 44:[7, 37] Operation: 74/2=37
Moving to Node #0,3,3
Current State: 44:[7, 37], Operations: ['48/24=2', '74/2=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.93316 | hs_5 | sum_heuristic |
[
88,
4,
86,
64
] | 18 | [
"88-86=2",
"64/4=16",
"2+16=18"
] | Current State: 18:[88, 4, 86, 64], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [4, 64, 2]
Generated Node #2: [4, 64, 2] from Operation: 88-86=2
Current State: 18:[4, 64, 2], Operations: ['88-86=2']
Exploring Operation: 64/4=16, Resulting Numbers: [2, 16]
Generated Node #3: [2, 16] from Operation: 64/4=16
Current State: 18:[2, 16], Operations: ['88-86=2', '64/4=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[88, 4, 86, 64], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [4, 86, 24]
Generated Node #0,0: 18:[4, 86, 24] Operation: 88-64=24
Exploring Operation: 86-64=22, Resulting Numbers: [88, 4, 22]
Generated Node #0,1: 18:[88, 4, 22] Operation: 86-64=22
Exploring Operation: 88-86=2, Resulting Numbers: [4, 64, 2]
Generated Node #0,2: 18:[4, 64, 2] Operation: 88-86=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[4, 64, 2], Operations: ['88-86=2']
Exploring Operation: 64-4=60, Resulting Numbers: [2, 60]
Generated Node #0,2,0: 18:[2, 60] Operation: 64-4=60
Exploring Operation: 64/2=32, Resulting Numbers: [4, 32]
Generated Node #0,2,1: 18:[4, 32] Operation: 64/2=32
Exploring Operation: 64/4=16, Resulting Numbers: [2, 16]
Generated Node #0,2,2: 18:[2, 16] Operation: 64/4=16
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 18:[2, 16], Operations: ['88-86=2', '64/4=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[88, 4, 86, 64], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [4, 64, 2]
Generated Node #0,2: 18:[4, 64, 2] Operation: 88-86=2
Moving to Node #0,2
Current State: 18:[4, 64, 2], Operations: ['88-86=2']
Exploring Operation: 64/4=16, Resulting Numbers: [2, 16]
Generated Node #0,2,2: 18:[2, 16] Operation: 64/4=16
Moving to Node #0,2,2
Current State: 18:[2, 16], Operations: ['88-86=2', '64/4=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
17,
69,
43,
68
] | 61 | [
"17+69=86",
"68-43=25",
"86-25=61"
] | Current State: 61:[17, 69, 43, 68], Operations: []
Exploring Operation: 17+69=86, Resulting Numbers: [43, 68, 86]
Generated Node #2: [43, 68, 86] from Operation: 17+69=86
Current State: 61:[43, 68, 86], Operations: ['17+69=86']
Exploring Operation: 68-43=25, Resulting Numbers: [86, 25]
Generated Node #3: [86, 25] from Operation: 68-43=25
Current State: 61:[86, 25], Operations: ['17+69=86', '68-43=25']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[17, 69, 43, 68], Operations: []
Exploring Operation: 17+43=60, Resulting Numbers: [69, 68, 60]
Generated Node #0,0: 61:[69, 68, 60] Operation: 17+43=60
Exploring Operation: 69-17=52, Resulting Numbers: [43, 68, 52]
Generated Node #0,1: 61:[43, 68, 52] Operation: 69-17=52
Moving to Node #0,0
Current State: 61:[69, 68, 60], Operations: ['17+43=60']
Exploring Operation: 69-68=1, Resulting Numbers: [60, 1]
Generated Node #0,0,0: 61:[60, 1] Operation: 69-68=1
Exploring Operation: 69-60=9, Resulting Numbers: [68, 9]
Generated Node #0,0,1: 61:[68, 9] Operation: 69-60=9
Moving to Node #0,1
Current State: 61:[43, 68, 52], Operations: ['69-17=52']
Exploring Operation: 43+52=95, Resulting Numbers: [68, 95]
Generated Node #0,1,0: 61:[68, 95] Operation: 43+52=95
Exploring Operation: 68-43=25, Resulting Numbers: [52, 25]
Generated Node #0,1,1: 61:[52, 25] Operation: 68-43=25
Moving to Node #0,1,0
Current State: 61:[68, 95], Operations: ['69-17=52', '43+52=95']
Exploring Operation: 68+95=163, Resulting Numbers: [163]
163,61 unequal: No Solution
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[52, 25], Operations: ['69-17=52', '68-43=25']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[68, 9], Operations: ['17+43=60', '69-60=9']
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[60, 1], Operations: ['17+43=60', '69-68=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[17, 69, 43, 68], Operations: []
Exploring Operation: 17+43=60, Resulting Numbers: [69, 68, 60]
Generated Node #0,0: 61:[69, 68, 60] Operation: 17+43=60
Moving to Node #0,0
Current State: 61:[69, 68, 60], Operations: ['17+43=60']
Exploring Operation: 69-68=1, Resulting Numbers: [60, 1]
Generated Node #0,0,0: 61:[60, 1] Operation: 69-68=1
Moving to Node #0,0,0
Current State: 61:[60, 1], Operations: ['17+43=60', '69-68=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
[
33,
48,
72,
82
] | 91 | [
"33+48=81",
"82-72=10",
"81+10=91"
] | Current State: 91:[33, 48, 72, 82], Operations: []
Exploring Operation: 33+48=81, Resulting Numbers: [72, 82, 81]
Generated Node #2: [72, 82, 81] from Operation: 33+48=81
Current State: 91:[72, 82, 81], Operations: ['33+48=81']
Exploring Operation: 82-72=10, Resulting Numbers: [81, 10]
Generated Node #3: [81, 10] from Operation: 82-72=10
Current State: 91:[81, 10], Operations: ['33+48=81', '82-72=10']
Exploring Operation: 81+10=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[33, 48, 72, 82], Operations: []
Exploring Operation: 48-33=15, Resulting Numbers: [72, 82, 15]
Generated Node #0,0: 91:[72, 82, 15] Operation: 48-33=15
Moving to Node #0,0
Current State: 91:[72, 82, 15], Operations: ['48-33=15']
Exploring Operation: 82-72=10, Resulting Numbers: [15, 10]
Generated Node #0,0,0: 91:[15, 10] Operation: 82-72=10
Moving to Node #0,0,0
Current State: 91:[15, 10], Operations: ['48-33=15', '82-72=10']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,91 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
19,
28,
74
] | 74 | [
"8+19=27",
"28-27=1",
"74*1=74"
] | Current State: 74:[8, 19, 28, 74], Operations: []
Exploring Operation: 8+19=27, Resulting Numbers: [28, 74, 27]
Generated Node #2: [28, 74, 27] from Operation: 8+19=27
Current State: 74:[28, 74, 27], Operations: ['8+19=27']
Exploring Operation: 28-27=1, Resulting Numbers: [74, 1]
Generated Node #3: [74, 1] from Operation: 28-27=1
Current State: 74:[74, 1], Operations: ['8+19=27', '28-27=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[8, 19, 28, 74], Operations: []
Exploring Operation: 28-19=9, Resulting Numbers: [8, 74, 9]
Generated Node #0,0: 74:[8, 74, 9] Operation: 28-19=9
Exploring Operation: 19+28=47, Resulting Numbers: [8, 74, 47]
Generated Node #0,1: 74:[8, 74, 47] Operation: 19+28=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[8, 74, 9], Operations: ['28-19=9']
Exploring Operation: 9-8=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 74:[74, 1] Operation: 9-8=1
Exploring Operation: 8*9=72, Resulting Numbers: [74, 72]
Generated Node #0,0,1: 74:[74, 72] Operation: 8*9=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[74, 1], Operations: ['28-19=9', '9-8=1']
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[8, 19, 28, 74], Operations: []
Exploring Operation: 28-19=9, Resulting Numbers: [8, 74, 9]
Generated Node #0,0: 74:[8, 74, 9] Operation: 28-19=9
Moving to Node #0,0
Current State: 74:[8, 74, 9], Operations: ['28-19=9']
Exploring Operation: 9-8=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 74:[74, 1] Operation: 9-8=1
Moving to Node #0,0,0
Current State: 74:[74, 1], Operations: ['28-19=9', '9-8=1']
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
42,
68,
22,
82
] | 77 | [
"42+68=110",
"110/22=5",
"82-5=77"
] | Current State: 77:[42, 68, 22, 82], Operations: []
Exploring Operation: 42+68=110, Resulting Numbers: [22, 82, 110]
Generated Node #2: [22, 82, 110] from Operation: 42+68=110
Current State: 77:[22, 82, 110], Operations: ['42+68=110']
Exploring Operation: 110/22=5, Resulting Numbers: [82, 5]
Generated Node #3: [82, 5] from Operation: 110/22=5
Current State: 77:[82, 5], Operations: ['42+68=110', '110/22=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[42, 68, 22, 82], Operations: []
Exploring Operation: 42-22=20, Resulting Numbers: [68, 82, 20]
Generated Node #0,0: 77:[68, 82, 20] Operation: 42-22=20
Exploring Operation: 42+22=64, Resulting Numbers: [68, 82, 64]
Generated Node #0,1: 77:[68, 82, 64] Operation: 42+22=64
Moving to Node #0,0
Current State: 77:[68, 82, 20], Operations: ['42-22=20']
Exploring Operation: 82-68=14, Resulting Numbers: [20, 14]
Generated Node #0,0,0: 77:[20, 14] Operation: 82-68=14
Exploring Operation: 68+20=88, Resulting Numbers: [82, 88]
Generated Node #0,0,1: 77:[82, 88] Operation: 68+20=88
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[20, 14], Operations: ['42-22=20', '82-68=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[82, 88], Operations: ['42-22=20', '68+20=88']
Exploring Operation: 82+88=170, Resulting Numbers: [170]
170,77 unequal: No Solution
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 77:[68, 82, 64], Operations: ['42+22=64']
Exploring Operation: 68-64=4, Resulting Numbers: [82, 4]
Generated Node #0,1,0: 77:[82, 4] Operation: 68-64=4
Exploring Operation: 82-68=14, Resulting Numbers: [64, 14]
Generated Node #0,1,1: 77:[64, 14] Operation: 82-68=14
Moving to Node #0,1,0
Current State: 77:[82, 4], Operations: ['42+22=64', '68-64=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,77 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[64, 14], Operations: ['42+22=64', '82-68=14']
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,77 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
74,
47,
11,
11
] | 49 | [
"74-47=27",
"11+11=22",
"27+22=49"
] | Current State: 49:[74, 47, 11, 11], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [11, 11, 27]
Generated Node #2: [11, 11, 27] from Operation: 74-47=27
Current State: 49:[11, 11, 27], Operations: ['74-47=27']
Exploring Operation: 11+11=22, Resulting Numbers: [27, 22]
Generated Node #3: [27, 22] from Operation: 11+11=22
Current State: 49:[27, 22], Operations: ['74-47=27', '11+11=22']
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[74, 47, 11, 11], Operations: []
Exploring Operation: 11-11=0, Resulting Numbers: [74, 47, 0]
Generated Node #0,0: 49:[74, 47, 0] Operation: 11-11=0
Exploring Operation: 74-11=63, Resulting Numbers: [47, 11, 63]
Generated Node #0,1: 49:[47, 11, 63] Operation: 74-11=63
Exploring Operation: 74-47=27, Resulting Numbers: [11, 11, 27]
Generated Node #0,2: 49:[11, 11, 27] Operation: 74-47=27
Exploring Operation: 11/11=1, Resulting Numbers: [74, 47, 1]
Generated Node #0,3: 49:[74, 47, 1] Operation: 11/11=1
Exploring Operation: 74-11=63, Resulting Numbers: [47, 11, 63]
Generated Node #0,4: 49:[47, 11, 63] Operation: 74-11=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[47, 11, 63], Operations: ['74-11=63']
Exploring Operation: 47-11=36, Resulting Numbers: [63, 36]
Generated Node #0,1,0: 49:[63, 36] Operation: 47-11=36
Exploring Operation: 63-47=16, Resulting Numbers: [11, 16]
Generated Node #0,1,1: 49:[11, 16] Operation: 63-47=16
Exploring Operation: 63-11=52, Resulting Numbers: [47, 52]
Generated Node #0,1,2: 49:[47, 52] Operation: 63-11=52
Exploring Operation: 47+11=58, Resulting Numbers: [63, 58]
Generated Node #0,1,3: 49:[63, 58] Operation: 47+11=58
Exploring Operation: 11+63=74, Resulting Numbers: [47, 74]
Generated Node #0,1,4: 49:[47, 74] Operation: 11+63=74
Moving to Node #0,1,2
Current State: 49:[47, 52], Operations: ['74-11=63', '63-11=52']
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 47*52=2444, Resulting Numbers: [2444]
2444,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[11, 16], Operations: ['74-11=63', '63-47=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[63, 58], Operations: ['74-11=63', '47+11=58']
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,49 unequal: No Solution
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[63, 36], Operations: ['74-11=63', '47-11=36']
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[47, 74], Operations: ['74-11=63', '11+63=74']
Exploring Operation: 47*74=3478, Resulting Numbers: [3478]
3478,49 unequal: No Solution
Exploring Operation: 74-47=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 47+74=121, Resulting Numbers: [121]
121,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,4
Current State: 49:[47, 11, 63], Operations: ['74-11=63']
Exploring Operation: 11+63=74, Resulting Numbers: [47, 74]
Generated Node #0,4,0: 49:[47, 74] Operation: 11+63=74
Exploring Operation: 47-11=36, Resulting Numbers: [63, 36]
Generated Node #0,4,1: 49:[63, 36] Operation: 47-11=36
Exploring Operation: 63-11=52, Resulting Numbers: [47, 52]
Generated Node #0,4,2: 49:[47, 52] Operation: 63-11=52
Exploring Operation: 47+11=58, Resulting Numbers: [63, 58]
Generated Node #0,4,3: 49:[63, 58] Operation: 47+11=58
Exploring Operation: 63-47=16, Resulting Numbers: [11, 16]
Generated Node #0,4,4: 49:[11, 16] Operation: 63-47=16
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 49:[47, 52], Operations: ['74-11=63', '63-11=52']
Exploring Operation: 47*52=2444, Resulting Numbers: [2444]
2444,49 unequal: No Solution
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,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,4,4
Current State: 49:[11, 16], Operations: ['74-11=63', '63-47=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,49 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,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,4,3
Current State: 49:[63, 58], Operations: ['74-11=63', '47+11=58']
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,49 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,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,4,0
Current State: 49:[47, 74], Operations: ['74-11=63', '11+63=74']
Exploring Operation: 74-47=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 47*74=3478, Resulting Numbers: [3478]
3478,49 unequal: No Solution
Exploring Operation: 47+74=121, Resulting Numbers: [121]
121,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,4,1
Current State: 49:[63, 36], Operations: ['74-11=63', '47-11=36']
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,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:[11, 11, 27], Operations: ['74-47=27']
Exploring Operation: 27-11=16, Resulting Numbers: [11, 16]
Generated Node #0,2,0: 49:[11, 16] Operation: 27-11=16
Exploring Operation: 11+27=38, Resulting Numbers: [11, 38]
Generated Node #0,2,1: 49:[11, 38] Operation: 11+27=38
Exploring Operation: 11/11=1, Resulting Numbers: [27, 1]
Generated Node #0,2,2: 49:[27, 1] Operation: 11/11=1
Exploring Operation: 27-11=16, Resulting Numbers: [11, 16]
Generated Node #0,2,3: 49:[11, 16] Operation: 27-11=16
Exploring Operation: 11+27=38, Resulting Numbers: [11, 38]
Generated Node #0,2,4: 49:[11, 38] Operation: 11+27=38
Moving to Node #0,2,0
Current State: 49:[11, 16], Operations: ['74-47=27', '27-11=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,49 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[11, 16], Operations: ['74-47=27', '27-11=16']
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,49 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[11, 38], Operations: ['74-47=27', '11+27=38']
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,49 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[74, 47, 11, 11], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [11, 11, 27]
Generated Node #0,2: 49:[11, 11, 27] Operation: 74-47=27
Moving to Node #0,2
Current State: 49:[11, 11, 27], Operations: ['74-47=27']
Exploring Operation: 11+27=38, Resulting Numbers: [11, 38]
Generated Node #0,2,1: 49:[11, 38] Operation: 11+27=38
Moving to Node #0,2,1
Current State: 49:[11, 38], Operations: ['74-47=27', '11+27=38']
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_5 | mult_heuristic |
[
17,
57,
52,
54
] | 66 | [
"57-17=40",
"52+54=106",
"106-40=66"
] | Current State: 66:[17, 57, 52, 54], Operations: []
Exploring Operation: 57-17=40, Resulting Numbers: [52, 54, 40]
Generated Node #2: [52, 54, 40] from Operation: 57-17=40
Current State: 66:[52, 54, 40], Operations: ['57-17=40']
Exploring Operation: 52+54=106, Resulting Numbers: [40, 106]
Generated Node #3: [40, 106] from Operation: 52+54=106
Current State: 66:[40, 106], Operations: ['57-17=40', '52+54=106']
Exploring Operation: 106-40=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[17, 57, 52, 54], Operations: []
Exploring Operation: 57-52=5, Resulting Numbers: [17, 54, 5]
Generated Node #0,0: 66:[17, 54, 5] Operation: 57-52=5
Exploring Operation: 54-52=2, Resulting Numbers: [17, 57, 2]
Generated Node #0,1: 66:[17, 57, 2] Operation: 54-52=2
Exploring Operation: 57-54=3, Resulting Numbers: [17, 52, 3]
Generated Node #0,2: 66:[17, 52, 3] Operation: 57-54=3
Exploring Operation: 17+52=69, Resulting Numbers: [57, 54, 69]
Generated Node #0,3: 66:[57, 54, 69] Operation: 17+52=69
Exploring Operation: 52-17=35, Resulting Numbers: [57, 54, 35]
Generated Node #0,4: 66:[57, 54, 35] Operation: 52-17=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[17, 57, 2], Operations: ['54-52=2']
Exploring Operation: 57+2=59, Resulting Numbers: [17, 59]
Generated Node #0,1,0: 66:[17, 59] Operation: 57+2=59
Exploring Operation: 17+2=19, Resulting Numbers: [57, 19]
Generated Node #0,1,1: 66:[57, 19] Operation: 17+2=19
Exploring Operation: 57-17=40, Resulting Numbers: [2, 40]
Generated Node #0,1,2: 66:[2, 40] Operation: 57-17=40
Exploring Operation: 17*2=34, Resulting Numbers: [57, 34]
Generated Node #0,1,3: 66:[57, 34] Operation: 17*2=34
Exploring Operation: 17+57=74, Resulting Numbers: [2, 74]
Generated Node #0,1,4: 66:[2, 74] Operation: 17+57=74
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[2, 40], Operations: ['54-52=2', '57-17=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,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,1,4
Current State: 66:[2, 74], Operations: ['54-52=2', '17+57=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,66 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,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,1,3
Current State: 66:[57, 34], Operations: ['54-52=2', '17*2=34']
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 57+34=91, Resulting Numbers: [91]
91,66 unequal: No Solution
Exploring Operation: 57*34=1938, Resulting Numbers: [1938]
1938,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,1,0
Current State: 66:[17, 59], Operations: ['54-52=2', '57+2=59']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 17*59=1003, Resulting Numbers: [1003]
1003,66 unequal: No Solution
Exploring Operation: 17+59=76, Resulting Numbers: [76]
76,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,1,1
Current State: 66:[57, 19], Operations: ['54-52=2', '17+2=19']
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,66 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,66 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: 66:[17, 54, 5], Operations: ['57-52=5']
Exploring Operation: 54-17=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 66:[5, 37] Operation: 54-17=37
Exploring Operation: 17+5=22, Resulting Numbers: [54, 22]
Generated Node #0,0,1: 66:[54, 22] Operation: 17+5=22
Exploring Operation: 54+5=59, Resulting Numbers: [17, 59]
Generated Node #0,0,2: 66:[17, 59] Operation: 54+5=59
Exploring Operation: 17-5=12, Resulting Numbers: [54, 12]
Generated Node #0,0,3: 66:[54, 12] Operation: 17-5=12
Exploring Operation: 17+54=71, Resulting Numbers: [5, 71]
Generated Node #0,0,4: 66:[5, 71] Operation: 17+54=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[5, 37], Operations: ['57-52=5', '54-17=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,66 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,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,0,4
Current State: 66:[5, 71], Operations: ['57-52=5', '17+54=71']
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,66 unequal: No Solution
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[17, 57, 52, 54], Operations: []
Exploring Operation: 57-52=5, Resulting Numbers: [17, 54, 5]
Generated Node #0,0: 66:[17, 54, 5] Operation: 57-52=5
Moving to Node #0,0
Current State: 66:[17, 54, 5], Operations: ['57-52=5']
Exploring Operation: 17+54=71, Resulting Numbers: [5, 71]
Generated Node #0,0,4: 66:[5, 71] Operation: 17+54=71
Moving to Node #0,0,4
Current State: 66:[5, 71], Operations: ['57-52=5', '17+54=71']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
95,
62,
85,
12
] | 77 | [
"95+85=180",
"180/12=15",
"62+15=77"
] | Current State: 77:[95, 62, 85, 12], Operations: []
Exploring Operation: 95+85=180, Resulting Numbers: [62, 12, 180]
Generated Node #2: [62, 12, 180] from Operation: 95+85=180
Current State: 77:[62, 12, 180], Operations: ['95+85=180']
Exploring Operation: 180/12=15, Resulting Numbers: [62, 15]
Generated Node #3: [62, 15] from Operation: 180/12=15
Current State: 77:[62, 15], Operations: ['95+85=180', '180/12=15']
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[95, 62, 85, 12], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [85, 12, 33]
Generated Node #0,0: 77:[85, 12, 33] Operation: 95-62=33
Exploring Operation: 95-85=10, Resulting Numbers: [62, 12, 10]
Generated Node #0,1: 77:[62, 12, 10] Operation: 95-85=10
Exploring Operation: 62+12=74, Resulting Numbers: [95, 85, 74]
Generated Node #0,2: 77:[95, 85, 74] Operation: 62+12=74
Exploring Operation: 85-62=23, Resulting Numbers: [95, 12, 23]
Generated Node #0,3: 77:[95, 12, 23] Operation: 85-62=23
Exploring Operation: 95-12=83, Resulting Numbers: [62, 85, 83]
Generated Node #0,4: 77:[62, 85, 83] Operation: 95-12=83
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[62, 12, 10], Operations: ['95-85=10']
Exploring Operation: 62+12=74, Resulting Numbers: [10, 74]
Generated Node #0,1,0: 77:[10, 74] Operation: 62+12=74
Exploring Operation: 12+10=22, Resulting Numbers: [62, 22]
Generated Node #0,1,1: 77:[62, 22] Operation: 12+10=22
Exploring Operation: 62+10=72, Resulting Numbers: [12, 72]
Generated Node #0,1,2: 77:[12, 72] Operation: 62+10=72
Exploring Operation: 62-10=52, Resulting Numbers: [12, 52]
Generated Node #0,1,3: 77:[12, 52] Operation: 62-10=52
Exploring Operation: 12-10=2, Resulting Numbers: [62, 2]
Generated Node #0,1,4: 77:[62, 2] Operation: 12-10=2
Moving to Node #0,1,0
Current State: 77:[10, 74], Operations: ['95-85=10', '62+12=74']
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,77 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[12, 72], Operations: ['95-85=10', '62+10=72']
Exploring Operation: 12*72=864, Resulting Numbers: [864]
864,77 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[62, 2], Operations: ['95-85=10', '12-10=2']
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[62, 22], Operations: ['95-85=10', '12+10=22']
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Exploring Operation: 62*22=1364, Resulting Numbers: [1364]
1364,77 unequal: No Solution
Exploring Operation: 62+22=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[12, 52], Operations: ['95-85=10', '62-10=52']
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,77 unequal: No Solution
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[95, 85, 74], Operations: ['62+12=74']
Exploring Operation: 85-74=11, Resulting Numbers: [95, 11]
Generated Node #0,2,0: 77:[95, 11] Operation: 85-74=11
Exploring Operation: 95+74=169, Resulting Numbers: [85, 169]
Generated Node #0,2,1: 77:[85, 169] Operation: 95+74=169
Exploring Operation: 95-74=21, Resulting Numbers: [85, 21]
Generated Node #0,2,2: 77:[85, 21] Operation: 95-74=21
Exploring Operation: 95-85=10, Resulting Numbers: [74, 10]
Generated Node #0,2,3: 77:[74, 10] Operation: 95-85=10
Exploring Operation: 85+74=159, Resulting Numbers: [95, 159]
Generated Node #0,2,4: 77:[95, 159] Operation: 85+74=159
Moving to Node #0,2,3
Current State: 77:[74, 10], Operations: ['62+12=74', '95-85=10']
Exploring Operation: 74*10=740, Resulting Numbers: [740]
740,77 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 74+10=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[85, 21], Operations: ['62+12=74', '95-74=21']
Exploring Operation: 85*21=1785, Resulting Numbers: [1785]
1785,77 unequal: No Solution
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 85+21=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[95, 11], Operations: ['62+12=74', '85-74=11']
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 95+11=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 95*11=1045, Resulting Numbers: [1045]
1045,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[85, 169], Operations: ['62+12=74', '95+74=169']
Exploring Operation: 85+169=254, Resulting Numbers: [254]
254,77 unequal: No Solution
Exploring Operation: 169-85=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 85*169=14365, Resulting Numbers: [14365]
14365,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[95, 159], Operations: ['62+12=74', '85+74=159']
Exploring Operation: 95*159=15105, Resulting Numbers: [15105]
15105,77 unequal: No Solution
Exploring Operation: 95+159=254, Resulting Numbers: [254]
254,77 unequal: No Solution
Exploring Operation: 159-95=64, Resulting Numbers: [64]
64,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 77:[62, 85, 83], Operations: ['95-12=83']
Exploring Operation: 83-62=21, Resulting Numbers: [85, 21]
Generated Node #0,4,0: 77:[85, 21] Operation: 83-62=21
Exploring Operation: 85-83=2, Resulting Numbers: [62, 2]
Generated Node #0,4,1: 77:[62, 2] Operation: 85-83=2
Exploring Operation: 62+85=147, Resulting Numbers: [83, 147]
Generated Node #0,4,2: 77:[83, 147] Operation: 62+85=147
Exploring Operation: 85-62=23, Resulting Numbers: [83, 23]
Generated Node #0,4,3: 77:[83, 23] Operation: 85-62=23
Exploring Operation: 62+83=145, Resulting Numbers: [85, 145]
Generated Node #0,4,4: 77:[85, 145] Operation: 62+83=145
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 77:[85, 21], Operations: ['95-12=83', '83-62=21']
Exploring Operation: 85*21=1785, Resulting Numbers: [1785]
1785,77 unequal: No Solution
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 85+21=106, Resulting Numbers: [106]
106,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 77:[83, 23], Operations: ['95-12=83', '85-62=23']
Exploring Operation: 83*23=1909, Resulting Numbers: [1909]
1909,77 unequal: No Solution
Exploring Operation: 83+23=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 77:[62, 2], Operations: ['95-12=83', '85-83=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,77 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 77:[83, 147], Operations: ['95-12=83', '62+85=147']
Exploring Operation: 83+147=230, Resulting Numbers: [230]
230,77 unequal: No Solution
Exploring Operation: 83*147=12201, Resulting Numbers: [12201]
12201,77 unequal: No Solution
Exploring Operation: 147-83=64, Resulting Numbers: [64]
64,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 77:[85, 145], Operations: ['95-12=83', '62+83=145']
Exploring Operation: 85*145=12325, Resulting Numbers: [12325]
12325,77 unequal: No Solution
Exploring Operation: 85+145=230, Resulting Numbers: [230]
230,77 unequal: No Solution
Exploring Operation: 145-85=60, Resulting Numbers: [60]
60,77 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: 77:[85, 12, 33], Operations: ['95-62=33']
Exploring Operation: 85-33=52, Resulting Numbers: [12, 52]
Generated Node #0,0,0: 77:[12, 52] Operation: 85-33=52
Exploring Operation: 85+12=97, Resulting Numbers: [33, 97]
Generated Node #0,0,1: 77:[33, 97] Operation: 85+12=97
Exploring Operation: 33-12=21, Resulting Numbers: [85, 21]
Generated Node #0,0,2: 77:[85, 21] Operation: 33-12=21
Exploring Operation: 85-12=73, Resulting Numbers: [33, 73]
Generated Node #0,0,3: 77:[33, 73] Operation: 85-12=73
Exploring Operation: 12+33=45, Resulting Numbers: [85, 45]
Generated Node #0,0,4: 77:[85, 45] Operation: 12+33=45
Moving to Node #0,0,2
Current State: 77:[85, 21], Operations: ['95-62=33', '33-12=21']
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 85*21=1785, Resulting Numbers: [1785]
1785,77 unequal: No Solution
Exploring Operation: 85+21=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[33, 73], Operations: ['95-62=33', '85-12=73']
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,77 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[12, 52], Operations: ['95-62=33', '85-33=52']
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,77 unequal: No Solution
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[85, 45], Operations: ['95-62=33', '12+33=45']
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,77 unequal: No Solution
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[33, 97], Operations: ['95-62=33', '85+12=97']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 33*97=3201, Resulting Numbers: [3201]
3201,77 unequal: No Solution
Exploring Operation: 33+97=130, Resulting Numbers: [130]
130,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[95, 12, 23], Operations: ['85-62=23']
Exploring Operation: 95-23=72, Resulting Numbers: [12, 72]
Generated Node #0,3,0: 77:[12, 72] Operation: 95-23=72
Exploring Operation: 95+23=118, Resulting Numbers: [12, 118]
Generated Node #0,3,1: 77:[12, 118] Operation: 95+23=118
Exploring Operation: 95-12=83, Resulting Numbers: [23, 83]
Generated Node #0,3,2: 77:[23, 83] Operation: 95-12=83
Exploring Operation: 23-12=11, Resulting Numbers: [95, 11]
Generated Node #0,3,3: 77:[95, 11] Operation: 23-12=11
Exploring Operation: 95+12=107, Resulting Numbers: [23, 107]
Generated Node #0,3,4: 77:[23, 107] Operation: 95+12=107
Moving to Node #0,3,0
Current State: 77:[12, 72], Operations: ['85-62=23', '95-23=72']
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 12*72=864, Resulting Numbers: [864]
864,77 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[95, 11], Operations: ['85-62=23', '23-12=11']
Exploring Operation: 95+11=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 95*11=1045, Resulting Numbers: [1045]
1045,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[23, 83], Operations: ['85-62=23', '95-12=83']
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,77 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[12, 118], Operations: ['85-62=23', '95+23=118']
Exploring Operation: 12+118=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Exploring Operation: 12*118=1416, Resulting Numbers: [1416]
1416,77 unequal: No Solution
Exploring Operation: 118-12=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Moving to Node #0,3,4
Current State: 77:[23, 107], Operations: ['85-62=23', '95+12=107']
Exploring Operation: 107-23=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 23*107=2461, Resulting Numbers: [2461]
2461,77 unequal: No Solution
Exploring Operation: 23+107=130, Resulting Numbers: [130]
130,77 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 |
[
95,
79,
98,
64
] | 69 | [
"98-79=19",
"95/19=5",
"64+5=69"
] | Current State: 69:[95, 79, 98, 64], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [95, 64, 19]
Generated Node #2: [95, 64, 19] from Operation: 98-79=19
Current State: 69:[95, 64, 19], Operations: ['98-79=19']
Exploring Operation: 95/19=5, Resulting Numbers: [64, 5]
Generated Node #3: [64, 5] from Operation: 95/19=5
Current State: 69:[64, 5], Operations: ['98-79=19', '95/19=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[95, 79, 98, 64], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [95, 64, 19]
Generated Node #0,0: 69:[95, 64, 19] Operation: 98-79=19
Exploring Operation: 98-95=3, Resulting Numbers: [79, 64, 3]
Generated Node #0,1: 69:[79, 64, 3] Operation: 98-95=3
Moving to Node #0,1
Current State: 69:[79, 64, 3], Operations: ['98-95=3']
Exploring Operation: 79-3=76, Resulting Numbers: [64, 76]
Generated Node #0,1,0: 69:[64, 76] Operation: 79-3=76
Exploring Operation: 79-64=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 69:[3, 15] Operation: 79-64=15
Moving to Node #0,0
Current State: 69:[95, 64, 19], Operations: ['98-79=19']
Exploring Operation: 95-64=31, Resulting Numbers: [19, 31]
Generated Node #0,0,0: 69:[19, 31] Operation: 95-64=31
Exploring Operation: 95/19=5, Resulting Numbers: [64, 5]
Generated Node #0,0,1: 69:[64, 5] Operation: 95/19=5
Moving to Node #0,0,1
Current State: 69:[64, 5], Operations: ['98-79=19', '95/19=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[95, 79, 98, 64], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [95, 64, 19]
Generated Node #0,0: 69:[95, 64, 19] Operation: 98-79=19
Moving to Node #0,0
Current State: 69:[95, 64, 19], Operations: ['98-79=19']
Exploring Operation: 95/19=5, Resulting Numbers: [64, 5]
Generated Node #0,0,1: 69:[64, 5] Operation: 95/19=5
Moving to Node #0,0,1
Current State: 69:[64, 5], Operations: ['98-79=19', '95/19=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
21,
11,
48,
51
] | 34 | [
"21+11=32",
"51*32=1632",
"1632/48=34"
] | Current State: 34:[21, 11, 48, 51], Operations: []
Exploring Operation: 21+11=32, Resulting Numbers: [48, 51, 32]
Generated Node #2: [48, 51, 32] from Operation: 21+11=32
Current State: 34:[48, 51, 32], Operations: ['21+11=32']
Exploring Operation: 51*32=1632, Resulting Numbers: [48, 1632]
Generated Node #3: [48, 1632] from Operation: 51*32=1632
Current State: 34:[48, 1632], Operations: ['21+11=32', '51*32=1632']
Exploring Operation: 1632/48=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[21, 11, 48, 51], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [21, 11, 3]
Generated Node #0,0: 34:[21, 11, 3] Operation: 51-48=3
Exploring Operation: 48-11=37, Resulting Numbers: [21, 51, 37]
Generated Node #0,1: 34:[21, 51, 37] Operation: 48-11=37
Exploring Operation: 51-21=30, Resulting Numbers: [11, 48, 30]
Generated Node #0,2: 34:[11, 48, 30] Operation: 51-21=30
Exploring Operation: 48-21=27, Resulting Numbers: [11, 51, 27]
Generated Node #0,3: 34:[11, 51, 27] Operation: 48-21=27
Exploring Operation: 51-11=40, Resulting Numbers: [21, 48, 40]
Generated Node #0,4: 34:[21, 48, 40] Operation: 51-11=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[21, 11, 3], Operations: ['51-48=3']
Exploring Operation: 11*3=33, Resulting Numbers: [21, 33]
Generated Node #0,0,0: 34:[21, 33] Operation: 11*3=33
Exploring Operation: 21+11=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 34:[3, 32] Operation: 21+11=32
Exploring Operation: 11+3=14, Resulting Numbers: [21, 14]
Generated Node #0,0,2: 34:[21, 14] Operation: 11+3=14
Exploring Operation: 21-11=10, Resulting Numbers: [3, 10]
Generated Node #0,0,3: 34:[3, 10] Operation: 21-11=10
Exploring Operation: 21-3=18, Resulting Numbers: [11, 18]
Generated Node #0,0,4: 34:[11, 18] Operation: 21-3=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[3, 32], Operations: ['51-48=3', '21+11=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,34 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[21, 33], Operations: ['51-48=3', '11*3=33']
Exploring Operation: 21*33=693, Resulting Numbers: [693]
693,34 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[21, 14], Operations: ['51-48=3', '11+3=14']
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,34 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 34:[11, 18], Operations: ['51-48=3', '21-3=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,34 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[3, 10], Operations: ['51-48=3', '21-11=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[21, 51, 37], Operations: ['48-11=37']
Exploring Operation: 51-21=30, Resulting Numbers: [37, 30]
Generated Node #0,1,0: 34:[37, 30] Operation: 51-21=30
Exploring Operation: 51-37=14, Resulting Numbers: [21, 14]
Generated Node #0,1,1: 34:[21, 14] Operation: 51-37=14
Exploring Operation: 21+51=72, Resulting Numbers: [37, 72]
Generated Node #0,1,2: 34:[37, 72] Operation: 21+51=72
Exploring Operation: 37-21=16, Resulting Numbers: [51, 16]
Generated Node #0,1,3: 34:[51, 16] Operation: 37-21=16
Exploring Operation: 21+37=58, Resulting Numbers: [51, 58]
Generated Node #0,1,4: 34:[51, 58] Operation: 21+37=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[37, 30], Operations: ['48-11=37', '51-21=30']
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,34 unequal: No Solution
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[21, 14], Operations: ['48-11=37', '51-37=14']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,34 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 34:[51, 16], Operations: ['48-11=37', '37-21=16']
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,34 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[37, 72], Operations: ['48-11=37', '21+51=72']
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 37+72=109, Resulting Numbers: [109]
109,34 unequal: No Solution
Exploring Operation: 37*72=2664, Resulting Numbers: [2664]
2664,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 34:[51, 58], Operations: ['48-11=37', '21+37=58']
Exploring Operation: 51*58=2958, Resulting Numbers: [2958]
2958,34 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 51+58=109, Resulting Numbers: [109]
109,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[11, 48, 30], Operations: ['51-21=30']
Exploring Operation: 48-30=18, Resulting Numbers: [11, 18]
Generated Node #0,2,0: 34:[11, 18] Operation: 48-30=18
Exploring Operation: 30-11=19, Resulting Numbers: [48, 19]
Generated Node #0,2,1: 34:[48, 19] Operation: 30-11=19
Exploring Operation: 11+30=41, Resulting Numbers: [48, 41]
Generated Node #0,2,2: 34:[48, 41] Operation: 11+30=41
Exploring Operation: 48-11=37, Resulting Numbers: [30, 37]
Generated Node #0,2,3: 34:[30, 37] Operation: 48-11=37
Exploring Operation: 11+48=59, Resulting Numbers: [30, 59]
Generated Node #0,2,4: 34:[30, 59] Operation: 11+48=59
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[11, 18], Operations: ['51-21=30', '48-30=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 34:[30, 37], Operations: ['51-21=30', '48-11=37']
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,34 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[48, 19], Operations: ['51-21=30', '30-11=19']
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[48, 41], Operations: ['51-21=30', '11+30=41']
Exploring Operation: 48+41=89, Resulting Numbers: [89]
89,34 unequal: No Solution
Exploring Operation: 48*41=1968, Resulting Numbers: [1968]
1968,34 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 34:[30, 59], Operations: ['51-21=30', '11+48=59']
Exploring Operation: 30*59=1770, Resulting Numbers: [1770]
1770,34 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 30+59=89, Resulting Numbers: [89]
89,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[21, 48, 40], Operations: ['51-11=40']
Exploring Operation: 21+48=69, Resulting Numbers: [40, 69]
Generated Node #0,4,0: 34:[40, 69] Operation: 21+48=69
Exploring Operation: 40-21=19, Resulting Numbers: [48, 19]
Generated Node #0,4,1: 34:[48, 19] Operation: 40-21=19
Exploring Operation: 48-21=27, Resulting Numbers: [40, 27]
Generated Node #0,4,2: 34:[40, 27] Operation: 48-21=27
Exploring Operation: 21+40=61, Resulting Numbers: [48, 61]
Generated Node #0,4,3: 34:[48, 61] Operation: 21+40=61
Exploring Operation: 48-40=8, Resulting Numbers: [21, 8]
Generated Node #0,4,4: 34:[21, 8] Operation: 48-40=8
Moving to Node #0,4,4
Current State: 34:[21, 8], Operations: ['51-11=40', '48-40=8']
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,34 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[40, 27], Operations: ['51-11=40', '48-21=27']
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 40*27=1080, Resulting Numbers: [1080]
1080,34 unequal: No Solution
Moving to Node #0,4,1
Current State: 34:[48, 19], Operations: ['51-11=40', '40-21=19']
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,34 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[40, 69], Operations: ['51-11=40', '21+48=69']
Exploring Operation: 40+69=109, Resulting Numbers: [109]
109,34 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 40*69=2760, Resulting Numbers: [2760]
2760,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[48, 61], Operations: ['51-11=40', '21+40=61']
Exploring Operation: 48*61=2928, Resulting Numbers: [2928]
2928,34 unequal: No Solution
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[11, 51, 27], Operations: ['48-21=27']
Exploring Operation: 11+51=62, Resulting Numbers: [27, 62]
Generated Node #0,3,0: 34:[27, 62] Operation: 11+51=62
Exploring Operation: 11+27=38, Resulting Numbers: [51, 38]
Generated Node #0,3,1: 34:[51, 38] Operation: 11+27=38
Exploring Operation: 51-11=40, Resulting Numbers: [27, 40]
Generated Node #0,3,2: 34:[27, 40] Operation: 51-11=40
Exploring Operation: 51-27=24, Resulting Numbers: [11, 24]
Generated Node #0,3,3: 34:[11, 24] Operation: 51-27=24
Exploring Operation: 27-11=16, Resulting Numbers: [51, 16]
Generated Node #0,3,4: 34:[51, 16] Operation: 27-11=16
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 34:[27, 40], Operations: ['48-21=27', '51-11=40']
Exploring Operation: 27*40=1080, Resulting Numbers: [1080]
1080,34 unequal: No Solution
Exploring Operation: 27+40=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 34:[11, 24], Operations: ['48-21=27', '51-27=24']
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,34 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 34:[51, 16], Operations: ['48-21=27', '27-11=16']
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,34 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[51, 38], Operations: ['48-21=27', '11+27=38']
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 51*38=1938, Resulting Numbers: [1938]
1938,34 unequal: No Solution
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[27, 62], Operations: ['48-21=27', '11+51=62']
Exploring Operation: 27*62=1674, Resulting Numbers: [1674]
1674,34 unequal: No Solution
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
78,
45,
68,
26
] | 75 | [
"78-45=33",
"68-26=42",
"33+42=75"
] | Current State: 75:[78, 45, 68, 26], Operations: []
Exploring Operation: 78-45=33, Resulting Numbers: [68, 26, 33]
Generated Node #2: [68, 26, 33] from Operation: 78-45=33
Current State: 75:[68, 26, 33], Operations: ['78-45=33']
Exploring Operation: 68-26=42, Resulting Numbers: [33, 42]
Generated Node #3: [33, 42] from Operation: 68-26=42
Current State: 75:[33, 42], Operations: ['78-45=33', '68-26=42']
Exploring Operation: 33+42=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[78, 45, 68, 26], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [78, 26, 23]
Generated Node #0,0: 75:[78, 26, 23] Operation: 68-45=23
Exploring Operation: 78-45=33, Resulting Numbers: [68, 26, 33]
Generated Node #0,1: 75:[68, 26, 33] Operation: 78-45=33
Exploring Operation: 45-26=19, Resulting Numbers: [78, 68, 19]
Generated Node #0,2: 75:[78, 68, 19] Operation: 45-26=19
Exploring Operation: 45+26=71, Resulting Numbers: [78, 68, 71]
Generated Node #0,3: 75:[78, 68, 71] Operation: 45+26=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[78, 26, 23], Operations: ['68-45=23']
Exploring Operation: 78/26=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 75:[23, 3] Operation: 78/26=3
Exploring Operation: 26-23=3, Resulting Numbers: [78, 3]
Generated Node #0,0,1: 75:[78, 3] Operation: 26-23=3
Exploring Operation: 78-26=52, Resulting Numbers: [23, 52]
Generated Node #0,0,2: 75:[23, 52] Operation: 78-26=52
Exploring Operation: 78-23=55, Resulting Numbers: [26, 55]
Generated Node #0,0,3: 75:[26, 55] Operation: 78-23=55
Moving to Node #0,0,0
Current State: 75:[23, 3], Operations: ['68-45=23', '78/26=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[78, 3], Operations: ['68-45=23', '26-23=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[78, 45, 68, 26], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [78, 26, 23]
Generated Node #0,0: 75:[78, 26, 23] Operation: 68-45=23
Moving to Node #0,0
Current State: 75:[78, 26, 23], Operations: ['68-45=23']
Exploring Operation: 26-23=3, Resulting Numbers: [78, 3]
Generated Node #0,0,1: 75:[78, 3] Operation: 26-23=3
Moving to Node #0,0,1
Current State: 75:[78, 3], Operations: ['68-45=23', '26-23=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
10,
25,
38,
87
] | 84 | [
"10+25=35",
"87-38=49",
"35+49=84"
] | Current State: 84:[10, 25, 38, 87], Operations: []
Exploring Operation: 10+25=35, Resulting Numbers: [38, 87, 35]
Generated Node #2: [38, 87, 35] from Operation: 10+25=35
Current State: 84:[38, 87, 35], Operations: ['10+25=35']
Exploring Operation: 87-38=49, Resulting Numbers: [35, 49]
Generated Node #3: [35, 49] from Operation: 87-38=49
Current State: 84:[35, 49], Operations: ['10+25=35', '87-38=49']
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[10, 25, 38, 87], Operations: []
Exploring Operation: 38-10=28, Resulting Numbers: [25, 87, 28]
Generated Node #0,0: 84:[25, 87, 28] Operation: 38-10=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[25, 87, 28], Operations: ['38-10=28']
Exploring Operation: 28-25=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 84:[87, 3] Operation: 28-25=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[87, 3], Operations: ['38-10=28', '28-25=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[10, 25, 38, 87], Operations: []
Exploring Operation: 38-10=28, Resulting Numbers: [25, 87, 28]
Generated Node #0,0: 84:[25, 87, 28] Operation: 38-10=28
Moving to Node #0,0
Current State: 84:[25, 87, 28], Operations: ['38-10=28']
Exploring Operation: 28-25=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 84:[87, 3] Operation: 28-25=3
Moving to Node #0,0,0
Current State: 84:[87, 3], Operations: ['38-10=28', '28-25=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
16,
65,
38,
13
] | 27 | [
"38-16=22",
"65/13=5",
"22+5=27"
] | Current State: 27:[16, 65, 38, 13], Operations: []
Exploring Operation: 38-16=22, Resulting Numbers: [65, 13, 22]
Generated Node #2: [65, 13, 22] from Operation: 38-16=22
Current State: 27:[65, 13, 22], Operations: ['38-16=22']
Exploring Operation: 65/13=5, Resulting Numbers: [22, 5]
Generated Node #3: [22, 5] from Operation: 65/13=5
Current State: 27:[22, 5], Operations: ['38-16=22', '65/13=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[16, 65, 38, 13], Operations: []
Exploring Operation: 65-38=27, Resulting Numbers: [16, 13, 27]
Generated Node #0,0: 27:[16, 13, 27] Operation: 65-38=27
Moving to Node #0,0
Current State: 27:[16, 13, 27], Operations: ['65-38=27']
Exploring Operation: 16-13=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 27:[27, 3] Operation: 16-13=3
Moving to Node #0,0,0
Current State: 27:[27, 3], Operations: ['65-38=27', '16-13=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,27 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
3,
8,
38
] | 11 | [
"38-29=9",
"9/3=3",
"8+3=11"
] | Current State: 11:[29, 3, 8, 38], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [3, 8, 9]
Generated Node #2: [3, 8, 9] from Operation: 38-29=9
Current State: 11:[3, 8, 9], Operations: ['38-29=9']
Exploring Operation: 9/3=3, Resulting Numbers: [8, 3]
Generated Node #3: [8, 3] from Operation: 9/3=3
Current State: 11:[8, 3], Operations: ['38-29=9', '9/3=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[29, 3, 8, 38], Operations: []
Exploring Operation: 29-3=26, Resulting Numbers: [8, 38, 26]
Generated Node #0,0: 11:[8, 38, 26] Operation: 29-3=26
Exploring Operation: 29-8=21, Resulting Numbers: [3, 38, 21]
Generated Node #0,1: 11:[3, 38, 21] Operation: 29-8=21
Exploring Operation: 38-29=9, Resulting Numbers: [3, 8, 9]
Generated Node #0,2: 11:[3, 8, 9] Operation: 38-29=9
Exploring Operation: 3+8=11, Resulting Numbers: [29, 38, 11]
Generated Node #0,3: 11:[29, 38, 11] Operation: 3+8=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[3, 8, 9], Operations: ['38-29=9']
Exploring Operation: 3+8=11, Resulting Numbers: [9, 11]
Generated Node #0,2,0: 11:[9, 11] Operation: 3+8=11
Exploring Operation: 8-3=5, Resulting Numbers: [9, 5]
Generated Node #0,2,1: 11:[9, 5] Operation: 8-3=5
Exploring Operation: 9-3=6, Resulting Numbers: [8, 6]
Generated Node #0,2,2: 11:[8, 6] Operation: 9-3=6
Exploring Operation: 3+9=12, Resulting Numbers: [8, 12]
Generated Node #0,2,3: 11:[8, 12] Operation: 3+9=12
Moving to Node #0,2,0
Current State: 11:[9, 11], Operations: ['38-29=9', '3+8=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[8, 12], Operations: ['38-29=9', '3+9=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[8, 6], Operations: ['38-29=9', '9-3=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[9, 5], Operations: ['38-29=9', '8-3=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,11 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,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:[8, 38, 26], Operations: ['29-3=26']
Exploring Operation: 38-26=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 11:[8, 12] Operation: 38-26=12
Exploring Operation: 26-8=18, Resulting Numbers: [38, 18]
Generated Node #0,0,1: 11:[38, 18] Operation: 26-8=18
Exploring Operation: 8+38=46, Resulting Numbers: [26, 46]
Generated Node #0,0,2: 11:[26, 46] Operation: 8+38=46
Exploring Operation: 38-8=30, Resulting Numbers: [26, 30]
Generated Node #0,0,3: 11:[26, 30] Operation: 38-8=30
Moving to Node #0,0,0
Current State: 11:[8, 12], Operations: ['29-3=26', '38-26=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[26, 30], Operations: ['29-3=26', '38-8=30']
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,11 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[38, 18], Operations: ['29-3=26', '26-8=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,11 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[26, 46], Operations: ['29-3=26', '8+38=46']
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,11 unequal: No Solution
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,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:[3, 38, 21], Operations: ['29-8=21']
Exploring Operation: 38-21=17, Resulting Numbers: [3, 17]
Generated Node #0,1,0: 11:[3, 17] Operation: 38-21=17
Exploring Operation: 21-3=18, Resulting Numbers: [38, 18]
Generated Node #0,1,1: 11:[38, 18] Operation: 21-3=18
Exploring Operation: 38-3=35, Resulting Numbers: [21, 35]
Generated Node #0,1,2: 11:[21, 35] Operation: 38-3=35
Exploring Operation: 21/3=7, Resulting Numbers: [38, 7]
Generated Node #0,1,3: 11:[38, 7] Operation: 21/3=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[3, 17], Operations: ['29-8=21', '38-21=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 11:[38, 7], Operations: ['29-8=21', '21/3=7']
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,11 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,11 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[38, 18], Operations: ['29-8=21', '21-3=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,11 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[21, 35], Operations: ['29-8=21', '38-3=35']
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,11 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[29, 38, 11], Operations: ['3+8=11']
Exploring Operation: 38-29=9, Resulting Numbers: [11, 9]
Generated Node #0,3,0: 11:[11, 9] Operation: 38-29=9
Exploring Operation: 29+38=67, Resulting Numbers: [11, 67]
Generated Node #0,3,1: 11:[11, 67] Operation: 29+38=67
Exploring Operation: 29-11=18, Resulting Numbers: [38, 18]
Generated Node #0,3,2: 11:[38, 18] Operation: 29-11=18
Exploring Operation: 38-11=27, Resulting Numbers: [29, 27]
Generated Node #0,3,3: 11:[29, 27] Operation: 38-11=27
Moving to Node #0,3,0
Current State: 11:[11, 9], Operations: ['3+8=11', '38-29=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,11 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[29, 27], Operations: ['3+8=11', '38-11=27']
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,11 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[38, 18], Operations: ['3+8=11', '29-11=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,11 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[11, 67], Operations: ['3+8=11', '29+38=67']
Exploring Operation: 11+67=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Exploring Operation: 11*67=737, Resulting Numbers: [737]
737,11 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,11 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 |
[
93,
3,
93,
15
] | 48 | [
"93/93=1",
"15+1=16",
"3*16=48"
] | Current State: 48:[93, 3, 93, 15], Operations: []
Exploring Operation: 93/93=1, Resulting Numbers: [3, 15, 1]
Generated Node #2: [3, 15, 1] from Operation: 93/93=1
Current State: 48:[3, 15, 1], Operations: ['93/93=1']
Exploring Operation: 15+1=16, Resulting Numbers: [3, 16]
Generated Node #3: [3, 16] from Operation: 15+1=16
Current State: 48:[3, 16], Operations: ['93/93=1', '15+1=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[93, 3, 93, 15], Operations: []
Exploring Operation: 93/93=1, Resulting Numbers: [3, 15, 1]
Generated Node #0,0: 48:[3, 15, 1] Operation: 93/93=1
Moving to Node #0,0
Current State: 48:[3, 15, 1], Operations: ['93/93=1']
Exploring Operation: 15+1=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 48:[3, 16] Operation: 15+1=16
Moving to Node #0,0,0
Current State: 48:[3, 16], Operations: ['93/93=1', '15+1=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[93, 3, 93, 15], Operations: []
Exploring Operation: 93/93=1, Resulting Numbers: [3, 15, 1]
Generated Node #0,0: 48:[3, 15, 1] Operation: 93/93=1
Moving to Node #0,0
Current State: 48:[3, 15, 1], Operations: ['93/93=1']
Exploring Operation: 15+1=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 48:[3, 16] Operation: 15+1=16
Moving to Node #0,0,0
Current State: 48:[3, 16], Operations: ['93/93=1', '15+1=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
30,
41,
42,
83
] | 52 | [
"41-30=11",
"83-42=41",
"11+41=52"
] | Current State: 52:[30, 41, 42, 83], Operations: []
Exploring Operation: 41-30=11, Resulting Numbers: [42, 83, 11]
Generated Node #2: [42, 83, 11] from Operation: 41-30=11
Current State: 52:[42, 83, 11], Operations: ['41-30=11']
Exploring Operation: 83-42=41, Resulting Numbers: [11, 41]
Generated Node #3: [11, 41] from Operation: 83-42=41
Current State: 52:[11, 41], Operations: ['41-30=11', '83-42=41']
Exploring Operation: 11+41=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[30, 41, 42, 83], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [41, 42, 53]
Generated Node #0,0: 52:[41, 42, 53] Operation: 83-30=53
Exploring Operation: 83-41=42, Resulting Numbers: [30, 42, 42]
Generated Node #0,1: 52:[30, 42, 42] Operation: 83-41=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[41, 42, 53], Operations: ['83-30=53']
Exploring Operation: 42-41=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 52:[53, 1] Operation: 42-41=1
Exploring Operation: 53-41=12, Resulting Numbers: [42, 12]
Generated Node #0,0,1: 52:[42, 12] Operation: 53-41=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[53, 1], Operations: ['83-30=53', '42-41=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[30, 41, 42, 83], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [41, 42, 53]
Generated Node #0,0: 52:[41, 42, 53] Operation: 83-30=53
Moving to Node #0,0
Current State: 52:[41, 42, 53], Operations: ['83-30=53']
Exploring Operation: 42-41=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 52:[53, 1] Operation: 42-41=1
Moving to Node #0,0,0
Current State: 52:[53, 1], Operations: ['83-30=53', '42-41=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
98,
37,
55,
49
] | 90 | [
"98/49=2",
"37+55=92",
"92-2=90"
] | Current State: 90:[98, 37, 55, 49], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [37, 55, 2]
Generated Node #2: [37, 55, 2] from Operation: 98/49=2
Current State: 90:[37, 55, 2], Operations: ['98/49=2']
Exploring Operation: 37+55=92, Resulting Numbers: [2, 92]
Generated Node #3: [2, 92] from Operation: 37+55=92
Current State: 90:[2, 92], Operations: ['98/49=2', '37+55=92']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[98, 37, 55, 49], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [98, 49, 18]
Generated Node #0,0: 90:[98, 49, 18] Operation: 55-37=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[98, 49, 18], Operations: ['55-37=18']
Exploring Operation: 98/49=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 90:[18, 2] Operation: 98/49=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[18, 2], Operations: ['55-37=18', '98/49=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
65,
19,
17
] | 37 | [
"19-17=2",
"14*2=28",
"65-28=37"
] | Current State: 37:[14, 65, 19, 17], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [14, 65, 2]
Generated Node #2: [14, 65, 2] from Operation: 19-17=2
Current State: 37:[14, 65, 2], Operations: ['19-17=2']
Exploring Operation: 14*2=28, Resulting Numbers: [65, 28]
Generated Node #3: [65, 28] from Operation: 14*2=28
Current State: 37:[65, 28], Operations: ['19-17=2', '14*2=28']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[14, 65, 19, 17], Operations: []
Exploring Operation: 14+19=33, Resulting Numbers: [65, 17, 33]
Generated Node #0,0: 37:[65, 17, 33] Operation: 14+19=33
Exploring Operation: 14+17=31, Resulting Numbers: [65, 19, 31]
Generated Node #0,1: 37:[65, 19, 31] Operation: 14+17=31
Exploring Operation: 65-14=51, Resulting Numbers: [19, 17, 51]
Generated Node #0,2: 37:[19, 17, 51] Operation: 65-14=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[65, 17, 33], Operations: ['14+19=33']
Exploring Operation: 17+33=50, Resulting Numbers: [65, 50]
Generated Node #0,0,0: 37:[65, 50] Operation: 17+33=50
Exploring Operation: 65-33=32, Resulting Numbers: [17, 32]
Generated Node #0,0,1: 37:[17, 32] Operation: 65-33=32
Exploring Operation: 65-17=48, Resulting Numbers: [33, 48]
Generated Node #0,0,2: 37:[33, 48] Operation: 65-17=48
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[33, 48], Operations: ['14+19=33', '65-17=48']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,37 unequal: No Solution
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,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:[17, 32], Operations: ['14+19=33', '65-33=32']
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,37 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,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:[65, 50], Operations: ['14+19=33', '17+33=50']
Exploring Operation: 65+50=115, Resulting Numbers: [115]
115,37 unequal: No Solution
Exploring Operation: 65*50=3250, Resulting Numbers: [3250]
3250,37 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,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:[65, 19, 31], Operations: ['14+17=31']
Exploring Operation: 65-31=34, Resulting Numbers: [19, 34]
Generated Node #0,1,0: 37:[19, 34] Operation: 65-31=34
Exploring Operation: 19+31=50, Resulting Numbers: [65, 50]
Generated Node #0,1,1: 37:[65, 50] Operation: 19+31=50
Exploring Operation: 65-19=46, Resulting Numbers: [31, 46]
Generated Node #0,1,2: 37:[31, 46] Operation: 65-19=46
Moving to Node #0,1,2
Current State: 37:[31, 46], Operations: ['14+17=31', '65-19=46']
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 31*46=1426, Resulting Numbers: [1426]
1426,37 unequal: No Solution
Exploring Operation: 31+46=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[19, 34], Operations: ['14+17=31', '65-31=34']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[65, 50], Operations: ['14+17=31', '19+31=50']
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 65+50=115, Resulting Numbers: [115]
115,37 unequal: No Solution
Exploring Operation: 65*50=3250, Resulting Numbers: [3250]
3250,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:[19, 17, 51], Operations: ['65-14=51']
Exploring Operation: 51-19=32, Resulting Numbers: [17, 32]
Generated Node #0,2,0: 37:[17, 32] Operation: 51-19=32
Exploring Operation: 51-17=34, Resulting Numbers: [19, 34]
Generated Node #0,2,1: 37:[19, 34] Operation: 51-17=34
Exploring Operation: 19+17=36, Resulting Numbers: [51, 36]
Generated Node #0,2,2: 37:[51, 36] Operation: 19+17=36
Moving to Node #0,2,2
Current State: 37:[51, 36], Operations: ['65-14=51', '19+17=36']
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,37 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[19, 34], Operations: ['65-14=51', '51-17=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,37 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[17, 32], Operations: ['65-14=51', '51-19=32']
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,37 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,37 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 |
[
23,
94,
78,
7
] | 89 | [
"94-78=16",
"7*16=112",
"112-23=89"
] | Current State: 89:[23, 94, 78, 7], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [23, 7, 16]
Generated Node #2: [23, 7, 16] from Operation: 94-78=16
Current State: 89:[23, 7, 16], Operations: ['94-78=16']
Exploring Operation: 7*16=112, Resulting Numbers: [23, 112]
Generated Node #3: [23, 112] from Operation: 7*16=112
Current State: 89:[23, 112], Operations: ['94-78=16', '7*16=112']
Exploring Operation: 112-23=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[23, 94, 78, 7], Operations: []
Exploring Operation: 23+7=30, Resulting Numbers: [94, 78, 30]
Generated Node #0,0: 89:[94, 78, 30] Operation: 23+7=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[94, 78, 30], Operations: ['23+7=30']
Exploring Operation: 78+30=108, Resulting Numbers: [94, 108]
Generated Node #0,0,0: 89:[94, 108] Operation: 78+30=108
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[94, 108], Operations: ['23+7=30', '78+30=108']
Exploring Operation: 108-94=14, Resulting Numbers: [14]
14,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
53,
85,
66
] | 25 | [
"33*66=2178",
"2178-53=2125",
"2125/85=25"
] | Current State: 25:[33, 53, 85, 66], Operations: []
Exploring Operation: 33*66=2178, Resulting Numbers: [53, 85, 2178]
Generated Node #2: [53, 85, 2178] from Operation: 33*66=2178
Current State: 25:[53, 85, 2178], Operations: ['33*66=2178']
Exploring Operation: 2178-53=2125, Resulting Numbers: [85, 2125]
Generated Node #3: [85, 2125] from Operation: 2178-53=2125
Current State: 25:[85, 2125], Operations: ['33*66=2178', '2178-53=2125']
Exploring Operation: 2125/85=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[33, 53, 85, 66], Operations: []
Exploring Operation: 66-53=13, Resulting Numbers: [33, 85, 13]
Generated Node #0,0: 25:[33, 85, 13] Operation: 66-53=13
Exploring Operation: 66/33=2, Resulting Numbers: [53, 85, 2]
Generated Node #0,1: 25:[53, 85, 2] Operation: 66/33=2
Exploring Operation: 85-53=32, Resulting Numbers: [33, 66, 32]
Generated Node #0,2: 25:[33, 66, 32] Operation: 85-53=32
Exploring Operation: 85-66=19, Resulting Numbers: [33, 53, 19]
Generated Node #0,3: 25:[33, 53, 19] Operation: 85-66=19
Exploring Operation: 85-33=52, Resulting Numbers: [53, 66, 52]
Generated Node #0,4: 25:[53, 66, 52] Operation: 85-33=52
Moving to Node #0,3
Current State: 25:[33, 53, 19], Operations: ['85-66=19']
Exploring Operation: 33+19=52, Resulting Numbers: [53, 52]
Generated Node #0,3,0: 25:[53, 52] Operation: 33+19=52
Exploring Operation: 53+19=72, Resulting Numbers: [33, 72]
Generated Node #0,3,1: 25:[33, 72] Operation: 53+19=72
Exploring Operation: 53-19=34, Resulting Numbers: [33, 34]
Generated Node #0,3,2: 25:[33, 34] Operation: 53-19=34
Exploring Operation: 53-33=20, Resulting Numbers: [19, 20]
Generated Node #0,3,3: 25:[19, 20] Operation: 53-33=20
Exploring Operation: 33-19=14, Resulting Numbers: [53, 14]
Generated Node #0,3,4: 25:[53, 14] Operation: 33-19=14
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[19, 20], Operations: ['85-66=19', '53-33=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,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:[33, 34], Operations: ['85-66=19', '53-19=34']
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,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:[53, 14], Operations: ['85-66=19', '33-19=14']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,25 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,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,0
Current State: 25:[53, 52], Operations: ['85-66=19', '33+19=52']
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 53+52=105, Resulting Numbers: [105]
105,25 unequal: No Solution
Exploring Operation: 53*52=2756, Resulting Numbers: [2756]
2756,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:[33, 72], Operations: ['85-66=19', '53+19=72']
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 33+72=105, Resulting Numbers: [105]
105,25 unequal: No Solution
Exploring Operation: 33*72=2376, Resulting Numbers: [2376]
2376,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:[33, 66, 32], Operations: ['85-53=32']
Exploring Operation: 66-32=34, Resulting Numbers: [33, 34]
Generated Node #0,2,0: 25:[33, 34] Operation: 66-32=34
Exploring Operation: 66-33=33, Resulting Numbers: [32, 33]
Generated Node #0,2,1: 25:[32, 33] Operation: 66-33=33
Exploring Operation: 33-32=1, Resulting Numbers: [66, 1]
Generated Node #0,2,2: 25:[66, 1] Operation: 33-32=1
Exploring Operation: 33+66=99, Resulting Numbers: [32, 99]
Generated Node #0,2,3: 25:[32, 99] Operation: 33+66=99
Exploring Operation: 66/33=2, Resulting Numbers: [32, 2]
Generated Node #0,2,4: 25:[32, 2] Operation: 66/33=2
Moving to Node #0,0
Current State: 25:[33, 85, 13], Operations: ['66-53=13']
Exploring Operation: 85-13=72, Resulting Numbers: [33, 72]
Generated Node #0,0,0: 25:[33, 72] Operation: 85-13=72
Exploring Operation: 33-13=20, Resulting Numbers: [85, 20]
Generated Node #0,0,1: 25:[85, 20] Operation: 33-13=20
Exploring Operation: 33+13=46, Resulting Numbers: [85, 46]
Generated Node #0,0,2: 25:[85, 46] Operation: 33+13=46
Exploring Operation: 85-33=52, Resulting Numbers: [13, 52]
Generated Node #0,0,3: 25:[13, 52] Operation: 85-33=52
Exploring Operation: 85+13=98, Resulting Numbers: [33, 98]
Generated Node #0,0,4: 25:[33, 98] Operation: 85+13=98
Moving to Node #0,1
Current State: 25:[53, 85, 2], Operations: ['66/33=2']
Exploring Operation: 53+2=55, Resulting Numbers: [85, 55]
Generated Node #0,1,0: 25:[85, 55] Operation: 53+2=55
Exploring Operation: 85-53=32, Resulting Numbers: [2, 32]
Generated Node #0,1,1: 25:[2, 32] Operation: 85-53=32
Exploring Operation: 85+2=87, Resulting Numbers: [53, 87]
Generated Node #0,1,2: 25:[53, 87] Operation: 85+2=87
Exploring Operation: 85-2=83, Resulting Numbers: [53, 83]
Generated Node #0,1,3: 25:[53, 83] Operation: 85-2=83
Exploring Operation: 53-2=51, Resulting Numbers: [85, 51]
Generated Node #0,1,4: 25:[85, 51] Operation: 53-2=51
Moving to Node #0,4
Current State: 25:[53, 66, 52], Operations: ['85-33=52']
Exploring Operation: 66-53=13, Resulting Numbers: [52, 13]
Generated Node #0,4,0: 25:[52, 13] Operation: 66-53=13
Exploring Operation: 66-52=14, Resulting Numbers: [53, 14]
Generated Node #0,4,1: 25:[53, 14] Operation: 66-52=14
Exploring Operation: 53+66=119, Resulting Numbers: [52, 119]
Generated Node #0,4,2: 25:[52, 119] Operation: 53+66=119
Exploring Operation: 53-52=1, Resulting Numbers: [66, 1]
Generated Node #0,4,3: 25:[66, 1] Operation: 53-52=1
Exploring Operation: 53+52=105, Resulting Numbers: [66, 105]
Generated Node #0,4,4: 25:[66, 105] Operation: 53+52=105
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 25:[52, 13], Operations: ['85-33=52', '66-53=13']
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 52*13=676, Resulting Numbers: [676]
676,25 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,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,1
Current State: 25:[53, 14], Operations: ['85-33=52', '66-52=14']
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,25 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,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:[66, 1], Operations: ['85-33=52', '53-52=1']
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,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:[52, 119], Operations: ['85-33=52', '53+66=119']
Exploring Operation: 52*119=6188, Resulting Numbers: [6188]
6188,25 unequal: No Solution
Exploring Operation: 119-52=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 52+119=171, Resulting Numbers: [171]
171,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:[66, 105], Operations: ['85-33=52', '53+52=105']
Exploring Operation: 66+105=171, Resulting Numbers: [171]
171,25 unequal: No Solution
Exploring Operation: 66*105=6930, Resulting Numbers: [6930]
6930,25 unequal: No Solution
Exploring Operation: 105-66=39, Resulting Numbers: [39]
39,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:[32, 2], Operations: ['85-53=32', '66/33=2']
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=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[2, 32], Operations: ['66/33=2', '85-53=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,25 unequal: No Solution
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
Moving to Node #0,2,1
Current State: 25:[32, 33], Operations: ['85-53=32', '66-33=33']
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,25 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[33, 34], Operations: ['85-53=32', '66-32=34']
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,25 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[13, 52], Operations: ['66-53=13', '85-33=52']
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,25 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[66, 1], Operations: ['85-53=32', '33-32=1']
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[33, 72], Operations: ['66-53=13', '85-13=72']
Exploring Operation: 33*72=2376, Resulting Numbers: [2376]
2376,25 unequal: No Solution
Exploring Operation: 33+72=105, Resulting Numbers: [105]
105,25 unequal: No Solution
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[85, 20], Operations: ['66-53=13', '33-13=20']
Exploring Operation: 85*20=1700, Resulting Numbers: [1700]
1700,25 unequal: No Solution
Exploring Operation: 85+20=105, Resulting Numbers: [105]
105,25 unequal: No Solution
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[33, 98], Operations: ['66-53=13', '85+13=98']
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 33+98=131, Resulting Numbers: [131]
131,25 unequal: No Solution
Exploring Operation: 33*98=3234, Resulting Numbers: [3234]
3234,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[32, 99], Operations: ['85-53=32', '33+66=99']
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 32+99=131, Resulting Numbers: [131]
131,25 unequal: No Solution
Exploring Operation: 32*99=3168, Resulting Numbers: [3168]
3168,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[85, 46], Operations: ['66-53=13', '33+13=46']
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 85+46=131, Resulting Numbers: [131]
131,25 unequal: No Solution
Exploring Operation: 85*46=3910, Resulting Numbers: [3910]
3910,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[85, 51], Operations: ['66/33=2', '53-2=51']
Exploring Operation: 85*51=4335, Resulting Numbers: [4335]
4335,25 unequal: No Solution
Exploring Operation: 85+51=136, Resulting Numbers: [136]
136,25 unequal: No Solution
Exploring Operation: 85-51=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[53, 83], Operations: ['66/33=2', '85-2=83']
Exploring Operation: 53*83=4399, Resulting Numbers: [4399]
4399,25 unequal: No Solution
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 53+83=136, Resulting Numbers: [136]
136,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[85, 55], Operations: ['66/33=2', '53+2=55']
Exploring Operation: 85+55=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 85*55=4675, Resulting Numbers: [4675]
4675,25 unequal: No Solution
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[53, 87], Operations: ['66/33=2', '85+2=87']
Exploring Operation: 53+87=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 53*87=4611, Resulting Numbers: [4611]
4611,25 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
7,
98,
75,
80
] | 63 | [
"80-75=5",
"7*5=35",
"98-35=63"
] | Current State: 63:[7, 98, 75, 80], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [7, 98, 5]
Generated Node #2: [7, 98, 5] from Operation: 80-75=5
Current State: 63:[7, 98, 5], Operations: ['80-75=5']
Exploring Operation: 7*5=35, Resulting Numbers: [98, 35]
Generated Node #3: [98, 35] from Operation: 7*5=35
Current State: 63:[98, 35], Operations: ['80-75=5', '7*5=35']
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[7, 98, 75, 80], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [7, 75, 18]
Generated Node #0,0: 63:[7, 75, 18] Operation: 98-80=18
Moving to Node #0,0
Current State: 63:[7, 75, 18], Operations: ['98-80=18']
Exploring Operation: 75-18=57, Resulting Numbers: [7, 57]
Generated Node #0,0,0: 63:[7, 57] Operation: 75-18=57
Moving to Node #0,0,0
Current State: 63:[7, 57], Operations: ['98-80=18', '75-18=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,63 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
5,
34,
58
] | 71 | [
"42+5=47",
"58-34=24",
"47+24=71"
] | Current State: 71:[42, 5, 34, 58], Operations: []
Exploring Operation: 42+5=47, Resulting Numbers: [34, 58, 47]
Generated Node #2: [34, 58, 47] from Operation: 42+5=47
Current State: 71:[34, 58, 47], Operations: ['42+5=47']
Exploring Operation: 58-34=24, Resulting Numbers: [47, 24]
Generated Node #3: [47, 24] from Operation: 58-34=24
Current State: 71:[47, 24], Operations: ['42+5=47', '58-34=24']
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[42, 5, 34, 58], Operations: []
Exploring Operation: 42+5=47, Resulting Numbers: [34, 58, 47]
Generated Node #0,0: 71:[34, 58, 47] Operation: 42+5=47
Exploring Operation: 5+58=63, Resulting Numbers: [42, 34, 63]
Generated Node #0,1: 71:[42, 34, 63] Operation: 5+58=63
Exploring Operation: 5+34=39, Resulting Numbers: [42, 58, 39]
Generated Node #0,2: 71:[42, 58, 39] Operation: 5+34=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[34, 58, 47], Operations: ['42+5=47']
Exploring Operation: 58-34=24, Resulting Numbers: [47, 24]
Generated Node #0,0,0: 71:[47, 24] Operation: 58-34=24
Exploring Operation: 34+47=81, Resulting Numbers: [58, 81]
Generated Node #0,0,1: 71:[58, 81] Operation: 34+47=81
Exploring Operation: 34+58=92, Resulting Numbers: [47, 92]
Generated Node #0,0,2: 71:[47, 92] Operation: 34+58=92
Moving to Node #0,0,1
Current State: 71:[58, 81], Operations: ['42+5=47', '34+47=81']
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 58*81=4698, Resulting Numbers: [4698]
4698,71 unequal: No Solution
Exploring Operation: 58+81=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[47, 92], Operations: ['42+5=47', '34+58=92']
Exploring Operation: 47*92=4324, Resulting Numbers: [4324]
4324,71 unequal: No Solution
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 47+92=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[47, 24], Operations: ['42+5=47', '58-34=24']
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,71 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[42, 5, 34, 58], Operations: []
Exploring Operation: 42+5=47, Resulting Numbers: [34, 58, 47]
Generated Node #0,0: 71:[34, 58, 47] Operation: 42+5=47
Moving to Node #0,0
Current State: 71:[34, 58, 47], Operations: ['42+5=47']
Exploring Operation: 58-34=24, Resulting Numbers: [47, 24]
Generated Node #0,0,0: 71:[47, 24] Operation: 58-34=24
Moving to Node #0,0,0
Current State: 71:[47, 24], Operations: ['42+5=47', '58-34=24']
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
8,
11,
38,
27
] | 54 | [
"8+11=19",
"38*27=1026",
"1026/19=54"
] | Current State: 54:[8, 11, 38, 27], Operations: []
Exploring Operation: 8+11=19, Resulting Numbers: [38, 27, 19]
Generated Node #2: [38, 27, 19] from Operation: 8+11=19
Current State: 54:[38, 27, 19], Operations: ['8+11=19']
Exploring Operation: 38*27=1026, Resulting Numbers: [19, 1026]
Generated Node #3: [19, 1026] from Operation: 38*27=1026
Current State: 54:[19, 1026], Operations: ['8+11=19', '38*27=1026']
Exploring Operation: 1026/19=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[8, 11, 38, 27], Operations: []
Exploring Operation: 38-11=27, Resulting Numbers: [8, 27, 27]
Generated Node #0,0: 54:[8, 27, 27] Operation: 38-11=27
Exploring Operation: 38-8=30, Resulting Numbers: [11, 27, 30]
Generated Node #0,1: 54:[11, 27, 30] Operation: 38-8=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[8, 27, 27], Operations: ['38-11=27']
Exploring Operation: 27-8=19, Resulting Numbers: [27, 19]
Generated Node #0,0,0: 54:[27, 19] Operation: 27-8=19
Exploring Operation: 27-8=19, Resulting Numbers: [27, 19]
Generated Node #0,0,1: 54:[27, 19] Operation: 27-8=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[27, 19], Operations: ['38-11=27', '27-8=19']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[27, 19], Operations: ['38-11=27', '27-8=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[11, 27, 30], Operations: ['38-8=30']
Exploring Operation: 30-27=3, Resulting Numbers: [11, 3]
Generated Node #0,1,0: 54:[11, 3] Operation: 30-27=3
Exploring Operation: 30-11=19, Resulting Numbers: [27, 19]
Generated Node #0,1,1: 54:[27, 19] Operation: 30-11=19
Moving to Node #0,1,1
Current State: 54:[27, 19], Operations: ['38-8=30', '30-11=19']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[11, 3], Operations: ['38-8=30', '30-27=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
2,
35,
17
] | 29 | [
"57+35=92",
"92/2=46",
"46-17=29"
] | Current State: 29:[57, 2, 35, 17], Operations: []
Exploring Operation: 57+35=92, Resulting Numbers: [2, 17, 92]
Generated Node #2: [2, 17, 92] from Operation: 57+35=92
Current State: 29:[2, 17, 92], Operations: ['57+35=92']
Exploring Operation: 92/2=46, Resulting Numbers: [17, 46]
Generated Node #3: [17, 46] from Operation: 92/2=46
Current State: 29:[17, 46], Operations: ['57+35=92', '92/2=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[57, 2, 35, 17], Operations: []
Exploring Operation: 35-2=33, Resulting Numbers: [57, 17, 33]
Generated Node #0,0: 29:[57, 17, 33] Operation: 35-2=33
Exploring Operation: 57-17=40, Resulting Numbers: [2, 35, 40]
Generated Node #0,1: 29:[2, 35, 40] Operation: 57-17=40
Exploring Operation: 57-2=55, Resulting Numbers: [35, 17, 55]
Generated Node #0,2: 29:[35, 17, 55] Operation: 57-2=55
Exploring Operation: 2*17=34, Resulting Numbers: [57, 35, 34]
Generated Node #0,3: 29:[57, 35, 34] Operation: 2*17=34
Moving to Node #0,3
Current State: 29:[57, 35, 34], Operations: ['2*17=34']
Exploring Operation: 57-35=22, Resulting Numbers: [34, 22]
Generated Node #0,3,0: 29:[34, 22] Operation: 57-35=22
Exploring Operation: 57-34=23, Resulting Numbers: [35, 23]
Generated Node #0,3,1: 29:[35, 23] Operation: 57-34=23
Exploring Operation: 35-34=1, Resulting Numbers: [57, 1]
Generated Node #0,3,2: 29:[57, 1] Operation: 35-34=1
Exploring Operation: 57+35=92, Resulting Numbers: [34, 92]
Generated Node #0,3,3: 29:[34, 92] Operation: 57+35=92
Moving to Node #0,1
Current State: 29:[2, 35, 40], Operations: ['57-17=40']
Exploring Operation: 2+35=37, Resulting Numbers: [40, 37]
Generated Node #0,1,0: 29:[40, 37] Operation: 2+35=37
Exploring Operation: 35-2=33, Resulting Numbers: [40, 33]
Generated Node #0,1,1: 29:[40, 33] Operation: 35-2=33
Exploring Operation: 40-2=38, Resulting Numbers: [35, 38]
Generated Node #0,1,2: 29:[35, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [35, 20]
Generated Node #0,1,3: 29:[35, 20] Operation: 40/2=20
Moving to Node #0,0
Current State: 29:[57, 17, 33], Operations: ['35-2=33']
Exploring Operation: 57+17=74, Resulting Numbers: [33, 74]
Generated Node #0,0,0: 29:[33, 74] Operation: 57+17=74
Exploring Operation: 57-33=24, Resulting Numbers: [17, 24]
Generated Node #0,0,1: 29:[17, 24] Operation: 57-33=24
Exploring Operation: 57-17=40, Resulting Numbers: [33, 40]
Generated Node #0,0,2: 29:[33, 40] Operation: 57-17=40
Exploring Operation: 33-17=16, Resulting Numbers: [57, 16]
Generated Node #0,0,3: 29:[57, 16] Operation: 33-17=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[33, 40], Operations: ['35-2=33', '57-17=40']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 33*40=1320, Resulting Numbers: [1320]
1320,29 unequal: No Solution
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,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:[17, 24], Operations: ['35-2=33', '57-33=24']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,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:[57, 16], Operations: ['35-2=33', '33-17=16']
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 57*16=912, Resulting Numbers: [912]
912,29 unequal: No Solution
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,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:[33, 74], Operations: ['35-2=33', '57+17=74']
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,29 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,29 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: 29:[35, 17, 55], Operations: ['57-2=55']
Exploring Operation: 55-35=20, Resulting Numbers: [17, 20]
Generated Node #0,2,0: 29:[17, 20] Operation: 55-35=20
Exploring Operation: 35+17=52, Resulting Numbers: [55, 52]
Generated Node #0,2,1: 29:[55, 52] Operation: 35+17=52
Exploring Operation: 35-17=18, Resulting Numbers: [55, 18]
Generated Node #0,2,2: 29:[55, 18] Operation: 35-17=18
Exploring Operation: 55-17=38, Resulting Numbers: [35, 38]
Generated Node #0,2,3: 29:[35, 38] Operation: 55-17=38
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[35, 38], Operations: ['57-2=55', '55-17=38']
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,29 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,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:[17, 20], Operations: ['57-2=55', '55-35=20']
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,29 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,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:[55, 18], Operations: ['57-2=55', '35-17=18']
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,29 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,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,1
Current State: 29:[55, 52], Operations: ['57-2=55', '35+17=52']
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,29 unequal: No Solution
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,29 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 29:[34, 22], Operations: ['2*17=34', '57-35=22']
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[35, 23], Operations: ['2*17=34', '57-34=23']
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 35*23=805, Resulting Numbers: [805]
805,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[35, 38], Operations: ['57-17=40', '40-2=38']
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,29 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[35, 20], Operations: ['57-17=40', '40/2=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,29 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[40, 33], Operations: ['57-17=40', '35-2=33']
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[40, 37], Operations: ['57-17=40', '2+35=37']
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,29 unequal: No Solution
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[57, 1], Operations: ['2*17=34', '35-34=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[34, 92], Operations: ['2*17=34', '57+35=92']
Exploring Operation: 34*92=3128, Resulting Numbers: [3128]
3128,29 unequal: No Solution
Exploring Operation: 34+92=126, Resulting Numbers: [126]
126,29 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,29 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
14,
25,
54,
45
] | 48 | [
"14+25=39",
"54-45=9",
"39+9=48"
] | Current State: 48:[14, 25, 54, 45], Operations: []
Exploring Operation: 14+25=39, Resulting Numbers: [54, 45, 39]
Generated Node #2: [54, 45, 39] from Operation: 14+25=39
Current State: 48:[54, 45, 39], Operations: ['14+25=39']
Exploring Operation: 54-45=9, Resulting Numbers: [39, 9]
Generated Node #3: [39, 9] from Operation: 54-45=9
Current State: 48:[39, 9], Operations: ['14+25=39', '54-45=9']
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[14, 25, 54, 45], Operations: []
Exploring Operation: 54-14=40, Resulting Numbers: [25, 45, 40]
Generated Node #0,0: 48:[25, 45, 40] Operation: 54-14=40
Exploring Operation: 54-25=29, Resulting Numbers: [14, 45, 29]
Generated Node #0,1: 48:[14, 45, 29] Operation: 54-25=29
Exploring Operation: 54-45=9, Resulting Numbers: [14, 25, 9]
Generated Node #0,2: 48:[14, 25, 9] Operation: 54-45=9
Exploring Operation: 25-14=11, Resulting Numbers: [54, 45, 11]
Generated Node #0,3: 48:[54, 45, 11] Operation: 25-14=11
Moving to Node #0,2
Current State: 48:[14, 25, 9], Operations: ['54-45=9']
Exploring Operation: 14-9=5, Resulting Numbers: [25, 5]
Generated Node #0,2,0: 48:[25, 5] Operation: 14-9=5
Exploring Operation: 25-14=11, Resulting Numbers: [9, 11]
Generated Node #0,2,1: 48:[9, 11] Operation: 25-14=11
Exploring Operation: 14+9=23, Resulting Numbers: [25, 23]
Generated Node #0,2,2: 48:[25, 23] Operation: 14+9=23
Exploring Operation: 25-9=16, Resulting Numbers: [14, 16]
Generated Node #0,2,3: 48:[14, 16] Operation: 25-9=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[25, 5], Operations: ['54-45=9', '14-9=5']
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,48 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[9, 11], Operations: ['54-45=9', '25-14=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[25, 23], Operations: ['54-45=9', '14+9=23']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,48 unequal: No Solution
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[14, 25, 54, 45], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [14, 25, 9]
Generated Node #0,2: 48:[14, 25, 9] Operation: 54-45=9
Moving to Node #0,2
Current State: 48:[14, 25, 9], Operations: ['54-45=9']
Exploring Operation: 14+9=23, Resulting Numbers: [25, 23]
Generated Node #0,2,2: 48:[25, 23] Operation: 14+9=23
Moving to Node #0,2,2
Current State: 48:[25, 23], Operations: ['54-45=9', '14+9=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
76,
32,
39,
90
] | 84 | [
"76*39=2964",
"32*90=2880",
"2964-2880=84"
] | Current State: 84:[76, 32, 39, 90], Operations: []
Exploring Operation: 76*39=2964, Resulting Numbers: [32, 90, 2964]
Generated Node #2: [32, 90, 2964] from Operation: 76*39=2964
Current State: 84:[32, 90, 2964], Operations: ['76*39=2964']
Exploring Operation: 32*90=2880, Resulting Numbers: [2964, 2880]
Generated Node #3: [2964, 2880] from Operation: 32*90=2880
Current State: 84:[2964, 2880], Operations: ['76*39=2964', '32*90=2880']
Exploring Operation: 2964-2880=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[76, 32, 39, 90], Operations: []
Exploring Operation: 76-39=37, Resulting Numbers: [32, 90, 37]
Generated Node #0,0: 84:[32, 90, 37] Operation: 76-39=37
Exploring Operation: 39-32=7, Resulting Numbers: [76, 90, 7]
Generated Node #0,1: 84:[76, 90, 7] Operation: 39-32=7
Exploring Operation: 76-32=44, Resulting Numbers: [39, 90, 44]
Generated Node #0,2: 84:[39, 90, 44] Operation: 76-32=44
Exploring Operation: 90-76=14, Resulting Numbers: [32, 39, 14]
Generated Node #0,3: 84:[32, 39, 14] Operation: 90-76=14
Moving to Node #0,3
Current State: 84:[32, 39, 14], Operations: ['90-76=14']
Exploring Operation: 39-32=7, Resulting Numbers: [14, 7]
Generated Node #0,3,0: 84:[14, 7] Operation: 39-32=7
Exploring Operation: 32+14=46, Resulting Numbers: [39, 46]
Generated Node #0,3,1: 84:[39, 46] Operation: 32+14=46
Exploring Operation: 39-14=25, Resulting Numbers: [32, 25]
Generated Node #0,3,2: 84:[32, 25] Operation: 39-14=25
Exploring Operation: 32-14=18, Resulting Numbers: [39, 18]
Generated Node #0,3,3: 84:[39, 18] Operation: 32-14=18
Moving to Node #0,2
Current State: 84:[39, 90, 44], Operations: ['76-32=44']
Exploring Operation: 90-39=51, Resulting Numbers: [44, 51]
Generated Node #0,2,0: 84:[44, 51] Operation: 90-39=51
Exploring Operation: 90-44=46, Resulting Numbers: [39, 46]
Generated Node #0,2,1: 84:[39, 46] Operation: 90-44=46
Exploring Operation: 39+44=83, Resulting Numbers: [90, 83]
Generated Node #0,2,2: 84:[90, 83] Operation: 39+44=83
Exploring Operation: 44-39=5, Resulting Numbers: [90, 5]
Generated Node #0,2,3: 84:[90, 5] Operation: 44-39=5
Moving to Node #0,1
Current State: 84:[76, 90, 7], Operations: ['39-32=7']
Exploring Operation: 76+7=83, Resulting Numbers: [90, 83]
Generated Node #0,1,0: 84:[90, 83] Operation: 76+7=83
Exploring Operation: 76-7=69, Resulting Numbers: [90, 69]
Generated Node #0,1,1: 84:[90, 69] Operation: 76-7=69
Exploring Operation: 90-76=14, Resulting Numbers: [7, 14]
Generated Node #0,1,2: 84:[7, 14] Operation: 90-76=14
Exploring Operation: 90-7=83, Resulting Numbers: [76, 83]
Generated Node #0,1,3: 84:[76, 83] Operation: 90-7=83
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[7, 14], Operations: ['39-32=7', '90-76=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,84 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,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:[90, 83], Operations: ['39-32=7', '76+7=83']
Exploring Operation: 90*83=7470, Resulting Numbers: [7470]
7470,84 unequal: No Solution
Exploring Operation: 90+83=173, Resulting Numbers: [173]
173,84 unequal: No Solution
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,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:[76, 83], Operations: ['39-32=7', '90-7=83']
Exploring Operation: 76*83=6308, Resulting Numbers: [6308]
6308,84 unequal: No Solution
Exploring Operation: 76+83=159, Resulting Numbers: [159]
159,84 unequal: No Solution
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,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,1
Current State: 84:[90, 69], Operations: ['39-32=7', '76-7=69']
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 90*69=6210, Resulting Numbers: [6210]
6210,84 unequal: No Solution
Exploring Operation: 90+69=159, Resulting Numbers: [159]
159,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:[32, 90, 37], Operations: ['76-39=37']
Exploring Operation: 90-32=58, Resulting Numbers: [37, 58]
Generated Node #0,0,0: 84:[37, 58] Operation: 90-32=58
Exploring Operation: 37-32=5, Resulting Numbers: [90, 5]
Generated Node #0,0,1: 84:[90, 5] Operation: 37-32=5
Exploring Operation: 90-37=53, Resulting Numbers: [32, 53]
Generated Node #0,0,2: 84:[32, 53] Operation: 90-37=53
Exploring Operation: 32+37=69, Resulting Numbers: [90, 69]
Generated Node #0,0,3: 84:[90, 69] Operation: 32+37=69
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[90, 5], Operations: ['76-39=37', '37-32=5']
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,84 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 90*5=450, Resulting Numbers: [450]
450,84 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[32, 53], Operations: ['76-39=37', '90-37=53']
Exploring Operation: 32+53=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 32*53=1696, Resulting Numbers: [1696]
1696,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[37, 58], Operations: ['76-39=37', '90-32=58']
Exploring Operation: 37*58=2146, Resulting Numbers: [2146]
2146,84 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 37+58=95, Resulting Numbers: [95]
95,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[90, 69], Operations: ['76-39=37', '32+37=69']
Exploring Operation: 90+69=159, Resulting Numbers: [159]
159,84 unequal: No Solution
Exploring Operation: 90*69=6210, Resulting Numbers: [6210]
6210,84 unequal: No Solution
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 84:[14, 7], Operations: ['90-76=14', '39-32=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,84 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[39, 18], Operations: ['90-76=14', '32-14=18']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,84 unequal: No Solution
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[39, 46], Operations: ['90-76=14', '32+14=46']
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,84 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[90, 83], Operations: ['76-32=44', '39+44=83']
Exploring Operation: 90+83=173, Resulting Numbers: [173]
173,84 unequal: No Solution
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 90*83=7470, Resulting Numbers: [7470]
7470,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[90, 5], Operations: ['76-32=44', '44-39=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,84 unequal: No Solution
Exploring Operation: 90*5=450, Resulting Numbers: [450]
450,84 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[39, 46], Operations: ['76-32=44', '90-44=46']
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,84 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[32, 25], Operations: ['90-76=14', '39-14=25']
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,84 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,84 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[44, 51], Operations: ['76-32=44', '90-39=51']
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,84 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,84 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
16,
54,
87,
78
] | 96 | [
"16*54=864",
"87-78=9",
"864/9=96"
] | Current State: 96:[16, 54, 87, 78], Operations: []
Exploring Operation: 16*54=864, Resulting Numbers: [87, 78, 864]
Generated Node #2: [87, 78, 864] from Operation: 16*54=864
Current State: 96:[87, 78, 864], Operations: ['16*54=864']
Exploring Operation: 87-78=9, Resulting Numbers: [864, 9]
Generated Node #3: [864, 9] from Operation: 87-78=9
Current State: 96:[864, 9], Operations: ['16*54=864', '87-78=9']
Exploring Operation: 864/9=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[16, 54, 87, 78], Operations: []
Exploring Operation: 87-54=33, Resulting Numbers: [16, 78, 33]
Generated Node #0,0: 96:[16, 78, 33] Operation: 87-54=33
Exploring Operation: 87-78=9, Resulting Numbers: [16, 54, 9]
Generated Node #0,1: 96:[16, 54, 9] Operation: 87-78=9
Exploring Operation: 78-54=24, Resulting Numbers: [16, 87, 24]
Generated Node #0,2: 96:[16, 87, 24] Operation: 78-54=24
Exploring Operation: 16+78=94, Resulting Numbers: [54, 87, 94]
Generated Node #0,3: 96:[54, 87, 94] Operation: 16+78=94
Moving to Node #0,1
Current State: 96:[16, 54, 9], Operations: ['87-78=9']
Exploring Operation: 16+9=25, Resulting Numbers: [54, 25]
Generated Node #0,1,0: 96:[54, 25] Operation: 16+9=25
Exploring Operation: 54-9=45, Resulting Numbers: [16, 45]
Generated Node #0,1,1: 96:[16, 45] Operation: 54-9=45
Exploring Operation: 54-16=38, Resulting Numbers: [9, 38]
Generated Node #0,1,2: 96:[9, 38] Operation: 54-16=38
Exploring Operation: 54/9=6, Resulting Numbers: [16, 6]
Generated Node #0,1,3: 96:[16, 6] Operation: 54/9=6
Moving to Node #0,2
Current State: 96:[16, 87, 24], Operations: ['78-54=24']
Exploring Operation: 87-24=63, Resulting Numbers: [16, 63]
Generated Node #0,2,0: 96:[16, 63] Operation: 87-24=63
Exploring Operation: 24-16=8, Resulting Numbers: [87, 8]
Generated Node #0,2,1: 96:[87, 8] Operation: 24-16=8
Exploring Operation: 87+24=111, Resulting Numbers: [16, 111]
Generated Node #0,2,2: 96:[16, 111] Operation: 87+24=111
Exploring Operation: 16+87=103, Resulting Numbers: [24, 103]
Generated Node #0,2,3: 96:[24, 103] Operation: 16+87=103
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 96:[24, 103], Operations: ['78-54=24', '16+87=103']
Exploring Operation: 24+103=127, Resulting Numbers: [127]
127,96 unequal: No Solution
Exploring Operation: 24*103=2472, Resulting Numbers: [2472]
2472,96 unequal: No Solution
Exploring Operation: 103-24=79, Resulting Numbers: [79]
79,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 96:[87, 8], Operations: ['78-54=24', '24-16=8']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,96 unequal: No Solution
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,96 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[16, 63], Operations: ['78-54=24', '87-24=63']
Exploring Operation: 16*63=1008, Resulting Numbers: [1008]
1008,96 unequal: No Solution
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Exploring Operation: 16+63=79, Resulting Numbers: [79]
79,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[16, 111], Operations: ['78-54=24', '87+24=111']
Exploring Operation: 16+111=127, Resulting Numbers: [127]
127,96 unequal: No Solution
Exploring Operation: 16*111=1776, Resulting Numbers: [1776]
1776,96 unequal: No Solution
Exploring Operation: 111-16=95, Resulting Numbers: [95]
95,96 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: 96:[54, 87, 94], Operations: ['16+78=94']
Exploring Operation: 94-87=7, Resulting Numbers: [54, 7]
Generated Node #0,3,0: 96:[54, 7] Operation: 94-87=7
Exploring Operation: 94-54=40, Resulting Numbers: [87, 40]
Generated Node #0,3,1: 96:[87, 40] Operation: 94-54=40
Exploring Operation: 54+87=141, Resulting Numbers: [94, 141]
Generated Node #0,3,2: 96:[94, 141] Operation: 54+87=141
Exploring Operation: 87-54=33, Resulting Numbers: [94, 33]
Generated Node #0,3,3: 96:[94, 33] Operation: 87-54=33
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 96:[94, 33], Operations: ['16+78=94', '87-54=33']
Exploring Operation: 94+33=127, Resulting Numbers: [127]
127,96 unequal: No Solution
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Exploring Operation: 94*33=3102, Resulting Numbers: [3102]
3102,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[54, 7], Operations: ['16+78=94', '94-87=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[87, 40], Operations: ['16+78=94', '94-54=40']
Exploring Operation: 87*40=3480, Resulting Numbers: [3480]
3480,96 unequal: No Solution
Exploring Operation: 87+40=127, Resulting Numbers: [127]
127,96 unequal: No Solution
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[94, 141], Operations: ['16+78=94', '54+87=141']
Exploring Operation: 94*141=13254, Resulting Numbers: [13254]
13254,96 unequal: No Solution
Exploring Operation: 94+141=235, Resulting Numbers: [235]
235,96 unequal: No Solution
Exploring Operation: 141-94=47, Resulting Numbers: [47]
47,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 96:[16, 78, 33], Operations: ['87-54=33']
Exploring Operation: 78-16=62, Resulting Numbers: [33, 62]
Generated Node #0,0,0: 96:[33, 62] Operation: 78-16=62
Exploring Operation: 78-33=45, Resulting Numbers: [16, 45]
Generated Node #0,0,1: 96:[16, 45] Operation: 78-33=45
Exploring Operation: 16+78=94, Resulting Numbers: [33, 94]
Generated Node #0,0,2: 96:[33, 94] Operation: 16+78=94
Exploring Operation: 78+33=111, Resulting Numbers: [16, 111]
Generated Node #0,0,3: 96:[16, 111] Operation: 78+33=111
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[16, 45], Operations: ['87-54=33', '78-33=45']
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[33, 94], Operations: ['87-54=33', '16+78=94']
Exploring Operation: 33+94=127, Resulting Numbers: [127]
127,96 unequal: No Solution
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Exploring Operation: 33*94=3102, Resulting Numbers: [3102]
3102,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[33, 62], Operations: ['87-54=33', '78-16=62']
Exploring Operation: 33*62=2046, Resulting Numbers: [2046]
2046,96 unequal: No Solution
Exploring Operation: 33+62=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 96:[16, 111], Operations: ['87-54=33', '78+33=111']
Exploring Operation: 16*111=1776, Resulting Numbers: [1776]
1776,96 unequal: No Solution
Exploring Operation: 111-16=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 16+111=127, Resulting Numbers: [127]
127,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 96:[16, 6], Operations: ['87-78=9', '54/9=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[16, 54, 87, 78], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [16, 54, 9]
Generated Node #0,1: 96:[16, 54, 9] Operation: 87-78=9
Moving to Node #0,1
Current State: 96:[16, 54, 9], Operations: ['87-78=9']
Exploring Operation: 54/9=6, Resulting Numbers: [16, 6]
Generated Node #0,1,3: 96:[16, 6] Operation: 54/9=6
Moving to Node #0,1,3
Current State: 96:[16, 6], Operations: ['87-78=9', '54/9=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.946181 | hs_4 | mult_heuristic |
[
51,
13,
15,
70
] | 38 | [
"70-51=19",
"15-13=2",
"19*2=38"
] | Current State: 38:[51, 13, 15, 70], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [13, 15, 19]
Generated Node #2: [13, 15, 19] from Operation: 70-51=19
Current State: 38:[13, 15, 19], Operations: ['70-51=19']
Exploring Operation: 15-13=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 15-13=2
Current State: 38:[19, 2], Operations: ['70-51=19', '15-13=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[51, 13, 15, 70], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [13, 15, 19]
Generated Node #0,0: 38:[13, 15, 19] Operation: 70-51=19
Moving to Node #0,0
Current State: 38:[13, 15, 19], Operations: ['70-51=19']
Exploring Operation: 15-13=2, Resulting Numbers: [19, 2]
Generated Node #0,0,0: 38:[19, 2] Operation: 15-13=2
Moving to Node #0,0,0
Current State: 38:[19, 2], Operations: ['70-51=19', '15-13=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[51, 13, 15, 70], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [13, 15, 19]
Generated Node #0,0: 38:[13, 15, 19] Operation: 70-51=19
Moving to Node #0,0
Current State: 38:[13, 15, 19], Operations: ['70-51=19']
Exploring Operation: 15-13=2, Resulting Numbers: [19, 2]
Generated Node #0,0,0: 38:[19, 2] Operation: 15-13=2
Moving to Node #0,0,0
Current State: 38:[19, 2], Operations: ['70-51=19', '15-13=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
95,
20,
8,
57
] | 66 | [
"95+20=115",
"57-8=49",
"115-49=66"
] | Current State: 66:[95, 20, 8, 57], Operations: []
Exploring Operation: 95+20=115, Resulting Numbers: [8, 57, 115]
Generated Node #2: [8, 57, 115] from Operation: 95+20=115
Current State: 66:[8, 57, 115], Operations: ['95+20=115']
Exploring Operation: 57-8=49, Resulting Numbers: [115, 49]
Generated Node #3: [115, 49] from Operation: 57-8=49
Current State: 66:[115, 49], Operations: ['95+20=115', '57-8=49']
Exploring Operation: 115-49=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[95, 20, 8, 57], Operations: []
Exploring Operation: 57-20=37, Resulting Numbers: [95, 8, 37]
Generated Node #0,0: 66:[95, 8, 37] Operation: 57-20=37
Exploring Operation: 95-20=75, Resulting Numbers: [8, 57, 75]
Generated Node #0,1: 66:[8, 57, 75] Operation: 95-20=75
Exploring Operation: 8+57=65, Resulting Numbers: [95, 20, 65]
Generated Node #0,2: 66:[95, 20, 65] Operation: 8+57=65
Exploring Operation: 95-8=87, Resulting Numbers: [20, 57, 87]
Generated Node #0,3: 66:[20, 57, 87] Operation: 95-8=87
Exploring Operation: 95-57=38, Resulting Numbers: [20, 8, 38]
Generated Node #0,4: 66:[20, 8, 38] Operation: 95-57=38
Start Sub Search at level 1: Moving to Node #0,4
Current State: 66:[20, 8, 38], Operations: ['95-57=38']
Exploring Operation: 38-8=30, Resulting Numbers: [20, 30]
Generated Node #0,4,0: 66:[20, 30] Operation: 38-8=30
Exploring Operation: 20-8=12, Resulting Numbers: [38, 12]
Generated Node #0,4,1: 66:[38, 12] Operation: 20-8=12
Exploring Operation: 20+8=28, Resulting Numbers: [38, 28]
Generated Node #0,4,2: 66:[38, 28] Operation: 20+8=28
Exploring Operation: 38-20=18, Resulting Numbers: [8, 18]
Generated Node #0,4,3: 66:[8, 18] Operation: 38-20=18
Exploring Operation: 20+38=58, Resulting Numbers: [8, 58]
Generated Node #0,4,4: 66:[8, 58] Operation: 20+38=58
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 66:[20, 30], Operations: ['95-57=38', '38-8=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,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,4,1
Current State: 66:[38, 12], Operations: ['95-57=38', '20-8=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,66 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,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,4,3
Current State: 66:[8, 18], Operations: ['95-57=38', '38-20=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,66 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,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,4,2
Current State: 66:[38, 28], Operations: ['95-57=38', '20+8=28']
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,66 unequal: No Solution
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[95, 20, 8, 57], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [20, 8, 38]
Generated Node #0,4: 66:[20, 8, 38] Operation: 95-57=38
Moving to Node #0,4
Current State: 66:[20, 8, 38], Operations: ['95-57=38']
Exploring Operation: 20+8=28, Resulting Numbers: [38, 28]
Generated Node #0,4,2: 66:[38, 28] Operation: 20+8=28
Moving to Node #0,4,2
Current State: 66:[38, 28], Operations: ['95-57=38', '20+8=28']
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
52,
81,
18,
22
] | 69 | [
"81-52=29",
"18+22=40",
"29+40=69"
] | Current State: 69:[52, 81, 18, 22], Operations: []
Exploring Operation: 81-52=29, Resulting Numbers: [18, 22, 29]
Generated Node #2: [18, 22, 29] from Operation: 81-52=29
Current State: 69:[18, 22, 29], Operations: ['81-52=29']
Exploring Operation: 18+22=40, Resulting Numbers: [29, 40]
Generated Node #3: [29, 40] from Operation: 18+22=40
Current State: 69:[29, 40], Operations: ['81-52=29', '18+22=40']
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[52, 81, 18, 22], Operations: []
Exploring Operation: 81-52=29, Resulting Numbers: [18, 22, 29]
Generated Node #0,0: 69:[18, 22, 29] Operation: 81-52=29
Exploring Operation: 52+18=70, Resulting Numbers: [81, 22, 70]
Generated Node #0,1: 69:[81, 22, 70] Operation: 52+18=70
Exploring Operation: 52+22=74, Resulting Numbers: [81, 18, 74]
Generated Node #0,2: 69:[81, 18, 74] Operation: 52+22=74
Moving to Node #0,0
Current State: 69:[18, 22, 29], Operations: ['81-52=29']
Exploring Operation: 29-22=7, Resulting Numbers: [18, 7]
Generated Node #0,0,0: 69:[18, 7] Operation: 29-22=7
Exploring Operation: 22-18=4, Resulting Numbers: [29, 4]
Generated Node #0,0,1: 69:[29, 4] Operation: 22-18=4
Exploring Operation: 29-18=11, Resulting Numbers: [22, 11]
Generated Node #0,0,2: 69:[22, 11] Operation: 29-18=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[29, 4], Operations: ['81-52=29', '22-18=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[18, 7], Operations: ['81-52=29', '29-22=7']
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,69 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[22, 11], Operations: ['81-52=29', '29-18=11']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,69 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: 69:[81, 22, 70], Operations: ['52+18=70']
Exploring Operation: 70-22=48, Resulting Numbers: [81, 48]
Generated Node #0,1,0: 69:[81, 48] Operation: 70-22=48
Exploring Operation: 81-22=59, Resulting Numbers: [70, 59]
Generated Node #0,1,1: 69:[70, 59] Operation: 81-22=59
Exploring Operation: 81-70=11, Resulting Numbers: [22, 11]
Generated Node #0,1,2: 69:[22, 11] Operation: 81-70=11
Moving to Node #0,2
Current State: 69:[81, 18, 74], Operations: ['52+22=74']
Exploring Operation: 81-18=63, Resulting Numbers: [74, 63]
Generated Node #0,2,0: 69:[74, 63] Operation: 81-18=63
Exploring Operation: 81-74=7, Resulting Numbers: [18, 7]
Generated Node #0,2,1: 69:[18, 7] Operation: 81-74=7
Exploring Operation: 74-18=56, Resulting Numbers: [81, 56]
Generated Node #0,2,2: 69:[81, 56] Operation: 74-18=56
Moving to Node #0,1,2
Current State: 69:[22, 11], Operations: ['52+18=70', '81-70=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[18, 7], Operations: ['52+22=74', '81-74=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[74, 63], Operations: ['52+22=74', '81-18=63']
Exploring Operation: 74+63=137, Resulting Numbers: [137]
137,69 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 74*63=4662, Resulting Numbers: [4662]
4662,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[70, 59], Operations: ['52+18=70', '81-22=59']
Exploring Operation: 70*59=4130, Resulting Numbers: [4130]
4130,69 unequal: No Solution
Exploring Operation: 70+59=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[81, 56], Operations: ['52+22=74', '74-18=56']
Exploring Operation: 81+56=137, Resulting Numbers: [137]
137,69 unequal: No Solution
Exploring Operation: 81*56=4536, Resulting Numbers: [4536]
4536,69 unequal: No Solution
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[81, 48], Operations: ['52+18=70', '70-22=48']
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 81*48=3888, Resulting Numbers: [3888]
3888,69 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,69 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
44,
75,
48
] | 22 | [
"75-51=24",
"44*24=1056",
"1056/48=22"
] | Current State: 22:[51, 44, 75, 48], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [44, 48, 24]
Generated Node #2: [44, 48, 24] from Operation: 75-51=24
Current State: 22:[44, 48, 24], Operations: ['75-51=24']
Exploring Operation: 44*24=1056, Resulting Numbers: [48, 1056]
Generated Node #3: [48, 1056] from Operation: 44*24=1056
Current State: 22:[48, 1056], Operations: ['75-51=24', '44*24=1056']
Exploring Operation: 1056/48=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[51, 44, 75, 48], Operations: []
Exploring Operation: 75-48=27, Resulting Numbers: [51, 44, 27]
Generated Node #0,0: 22:[51, 44, 27] Operation: 75-48=27
Exploring Operation: 75-51=24, Resulting Numbers: [44, 48, 24]
Generated Node #0,1: 22:[44, 48, 24] Operation: 75-51=24
Moving to Node #0,1
Current State: 22:[44, 48, 24], Operations: ['75-51=24']
Exploring Operation: 48/24=2, Resulting Numbers: [44, 2]
Generated Node #0,1,0: 22:[44, 2] Operation: 48/24=2
Exploring Operation: 48-44=4, Resulting Numbers: [24, 4]
Generated Node #0,1,1: 22:[24, 4] Operation: 48-44=4
Moving to Node #0,0
Current State: 22:[51, 44, 27], Operations: ['75-48=27']
Exploring Operation: 51-27=24, Resulting Numbers: [44, 24]
Generated Node #0,0,0: 22:[44, 24] Operation: 51-27=24
Exploring Operation: 51-44=7, Resulting Numbers: [27, 7]
Generated Node #0,0,1: 22:[27, 7] Operation: 51-44=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[27, 7], Operations: ['75-48=27', '51-44=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[44, 24], Operations: ['75-48=27', '51-27=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,22 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,22 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: 22:[24, 4], Operations: ['75-51=24', '48-44=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[44, 2], Operations: ['75-51=24', '48/24=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[51, 44, 75, 48], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [44, 48, 24]
Generated Node #0,1: 22:[44, 48, 24] Operation: 75-51=24
Moving to Node #0,1
Current State: 22:[44, 48, 24], Operations: ['75-51=24']
Exploring Operation: 48/24=2, Resulting Numbers: [44, 2]
Generated Node #0,1,0: 22:[44, 2] Operation: 48/24=2
Moving to Node #0,1,0
Current State: 22:[44, 2], Operations: ['75-51=24', '48/24=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
52,
59,
73,
76
] | 21 | [
"59-52=7",
"76-73=3",
"7*3=21"
] | Current State: 21:[52, 59, 73, 76], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [73, 76, 7]
Generated Node #2: [73, 76, 7] from Operation: 59-52=7
Current State: 21:[73, 76, 7], Operations: ['59-52=7']
Exploring Operation: 76-73=3, Resulting Numbers: [7, 3]
Generated Node #3: [7, 3] from Operation: 76-73=3
Current State: 21:[7, 3], Operations: ['59-52=7', '76-73=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[52, 59, 73, 76], Operations: []
Exploring Operation: 73-52=21, Resulting Numbers: [59, 76, 21]
Generated Node #0,0: 21:[59, 76, 21] Operation: 73-52=21
Exploring Operation: 76-73=3, Resulting Numbers: [52, 59, 3]
Generated Node #0,1: 21:[52, 59, 3] Operation: 76-73=3
Exploring Operation: 76-59=17, Resulting Numbers: [52, 73, 17]
Generated Node #0,2: 21:[52, 73, 17] Operation: 76-59=17
Exploring Operation: 76-52=24, Resulting Numbers: [59, 73, 24]
Generated Node #0,3: 21:[59, 73, 24] Operation: 76-52=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[52, 59, 3], Operations: ['76-73=3']
Exploring Operation: 59-3=56, Resulting Numbers: [52, 56]
Generated Node #0,1,0: 21:[52, 56] Operation: 59-3=56
Exploring Operation: 52-3=49, Resulting Numbers: [59, 49]
Generated Node #0,1,1: 21:[59, 49] Operation: 52-3=49
Exploring Operation: 52+3=55, Resulting Numbers: [59, 55]
Generated Node #0,1,2: 21:[59, 55] Operation: 52+3=55
Exploring Operation: 59-52=7, Resulting Numbers: [3, 7]
Generated Node #0,1,3: 21:[3, 7] Operation: 59-52=7
Moving to Node #0,1,3
Current State: 21:[3, 7], Operations: ['76-73=3', '59-52=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[52, 59, 73, 76], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [52, 59, 3]
Generated Node #0,1: 21:[52, 59, 3] Operation: 76-73=3
Moving to Node #0,1
Current State: 21:[52, 59, 3], Operations: ['76-73=3']
Exploring Operation: 59-52=7, Resulting Numbers: [3, 7]
Generated Node #0,1,3: 21:[3, 7] Operation: 59-52=7
Moving to Node #0,1,3
Current State: 21:[3, 7], Operations: ['76-73=3', '59-52=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
10,
72,
57,
98
] | 21 | [
"72-10=62",
"98-57=41",
"62-41=21"
] | Current State: 21:[10, 72, 57, 98], Operations: []
Exploring Operation: 72-10=62, Resulting Numbers: [57, 98, 62]
Generated Node #2: [57, 98, 62] from Operation: 72-10=62
Current State: 21:[57, 98, 62], Operations: ['72-10=62']
Exploring Operation: 98-57=41, Resulting Numbers: [62, 41]
Generated Node #3: [62, 41] from Operation: 98-57=41
Current State: 21:[62, 41], Operations: ['72-10=62', '98-57=41']
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[10, 72, 57, 98], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [10, 57, 26]
Generated Node #0,0: 21:[10, 57, 26] Operation: 98-72=26
Exploring Operation: 98-57=41, Resulting Numbers: [10, 72, 41]
Generated Node #0,1: 21:[10, 72, 41] Operation: 98-57=41
Moving to Node #0,0
Current State: 21:[10, 57, 26], Operations: ['98-72=26']
Exploring Operation: 57-26=31, Resulting Numbers: [10, 31]
Generated Node #0,0,0: 21:[10, 31] Operation: 57-26=31
Exploring Operation: 57-10=47, Resulting Numbers: [26, 47]
Generated Node #0,0,1: 21:[26, 47] Operation: 57-10=47
Moving to Node #0,1
Current State: 21:[10, 72, 41], Operations: ['98-57=41']
Exploring Operation: 72-10=62, Resulting Numbers: [41, 62]
Generated Node #0,1,0: 21:[41, 62] Operation: 72-10=62
Exploring Operation: 72-41=31, Resulting Numbers: [10, 31]
Generated Node #0,1,1: 21:[10, 31] Operation: 72-41=31
Moving to Node #0,0,0
Current State: 21:[10, 31], Operations: ['98-72=26', '57-26=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[10, 72, 57, 98], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [10, 57, 26]
Generated Node #0,0: 21:[10, 57, 26] Operation: 98-72=26
Moving to Node #0,0
Current State: 21:[10, 57, 26], Operations: ['98-72=26']
Exploring Operation: 57-26=31, Resulting Numbers: [10, 31]
Generated Node #0,0,0: 21:[10, 31] Operation: 57-26=31
Moving to Node #0,0,0
Current State: 21:[10, 31], Operations: ['98-72=26', '57-26=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
32,
84,
22,
70
] | 24 | [
"32+84=116",
"22+70=92",
"116-92=24"
] | Current State: 24:[32, 84, 22, 70], Operations: []
Exploring Operation: 32+84=116, Resulting Numbers: [22, 70, 116]
Generated Node #2: [22, 70, 116] from Operation: 32+84=116
Current State: 24:[22, 70, 116], Operations: ['32+84=116']
Exploring Operation: 22+70=92, Resulting Numbers: [116, 92]
Generated Node #3: [116, 92] from Operation: 22+70=92
Current State: 24:[116, 92], Operations: ['32+84=116', '22+70=92']
Exploring Operation: 116-92=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[32, 84, 22, 70], Operations: []
Exploring Operation: 84-70=14, Resulting Numbers: [32, 22, 14]
Generated Node #0,0: 24:[32, 22, 14] Operation: 84-70=14
Moving to Node #0,0
Current State: 24:[32, 22, 14], Operations: ['84-70=14']
Exploring Operation: 32-22=10, Resulting Numbers: [14, 10]
Generated Node #0,0,0: 24:[14, 10] Operation: 32-22=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[14, 10], Operations: ['84-70=14', '32-22=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[32, 84, 22, 70], Operations: []
Exploring Operation: 84-70=14, Resulting Numbers: [32, 22, 14]
Generated Node #0,0: 24:[32, 22, 14] Operation: 84-70=14
Moving to Node #0,0
Current State: 24:[32, 22, 14], Operations: ['84-70=14']
Exploring Operation: 32-22=10, Resulting Numbers: [14, 10]
Generated Node #0,0,0: 24:[14, 10] Operation: 32-22=10
Moving to Node #0,0,0
Current State: 24:[14, 10], Operations: ['84-70=14', '32-22=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
93,
10,
16,
89
] | 56 | [
"93-89=4",
"10*4=40",
"16+40=56"
] | Current State: 56:[93, 10, 16, 89], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [10, 16, 4]
Generated Node #2: [10, 16, 4] from Operation: 93-89=4
Current State: 56:[10, 16, 4], Operations: ['93-89=4']
Exploring Operation: 10*4=40, Resulting Numbers: [16, 40]
Generated Node #3: [16, 40] from Operation: 10*4=40
Current State: 56:[16, 40], Operations: ['93-89=4', '10*4=40']
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[93, 10, 16, 89], Operations: []
Exploring Operation: 93-10=83, Resulting Numbers: [16, 89, 83]
Generated Node #0,0: 56:[16, 89, 83] Operation: 93-10=83
Exploring Operation: 89-16=73, Resulting Numbers: [93, 10, 73]
Generated Node #0,1: 56:[93, 10, 73] Operation: 89-16=73
Exploring Operation: 93-89=4, Resulting Numbers: [10, 16, 4]
Generated Node #0,2: 56:[10, 16, 4] Operation: 93-89=4
Exploring Operation: 93-16=77, Resulting Numbers: [10, 89, 77]
Generated Node #0,3: 56:[10, 89, 77] Operation: 93-16=77
Moving to Node #0,2
Current State: 56:[10, 16, 4], Operations: ['93-89=4']
Exploring Operation: 16/4=4, Resulting Numbers: [10, 4]
Generated Node #0,2,0: 56:[10, 4] Operation: 16/4=4
Exploring Operation: 16-10=6, Resulting Numbers: [4, 6]
Generated Node #0,2,1: 56:[4, 6] Operation: 16-10=6
Exploring Operation: 10+16=26, Resulting Numbers: [4, 26]
Generated Node #0,2,2: 56:[4, 26] Operation: 10+16=26
Exploring Operation: 10+4=14, Resulting Numbers: [16, 14]
Generated Node #0,2,3: 56:[16, 14] Operation: 10+4=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[4, 6], Operations: ['93-89=4', '16-10=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,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:[10, 4], Operations: ['93-89=4', '16/4=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,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:[4, 26], Operations: ['93-89=4', '10+16=26']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,56 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,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:[16, 14], Operations: ['93-89=4', '10+4=14']
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,56 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,56 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: 56:[10, 89, 77], Operations: ['93-16=77']
Exploring Operation: 77-10=67, Resulting Numbers: [89, 67]
Generated Node #0,3,0: 56:[89, 67] Operation: 77-10=67
Exploring Operation: 10+89=99, Resulting Numbers: [77, 99]
Generated Node #0,3,1: 56:[77, 99] Operation: 10+89=99
Exploring Operation: 89-77=12, Resulting Numbers: [10, 12]
Generated Node #0,3,2: 56:[10, 12] Operation: 89-77=12
Exploring Operation: 89-10=79, Resulting Numbers: [77, 79]
Generated Node #0,3,3: 56:[77, 79] Operation: 89-10=79
Moving to Node #0,1
Current State: 56:[93, 10, 73], Operations: ['89-16=73']
Exploring Operation: 93-10=83, Resulting Numbers: [73, 83]
Generated Node #0,1,0: 56:[73, 83] Operation: 93-10=83
Exploring Operation: 73-10=63, Resulting Numbers: [93, 63]
Generated Node #0,1,1: 56:[93, 63] Operation: 73-10=63
Exploring Operation: 93-73=20, Resulting Numbers: [10, 20]
Generated Node #0,1,2: 56:[10, 20] Operation: 93-73=20
Exploring Operation: 93+10=103, Resulting Numbers: [73, 103]
Generated Node #0,1,3: 56:[73, 103] Operation: 93+10=103
Moving to Node #0,0
Current State: 56:[16, 89, 83], Operations: ['93-10=83']
Exploring Operation: 83-16=67, Resulting Numbers: [89, 67]
Generated Node #0,0,0: 56:[89, 67] Operation: 83-16=67
Exploring Operation: 89-83=6, Resulting Numbers: [16, 6]
Generated Node #0,0,1: 56:[16, 6] Operation: 89-83=6
Exploring Operation: 16+89=105, Resulting Numbers: [83, 105]
Generated Node #0,0,2: 56:[83, 105] Operation: 16+89=105
Exploring Operation: 89-16=73, Resulting Numbers: [83, 73]
Generated Node #0,0,3: 56:[83, 73] Operation: 89-16=73
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[16, 6], Operations: ['93-10=83', '89-83=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,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,0,0
Current State: 56:[89, 67], Operations: ['93-10=83', '83-16=67']
Exploring Operation: 89+67=156, Resulting Numbers: [156]
156,56 unequal: No Solution
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 89*67=5963, Resulting Numbers: [5963]
5963,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,0,3
Current State: 56:[83, 73], Operations: ['93-10=83', '89-16=73']
Exploring Operation: 83*73=6059, Resulting Numbers: [6059]
6059,56 unequal: No Solution
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 83+73=156, Resulting Numbers: [156]
156,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,0,2
Current State: 56:[83, 105], Operations: ['93-10=83', '16+89=105']
Exploring Operation: 105-83=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 83+105=188, Resulting Numbers: [188]
188,56 unequal: No Solution
Exploring Operation: 83*105=8715, Resulting Numbers: [8715]
8715,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 56:[10, 12], Operations: ['93-16=77', '89-77=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,56 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[10, 20], Operations: ['89-16=73', '93-73=20']
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,56 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[77, 79], Operations: ['93-16=77', '89-10=79']
Exploring Operation: 77+79=156, Resulting Numbers: [156]
156,56 unequal: No Solution
Exploring Operation: 77*79=6083, Resulting Numbers: [6083]
6083,56 unequal: No Solution
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[73, 83], Operations: ['89-16=73', '93-10=83']
Exploring Operation: 73*83=6059, Resulting Numbers: [6059]
6059,56 unequal: No Solution
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 73+83=156, Resulting Numbers: [156]
156,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[93, 63], Operations: ['89-16=73', '73-10=63']
Exploring Operation: 93*63=5859, Resulting Numbers: [5859]
5859,56 unequal: No Solution
Exploring Operation: 93+63=156, Resulting Numbers: [156]
156,56 unequal: No Solution
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[89, 67], Operations: ['93-16=77', '77-10=67']
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 89*67=5963, Resulting Numbers: [5963]
5963,56 unequal: No Solution
Exploring Operation: 89+67=156, Resulting Numbers: [156]
156,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[77, 99], Operations: ['93-16=77', '10+89=99']
Exploring Operation: 77*99=7623, Resulting Numbers: [7623]
7623,56 unequal: No Solution
Exploring Operation: 77+99=176, Resulting Numbers: [176]
176,56 unequal: No Solution
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[73, 103], Operations: ['89-16=73', '93+10=103']
Exploring Operation: 73+103=176, Resulting Numbers: [176]
176,56 unequal: No Solution
Exploring Operation: 73*103=7519, Resulting Numbers: [7519]
7519,56 unequal: No Solution
Exploring Operation: 103-73=30, Resulting Numbers: [30]
30,56 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.