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 |
|---|---|---|---|---|---|---|---|---|
[
7,
55,
65,
45
] | 14 | [
"65+45=110",
"7*110=770",
"770/55=14"
] | Current State: 14:[7, 55, 65, 45], Operations: []
Exploring Operation: 65+45=110, Resulting Numbers: [7, 55, 110]
Generated Node #2: [7, 55, 110] from Operation: 65+45=110
Current State: 14:[7, 55, 110], Operations: ['65+45=110']
Exploring Operation: 7*110=770, Resulting Numbers: [55, 770]
Generated Node #3: [55, 770] from Operation: 7*110=770
Current State: 14:[55, 770], Operations: ['65+45=110', '7*110=770']
Exploring Operation: 770/55=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[7, 55, 65, 45], Operations: []
Exploring Operation: 65-55=10, Resulting Numbers: [7, 45, 10]
Generated Node #0,0: 14:[7, 45, 10] Operation: 65-55=10
Exploring Operation: 65-45=20, Resulting Numbers: [7, 55, 20]
Generated Node #0,1: 14:[7, 55, 20] Operation: 65-45=20
Moving to Node #0,0
Current State: 14:[7, 45, 10], Operations: ['65-55=10']
Exploring Operation: 45-10=35, Resulting Numbers: [7, 35]
Generated Node #0,0,0: 14:[7, 35] Operation: 45-10=35
Exploring Operation: 45-7=38, Resulting Numbers: [10, 38]
Generated Node #0,0,1: 14:[10, 38] Operation: 45-7=38
Moving to Node #0,1
Current State: 14:[7, 55, 20], Operations: ['65-45=20']
Exploring Operation: 55-7=48, Resulting Numbers: [20, 48]
Generated Node #0,1,0: 14:[20, 48] Operation: 55-7=48
Exploring Operation: 55-20=35, Resulting Numbers: [7, 35]
Generated Node #0,1,1: 14:[7, 35] Operation: 55-20=35
Moving to Node #0,0,0
Current State: 14:[7, 35], Operations: ['65-55=10', '45-10=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[7, 35], Operations: ['65-45=20', '55-20=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[10, 38], Operations: ['65-55=10', '45-7=38']
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[20, 48], Operations: ['65-45=20', '55-7=48']
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,14 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,14 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
82,
62,
36
] | 39 | [
"82-36=46",
"46/2=23",
"62-23=39"
] | Current State: 39:[2, 82, 62, 36], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [2, 62, 46]
Generated Node #2: [2, 62, 46] from Operation: 82-36=46
Current State: 39:[2, 62, 46], Operations: ['82-36=46']
Exploring Operation: 46/2=23, Resulting Numbers: [62, 23]
Generated Node #3: [62, 23] from Operation: 46/2=23
Current State: 39:[62, 23], Operations: ['82-36=46', '46/2=23']
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[2, 82, 62, 36], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [82, 36, 31]
Generated Node #0,0: 39:[82, 36, 31] Operation: 62/2=31
Exploring Operation: 82-36=46, Resulting Numbers: [2, 62, 46]
Generated Node #0,1: 39:[2, 62, 46] Operation: 82-36=46
Exploring Operation: 82/2=41, Resulting Numbers: [62, 36, 41]
Generated Node #0,2: 39:[62, 36, 41] Operation: 82/2=41
Exploring Operation: 82-62=20, Resulting Numbers: [2, 36, 20]
Generated Node #0,3: 39:[2, 36, 20] Operation: 82-62=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[2, 36, 20], Operations: ['82-62=20']
Exploring Operation: 2*20=40, Resulting Numbers: [36, 40]
Generated Node #0,3,0: 39:[36, 40] Operation: 2*20=40
Exploring Operation: 2+36=38, Resulting Numbers: [20, 38]
Generated Node #0,3,1: 39:[20, 38] Operation: 2+36=38
Exploring Operation: 20/2=10, Resulting Numbers: [36, 10]
Generated Node #0,3,2: 39:[36, 10] Operation: 20/2=10
Exploring Operation: 36-20=16, Resulting Numbers: [2, 16]
Generated Node #0,3,3: 39:[2, 16] Operation: 36-20=16
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[36, 40], Operations: ['82-62=20', '2*20=40']
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,39 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[2, 16], Operations: ['82-62=20', '36-20=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[36, 10], Operations: ['82-62=20', '20/2=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[20, 38], Operations: ['82-62=20', '2+36=38']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,39 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: 39:[62, 36, 41], Operations: ['82/2=41']
Exploring Operation: 41-36=5, Resulting Numbers: [62, 5]
Generated Node #0,2,0: 39:[62, 5] Operation: 41-36=5
Exploring Operation: 62+36=98, Resulting Numbers: [41, 98]
Generated Node #0,2,1: 39:[41, 98] Operation: 62+36=98
Exploring Operation: 62-36=26, Resulting Numbers: [41, 26]
Generated Node #0,2,2: 39:[41, 26] Operation: 62-36=26
Exploring Operation: 62-41=21, Resulting Numbers: [36, 21]
Generated Node #0,2,3: 39:[36, 21] Operation: 62-41=21
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 39:[36, 21], Operations: ['82/2=41', '62-41=21']
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,39 unequal: No Solution
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[41, 26], Operations: ['82/2=41', '62-36=26']
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,39 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[62, 5], Operations: ['82/2=41', '41-36=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 62*5=310, Resulting Numbers: [310]
310,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[41, 98], Operations: ['82/2=41', '62+36=98']
Exploring Operation: 41*98=4018, Resulting Numbers: [4018]
4018,39 unequal: No Solution
Exploring Operation: 98-41=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 41+98=139, Resulting Numbers: [139]
139,39 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: 39:[2, 62, 46], Operations: ['82-36=46']
Exploring Operation: 46-2=44, Resulting Numbers: [62, 44]
Generated Node #0,1,0: 39:[62, 44] Operation: 46-2=44
Exploring Operation: 62-46=16, Resulting Numbers: [2, 16]
Generated Node #0,1,1: 39:[2, 16] Operation: 62-46=16
Exploring Operation: 62/2=31, Resulting Numbers: [46, 31]
Generated Node #0,1,2: 39:[46, 31] Operation: 62/2=31
Exploring Operation: 62-2=60, Resulting Numbers: [46, 60]
Generated Node #0,1,3: 39:[46, 60] Operation: 62-2=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[2, 16], Operations: ['82-36=46', '62-46=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[46, 31], Operations: ['82-36=46', '62/2=31']
Exploring Operation: 46*31=1426, Resulting Numbers: [1426]
1426,39 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 46+31=77, Resulting Numbers: [77]
77,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[62, 44], Operations: ['82-36=46', '46-2=44']
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,39 unequal: No Solution
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 39:[46, 60], Operations: ['82-36=46', '62-2=60']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,39 unequal: No Solution
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,39 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: 39:[82, 36, 31], Operations: ['62/2=31']
Exploring Operation: 36+31=67, Resulting Numbers: [82, 67]
Generated Node #0,0,0: 39:[82, 67] Operation: 36+31=67
Exploring Operation: 82-31=51, Resulting Numbers: [36, 51]
Generated Node #0,0,1: 39:[36, 51] Operation: 82-31=51
Exploring Operation: 36-31=5, Resulting Numbers: [82, 5]
Generated Node #0,0,2: 39:[82, 5] Operation: 36-31=5
Exploring Operation: 82-36=46, Resulting Numbers: [31, 46]
Generated Node #0,0,3: 39:[31, 46] Operation: 82-36=46
Moving to Node #0,0,1
Current State: 39:[36, 51], Operations: ['62/2=31', '82-31=51']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[31, 46], Operations: ['62/2=31', '82-36=46']
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 31*46=1426, Resulting Numbers: [1426]
1426,39 unequal: No Solution
Exploring Operation: 31+46=77, Resulting Numbers: [77]
77,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[82, 5], Operations: ['62/2=31', '36-31=5']
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,39 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,39 unequal: No Solution
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[82, 67], Operations: ['62/2=31', '36+31=67']
Exploring Operation: 82+67=149, Resulting Numbers: [149]
149,39 unequal: No Solution
Exploring Operation: 82*67=5494, Resulting Numbers: [5494]
5494,39 unequal: No Solution
Exploring Operation: 82-67=15, Resulting Numbers: [15]
15,39 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 |
[
46,
22,
28,
96
] | 44 | [
"46-22=24",
"96-28=68",
"68-24=44"
] | Current State: 44:[46, 22, 28, 96], Operations: []
Exploring Operation: 46-22=24, Resulting Numbers: [28, 96, 24]
Generated Node #2: [28, 96, 24] from Operation: 46-22=24
Current State: 44:[28, 96, 24], Operations: ['46-22=24']
Exploring Operation: 96-28=68, Resulting Numbers: [24, 68]
Generated Node #3: [24, 68] from Operation: 96-28=68
Current State: 44:[24, 68], Operations: ['46-22=24', '96-28=68']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[46, 22, 28, 96], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [46, 96, 6]
Generated Node #0,0: 44:[46, 96, 6] Operation: 28-22=6
Exploring Operation: 96-46=50, Resulting Numbers: [22, 28, 50]
Generated Node #0,1: 44:[22, 28, 50] Operation: 96-46=50
Exploring Operation: 96-28=68, Resulting Numbers: [46, 22, 68]
Generated Node #0,2: 44:[46, 22, 68] Operation: 96-28=68
Exploring Operation: 96-22=74, Resulting Numbers: [46, 28, 74]
Generated Node #0,3: 44:[46, 28, 74] Operation: 96-22=74
Exploring Operation: 46-28=18, Resulting Numbers: [22, 96, 18]
Generated Node #0,4: 44:[22, 96, 18] Operation: 46-28=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[22, 28, 50], Operations: ['96-46=50']
Exploring Operation: 50-28=22, Resulting Numbers: [22, 22]
Generated Node #0,1,0: 44:[22, 22] Operation: 50-28=22
Exploring Operation: 22+50=72, Resulting Numbers: [28, 72]
Generated Node #0,1,1: 44:[28, 72] Operation: 22+50=72
Exploring Operation: 22+28=50, Resulting Numbers: [50, 50]
Generated Node #0,1,2: 44:[50, 50] Operation: 22+28=50
Exploring Operation: 28-22=6, Resulting Numbers: [50, 6]
Generated Node #0,1,3: 44:[50, 6] Operation: 28-22=6
Exploring Operation: 50-22=28, Resulting Numbers: [28, 28]
Generated Node #0,1,4: 44:[28, 28] Operation: 50-22=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[22, 22], Operations: ['96-46=50', '50-28=22']
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,44 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[46, 22, 28, 96], Operations: []
Exploring Operation: 96-46=50, Resulting Numbers: [22, 28, 50]
Generated Node #0,1: 44:[22, 28, 50] Operation: 96-46=50
Moving to Node #0,1
Current State: 44:[22, 28, 50], Operations: ['96-46=50']
Exploring Operation: 50-28=22, Resulting Numbers: [22, 22]
Generated Node #0,1,0: 44:[22, 22] Operation: 50-28=22
Moving to Node #0,1,0
Current State: 44:[22, 22], Operations: ['96-46=50', '50-28=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
50,
57,
9,
62
] | 36 | [
"50+57=107",
"9+62=71",
"107-71=36"
] | Current State: 36:[50, 57, 9, 62], Operations: []
Exploring Operation: 50+57=107, Resulting Numbers: [9, 62, 107]
Generated Node #2: [9, 62, 107] from Operation: 50+57=107
Current State: 36:[9, 62, 107], Operations: ['50+57=107']
Exploring Operation: 9+62=71, Resulting Numbers: [107, 71]
Generated Node #3: [107, 71] from Operation: 9+62=71
Current State: 36:[107, 71], Operations: ['50+57=107', '9+62=71']
Exploring Operation: 107-71=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[50, 57, 9, 62], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [50, 9, 5]
Generated Node #0,0: 36:[50, 9, 5] Operation: 62-57=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[50, 9, 5], Operations: ['62-57=5']
Exploring Operation: 50/5=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 36:[9, 10] Operation: 50/5=10
Moving to Node #0,0,0
Current State: 36:[9, 10], Operations: ['62-57=5', '50/5=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,36 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 |
[
14,
4,
93,
16
] | 43 | [
"14+93=107",
"4*16=64",
"107-64=43"
] | Current State: 43:[14, 4, 93, 16], Operations: []
Exploring Operation: 14+93=107, Resulting Numbers: [4, 16, 107]
Generated Node #2: [4, 16, 107] from Operation: 14+93=107
Current State: 43:[4, 16, 107], Operations: ['14+93=107']
Exploring Operation: 4*16=64, Resulting Numbers: [107, 64]
Generated Node #3: [107, 64] from Operation: 4*16=64
Current State: 43:[107, 64], Operations: ['14+93=107', '4*16=64']
Exploring Operation: 107-64=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[14, 4, 93, 16], Operations: []
Exploring Operation: 4*16=64, Resulting Numbers: [14, 93, 64]
Generated Node #0,0: 43:[14, 93, 64] Operation: 4*16=64
Exploring Operation: 14*4=56, Resulting Numbers: [93, 16, 56]
Generated Node #0,1: 43:[93, 16, 56] Operation: 14*4=56
Moving to Node #0,1
Current State: 43:[93, 16, 56], Operations: ['14*4=56']
Exploring Operation: 93-56=37, Resulting Numbers: [16, 37]
Generated Node #0,1,0: 43:[16, 37] Operation: 93-56=37
Exploring Operation: 93-16=77, Resulting Numbers: [56, 77]
Generated Node #0,1,1: 43:[56, 77] Operation: 93-16=77
Moving to Node #0,0
Current State: 43:[14, 93, 64], Operations: ['4*16=64']
Exploring Operation: 93-64=29, Resulting Numbers: [14, 29]
Generated Node #0,0,0: 43:[14, 29] Operation: 93-64=29
Exploring Operation: 93-14=79, Resulting Numbers: [64, 79]
Generated Node #0,0,1: 43:[64, 79] Operation: 93-14=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[14, 29], Operations: ['4*16=64', '93-64=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[14, 4, 93, 16], Operations: []
Exploring Operation: 4*16=64, Resulting Numbers: [14, 93, 64]
Generated Node #0,0: 43:[14, 93, 64] Operation: 4*16=64
Moving to Node #0,0
Current State: 43:[14, 93, 64], Operations: ['4*16=64']
Exploring Operation: 93-64=29, Resulting Numbers: [14, 29]
Generated Node #0,0,0: 43:[14, 29] Operation: 93-64=29
Moving to Node #0,0,0
Current State: 43:[14, 29], Operations: ['4*16=64', '93-64=29']
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
74,
62,
10,
78
] | 86 | [
"78-62=16",
"10*16=160",
"160-74=86"
] | Current State: 86:[74, 62, 10, 78], Operations: []
Exploring Operation: 78-62=16, Resulting Numbers: [74, 10, 16]
Generated Node #2: [74, 10, 16] from Operation: 78-62=16
Current State: 86:[74, 10, 16], Operations: ['78-62=16']
Exploring Operation: 10*16=160, Resulting Numbers: [74, 160]
Generated Node #3: [74, 160] from Operation: 10*16=160
Current State: 86:[74, 160], Operations: ['78-62=16', '10*16=160']
Exploring Operation: 160-74=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[74, 62, 10, 78], Operations: []
Exploring Operation: 74-62=12, Resulting Numbers: [10, 78, 12]
Generated Node #0,0: 86:[10, 78, 12] Operation: 74-62=12
Exploring Operation: 62-10=52, Resulting Numbers: [74, 78, 52]
Generated Node #0,1: 86:[74, 78, 52] Operation: 62-10=52
Exploring Operation: 74+10=84, Resulting Numbers: [62, 78, 84]
Generated Node #0,2: 86:[62, 78, 84] Operation: 74+10=84
Exploring Operation: 10+78=88, Resulting Numbers: [74, 62, 88]
Generated Node #0,3: 86:[74, 62, 88] Operation: 10+78=88
Exploring Operation: 78-74=4, Resulting Numbers: [62, 10, 4]
Generated Node #0,4: 86:[62, 10, 4] Operation: 78-74=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[10, 78, 12], Operations: ['74-62=12']
Exploring Operation: 10+12=22, Resulting Numbers: [78, 22]
Generated Node #0,0,0: 86:[78, 22] Operation: 10+12=22
Exploring Operation: 12-10=2, Resulting Numbers: [78, 2]
Generated Node #0,0,1: 86:[78, 2] Operation: 12-10=2
Exploring Operation: 78+12=90, Resulting Numbers: [10, 90]
Generated Node #0,0,2: 86:[10, 90] Operation: 78+12=90
Exploring Operation: 10+78=88, Resulting Numbers: [12, 88]
Generated Node #0,0,3: 86:[12, 88] Operation: 10+78=88
Exploring Operation: 78-10=68, Resulting Numbers: [12, 68]
Generated Node #0,0,4: 86:[12, 68] Operation: 78-10=68
Moving to Node #0,0,1
Current State: 86:[78, 2], Operations: ['74-62=12', '12-10=2']
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,86 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,86 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[12, 88], Operations: ['74-62=12', '10+78=88']
Exploring Operation: 12*88=1056, Resulting Numbers: [1056]
1056,86 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,86 unequal: No Solution
Exploring Operation: 12+88=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[10, 90], Operations: ['74-62=12', '78+12=90']
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Exploring Operation: 10*90=900, Resulting Numbers: [900]
900,86 unequal: No Solution
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[78, 22], Operations: ['74-62=12', '10+12=22']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,86 unequal: No Solution
Moving to Node #0,0,4
Current State: 86:[12, 68], Operations: ['74-62=12', '78-10=68']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Exploring Operation: 12*68=816, Resulting Numbers: [816]
816,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
Current State: 86:[74, 78, 52], Operations: ['62-10=52']
Exploring Operation: 78+52=130, Resulting Numbers: [74, 130]
Generated Node #0,1,0: 86:[74, 130] Operation: 78+52=130
Exploring Operation: 74-52=22, Resulting Numbers: [78, 22]
Generated Node #0,1,1: 86:[78, 22] Operation: 74-52=22
Exploring Operation: 78-52=26, Resulting Numbers: [74, 26]
Generated Node #0,1,2: 86:[74, 26] Operation: 78-52=26
Exploring Operation: 78-74=4, Resulting Numbers: [52, 4]
Generated Node #0,1,3: 86:[52, 4] Operation: 78-74=4
Exploring Operation: 74+52=126, Resulting Numbers: [78, 126]
Generated Node #0,1,4: 86:[78, 126] Operation: 74+52=126
Moving to Node #0,1,3
Current State: 86:[52, 4], Operations: ['62-10=52', '78-74=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,86 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[78, 22], Operations: ['62-10=52', '74-52=22']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,86 unequal: No Solution
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[74, 26], Operations: ['62-10=52', '78-52=26']
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,86 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Moving to Node #0,1,4
Current State: 86:[78, 126], Operations: ['62-10=52', '74+52=126']
Exploring Operation: 78*126=9828, Resulting Numbers: [9828]
9828,86 unequal: No Solution
Exploring Operation: 126-78=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 78+126=204, Resulting Numbers: [204]
204,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[74, 130], Operations: ['62-10=52', '78+52=130']
Exploring Operation: 130-74=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 74+130=204, Resulting Numbers: [204]
204,86 unequal: No Solution
Exploring Operation: 74*130=9620, Resulting Numbers: [9620]
9620,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,2
Current State: 86:[62, 78, 84], Operations: ['74+10=84']
Exploring Operation: 78-62=16, Resulting Numbers: [84, 16]
Generated Node #0,2,0: 86:[84, 16] Operation: 78-62=16
Exploring Operation: 84-62=22, Resulting Numbers: [78, 22]
Generated Node #0,2,1: 86:[78, 22] Operation: 84-62=22
Exploring Operation: 62+78=140, Resulting Numbers: [84, 140]
Generated Node #0,2,2: 86:[84, 140] Operation: 62+78=140
Exploring Operation: 84-78=6, Resulting Numbers: [62, 6]
Generated Node #0,2,3: 86:[62, 6] Operation: 84-78=6
Exploring Operation: 62+84=146, Resulting Numbers: [78, 146]
Generated Node #0,2,4: 86:[78, 146] Operation: 62+84=146
Moving to Node #0,2,0
Current State: 86:[84, 16], Operations: ['74+10=84', '78-62=16']
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 84*16=1344, Resulting Numbers: [1344]
1344,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[62, 6], Operations: ['74+10=84', '84-78=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,86 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[78, 22], Operations: ['74+10=84', '84-62=22']
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,86 unequal: No Solution
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[84, 140], Operations: ['74+10=84', '62+78=140']
Exploring Operation: 84*140=11760, Resulting Numbers: [11760]
11760,86 unequal: No Solution
Exploring Operation: 140-84=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 84+140=224, Resulting Numbers: [224]
224,86 unequal: No Solution
Moving to Node #0,2,4
Current State: 86:[78, 146], Operations: ['74+10=84', '62+84=146']
Exploring Operation: 78+146=224, Resulting Numbers: [224]
224,86 unequal: No Solution
Exploring Operation: 78*146=11388, Resulting Numbers: [11388]
11388,86 unequal: No Solution
Exploring Operation: 146-78=68, Resulting Numbers: [68]
68,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[62, 10, 4], Operations: ['78-74=4']
Exploring Operation: 62+10=72, Resulting Numbers: [4, 72]
Generated Node #0,4,0: 86:[4, 72] Operation: 62+10=72
Exploring Operation: 62-10=52, Resulting Numbers: [4, 52]
Generated Node #0,4,1: 86:[4, 52] Operation: 62-10=52
Exploring Operation: 10-4=6, Resulting Numbers: [62, 6]
Generated Node #0,4,2: 86:[62, 6] Operation: 10-4=6
Exploring Operation: 62-4=58, Resulting Numbers: [10, 58]
Generated Node #0,4,3: 86:[10, 58] Operation: 62-4=58
Exploring Operation: 10*4=40, Resulting Numbers: [62, 40]
Generated Node #0,4,4: 86:[62, 40] Operation: 10*4=40
Moving to Node #0,4,1
Current State: 86:[4, 52], Operations: ['78-74=4', '62-10=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,86 unequal: No Solution
Moving to Node #0,4,0
Current State: 86:[4, 72], Operations: ['78-74=4', '62+10=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,86 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,86 unequal: No Solution
Moving to Node #0,4,4
Current State: 86:[62, 40], Operations: ['78-74=4', '10*4=40']
Exploring Operation: 62*40=2480, Resulting Numbers: [2480]
2480,86 unequal: No Solution
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,86 unequal: No Solution
Exploring Operation: 62+40=102, Resulting Numbers: [102]
102,86 unequal: No Solution
Moving to Node #0,4,2
Current State: 86:[62, 6], Operations: ['78-74=4', '10-4=6']
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,86 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Moving to Node #0,4,3
Current State: 86:[10, 58], Operations: ['78-74=4', '62-4=58']
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,86 unequal: No Solution
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,86 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,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,3
Current State: 86:[74, 62, 88], Operations: ['10+78=88']
Exploring Operation: 62+88=150, Resulting Numbers: [74, 150]
Generated Node #0,3,0: 86:[74, 150] Operation: 62+88=150
Exploring Operation: 74+62=136, Resulting Numbers: [88, 136]
Generated Node #0,3,1: 86:[88, 136] Operation: 74+62=136
Exploring Operation: 74-62=12, Resulting Numbers: [88, 12]
Generated Node #0,3,2: 86:[88, 12] Operation: 74-62=12
Exploring Operation: 88-74=14, Resulting Numbers: [62, 14]
Generated Node #0,3,3: 86:[62, 14] Operation: 88-74=14
Exploring Operation: 88-62=26, Resulting Numbers: [74, 26]
Generated Node #0,3,4: 86:[74, 26] Operation: 88-62=26
Moving to Node #0,3,2
Current State: 86:[88, 12], Operations: ['10+78=88', '74-62=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,86 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[74, 26], Operations: ['10+78=88', '88-62=26']
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,86 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[62, 14], Operations: ['10+78=88', '88-74=14']
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,86 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[88, 136], Operations: ['10+78=88', '74+62=136']
Exploring Operation: 136-88=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 88*136=11968, Resulting Numbers: [11968]
11968,86 unequal: No Solution
Exploring Operation: 88+136=224, Resulting Numbers: [224]
224,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[74, 150], Operations: ['10+78=88', '62+88=150']
Exploring Operation: 74*150=11100, Resulting Numbers: [11100]
11100,86 unequal: No Solution
Exploring Operation: 74+150=224, Resulting Numbers: [224]
224,86 unequal: No Solution
Exploring Operation: 150-74=76, Resulting Numbers: [76]
76,86 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 |
[
10,
66,
99,
62
] | 47 | [
"10*99=990",
"990/66=15",
"62-15=47"
] | Current State: 47:[10, 66, 99, 62], Operations: []
Exploring Operation: 10*99=990, Resulting Numbers: [66, 62, 990]
Generated Node #2: [66, 62, 990] from Operation: 10*99=990
Current State: 47:[66, 62, 990], Operations: ['10*99=990']
Exploring Operation: 990/66=15, Resulting Numbers: [62, 15]
Generated Node #3: [62, 15] from Operation: 990/66=15
Current State: 47:[62, 15], Operations: ['10*99=990', '990/66=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[10, 66, 99, 62], Operations: []
Exploring Operation: 66-10=56, Resulting Numbers: [99, 62, 56]
Generated Node #0,0: 47:[99, 62, 56] Operation: 66-10=56
Exploring Operation: 99-62=37, Resulting Numbers: [10, 66, 37]
Generated Node #0,1: 47:[10, 66, 37] Operation: 99-62=37
Exploring Operation: 99-66=33, Resulting Numbers: [10, 62, 33]
Generated Node #0,2: 47:[10, 62, 33] Operation: 99-66=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[10, 66, 37], Operations: ['99-62=37']
Exploring Operation: 10+66=76, Resulting Numbers: [37, 76]
Generated Node #0,1,0: 47:[37, 76] Operation: 10+66=76
Exploring Operation: 66-10=56, Resulting Numbers: [37, 56]
Generated Node #0,1,1: 47:[37, 56] Operation: 66-10=56
Exploring Operation: 10+37=47, Resulting Numbers: [66, 47]
Generated Node #0,1,2: 47:[66, 47] Operation: 10+37=47
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[37, 56], Operations: ['99-62=37', '66-10=56']
Exploring Operation: 37*56=2072, Resulting Numbers: [2072]
2072,47 unequal: No Solution
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[66, 47], Operations: ['99-62=37', '10+37=47']
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 66+47=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 66*47=3102, Resulting Numbers: [3102]
3102,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[37, 76], Operations: ['99-62=37', '10+66=76']
Exploring Operation: 37+76=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 37*76=2812, Resulting Numbers: [2812]
2812,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[10, 62, 33], Operations: ['99-66=33']
Exploring Operation: 10+33=43, Resulting Numbers: [62, 43]
Generated Node #0,2,0: 47:[62, 43] Operation: 10+33=43
Exploring Operation: 62-10=52, Resulting Numbers: [33, 52]
Generated Node #0,2,1: 47:[33, 52] Operation: 62-10=52
Exploring Operation: 10+62=72, Resulting Numbers: [33, 72]
Generated Node #0,2,2: 47:[33, 72] Operation: 10+62=72
Moving to Node #0,2,0
Current State: 47:[62, 43], Operations: ['99-66=33', '10+33=43']
Exploring Operation: 62*43=2666, Resulting Numbers: [2666]
2666,47 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 62+43=105, Resulting Numbers: [105]
105,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[33, 52], Operations: ['99-66=33', '62-10=52']
Exploring Operation: 33+52=85, Resulting Numbers: [85]
85,47 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 33*52=1716, Resulting Numbers: [1716]
1716,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[33, 72], Operations: ['99-66=33', '10+62=72']
Exploring Operation: 33*72=2376, Resulting Numbers: [2376]
2376,47 unequal: No Solution
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 33+72=105, Resulting Numbers: [105]
105,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[99, 62, 56], Operations: ['66-10=56']
Exploring Operation: 99-62=37, Resulting Numbers: [56, 37]
Generated Node #0,0,0: 47:[56, 37] Operation: 99-62=37
Exploring Operation: 99-56=43, Resulting Numbers: [62, 43]
Generated Node #0,0,1: 47:[62, 43] Operation: 99-56=43
Exploring Operation: 62-56=6, Resulting Numbers: [99, 6]
Generated Node #0,0,2: 47:[99, 6] Operation: 62-56=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[56, 37], Operations: ['66-10=56', '99-62=37']
Exploring Operation: 56*37=2072, Resulting Numbers: [2072]
2072,47 unequal: No Solution
Exploring Operation: 56+37=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[62, 43], Operations: ['66-10=56', '99-56=43']
Exploring Operation: 62*43=2666, Resulting Numbers: [2666]
2666,47 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 62+43=105, Resulting Numbers: [105]
105,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[99, 6], Operations: ['66-10=56', '62-56=6']
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,47 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
38,
29,
74
] | 95 | [
"38*74=2812",
"2812-57=2755",
"2755/29=95"
] | Current State: 95:[57, 38, 29, 74], Operations: []
Exploring Operation: 38*74=2812, Resulting Numbers: [57, 29, 2812]
Generated Node #2: [57, 29, 2812] from Operation: 38*74=2812
Current State: 95:[57, 29, 2812], Operations: ['38*74=2812']
Exploring Operation: 2812-57=2755, Resulting Numbers: [29, 2755]
Generated Node #3: [29, 2755] from Operation: 2812-57=2755
Current State: 95:[29, 2755], Operations: ['38*74=2812', '2812-57=2755']
Exploring Operation: 2755/29=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[57, 38, 29, 74], Operations: []
Exploring Operation: 57-38=19, Resulting Numbers: [29, 74, 19]
Generated Node #0,0: 95:[29, 74, 19] Operation: 57-38=19
Exploring Operation: 57+38=95, Resulting Numbers: [29, 74, 95]
Generated Node #0,1: 95:[29, 74, 95] Operation: 57+38=95
Exploring Operation: 74-57=17, Resulting Numbers: [38, 29, 17]
Generated Node #0,2: 95:[38, 29, 17] Operation: 74-57=17
Moving to Node #0,0
Current State: 95:[29, 74, 19], Operations: ['57-38=19']
Exploring Operation: 74-29=45, Resulting Numbers: [19, 45]
Generated Node #0,0,0: 95:[19, 45] Operation: 74-29=45
Exploring Operation: 29+74=103, Resulting Numbers: [19, 103]
Generated Node #0,0,1: 95:[19, 103] Operation: 29+74=103
Exploring Operation: 74+19=93, Resulting Numbers: [29, 93]
Generated Node #0,0,2: 95:[29, 93] Operation: 74+19=93
Moving to Node #0,1
Current State: 95:[29, 74, 95], Operations: ['57+38=95']
Exploring Operation: 74-29=45, Resulting Numbers: [95, 45]
Generated Node #0,1,0: 95:[95, 45] Operation: 74-29=45
Exploring Operation: 29+74=103, Resulting Numbers: [95, 103]
Generated Node #0,1,1: 95:[95, 103] Operation: 29+74=103
Exploring Operation: 95-74=21, Resulting Numbers: [29, 21]
Generated Node #0,1,2: 95:[29, 21] Operation: 95-74=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[95, 103], Operations: ['57+38=95', '29+74=103']
Exploring Operation: 95*103=9785, Resulting Numbers: [9785]
9785,95 unequal: No Solution
Exploring Operation: 103-95=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 95+103=198, Resulting Numbers: [198]
198,95 unequal: No Solution
No 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: 95:[29, 21], Operations: ['57+38=95', '95-74=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,95 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,95 unequal: No Solution
No 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: 95:[95, 45], Operations: ['57+38=95', '74-29=45']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,95 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: 95:[38, 29, 17], Operations: ['74-57=17']
Exploring Operation: 38-29=9, Resulting Numbers: [17, 9]
Generated Node #0,2,0: 95:[17, 9] Operation: 38-29=9
Exploring Operation: 38-17=21, Resulting Numbers: [29, 21]
Generated Node #0,2,1: 95:[29, 21] Operation: 38-17=21
Exploring Operation: 29-17=12, Resulting Numbers: [38, 12]
Generated Node #0,2,2: 95:[38, 12] Operation: 29-17=12
Moving to Node #0,2,0
Current State: 95:[17, 9], Operations: ['74-57=17', '38-29=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[19, 103], Operations: ['57-38=19', '29+74=103']
Exploring Operation: 19*103=1957, Resulting Numbers: [1957]
1957,95 unequal: No Solution
Exploring Operation: 19+103=122, Resulting Numbers: [122]
122,95 unequal: No Solution
Exploring Operation: 103-19=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[29, 21], Operations: ['74-57=17', '38-17=21']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,95 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[29, 93], Operations: ['57-38=19', '74+19=93']
Exploring Operation: 29+93=122, Resulting Numbers: [122]
122,95 unequal: No Solution
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,95 unequal: No Solution
Exploring Operation: 29*93=2697, Resulting Numbers: [2697]
2697,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[38, 12], Operations: ['74-57=17', '29-17=12']
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,95 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[19, 45], Operations: ['57-38=19', '74-29=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,95 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,95 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
92,
48,
36
] | 93 | [
"32+92=124",
"36*124=4464",
"4464/48=93"
] | Current State: 93:[32, 92, 48, 36], Operations: []
Exploring Operation: 32+92=124, Resulting Numbers: [48, 36, 124]
Generated Node #2: [48, 36, 124] from Operation: 32+92=124
Current State: 93:[48, 36, 124], Operations: ['32+92=124']
Exploring Operation: 36*124=4464, Resulting Numbers: [48, 4464]
Generated Node #3: [48, 4464] from Operation: 36*124=4464
Current State: 93:[48, 4464], Operations: ['32+92=124', '36*124=4464']
Exploring Operation: 4464/48=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[32, 92, 48, 36], Operations: []
Exploring Operation: 32+48=80, Resulting Numbers: [92, 36, 80]
Generated Node #0,0: 93:[92, 36, 80] Operation: 32+48=80
Exploring Operation: 48-32=16, Resulting Numbers: [92, 36, 16]
Generated Node #0,1: 93:[92, 36, 16] Operation: 48-32=16
Exploring Operation: 48+36=84, Resulting Numbers: [32, 92, 84]
Generated Node #0,2: 93:[32, 92, 84] Operation: 48+36=84
Exploring Operation: 36-32=4, Resulting Numbers: [92, 48, 4]
Generated Node #0,3: 93:[92, 48, 4] Operation: 36-32=4
Exploring Operation: 48-36=12, Resulting Numbers: [32, 92, 12]
Generated Node #0,4: 93:[32, 92, 12] Operation: 48-36=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[32, 92, 84], Operations: ['48+36=84']
Exploring Operation: 92-84=8, Resulting Numbers: [32, 8]
Generated Node #0,2,0: 93:[32, 8] Operation: 92-84=8
Exploring Operation: 84-32=52, Resulting Numbers: [92, 52]
Generated Node #0,2,1: 93:[92, 52] Operation: 84-32=52
Exploring Operation: 32+84=116, Resulting Numbers: [92, 116]
Generated Node #0,2,2: 93:[92, 116] Operation: 32+84=116
Exploring Operation: 92-32=60, Resulting Numbers: [84, 60]
Generated Node #0,2,3: 93:[84, 60] Operation: 92-32=60
Exploring Operation: 32+92=124, Resulting Numbers: [84, 124]
Generated Node #0,2,4: 93:[84, 124] Operation: 32+92=124
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[32, 8], Operations: ['48+36=84', '92-84=8']
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,93 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,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,1
Current State: 93:[92, 52], Operations: ['48+36=84', '84-32=52']
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 92+52=144, Resulting Numbers: [144]
144,93 unequal: No Solution
Exploring Operation: 92*52=4784, Resulting Numbers: [4784]
4784,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:[92, 116], Operations: ['48+36=84', '32+84=116']
Exploring Operation: 116-92=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 92*116=10672, Resulting Numbers: [10672]
10672,93 unequal: No Solution
Exploring Operation: 92+116=208, Resulting Numbers: [208]
208,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:[84, 60], Operations: ['48+36=84', '92-32=60']
Exploring Operation: 84*60=5040, Resulting Numbers: [5040]
5040,93 unequal: No Solution
Exploring Operation: 84+60=144, Resulting Numbers: [144]
144,93 unequal: No Solution
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,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:[84, 124], Operations: ['48+36=84', '32+92=124']
Exploring Operation: 84+124=208, Resulting Numbers: [208]
208,93 unequal: No Solution
Exploring Operation: 84*124=10416, Resulting Numbers: [10416]
10416,93 unequal: No Solution
Exploring Operation: 124-84=40, Resulting Numbers: [40]
40,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:[32, 92, 12], Operations: ['48-36=12']
Exploring Operation: 92+12=104, Resulting Numbers: [32, 104]
Generated Node #0,4,0: 93:[32, 104] Operation: 92+12=104
Exploring Operation: 92-32=60, Resulting Numbers: [12, 60]
Generated Node #0,4,1: 93:[12, 60] Operation: 92-32=60
Exploring Operation: 32-12=20, Resulting Numbers: [92, 20]
Generated Node #0,4,2: 93:[92, 20] Operation: 32-12=20
Exploring Operation: 32+12=44, Resulting Numbers: [92, 44]
Generated Node #0,4,3: 93:[92, 44] Operation: 32+12=44
Exploring Operation: 92-12=80, Resulting Numbers: [32, 80]
Generated Node #0,4,4: 93:[32, 80] Operation: 92-12=80
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 93:[32, 104], Operations: ['48-36=12', '92+12=104']
Exploring Operation: 32*104=3328, Resulting Numbers: [3328]
3328,93 unequal: No Solution
Exploring Operation: 104-32=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 32+104=136, Resulting Numbers: [136]
136,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,4,2
Current State: 93:[92, 20], Operations: ['48-36=12', '32-12=20']
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 92*20=1840, Resulting Numbers: [1840]
1840,93 unequal: No Solution
Exploring Operation: 92+20=112, Resulting Numbers: [112]
112,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,4,3
Current State: 93:[92, 44], Operations: ['48-36=12', '32+12=44']
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 92*44=4048, Resulting Numbers: [4048]
4048,93 unequal: No Solution
Exploring Operation: 92+44=136, Resulting Numbers: [136]
136,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,4,4
Current State: 93:[32, 80], Operations: ['48-36=12', '92-12=80']
Exploring Operation: 32+80=112, Resulting Numbers: [112]
112,93 unequal: No Solution
Exploring Operation: 32*80=2560, Resulting Numbers: [2560]
2560,93 unequal: No Solution
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,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,4,1
Current State: 93:[12, 60], Operations: ['48-36=12', '92-32=60']
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 12*60=720, Resulting Numbers: [720]
720,93 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,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:[92, 36, 80], Operations: ['32+48=80']
Exploring Operation: 92-36=56, Resulting Numbers: [80, 56]
Generated Node #0,0,0: 93:[80, 56] Operation: 92-36=56
Exploring Operation: 36+80=116, Resulting Numbers: [92, 116]
Generated Node #0,0,1: 93:[92, 116] Operation: 36+80=116
Exploring Operation: 92+36=128, Resulting Numbers: [80, 128]
Generated Node #0,0,2: 93:[80, 128] Operation: 92+36=128
Exploring Operation: 80-36=44, Resulting Numbers: [92, 44]
Generated Node #0,0,3: 93:[92, 44] Operation: 80-36=44
Exploring Operation: 92-80=12, Resulting Numbers: [36, 12]
Generated Node #0,0,4: 93:[36, 12] Operation: 92-80=12
Moving to Node #0,0,3
Current State: 93:[92, 44], Operations: ['32+48=80', '80-36=44']
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 92*44=4048, Resulting Numbers: [4048]
4048,93 unequal: No Solution
Exploring Operation: 92+44=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[36, 12], Operations: ['32+48=80', '92-80=12']
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,93 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[92, 116], Operations: ['32+48=80', '36+80=116']
Exploring Operation: 92+116=208, Resulting Numbers: [208]
208,93 unequal: No Solution
Exploring Operation: 116-92=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 92*116=10672, Resulting Numbers: [10672]
10672,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[80, 56], Operations: ['32+48=80', '92-36=56']
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 80*56=4480, Resulting Numbers: [4480]
4480,93 unequal: No Solution
Exploring Operation: 80+56=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[80, 128], Operations: ['32+48=80', '92+36=128']
Exploring Operation: 80*128=10240, Resulting Numbers: [10240]
10240,93 unequal: No Solution
Exploring Operation: 128-80=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 80+128=208, Resulting Numbers: [208]
208,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:[92, 36, 16], Operations: ['48-32=16']
Exploring Operation: 36+16=52, Resulting Numbers: [92, 52]
Generated Node #0,1,0: 93:[92, 52] Operation: 36+16=52
Exploring Operation: 36-16=20, Resulting Numbers: [92, 20]
Generated Node #0,1,1: 93:[92, 20] Operation: 36-16=20
Exploring Operation: 92-36=56, Resulting Numbers: [16, 56]
Generated Node #0,1,2: 93:[16, 56] Operation: 92-36=56
Exploring Operation: 92-16=76, Resulting Numbers: [36, 76]
Generated Node #0,1,3: 93:[36, 76] Operation: 92-16=76
Exploring Operation: 92+16=108, Resulting Numbers: [36, 108]
Generated Node #0,1,4: 93:[36, 108] Operation: 92+16=108
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[92, 20], Operations: ['48-32=16', '36-16=20']
Exploring Operation: 92+20=112, Resulting Numbers: [112]
112,93 unequal: No Solution
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 92*20=1840, Resulting Numbers: [1840]
1840,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,1,4
Current State: 93:[36, 108], Operations: ['48-32=16', '92+16=108']
Exploring Operation: 108/36=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 36+108=144, Resulting Numbers: [144]
144,93 unequal: No Solution
Exploring Operation: 36*108=3888, Resulting Numbers: [3888]
3888,93 unequal: No Solution
Exploring Operation: 108-36=72, Resulting Numbers: [72]
72,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,1,0
Current State: 93:[92, 52], Operations: ['48-32=16', '36+16=52']
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 92*52=4784, Resulting Numbers: [4784]
4784,93 unequal: No Solution
Exploring Operation: 92+52=144, Resulting Numbers: [144]
144,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,1,3
Current State: 93:[36, 76], Operations: ['48-32=16', '92-16=76']
Exploring Operation: 36*76=2736, Resulting Numbers: [2736]
2736,93 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 36+76=112, Resulting Numbers: [112]
112,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,1,2
Current State: 93:[16, 56], Operations: ['48-32=16', '92-36=56']
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,93 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,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,3
Current State: 93:[92, 48, 4], Operations: ['36-32=4']
Exploring Operation: 92+4=96, Resulting Numbers: [48, 96]
Generated Node #0,3,0: 93:[48, 96] Operation: 92+4=96
Exploring Operation: 48-4=44, Resulting Numbers: [92, 44]
Generated Node #0,3,1: 93:[92, 44] Operation: 48-4=44
Exploring Operation: 48/4=12, Resulting Numbers: [92, 12]
Generated Node #0,3,2: 93:[92, 12] Operation: 48/4=12
Exploring Operation: 92-4=88, Resulting Numbers: [48, 88]
Generated Node #0,3,3: 93:[48, 88] Operation: 92-4=88
Exploring Operation: 92-48=44, Resulting Numbers: [4, 44]
Generated Node #0,3,4: 93:[4, 44] Operation: 92-48=44
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[92, 12], Operations: ['36-32=4', '48/4=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,93 unequal: No Solution
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,93 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 93:[92, 44], Operations: ['36-32=4', '48-4=44']
Exploring Operation: 92*44=4048, Resulting Numbers: [4048]
4048,93 unequal: No Solution
Exploring Operation: 92+44=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 93:[4, 44], Operations: ['36-32=4', '92-48=44']
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,93 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,93 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 93:[48, 96], Operations: ['36-32=4', '92+4=96']
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 48*96=4608, Resulting Numbers: [4608]
4608,93 unequal: No Solution
Exploring Operation: 48+96=144, Resulting Numbers: [144]
144,93 unequal: No Solution
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 93:[48, 88], Operations: ['36-32=4', '92-4=88']
Exploring Operation: 48+88=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Exploring Operation: 48*88=4224, Resulting Numbers: [4224]
4224,93 unequal: No Solution
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
38,
16,
6,
2
] | 67 | [
"16*6=96",
"38+96=134",
"134/2=67"
] | Current State: 67:[38, 16, 6, 2], Operations: []
Exploring Operation: 16*6=96, Resulting Numbers: [38, 2, 96]
Generated Node #2: [38, 2, 96] from Operation: 16*6=96
Current State: 67:[38, 2, 96], Operations: ['16*6=96']
Exploring Operation: 38+96=134, Resulting Numbers: [2, 134]
Generated Node #3: [2, 134] from Operation: 38+96=134
Current State: 67:[2, 134], Operations: ['16*6=96', '38+96=134']
Exploring Operation: 134/2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[38, 16, 6, 2], Operations: []
Exploring Operation: 38*2=76, Resulting Numbers: [16, 6, 76]
Generated Node #0,0: 67:[16, 6, 76] Operation: 38*2=76
Exploring Operation: 16*6=96, Resulting Numbers: [38, 2, 96]
Generated Node #0,1: 67:[38, 2, 96] Operation: 16*6=96
Exploring Operation: 6*2=12, Resulting Numbers: [38, 16, 12]
Generated Node #0,2: 67:[38, 16, 12] Operation: 6*2=12
Exploring Operation: 16*2=32, Resulting Numbers: [38, 6, 32]
Generated Node #0,3: 67:[38, 6, 32] Operation: 16*2=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[16, 6, 76], Operations: ['38*2=76']
Exploring Operation: 16*6=96, Resulting Numbers: [76, 96]
Generated Node #0,0,0: 67:[76, 96] Operation: 16*6=96
Exploring Operation: 16-6=10, Resulting Numbers: [76, 10]
Generated Node #0,0,1: 67:[76, 10] Operation: 16-6=10
Exploring Operation: 16+6=22, Resulting Numbers: [76, 22]
Generated Node #0,0,2: 67:[76, 22] Operation: 16+6=22
Exploring Operation: 76-6=70, Resulting Numbers: [16, 70]
Generated Node #0,0,3: 67:[16, 70] Operation: 76-6=70
Moving to Node #0,0,0
Current State: 67:[76, 96], Operations: ['38*2=76', '16*6=96']
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,67 unequal: No Solution
Exploring Operation: 76*96=7296, Resulting Numbers: [7296]
7296,67 unequal: No Solution
Exploring Operation: 76+96=172, Resulting Numbers: [172]
172,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[16, 70], Operations: ['38*2=76', '76-6=70']
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 16*70=1120, Resulting Numbers: [1120]
1120,67 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[76, 22], Operations: ['38*2=76', '16+6=22']
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,67 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[76, 10], Operations: ['38*2=76', '16-6=10']
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,67 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[38, 2, 96], Operations: ['16*6=96']
Exploring Operation: 38+2=40, Resulting Numbers: [96, 40]
Generated Node #0,1,0: 67:[96, 40] Operation: 38+2=40
Exploring Operation: 96/2=48, Resulting Numbers: [38, 48]
Generated Node #0,1,1: 67:[38, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [38, 94]
Generated Node #0,1,2: 67:[38, 94] Operation: 96-2=94
Exploring Operation: 38*2=76, Resulting Numbers: [96, 76]
Generated Node #0,1,3: 67:[96, 76] Operation: 38*2=76
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[96, 76], Operations: ['16*6=96', '38*2=76']
Exploring Operation: 96+76=172, Resulting Numbers: [172]
172,67 unequal: No Solution
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,67 unequal: No Solution
Exploring Operation: 96*76=7296, Resulting Numbers: [7296]
7296,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[38, 48], Operations: ['16*6=96', '96/2=48']
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,67 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[96, 40], Operations: ['16*6=96', '38+2=40']
Exploring Operation: 96*40=3840, Resulting Numbers: [3840]
3840,67 unequal: No Solution
Exploring Operation: 96+40=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[38, 94], Operations: ['16*6=96', '96-2=94']
Exploring Operation: 38+94=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 94-38=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 38*94=3572, Resulting Numbers: [3572]
3572,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[38, 6, 32], Operations: ['16*2=32']
Exploring Operation: 38+32=70, Resulting Numbers: [6, 70]
Generated Node #0,3,0: 67:[6, 70] Operation: 38+32=70
Exploring Operation: 38-6=32, Resulting Numbers: [32, 32]
Generated Node #0,3,1: 67:[32, 32] Operation: 38-6=32
Exploring Operation: 38+6=44, Resulting Numbers: [32, 44]
Generated Node #0,3,2: 67:[32, 44] Operation: 38+6=44
Exploring Operation: 6+32=38, Resulting Numbers: [38, 38]
Generated Node #0,3,3: 67:[38, 38] Operation: 6+32=38
Moving to Node #0,3,2
Current State: 67:[32, 44], Operations: ['16*2=32', '38+6=44']
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[38, 38], Operations: ['16*2=32', '6+32=38']
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,67 unequal: No Solution
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[6, 70], Operations: ['16*2=32', '38+32=70']
Exploring Operation: 6*70=420, Resulting Numbers: [420]
420,67 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[32, 32], Operations: ['16*2=32', '38-6=32']
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 32*32=1024, Resulting Numbers: [1024]
1024,67 unequal: No Solution
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[38, 16, 12], Operations: ['6*2=12']
Exploring Operation: 38-12=26, Resulting Numbers: [16, 26]
Generated Node #0,2,0: 67:[16, 26] Operation: 38-12=26
Exploring Operation: 38+12=50, Resulting Numbers: [16, 50]
Generated Node #0,2,1: 67:[16, 50] Operation: 38+12=50
Exploring Operation: 38+16=54, Resulting Numbers: [12, 54]
Generated Node #0,2,2: 67:[12, 54] Operation: 38+16=54
Exploring Operation: 16+12=28, Resulting Numbers: [38, 28]
Generated Node #0,2,3: 67:[38, 28] Operation: 16+12=28
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[16, 50], Operations: ['6*2=12', '38+12=50']
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[12, 54], Operations: ['6*2=12', '38+16=54']
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,67 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[38, 28], Operations: ['6*2=12', '16+12=28']
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[16, 26], Operations: ['6*2=12', '38-12=26']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,67 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
89,
47,
42,
38
] | 56 | [
"89+47=136",
"42+38=80",
"136-80=56"
] | Current State: 56:[89, 47, 42, 38], Operations: []
Exploring Operation: 89+47=136, Resulting Numbers: [42, 38, 136]
Generated Node #2: [42, 38, 136] from Operation: 89+47=136
Current State: 56:[42, 38, 136], Operations: ['89+47=136']
Exploring Operation: 42+38=80, Resulting Numbers: [136, 80]
Generated Node #3: [136, 80] from Operation: 42+38=80
Current State: 56:[136, 80], Operations: ['89+47=136', '42+38=80']
Exploring Operation: 136-80=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[89, 47, 42, 38], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [89, 47, 4]
Generated Node #0,0: 56:[89, 47, 4] Operation: 42-38=4
Exploring Operation: 89-47=42, Resulting Numbers: [42, 38, 42]
Generated Node #0,1: 56:[42, 38, 42] Operation: 89-47=42
Exploring Operation: 89-42=47, Resulting Numbers: [47, 38, 47]
Generated Node #0,2: 56:[47, 38, 47] Operation: 89-42=47
Exploring Operation: 89-38=51, Resulting Numbers: [47, 42, 51]
Generated Node #0,3: 56:[47, 42, 51] Operation: 89-38=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[47, 38, 47], Operations: ['89-42=47']
Exploring Operation: 47-47=0, Resulting Numbers: [38, 0]
Generated Node #0,2,0: 56:[38, 0] Operation: 47-47=0
Exploring Operation: 47-38=9, Resulting Numbers: [47, 9]
Generated Node #0,2,1: 56:[47, 9] Operation: 47-38=9
Exploring Operation: 47-38=9, Resulting Numbers: [47, 9]
Generated Node #0,2,2: 56:[47, 9] Operation: 47-38=9
Exploring Operation: 47/47=1, Resulting Numbers: [38, 1]
Generated Node #0,2,3: 56:[38, 1] Operation: 47/47=1
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[47, 9], Operations: ['89-42=47', '47-38=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[89, 47, 42, 38], Operations: []
Exploring Operation: 89-42=47, Resulting Numbers: [47, 38, 47]
Generated Node #0,2: 56:[47, 38, 47] Operation: 89-42=47
Moving to Node #0,2
Current State: 56:[47, 38, 47], Operations: ['89-42=47']
Exploring Operation: 47-38=9, Resulting Numbers: [47, 9]
Generated Node #0,2,1: 56:[47, 9] Operation: 47-38=9
Moving to Node #0,2,1
Current State: 56:[47, 9], Operations: ['89-42=47', '47-38=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
36,
18,
67,
29
] | 56 | [
"36-18=18",
"67-29=38",
"18+38=56"
] | Current State: 56:[36, 18, 67, 29], Operations: []
Exploring Operation: 36-18=18, Resulting Numbers: [67, 29, 18]
Generated Node #2: [67, 29, 18] from Operation: 36-18=18
Current State: 56:[67, 29, 18], Operations: ['36-18=18']
Exploring Operation: 67-29=38, Resulting Numbers: [18, 38]
Generated Node #3: [18, 38] from Operation: 67-29=38
Current State: 56:[18, 38], Operations: ['36-18=18', '67-29=38']
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[36, 18, 67, 29], Operations: []
Exploring Operation: 67-36=31, Resulting Numbers: [18, 29, 31]
Generated Node #0,0: 56:[18, 29, 31] Operation: 67-36=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[18, 29, 31], Operations: ['67-36=31']
Exploring Operation: 31-18=13, Resulting Numbers: [29, 13]
Generated Node #0,0,0: 56:[29, 13] Operation: 31-18=13
Moving to Node #0,0,0
Current State: 56:[29, 13], Operations: ['67-36=31', '31-18=13']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,56 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 |
[
89,
9,
90,
90
] | 11 | [
"90-89=1",
"90/9=10",
"1+10=11"
] | Current State: 11:[89, 9, 90, 90], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [9, 1]
Generated Node #2: [9, 1] from Operation: 90-89=1
Current State: 11:[9, 1], Operations: ['90-89=1']
Exploring Operation: 90/9=10, Resulting Numbers: [1, 10]
Generated Node #3: [1, 10] from Operation: 90/9=10
Current State: 11:[1, 10], Operations: ['90-89=1', '90/9=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[89, 9, 90, 90], Operations: []
Exploring Operation: 90/90=1, Resulting Numbers: [89, 9, 1]
Generated Node #0,0: 11:[89, 9, 1] Operation: 90/90=1
Exploring Operation: 90/9=10, Resulting Numbers: [89, 90, 10]
Generated Node #0,1: 11:[89, 90, 10] Operation: 90/9=10
Exploring Operation: 90-90=0, Resulting Numbers: [89, 9, 0]
Generated Node #0,2: 11:[89, 9, 0] Operation: 90-90=0
Exploring Operation: 90-89=1, Resulting Numbers: [9, 90, 1]
Generated Node #0,3: 11:[9, 90, 1] Operation: 90-89=1
Exploring Operation: 90-89=1, Resulting Numbers: [9, 90, 1]
Generated Node #0,4: 11:[9, 90, 1] Operation: 90-89=1
Moving to Node #0,0
Current State: 11:[89, 9, 1], Operations: ['90/90=1']
Exploring Operation: 89-1=88, Resulting Numbers: [9, 88]
Generated Node #0,0,0: 11:[9, 88] Operation: 89-1=88
Exploring Operation: 89*1=89, Resulting Numbers: [9, 89]
Generated Node #0,0,1: 11:[9, 89] Operation: 89*1=89
Exploring Operation: 89/1=89, Resulting Numbers: [9, 89]
Generated Node #0,0,2: 11:[9, 89] Operation: 89/1=89
Exploring Operation: 9+1=10, Resulting Numbers: [89, 10]
Generated Node #0,0,3: 11:[89, 10] Operation: 9+1=10
Exploring Operation: 89-9=80, Resulting Numbers: [1, 80]
Generated Node #0,0,4: 11:[1, 80] Operation: 89-9=80
Moving to Node #0,3
Current State: 11:[9, 90, 1], Operations: ['90-89=1']
Exploring Operation: 90/9=10, Resulting Numbers: [1, 10]
Generated Node #0,3,0: 11:[1, 10] Operation: 90/9=10
Exploring Operation: 90-1=89, Resulting Numbers: [9, 89]
Generated Node #0,3,1: 11:[9, 89] Operation: 90-1=89
Exploring Operation: 9+1=10, Resulting Numbers: [90, 10]
Generated Node #0,3,2: 11:[90, 10] Operation: 9+1=10
Exploring Operation: 90-9=81, Resulting Numbers: [1, 81]
Generated Node #0,3,3: 11:[1, 81] Operation: 90-9=81
Exploring Operation: 9*1=9, Resulting Numbers: [90, 9]
Generated Node #0,3,4: 11:[90, 9] Operation: 9*1=9
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[1, 10], Operations: ['90-89=1', '90/9=10']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[89, 9, 90, 90], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [9, 90, 1]
Generated Node #0,3: 11:[9, 90, 1] Operation: 90-89=1
Moving to Node #0,3
Current State: 11:[9, 90, 1], Operations: ['90-89=1']
Exploring Operation: 90/9=10, Resulting Numbers: [1, 10]
Generated Node #0,3,0: 11:[1, 10] Operation: 90/9=10
Moving to Node #0,3,0
Current State: 11:[1, 10], Operations: ['90-89=1', '90/9=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
2,
98,
74,
42
] | 34 | [
"74-42=32",
"2*32=64",
"98-64=34"
] | Current State: 34:[2, 98, 74, 42], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [2, 98, 32]
Generated Node #2: [2, 98, 32] from Operation: 74-42=32
Current State: 34:[2, 98, 32], Operations: ['74-42=32']
Exploring Operation: 2*32=64, Resulting Numbers: [98, 64]
Generated Node #3: [98, 64] from Operation: 2*32=64
Current State: 34:[98, 64], Operations: ['74-42=32', '2*32=64']
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[2, 98, 74, 42], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [74, 42, 49]
Generated Node #0,0: 34:[74, 42, 49] Operation: 98/2=49
Exploring Operation: 98-42=56, Resulting Numbers: [2, 74, 56]
Generated Node #0,1: 34:[2, 74, 56] Operation: 98-42=56
Exploring Operation: 98-74=24, Resulting Numbers: [2, 42, 24]
Generated Node #0,2: 34:[2, 42, 24] Operation: 98-74=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[2, 42, 24], Operations: ['98-74=24']
Exploring Operation: 42/2=21, Resulting Numbers: [24, 21]
Generated Node #0,2,0: 34:[24, 21] Operation: 42/2=21
Exploring Operation: 42-2=40, Resulting Numbers: [24, 40]
Generated Node #0,2,1: 34:[24, 40] Operation: 42-2=40
Exploring Operation: 42-24=18, Resulting Numbers: [2, 18]
Generated Node #0,2,2: 34:[2, 18] Operation: 42-24=18
Moving to Node #0,2,2
Current State: 34:[2, 18], Operations: ['98-74=24', '42-24=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[24, 21], Operations: ['98-74=24', '42/2=21']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,34 unequal: No Solution
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[24, 40], Operations: ['98-74=24', '42-2=40']
Exploring Operation: 24+40=64, Resulting Numbers: [64]
64,34 unequal: No Solution
Exploring Operation: 24*40=960, Resulting Numbers: [960]
960,34 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[2, 74, 56], Operations: ['98-42=56']
Exploring Operation: 74/2=37, Resulting Numbers: [56, 37]
Generated Node #0,1,0: 34:[56, 37] Operation: 74/2=37
Exploring Operation: 74-56=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 34:[2, 18] Operation: 74-56=18
Exploring Operation: 56/2=28, Resulting Numbers: [74, 28]
Generated Node #0,1,2: 34:[74, 28] Operation: 56/2=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[2, 18], Operations: ['98-42=56', '74-56=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,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,0
Current State: 34:[56, 37], Operations: ['98-42=56', '74/2=37']
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 56*37=2072, Resulting Numbers: [2072]
2072,34 unequal: No Solution
Exploring Operation: 56+37=93, Resulting Numbers: [93]
93,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:[74, 28], Operations: ['98-42=56', '56/2=28']
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 74+28=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 74*28=2072, Resulting Numbers: [2072]
2072,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,0
Current State: 34:[74, 42, 49], Operations: ['98/2=49']
Exploring Operation: 74-49=25, Resulting Numbers: [42, 25]
Generated Node #0,0,0: 34:[42, 25] Operation: 74-49=25
Exploring Operation: 74-42=32, Resulting Numbers: [49, 32]
Generated Node #0,0,1: 34:[49, 32] Operation: 74-42=32
Exploring Operation: 49-42=7, Resulting Numbers: [74, 7]
Generated Node #0,0,2: 34:[74, 7] Operation: 49-42=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[42, 25], Operations: ['98/2=49', '74-49=25']
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,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,1
Current State: 34:[49, 32], Operations: ['98/2=49', '74-42=32']
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,34 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,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:[74, 7], Operations: ['98/2=49', '49-42=7']
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,34 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 74*7=518, Resulting Numbers: [518]
518,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_3 | mult_heuristic |
[
94,
36,
87,
17
] | 83 | [
"94-87=7",
"17*7=119",
"119-36=83"
] | Current State: 83:[94, 36, 87, 17], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [36, 17, 7]
Generated Node #2: [36, 17, 7] from Operation: 94-87=7
Current State: 83:[36, 17, 7], Operations: ['94-87=7']
Exploring Operation: 17*7=119, Resulting Numbers: [36, 119]
Generated Node #3: [36, 119] from Operation: 17*7=119
Current State: 83:[36, 119], Operations: ['94-87=7', '17*7=119']
Exploring Operation: 119-36=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[94, 36, 87, 17], Operations: []
Exploring Operation: 36+17=53, Resulting Numbers: [94, 87, 53]
Generated Node #0,0: 83:[94, 87, 53] Operation: 36+17=53
Moving to Node #0,0
Current State: 83:[94, 87, 53], Operations: ['36+17=53']
Exploring Operation: 94-53=41, Resulting Numbers: [87, 41]
Generated Node #0,0,0: 83:[87, 41] Operation: 94-53=41
Moving to Node #0,0,0
Current State: 83:[87, 41], Operations: ['36+17=53', '94-53=41']
Exploring Operation: 87-41=46, Resulting Numbers: [46]
46,83 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
54,
24,
74
] | 18 | [
"14+54=68",
"74-24=50",
"68-50=18"
] | Current State: 18:[14, 54, 24, 74], Operations: []
Exploring Operation: 14+54=68, Resulting Numbers: [24, 74, 68]
Generated Node #2: [24, 74, 68] from Operation: 14+54=68
Current State: 18:[24, 74, 68], Operations: ['14+54=68']
Exploring Operation: 74-24=50, Resulting Numbers: [68, 50]
Generated Node #3: [68, 50] from Operation: 74-24=50
Current State: 18:[68, 50], Operations: ['14+54=68', '74-24=50']
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[14, 54, 24, 74], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [14, 24, 20]
Generated Node #0,0: 18:[14, 24, 20] Operation: 74-54=20
Exploring Operation: 54-24=30, Resulting Numbers: [14, 74, 30]
Generated Node #0,1: 18:[14, 74, 30] Operation: 54-24=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[14, 24, 20], Operations: ['74-54=20']
Exploring Operation: 24-14=10, Resulting Numbers: [20, 10]
Generated Node #0,0,0: 18:[20, 10] Operation: 24-14=10
Exploring Operation: 24-20=4, Resulting Numbers: [14, 4]
Generated Node #0,0,1: 18:[14, 4] Operation: 24-20=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[20, 10], Operations: ['74-54=20', '24-14=10']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,18 unequal: No Solution
No 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: 18:[14, 4], Operations: ['74-54=20', '24-20=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[14, 54, 24, 74], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [14, 24, 20]
Generated Node #0,0: 18:[14, 24, 20] Operation: 74-54=20
Moving to Node #0,0
Current State: 18:[14, 24, 20], Operations: ['74-54=20']
Exploring Operation: 24-20=4, Resulting Numbers: [14, 4]
Generated Node #0,0,1: 18:[14, 4] Operation: 24-20=4
Moving to Node #0,0,1
Current State: 18:[14, 4], Operations: ['74-54=20', '24-20=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
72,
46,
83,
90
] | 19 | [
"72-46=26",
"90-83=7",
"26-7=19"
] | Current State: 19:[72, 46, 83, 90], Operations: []
Exploring Operation: 72-46=26, Resulting Numbers: [83, 90, 26]
Generated Node #2: [83, 90, 26] from Operation: 72-46=26
Current State: 19:[83, 90, 26], Operations: ['72-46=26']
Exploring Operation: 90-83=7, Resulting Numbers: [26, 7]
Generated Node #3: [26, 7] from Operation: 90-83=7
Current State: 19:[26, 7], Operations: ['72-46=26', '90-83=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[72, 46, 83, 90], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [72, 46, 7]
Generated Node #0,0: 19:[72, 46, 7] Operation: 90-83=7
Exploring Operation: 83-72=11, Resulting Numbers: [46, 90, 11]
Generated Node #0,1: 19:[46, 90, 11] Operation: 83-72=11
Exploring Operation: 72-46=26, Resulting Numbers: [83, 90, 26]
Generated Node #0,2: 19:[83, 90, 26] Operation: 72-46=26
Exploring Operation: 90-72=18, Resulting Numbers: [46, 83, 18]
Generated Node #0,3: 19:[46, 83, 18] Operation: 90-72=18
Moving to Node #0,0
Current State: 19:[72, 46, 7], Operations: ['90-83=7']
Exploring Operation: 72-7=65, Resulting Numbers: [46, 65]
Generated Node #0,0,0: 19:[46, 65] Operation: 72-7=65
Exploring Operation: 72-46=26, Resulting Numbers: [7, 26]
Generated Node #0,0,1: 19:[7, 26] Operation: 72-46=26
Exploring Operation: 46-7=39, Resulting Numbers: [72, 39]
Generated Node #0,0,2: 19:[72, 39] Operation: 46-7=39
Exploring Operation: 72+7=79, Resulting Numbers: [46, 79]
Generated Node #0,0,3: 19:[46, 79] Operation: 72+7=79
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[7, 26], Operations: ['90-83=7', '72-46=26']
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,19 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[72, 46, 83, 90], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [72, 46, 7]
Generated Node #0,0: 19:[72, 46, 7] Operation: 90-83=7
Moving to Node #0,0
Current State: 19:[72, 46, 7], Operations: ['90-83=7']
Exploring Operation: 72-46=26, Resulting Numbers: [7, 26]
Generated Node #0,0,1: 19:[7, 26] Operation: 72-46=26
Moving to Node #0,0,1
Current State: 19:[7, 26], Operations: ['90-83=7', '72-46=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
35,
58,
55,
40
] | 29 | [
"55-35=20",
"58*20=1160",
"1160/40=29"
] | Current State: 29:[35, 58, 55, 40], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [58, 40, 20]
Generated Node #2: [58, 40, 20] from Operation: 55-35=20
Current State: 29:[58, 40, 20], Operations: ['55-35=20']
Exploring Operation: 58*20=1160, Resulting Numbers: [40, 1160]
Generated Node #3: [40, 1160] from Operation: 58*20=1160
Current State: 29:[40, 1160], Operations: ['55-35=20', '58*20=1160']
Exploring Operation: 1160/40=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[35, 58, 55, 40], Operations: []
Exploring Operation: 58-35=23, Resulting Numbers: [55, 40, 23]
Generated Node #0,0: 29:[55, 40, 23] Operation: 58-35=23
Exploring Operation: 58-40=18, Resulting Numbers: [35, 55, 18]
Generated Node #0,1: 29:[35, 55, 18] Operation: 58-40=18
Exploring Operation: 55-35=20, Resulting Numbers: [58, 40, 20]
Generated Node #0,2: 29:[58, 40, 20] Operation: 55-35=20
Exploring Operation: 58-55=3, Resulting Numbers: [35, 40, 3]
Generated Node #0,3: 29:[35, 40, 3] Operation: 58-55=3
Moving to Node #0,0
Current State: 29:[55, 40, 23], Operations: ['58-35=23']
Exploring Operation: 55-23=32, Resulting Numbers: [40, 32]
Generated Node #0,0,0: 29:[40, 32] Operation: 55-23=32
Exploring Operation: 40-23=17, Resulting Numbers: [55, 17]
Generated Node #0,0,1: 29:[55, 17] Operation: 40-23=17
Exploring Operation: 55-40=15, Resulting Numbers: [23, 15]
Generated Node #0,0,2: 29:[23, 15] Operation: 55-40=15
Exploring Operation: 55+23=78, Resulting Numbers: [40, 78]
Generated Node #0,0,3: 29:[40, 78] Operation: 55+23=78
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[40, 32], Operations: ['58-35=23', '55-23=32']
Exploring Operation: 40*32=1280, Resulting Numbers: [1280]
1280,29 unequal: No Solution
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,29 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[23, 15], Operations: ['58-35=23', '55-40=15']
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,29 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,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:[55, 17], Operations: ['58-35=23', '40-23=17']
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,29 unequal: No Solution
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,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:[40, 78], Operations: ['58-35=23', '55+23=78']
Exploring Operation: 40+78=118, Resulting Numbers: [118]
118,29 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 40*78=3120, Resulting Numbers: [3120]
3120,29 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: 29:[35, 40, 3], Operations: ['58-55=3']
Exploring Operation: 40+3=43, Resulting Numbers: [35, 43]
Generated Node #0,3,0: 29:[35, 43] Operation: 40+3=43
Exploring Operation: 35-3=32, Resulting Numbers: [40, 32]
Generated Node #0,3,1: 29:[40, 32] Operation: 35-3=32
Exploring Operation: 40-3=37, Resulting Numbers: [35, 37]
Generated Node #0,3,2: 29:[35, 37] Operation: 40-3=37
Exploring Operation: 35+3=38, Resulting Numbers: [40, 38]
Generated Node #0,3,3: 29:[40, 38] Operation: 35+3=38
Moving to Node #0,1
Current State: 29:[35, 55, 18], Operations: ['58-40=18']
Exploring Operation: 35+18=53, Resulting Numbers: [55, 53]
Generated Node #0,1,0: 29:[55, 53] Operation: 35+18=53
Exploring Operation: 55-18=37, Resulting Numbers: [35, 37]
Generated Node #0,1,1: 29:[35, 37] Operation: 55-18=37
Exploring Operation: 55-35=20, Resulting Numbers: [18, 20]
Generated Node #0,1,2: 29:[18, 20] Operation: 55-35=20
Exploring Operation: 35-18=17, Resulting Numbers: [55, 17]
Generated Node #0,1,3: 29:[55, 17] Operation: 35-18=17
Moving to Node #0,2
Current State: 29:[58, 40, 20], Operations: ['55-35=20']
Exploring Operation: 40/20=2, Resulting Numbers: [58, 2]
Generated Node #0,2,0: 29:[58, 2] Operation: 40/20=2
Exploring Operation: 58-40=18, Resulting Numbers: [20, 18]
Generated Node #0,2,1: 29:[20, 18] Operation: 58-40=18
Exploring Operation: 58-20=38, Resulting Numbers: [40, 38]
Generated Node #0,2,2: 29:[40, 38] Operation: 58-20=38
Exploring Operation: 40-20=20, Resulting Numbers: [58, 20]
Generated Node #0,2,3: 29:[58, 20] Operation: 40-20=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[20, 18], Operations: ['55-35=20', '58-40=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,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:[40, 38], Operations: ['55-35=20', '58-20=38']
Exploring Operation: 40*38=1520, Resulting Numbers: [1520]
1520,29 unequal: No Solution
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 40+38=78, Resulting Numbers: [78]
78,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[58, 20], Operations: ['55-35=20', '40-20=20']
Exploring Operation: 58+20=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 58*20=1160, Resulting Numbers: [1160]
1160,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:[58, 2], Operations: ['55-35=20', '40/20=2']
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,29 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[35, 58, 55, 40], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [58, 40, 20]
Generated Node #0,2: 29:[58, 40, 20] Operation: 55-35=20
Moving to Node #0,2
Current State: 29:[58, 40, 20], Operations: ['55-35=20']
Exploring Operation: 40/20=2, Resulting Numbers: [58, 2]
Generated Node #0,2,0: 29:[58, 2] Operation: 40/20=2
Moving to Node #0,2,0
Current State: 29:[58, 2], Operations: ['55-35=20', '40/20=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | sum_heuristic |
[
54,
45,
4,
2
] | 63 | [
"54*4=216",
"216/2=108",
"108-45=63"
] | Current State: 63:[54, 45, 4, 2], Operations: []
Exploring Operation: 54*4=216, Resulting Numbers: [45, 2, 216]
Generated Node #2: [45, 2, 216] from Operation: 54*4=216
Current State: 63:[45, 2, 216], Operations: ['54*4=216']
Exploring Operation: 216/2=108, Resulting Numbers: [45, 108]
Generated Node #3: [45, 108] from Operation: 216/2=108
Current State: 63:[45, 108], Operations: ['54*4=216', '216/2=108']
Exploring Operation: 108-45=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[54, 45, 4, 2], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [4, 2, 9]
Generated Node #0,0: 63:[4, 2, 9] Operation: 54-45=9
Exploring Operation: 45+4=49, Resulting Numbers: [54, 2, 49]
Generated Node #0,1: 63:[54, 2, 49] Operation: 45+4=49
Exploring Operation: 54/2=27, Resulting Numbers: [45, 4, 27]
Generated Node #0,2: 63:[45, 4, 27] Operation: 54/2=27
Exploring Operation: 54+2=56, Resulting Numbers: [45, 4, 56]
Generated Node #0,3: 63:[45, 4, 56] Operation: 54+2=56
Exploring Operation: 54+4=58, Resulting Numbers: [45, 2, 58]
Generated Node #0,4: 63:[45, 2, 58] Operation: 54+4=58
Moving to Node #0,0
Current State: 63:[4, 2, 9], Operations: ['54-45=9']
Exploring Operation: 4/2=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 63:[9, 2] Operation: 4/2=2
Exploring Operation: 9-2=7, Resulting Numbers: [4, 7]
Generated Node #0,0,1: 63:[4, 7] Operation: 9-2=7
Exploring Operation: 4*2=8, Resulting Numbers: [9, 8]
Generated Node #0,0,2: 63:[9, 8] Operation: 4*2=8
Exploring Operation: 4-2=2, Resulting Numbers: [9, 2]
Generated Node #0,0,3: 63:[9, 2] Operation: 4-2=2
Exploring Operation: 4+2=6, Resulting Numbers: [9, 6]
Generated Node #0,0,4: 63:[9, 6] Operation: 4+2=6
Moving to Node #0,4
Current State: 63:[45, 2, 58], Operations: ['54+4=58']
Exploring Operation: 2+58=60, Resulting Numbers: [45, 60]
Generated Node #0,4,0: 63:[45, 60] Operation: 2+58=60
Exploring Operation: 58-45=13, Resulting Numbers: [2, 13]
Generated Node #0,4,1: 63:[2, 13] Operation: 58-45=13
Exploring Operation: 58-2=56, Resulting Numbers: [45, 56]
Generated Node #0,4,2: 63:[45, 56] Operation: 58-2=56
Exploring Operation: 45+2=47, Resulting Numbers: [58, 47]
Generated Node #0,4,3: 63:[58, 47] Operation: 45+2=47
Exploring Operation: 45-2=43, Resulting Numbers: [58, 43]
Generated Node #0,4,4: 63:[58, 43] Operation: 45-2=43
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 63:[2, 13], Operations: ['54+4=58', '58-45=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 63:[45, 60], Operations: ['54+4=58', '2+58=60']
Exploring Operation: 45*60=2700, Resulting Numbers: [2700]
2700,63 unequal: No Solution
Exploring Operation: 60-45=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 45+60=105, Resulting Numbers: [105]
105,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 63:[58, 47], Operations: ['54+4=58', '45+2=47']
Exploring Operation: 58*47=2726, Resulting Numbers: [2726]
2726,63 unequal: No Solution
Exploring Operation: 58+47=105, Resulting Numbers: [105]
105,63 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 63:[45, 56], Operations: ['54+4=58', '58-2=56']
Exploring Operation: 45*56=2520, Resulting Numbers: [2520]
2520,63 unequal: No Solution
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 45+56=101, Resulting Numbers: [101]
101,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 63:[58, 43], Operations: ['54+4=58', '45-2=43']
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,63 unequal: No Solution
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,63 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 63:[54, 2, 49], Operations: ['45+4=49']
Exploring Operation: 54/2=27, Resulting Numbers: [49, 27]
Generated Node #0,1,0: 63:[49, 27] Operation: 54/2=27
Exploring Operation: 2+49=51, Resulting Numbers: [54, 51]
Generated Node #0,1,1: 63:[54, 51] Operation: 2+49=51
Exploring Operation: 54+2=56, Resulting Numbers: [49, 56]
Generated Node #0,1,2: 63:[49, 56] Operation: 54+2=56
Exploring Operation: 54-49=5, Resulting Numbers: [2, 5]
Generated Node #0,1,3: 63:[2, 5] Operation: 54-49=5
Exploring Operation: 54-2=52, Resulting Numbers: [49, 52]
Generated Node #0,1,4: 63:[49, 52] Operation: 54-2=52
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 63:[2, 5], Operations: ['45+4=49', '54-49=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[49, 27], Operations: ['45+4=49', '54/2=27']
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,63 unequal: No Solution
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,63 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[54, 51], Operations: ['45+4=49', '2+49=51']
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,63 unequal: No Solution
Exploring Operation: 54*51=2754, Resulting Numbers: [2754]
2754,63 unequal: No Solution
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 63:[49, 56], Operations: ['45+4=49', '54+2=56']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 49*56=2744, Resulting Numbers: [2744]
2744,63 unequal: No Solution
Exploring Operation: 49+56=105, Resulting Numbers: [105]
105,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 63:[49, 52], Operations: ['45+4=49', '54-2=52']
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,63 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,63 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: 63:[45, 4, 27], Operations: ['54/2=27']
Exploring Operation: 45+27=72, Resulting Numbers: [4, 72]
Generated Node #0,2,0: 63:[4, 72] Operation: 45+27=72
Exploring Operation: 27-4=23, Resulting Numbers: [45, 23]
Generated Node #0,2,1: 63:[45, 23] Operation: 27-4=23
Exploring Operation: 45-4=41, Resulting Numbers: [27, 41]
Generated Node #0,2,2: 63:[27, 41] Operation: 45-4=41
Exploring Operation: 45+4=49, Resulting Numbers: [27, 49]
Generated Node #0,2,3: 63:[27, 49] Operation: 45+4=49
Exploring Operation: 45-27=18, Resulting Numbers: [4, 18]
Generated Node #0,2,4: 63:[4, 18] Operation: 45-27=18
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 63:[4, 18], Operations: ['54/2=27', '45-27=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,63 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[4, 72], Operations: ['54/2=27', '45+27=72']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,63 unequal: No Solution
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,63 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[45, 23], Operations: ['54/2=27', '27-4=23']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 45*23=1035, Resulting Numbers: [1035]
1035,63 unequal: No Solution
Exploring Operation: 45+23=68, Resulting Numbers: [68]
68,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 63:[27, 49], Operations: ['54/2=27', '45+4=49']
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,63 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[27, 41], Operations: ['54/2=27', '45-4=41']
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,63 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,63 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: 63:[45, 4, 56], Operations: ['54+2=56']
Exploring Operation: 56-45=11, Resulting Numbers: [4, 11]
Generated Node #0,3,0: 63:[4, 11] Operation: 56-45=11
Exploring Operation: 45-4=41, Resulting Numbers: [56, 41]
Generated Node #0,3,1: 63:[56, 41] Operation: 45-4=41
Exploring Operation: 4+56=60, Resulting Numbers: [45, 60]
Generated Node #0,3,2: 63:[45, 60] Operation: 4+56=60
Exploring Operation: 56/4=14, Resulting Numbers: [45, 14]
Generated Node #0,3,3: 63:[45, 14] Operation: 56/4=14
Exploring Operation: 45+4=49, Resulting Numbers: [56, 49]
Generated Node #0,3,4: 63:[56, 49] Operation: 45+4=49
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[4, 11], Operations: ['54+2=56', '56-45=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 63:[45, 60], Operations: ['54+2=56', '4+56=60']
Exploring Operation: 45*60=2700, Resulting Numbers: [2700]
2700,63 unequal: No Solution
Exploring Operation: 60-45=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 45+60=105, Resulting Numbers: [105]
105,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 63:[56, 49], Operations: ['54+2=56', '45+4=49']
Exploring Operation: 56*49=2744, Resulting Numbers: [2744]
2744,63 unequal: No Solution
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 56+49=105, Resulting Numbers: [105]
105,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[45, 14], Operations: ['54+2=56', '56/4=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,63 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 63:[56, 41], Operations: ['54+2=56', '45-4=41']
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,63 unequal: No Solution
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 63:[9, 2], Operations: ['54-45=9', '4/2=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[9, 8], Operations: ['54-45=9', '4*2=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,63 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[9, 6], Operations: ['54-45=9', '4+2=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[4, 7], Operations: ['54-45=9', '9-2=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[9, 2], Operations: ['54-45=9', '4-2=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,63 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
28,
56,
29,
41
] | 99 | [
"56/28=2",
"29*2=58",
"41+58=99"
] | Current State: 99:[28, 56, 29, 41], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [29, 41, 2]
Generated Node #2: [29, 41, 2] from Operation: 56/28=2
Current State: 99:[29, 41, 2], Operations: ['56/28=2']
Exploring Operation: 29*2=58, Resulting Numbers: [41, 58]
Generated Node #3: [41, 58] from Operation: 29*2=58
Current State: 99:[41, 58], Operations: ['56/28=2', '29*2=58']
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[28, 56, 29, 41], Operations: []
Exploring Operation: 56+41=97, Resulting Numbers: [28, 29, 97]
Generated Node #0,0: 99:[28, 29, 97] Operation: 56+41=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[28, 29, 97], Operations: ['56+41=97']
Exploring Operation: 29-28=1, Resulting Numbers: [97, 1]
Generated Node #0,0,0: 99:[97, 1] Operation: 29-28=1
Moving to Node #0,0,0
Current State: 99:[97, 1], Operations: ['56+41=97', '29-28=1']
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
25,
49,
10,
43
] | 100 | [
"49-10=39",
"43-39=4",
"25*4=100"
] | Current State: 100:[25, 49, 10, 43], Operations: []
Exploring Operation: 49-10=39, Resulting Numbers: [25, 43, 39]
Generated Node #2: [25, 43, 39] from Operation: 49-10=39
Current State: 100:[25, 43, 39], Operations: ['49-10=39']
Exploring Operation: 43-39=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 43-39=4
Current State: 100:[25, 4], Operations: ['49-10=39', '43-39=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[25, 49, 10, 43], Operations: []
Exploring Operation: 10+43=53, Resulting Numbers: [25, 49, 53]
Generated Node #0,0: 100:[25, 49, 53] Operation: 10+43=53
Exploring Operation: 49-25=24, Resulting Numbers: [10, 43, 24]
Generated Node #0,1: 100:[10, 43, 24] Operation: 49-25=24
Exploring Operation: 49-43=6, Resulting Numbers: [25, 10, 6]
Generated Node #0,2: 100:[25, 10, 6] Operation: 49-43=6
Exploring Operation: 43-25=18, Resulting Numbers: [49, 10, 18]
Generated Node #0,3: 100:[49, 10, 18] Operation: 43-25=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[25, 10, 6], Operations: ['49-43=6']
Exploring Operation: 25-6=19, Resulting Numbers: [10, 19]
Generated Node #0,2,0: 100:[10, 19] Operation: 25-6=19
Exploring Operation: 10-6=4, Resulting Numbers: [25, 4]
Generated Node #0,2,1: 100:[25, 4] Operation: 10-6=4
Exploring Operation: 10+6=16, Resulting Numbers: [25, 16]
Generated Node #0,2,2: 100:[25, 16] Operation: 10+6=16
Exploring Operation: 25-10=15, Resulting Numbers: [6, 15]
Generated Node #0,2,3: 100:[6, 15] Operation: 25-10=15
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[25, 4], Operations: ['49-43=6', '10-6=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[25, 49, 10, 43], Operations: []
Exploring Operation: 49-43=6, Resulting Numbers: [25, 10, 6]
Generated Node #0,2: 100:[25, 10, 6] Operation: 49-43=6
Moving to Node #0,2
Current State: 100:[25, 10, 6], Operations: ['49-43=6']
Exploring Operation: 10-6=4, Resulting Numbers: [25, 4]
Generated Node #0,2,1: 100:[25, 4] Operation: 10-6=4
Moving to Node #0,2,1
Current State: 100:[25, 4], Operations: ['49-43=6', '10-6=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
57,
27,
70,
70
] | 85 | [
"57+27=84",
"70/70=1",
"84+1=85"
] | Current State: 85:[57, 27, 70, 70], Operations: []
Exploring Operation: 57+27=84, Resulting Numbers: [70, 70, 84]
Generated Node #2: [70, 70, 84] from Operation: 57+27=84
Current State: 85:[70, 70, 84], Operations: ['57+27=84']
Exploring Operation: 70/70=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 70/70=1
Current State: 85:[84, 1], Operations: ['57+27=84', '70/70=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[57, 27, 70, 70], Operations: []
Exploring Operation: 70-57=13, Resulting Numbers: [27, 70, 13]
Generated Node #0,0: 85:[27, 70, 13] Operation: 70-57=13
Exploring Operation: 57+27=84, Resulting Numbers: [70, 70, 84]
Generated Node #0,1: 85:[70, 70, 84] Operation: 57+27=84
Exploring Operation: 70-57=13, Resulting Numbers: [27, 70, 13]
Generated Node #0,2: 85:[27, 70, 13] Operation: 70-57=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[27, 70, 13], Operations: ['70-57=13']
Exploring Operation: 27+70=97, Resulting Numbers: [13, 97]
Generated Node #0,0,0: 85:[13, 97] Operation: 27+70=97
Exploring Operation: 70+13=83, Resulting Numbers: [27, 83]
Generated Node #0,0,1: 85:[27, 83] Operation: 70+13=83
Exploring Operation: 27-13=14, Resulting Numbers: [70, 14]
Generated Node #0,0,2: 85:[70, 14] Operation: 27-13=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[27, 83], Operations: ['70-57=13', '70+13=83']
Exploring Operation: 27*83=2241, Resulting Numbers: [2241]
2241,85 unequal: No Solution
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 27+83=110, Resulting Numbers: [110]
110,85 unequal: No Solution
No 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: 85:[13, 97], Operations: ['70-57=13', '27+70=97']
Exploring Operation: 13*97=1261, Resulting Numbers: [1261]
1261,85 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 13+97=110, Resulting Numbers: [110]
110,85 unequal: No Solution
No 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: 85:[70, 14], Operations: ['70-57=13', '27-13=14']
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,85 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: 85:[27, 70, 13], Operations: ['70-57=13']
Exploring Operation: 27+70=97, Resulting Numbers: [13, 97]
Generated Node #0,2,0: 85:[13, 97] Operation: 27+70=97
Exploring Operation: 70+13=83, Resulting Numbers: [27, 83]
Generated Node #0,2,1: 85:[27, 83] Operation: 70+13=83
Exploring Operation: 27-13=14, Resulting Numbers: [70, 14]
Generated Node #0,2,2: 85:[70, 14] Operation: 27-13=14
Moving to Node #0,2,1
Current State: 85:[27, 83], Operations: ['70-57=13', '70+13=83']
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 27*83=2241, Resulting Numbers: [2241]
2241,85 unequal: No Solution
Exploring Operation: 27+83=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[13, 97], Operations: ['70-57=13', '27+70=97']
Exploring Operation: 13*97=1261, Resulting Numbers: [1261]
1261,85 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 13+97=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[70, 14], Operations: ['70-57=13', '27-13=14']
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,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
Current State: 85:[70, 70, 84], Operations: ['57+27=84']
Exploring Operation: 70-70=0, Resulting Numbers: [84, 0]
Generated Node #0,1,0: 85:[84, 0] Operation: 70-70=0
Exploring Operation: 84-70=14, Resulting Numbers: [70, 14]
Generated Node #0,1,1: 85:[70, 14] Operation: 84-70=14
Exploring Operation: 70/70=1, Resulting Numbers: [84, 1]
Generated Node #0,1,2: 85:[84, 1] Operation: 70/70=1
Moving to Node #0,1,2
Current State: 85:[84, 1], Operations: ['57+27=84', '70/70=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[57, 27, 70, 70], Operations: []
Exploring Operation: 57+27=84, Resulting Numbers: [70, 70, 84]
Generated Node #0,1: 85:[70, 70, 84] Operation: 57+27=84
Moving to Node #0,1
Current State: 85:[70, 70, 84], Operations: ['57+27=84']
Exploring Operation: 70/70=1, Resulting Numbers: [84, 1]
Generated Node #0,1,2: 85:[84, 1] Operation: 70/70=1
Moving to Node #0,1,2
Current State: 85:[84, 1], Operations: ['57+27=84', '70/70=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | mult_heuristic |
[
5,
87,
10,
24
] | 99 | [
"10/5=2",
"24/2=12",
"87+12=99"
] | Current State: 99:[5, 87, 10, 24], Operations: []
Exploring Operation: 10/5=2, Resulting Numbers: [87, 24, 2]
Generated Node #2: [87, 24, 2] from Operation: 10/5=2
Current State: 99:[87, 24, 2], Operations: ['10/5=2']
Exploring Operation: 24/2=12, Resulting Numbers: [87, 12]
Generated Node #3: [87, 12] from Operation: 24/2=12
Current State: 99:[87, 12], Operations: ['10/5=2', '24/2=12']
Exploring Operation: 87+12=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[5, 87, 10, 24], Operations: []
Exploring Operation: 5+87=92, Resulting Numbers: [10, 24, 92]
Generated Node #0,0: 99:[10, 24, 92] Operation: 5+87=92
Exploring Operation: 10+24=34, Resulting Numbers: [5, 87, 34]
Generated Node #0,1: 99:[5, 87, 34] Operation: 10+24=34
Exploring Operation: 5+24=29, Resulting Numbers: [87, 10, 29]
Generated Node #0,2: 99:[87, 10, 29] Operation: 5+24=29
Exploring Operation: 87+24=111, Resulting Numbers: [5, 10, 111]
Generated Node #0,3: 99:[5, 10, 111] Operation: 87+24=111
Exploring Operation: 87+10=97, Resulting Numbers: [5, 24, 97]
Generated Node #0,4: 99:[5, 24, 97] Operation: 87+10=97
Start Sub Search at level 1: Moving to Node #0,4
Current State: 99:[5, 24, 97], Operations: ['87+10=97']
Exploring Operation: 5+24=29, Resulting Numbers: [97, 29]
Generated Node #0,4,0: 99:[97, 29] Operation: 5+24=29
Exploring Operation: 5+97=102, Resulting Numbers: [24, 102]
Generated Node #0,4,1: 99:[24, 102] Operation: 5+97=102
Exploring Operation: 5*24=120, Resulting Numbers: [97, 120]
Generated Node #0,4,2: 99:[97, 120] Operation: 5*24=120
Exploring Operation: 24-5=19, Resulting Numbers: [97, 19]
Generated Node #0,4,3: 99:[97, 19] Operation: 24-5=19
Exploring Operation: 97-5=92, Resulting Numbers: [24, 92]
Generated Node #0,4,4: 99:[24, 92] Operation: 97-5=92
Moving to Node #0,4,0
Current State: 99:[97, 29], Operations: ['87+10=97', '5+24=29']
Exploring Operation: 97*29=2813, Resulting Numbers: [2813]
2813,99 unequal: No Solution
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 97+29=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Moving to Node #0,4,3
Current State: 99:[97, 19], Operations: ['87+10=97', '24-5=19']
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,99 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Moving to Node #0,4,1
Current State: 99:[24, 102], Operations: ['87+10=97', '5+97=102']
Exploring Operation: 102-24=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Exploring Operation: 24+102=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Exploring Operation: 24*102=2448, Resulting Numbers: [2448]
2448,99 unequal: No Solution
Moving to Node #0,4,4
Current State: 99:[24, 92], Operations: ['87+10=97', '97-5=92']
Exploring Operation: 24*92=2208, Resulting Numbers: [2208]
2208,99 unequal: No Solution
Exploring Operation: 24+92=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Moving to Node #0,4,2
Current State: 99:[97, 120], Operations: ['87+10=97', '5*24=120']
Exploring Operation: 97*120=11640, Resulting Numbers: [11640]
11640,99 unequal: No Solution
Exploring Operation: 120-97=23, Resulting Numbers: [23]
23,99 unequal: No Solution
Exploring Operation: 97+120=217, Resulting Numbers: [217]
217,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,1
Current State: 99:[5, 87, 34], Operations: ['10+24=34']
Exploring Operation: 87-5=82, Resulting Numbers: [34, 82]
Generated Node #0,1,0: 99:[34, 82] Operation: 87-5=82
Exploring Operation: 5+87=92, Resulting Numbers: [34, 92]
Generated Node #0,1,1: 99:[34, 92] Operation: 5+87=92
Exploring Operation: 5+34=39, Resulting Numbers: [87, 39]
Generated Node #0,1,2: 99:[87, 39] Operation: 5+34=39
Exploring Operation: 34-5=29, Resulting Numbers: [87, 29]
Generated Node #0,1,3: 99:[87, 29] Operation: 34-5=29
Exploring Operation: 87-34=53, Resulting Numbers: [5, 53]
Generated Node #0,1,4: 99:[5, 53] Operation: 87-34=53
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[34, 92], Operations: ['10+24=34', '5+87=92']
Exploring Operation: 34+92=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 34*92=3128, Resulting Numbers: [3128]
3128,99 unequal: No Solution
No 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: 99:[87, 29], Operations: ['10+24=34', '34-5=29']
Exploring Operation: 87+29=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 87*29=2523, Resulting Numbers: [2523]
2523,99 unequal: No Solution
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,99 unequal: No Solution
No 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: 99:[34, 82], Operations: ['10+24=34', '87-5=82']
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,99 unequal: No Solution
No 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: 99:[87, 39], Operations: ['10+24=34', '5+34=39']
Exploring Operation: 87*39=3393, Resulting Numbers: [3393]
3393,99 unequal: No Solution
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,99 unequal: No Solution
No 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: 99:[5, 53], Operations: ['10+24=34', '87-34=53']
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,99 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[5, 10, 111], Operations: ['87+24=111']
Exploring Operation: 111-5=106, Resulting Numbers: [10, 106]
Generated Node #0,3,0: 99:[10, 106] Operation: 111-5=106
Exploring Operation: 10/5=2, Resulting Numbers: [111, 2]
Generated Node #0,3,1: 99:[111, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [111, 5]
Generated Node #0,3,2: 99:[111, 5] Operation: 10-5=5
Exploring Operation: 5+10=15, Resulting Numbers: [111, 15]
Generated Node #0,3,3: 99:[111, 15] Operation: 5+10=15
Exploring Operation: 111-10=101, Resulting Numbers: [5, 101]
Generated Node #0,3,4: 99:[5, 101] Operation: 111-10=101
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 99:[5, 101], Operations: ['87+24=111', '111-10=101']
Exploring Operation: 5+101=106, Resulting Numbers: [106]
106,99 unequal: No Solution
Exploring Operation: 5*101=505, Resulting Numbers: [505]
505,99 unequal: No Solution
Exploring Operation: 101-5=96, Resulting Numbers: [96]
96,99 unequal: No Solution
No 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: 99:[10, 106], Operations: ['87+24=111', '111-5=106']
Exploring Operation: 10+106=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Exploring Operation: 10*106=1060, Resulting Numbers: [1060]
1060,99 unequal: No Solution
Exploring Operation: 106-10=96, Resulting Numbers: [96]
96,99 unequal: No Solution
No 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: 99:[111, 2], Operations: ['87+24=111', '10/5=2']
Exploring Operation: 111*2=222, Resulting Numbers: [222]
222,99 unequal: No Solution
Exploring Operation: 111+2=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Exploring Operation: 111-2=109, Resulting Numbers: [109]
109,99 unequal: No Solution
No 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: 99:[111, 5], Operations: ['87+24=111', '10-5=5']
Exploring Operation: 111-5=106, Resulting Numbers: [106]
106,99 unequal: No Solution
Exploring Operation: 111*5=555, Resulting Numbers: [555]
555,99 unequal: No Solution
Exploring Operation: 111+5=116, Resulting Numbers: [116]
116,99 unequal: No Solution
No 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: 99:[111, 15], Operations: ['87+24=111', '5+10=15']
Exploring Operation: 111-15=96, Resulting Numbers: [96]
96,99 unequal: No Solution
Exploring Operation: 111*15=1665, Resulting Numbers: [1665]
1665,99 unequal: No Solution
Exploring Operation: 111+15=126, Resulting Numbers: [126]
126,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[10, 24, 92], Operations: ['5+87=92']
Exploring Operation: 10+24=34, Resulting Numbers: [92, 34]
Generated Node #0,0,0: 99:[92, 34] Operation: 10+24=34
Exploring Operation: 10+92=102, Resulting Numbers: [24, 102]
Generated Node #0,0,1: 99:[24, 102] Operation: 10+92=102
Exploring Operation: 24+92=116, Resulting Numbers: [10, 116]
Generated Node #0,0,2: 99:[10, 116] Operation: 24+92=116
Exploring Operation: 24-10=14, Resulting Numbers: [92, 14]
Generated Node #0,0,3: 99:[92, 14] Operation: 24-10=14
Exploring Operation: 92-10=82, Resulting Numbers: [24, 82]
Generated Node #0,0,4: 99:[24, 82] Operation: 92-10=82
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[92, 34], Operations: ['5+87=92', '10+24=34']
Exploring Operation: 92*34=3128, Resulting Numbers: [3128]
3128,99 unequal: No Solution
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,99 unequal: No Solution
No 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: 99:[92, 14], Operations: ['5+87=92', '24-10=14']
Exploring Operation: 92*14=1288, Resulting Numbers: [1288]
1288,99 unequal: No Solution
Exploring Operation: 92+14=106, Resulting Numbers: [106]
106,99 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,99 unequal: No Solution
No 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: 99:[24, 102], Operations: ['5+87=92', '10+92=102']
Exploring Operation: 102-24=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Exploring Operation: 24*102=2448, Resulting Numbers: [2448]
2448,99 unequal: No Solution
Exploring Operation: 24+102=126, Resulting Numbers: [126]
126,99 unequal: No Solution
No 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: 99:[10, 116], Operations: ['5+87=92', '24+92=116']
Exploring Operation: 10+116=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Exploring Operation: 10*116=1160, Resulting Numbers: [1160]
1160,99 unequal: No Solution
Exploring Operation: 116-10=106, Resulting Numbers: [106]
106,99 unequal: No Solution
No 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: 99:[24, 82], Operations: ['5+87=92', '92-10=82']
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,99 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[87, 10, 29], Operations: ['5+24=29']
Exploring Operation: 87+29=116, Resulting Numbers: [10, 116]
Generated Node #0,2,0: 99:[10, 116] Operation: 87+29=116
Exploring Operation: 87/29=3, Resulting Numbers: [10, 3]
Generated Node #0,2,1: 99:[10, 3] Operation: 87/29=3
Exploring Operation: 29-10=19, Resulting Numbers: [87, 19]
Generated Node #0,2,2: 99:[87, 19] Operation: 29-10=19
Exploring Operation: 10+29=39, Resulting Numbers: [87, 39]
Generated Node #0,2,3: 99:[87, 39] Operation: 10+29=39
Exploring Operation: 87+10=97, Resulting Numbers: [29, 97]
Generated Node #0,2,4: 99:[29, 97] Operation: 87+10=97
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[10, 3], Operations: ['5+24=29', '87/29=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,99 unequal: No Solution
No 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: 99:[29, 97], Operations: ['5+24=29', '87+10=97']
Exploring Operation: 29+97=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,99 unequal: No Solution
Exploring Operation: 29*97=2813, Resulting Numbers: [2813]
2813,99 unequal: No Solution
No 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: 99:[10, 116], Operations: ['5+24=29', '87+29=116']
Exploring Operation: 116-10=106, Resulting Numbers: [106]
106,99 unequal: No Solution
Exploring Operation: 10+116=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Exploring Operation: 10*116=1160, Resulting Numbers: [1160]
1160,99 unequal: No Solution
No 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: 99:[87, 39], Operations: ['5+24=29', '10+29=39']
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,99 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 87*39=3393, Resulting Numbers: [3393]
3393,99 unequal: No Solution
No 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: 99:[87, 19], Operations: ['5+24=29', '29-10=19']
Exploring Operation: 87*19=1653, Resulting Numbers: [1653]
1653,99 unequal: No Solution
Exploring Operation: 87+19=106, Resulting Numbers: [106]
106,99 unequal: No Solution
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
62,
27,
42,
48
] | 60 | [
"48-27=21",
"42/21=2",
"62-2=60"
] | Current State: 60:[62, 27, 42, 48], Operations: []
Exploring Operation: 48-27=21, Resulting Numbers: [62, 42, 21]
Generated Node #2: [62, 42, 21] from Operation: 48-27=21
Current State: 60:[62, 42, 21], Operations: ['48-27=21']
Exploring Operation: 42/21=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 42/21=2
Current State: 60:[62, 2], Operations: ['48-27=21', '42/21=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[62, 27, 42, 48], Operations: []
Exploring Operation: 42-27=15, Resulting Numbers: [62, 48, 15]
Generated Node #0,0: 60:[62, 48, 15] Operation: 42-27=15
Exploring Operation: 48-42=6, Resulting Numbers: [62, 27, 6]
Generated Node #0,1: 60:[62, 27, 6] Operation: 48-42=6
Moving to Node #0,1
Current State: 60:[62, 27, 6], Operations: ['48-42=6']
Exploring Operation: 27-6=21, Resulting Numbers: [62, 21]
Generated Node #0,1,0: 60:[62, 21] Operation: 27-6=21
Exploring Operation: 62-27=35, Resulting Numbers: [6, 35]
Generated Node #0,1,1: 60:[6, 35] Operation: 62-27=35
Moving to Node #0,0
Current State: 60:[62, 48, 15], Operations: ['42-27=15']
Exploring Operation: 62-48=14, Resulting Numbers: [15, 14]
Generated Node #0,0,0: 60:[15, 14] Operation: 62-48=14
Exploring Operation: 48+15=63, Resulting Numbers: [62, 63]
Generated Node #0,0,1: 60:[62, 63] Operation: 48+15=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[15, 14], Operations: ['42-27=15', '62-48=14']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,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,0,1
Current State: 60:[62, 63], Operations: ['42-27=15', '48+15=63']
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 62+63=125, Resulting Numbers: [125]
125,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 60:[62, 21], Operations: ['48-42=6', '27-6=21']
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[6, 35], Operations: ['48-42=6', '62-27=35']
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
74,
54,
6
] | 34 | [
"88-74=14",
"54-6=48",
"48-14=34"
] | Current State: 34:[88, 74, 54, 6], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [54, 6, 14]
Generated Node #2: [54, 6, 14] from Operation: 88-74=14
Current State: 34:[54, 6, 14], Operations: ['88-74=14']
Exploring Operation: 54-6=48, Resulting Numbers: [14, 48]
Generated Node #3: [14, 48] from Operation: 54-6=48
Current State: 34:[14, 48], Operations: ['88-74=14', '54-6=48']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[88, 74, 54, 6], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [88, 74, 9]
Generated Node #0,0: 34:[88, 74, 9] Operation: 54/6=9
Exploring Operation: 88-6=82, Resulting Numbers: [74, 54, 82]
Generated Node #0,1: 34:[74, 54, 82] Operation: 88-6=82
Exploring Operation: 88-54=34, Resulting Numbers: [74, 6, 34]
Generated Node #0,2: 34:[74, 6, 34] Operation: 88-54=34
Exploring Operation: 88-74=14, Resulting Numbers: [54, 6, 14]
Generated Node #0,3: 34:[54, 6, 14] Operation: 88-74=14
Exploring Operation: 74-54=20, Resulting Numbers: [88, 6, 20]
Generated Node #0,4: 34:[88, 6, 20] Operation: 74-54=20
Moving to Node #0,3
Current State: 34:[54, 6, 14], Operations: ['88-74=14']
Exploring Operation: 54-6=48, Resulting Numbers: [14, 48]
Generated Node #0,3,0: 34:[14, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [14, 9]
Generated Node #0,3,1: 34:[14, 9] Operation: 54/6=9
Exploring Operation: 14-6=8, Resulting Numbers: [54, 8]
Generated Node #0,3,2: 34:[54, 8] Operation: 14-6=8
Exploring Operation: 6+14=20, Resulting Numbers: [54, 20]
Generated Node #0,3,3: 34:[54, 20] Operation: 6+14=20
Exploring Operation: 54-14=40, Resulting Numbers: [6, 40]
Generated Node #0,3,4: 34:[6, 40] Operation: 54-14=40
Moving to Node #0,2
Current State: 34:[74, 6, 34], Operations: ['88-54=34']
Exploring Operation: 6+34=40, Resulting Numbers: [74, 40]
Generated Node #0,2,0: 34:[74, 40] Operation: 6+34=40
Exploring Operation: 34-6=28, Resulting Numbers: [74, 28]
Generated Node #0,2,1: 34:[74, 28] Operation: 34-6=28
Exploring Operation: 74-6=68, Resulting Numbers: [34, 68]
Generated Node #0,2,2: 34:[34, 68] Operation: 74-6=68
Exploring Operation: 74-34=40, Resulting Numbers: [6, 40]
Generated Node #0,2,3: 34:[6, 40] Operation: 74-34=40
Exploring Operation: 74+6=80, Resulting Numbers: [34, 80]
Generated Node #0,2,4: 34:[34, 80] Operation: 74+6=80
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[6, 40], Operations: ['88-54=34', '74-34=40']
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,34 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[88, 74, 54, 6], Operations: []
Exploring Operation: 88-54=34, Resulting Numbers: [74, 6, 34]
Generated Node #0,2: 34:[74, 6, 34] Operation: 88-54=34
Moving to Node #0,2
Current State: 34:[74, 6, 34], Operations: ['88-54=34']
Exploring Operation: 74-34=40, Resulting Numbers: [6, 40]
Generated Node #0,2,3: 34:[6, 40] Operation: 74-34=40
Moving to Node #0,2,3
Current State: 34:[6, 40], Operations: ['88-54=34', '74-34=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
66,
52,
9,
28
] | 51 | [
"66-52=14",
"9+28=37",
"14+37=51"
] | Current State: 51:[66, 52, 9, 28], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [9, 28, 14]
Generated Node #2: [9, 28, 14] from Operation: 66-52=14
Current State: 51:[9, 28, 14], Operations: ['66-52=14']
Exploring Operation: 9+28=37, Resulting Numbers: [14, 37]
Generated Node #3: [14, 37] from Operation: 9+28=37
Current State: 51:[14, 37], Operations: ['66-52=14', '9+28=37']
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[66, 52, 9, 28], Operations: []
Exploring Operation: 28-9=19, Resulting Numbers: [66, 52, 19]
Generated Node #0,0: 51:[66, 52, 19] Operation: 28-9=19
Exploring Operation: 66-9=57, Resulting Numbers: [52, 28, 57]
Generated Node #0,1: 51:[52, 28, 57] Operation: 66-9=57
Moving to Node #0,0
Current State: 51:[66, 52, 19], Operations: ['28-9=19']
Exploring Operation: 66-19=47, Resulting Numbers: [52, 47]
Generated Node #0,0,0: 51:[52, 47] Operation: 66-19=47
Exploring Operation: 66-52=14, Resulting Numbers: [19, 14]
Generated Node #0,0,1: 51:[19, 14] Operation: 66-52=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[52, 47], Operations: ['28-9=19', '66-19=47']
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,51 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[19, 14], Operations: ['28-9=19', '66-52=14']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,51 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: 51:[52, 28, 57], Operations: ['66-9=57']
Exploring Operation: 57-52=5, Resulting Numbers: [28, 5]
Generated Node #0,1,0: 51:[28, 5] Operation: 57-52=5
Exploring Operation: 52-28=24, Resulting Numbers: [57, 24]
Generated Node #0,1,1: 51:[57, 24] Operation: 52-28=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[28, 5], Operations: ['66-9=57', '57-52=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[57, 24], Operations: ['66-9=57', '52-28=24']
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,51 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 |
[
95,
17,
42,
54
] | 90 | [
"95-17=78",
"54-42=12",
"78+12=90"
] | Current State: 90:[95, 17, 42, 54], Operations: []
Exploring Operation: 95-17=78, Resulting Numbers: [42, 54, 78]
Generated Node #2: [42, 54, 78] from Operation: 95-17=78
Current State: 90:[42, 54, 78], Operations: ['95-17=78']
Exploring Operation: 54-42=12, Resulting Numbers: [78, 12]
Generated Node #3: [78, 12] from Operation: 54-42=12
Current State: 90:[78, 12], Operations: ['95-17=78', '54-42=12']
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[95, 17, 42, 54], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [95, 17, 12]
Generated Node #0,0: 90:[95, 17, 12] Operation: 54-42=12
Exploring Operation: 95-54=41, Resulting Numbers: [17, 42, 41]
Generated Node #0,1: 90:[17, 42, 41] Operation: 95-54=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[95, 17, 12], Operations: ['54-42=12']
Exploring Operation: 17+12=29, Resulting Numbers: [95, 29]
Generated Node #0,0,0: 90:[95, 29] Operation: 17+12=29
Exploring Operation: 17-12=5, Resulting Numbers: [95, 5]
Generated Node #0,0,1: 90:[95, 5] Operation: 17-12=5
Moving to Node #0,0,1
Current State: 90:[95, 5], Operations: ['54-42=12', '17-12=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[95, 17, 42, 54], Operations: []
Exploring Operation: 54-42=12, Resulting Numbers: [95, 17, 12]
Generated Node #0,0: 90:[95, 17, 12] Operation: 54-42=12
Moving to Node #0,0
Current State: 90:[95, 17, 12], Operations: ['54-42=12']
Exploring Operation: 17-12=5, Resulting Numbers: [95, 5]
Generated Node #0,0,1: 90:[95, 5] Operation: 17-12=5
Moving to Node #0,0,1
Current State: 90:[95, 5], Operations: ['54-42=12', '17-12=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
16,
80,
39,
3
] | 51 | [
"80-16=64",
"39/3=13",
"64-13=51"
] | Current State: 51:[16, 80, 39, 3], Operations: []
Exploring Operation: 80-16=64, Resulting Numbers: [39, 3, 64]
Generated Node #2: [39, 3, 64] from Operation: 80-16=64
Current State: 51:[39, 3, 64], Operations: ['80-16=64']
Exploring Operation: 39/3=13, Resulting Numbers: [64, 13]
Generated Node #3: [64, 13] from Operation: 39/3=13
Current State: 51:[64, 13], Operations: ['80-16=64', '39/3=13']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[16, 80, 39, 3], Operations: []
Exploring Operation: 80-16=64, Resulting Numbers: [39, 3, 64]
Generated Node #0,0: 51:[39, 3, 64] Operation: 80-16=64
Exploring Operation: 80-39=41, Resulting Numbers: [16, 3, 41]
Generated Node #0,1: 51:[16, 3, 41] Operation: 80-39=41
Exploring Operation: 16+39=55, Resulting Numbers: [80, 3, 55]
Generated Node #0,2: 51:[80, 3, 55] Operation: 16+39=55
Exploring Operation: 80/16=5, Resulting Numbers: [39, 3, 5]
Generated Node #0,3: 51:[39, 3, 5] Operation: 80/16=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[16, 3, 41], Operations: ['80-39=41']
Exploring Operation: 16+3=19, Resulting Numbers: [41, 19]
Generated Node #0,1,0: 51:[41, 19] Operation: 16+3=19
Exploring Operation: 16+41=57, Resulting Numbers: [3, 57]
Generated Node #0,1,1: 51:[3, 57] Operation: 16+41=57
Exploring Operation: 41-16=25, Resulting Numbers: [3, 25]
Generated Node #0,1,2: 51:[3, 25] Operation: 41-16=25
Exploring Operation: 3+41=44, Resulting Numbers: [16, 44]
Generated Node #0,1,3: 51:[16, 44] Operation: 3+41=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[3, 57], Operations: ['80-39=41', '16+41=57']
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[3, 25], Operations: ['80-39=41', '41-16=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[16, 44], Operations: ['80-39=41', '3+41=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,51 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[41, 19], Operations: ['80-39=41', '16+3=19']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[39, 3, 5], Operations: ['80/16=5']
Exploring Operation: 5-3=2, Resulting Numbers: [39, 2]
Generated Node #0,3,0: 51:[39, 2] Operation: 5-3=2
Exploring Operation: 39+3=42, Resulting Numbers: [5, 42]
Generated Node #0,3,1: 51:[5, 42] Operation: 39+3=42
Exploring Operation: 39+5=44, Resulting Numbers: [3, 44]
Generated Node #0,3,2: 51:[3, 44] Operation: 39+5=44
Exploring Operation: 39/3=13, Resulting Numbers: [5, 13]
Generated Node #0,3,3: 51:[5, 13] Operation: 39/3=13
Moving to Node #0,3,3
Current State: 51:[5, 13], Operations: ['80/16=5', '39/3=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[3, 44], Operations: ['80/16=5', '39+5=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,51 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[5, 42], Operations: ['80/16=5', '39+3=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,51 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[39, 2], Operations: ['80/16=5', '5-3=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[39, 3, 64], Operations: ['80-16=64']
Exploring Operation: 39/3=13, Resulting Numbers: [64, 13]
Generated Node #0,0,0: 51:[64, 13] Operation: 39/3=13
Exploring Operation: 64-39=25, Resulting Numbers: [3, 25]
Generated Node #0,0,1: 51:[3, 25] Operation: 64-39=25
Exploring Operation: 64-3=61, Resulting Numbers: [39, 61]
Generated Node #0,0,2: 51:[39, 61] Operation: 64-3=61
Exploring Operation: 39+3=42, Resulting Numbers: [64, 42]
Generated Node #0,0,3: 51:[64, 42] Operation: 39+3=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[3, 25], Operations: ['80-16=64', '64-39=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[64, 13], Operations: ['80-16=64', '39/3=13']
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,51 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[16, 80, 39, 3], Operations: []
Exploring Operation: 80-16=64, Resulting Numbers: [39, 3, 64]
Generated Node #0,0: 51:[39, 3, 64] Operation: 80-16=64
Moving to Node #0,0
Current State: 51:[39, 3, 64], Operations: ['80-16=64']
Exploring Operation: 39/3=13, Resulting Numbers: [64, 13]
Generated Node #0,0,0: 51:[64, 13] Operation: 39/3=13
Moving to Node #0,0,0
Current State: 51:[64, 13], Operations: ['80-16=64', '39/3=13']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.955729 | hs_4 | mult_heuristic |
[
32,
22,
31,
20
] | 15 | [
"22-20=2",
"32/2=16",
"31-16=15"
] | Current State: 15:[32, 22, 31, 20], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [32, 31, 2]
Generated Node #2: [32, 31, 2] from Operation: 22-20=2
Current State: 15:[32, 31, 2], Operations: ['22-20=2']
Exploring Operation: 32/2=16, Resulting Numbers: [31, 16]
Generated Node #3: [31, 16] from Operation: 32/2=16
Current State: 15:[31, 16], Operations: ['22-20=2', '32/2=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[32, 22, 31, 20], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [22, 31, 12]
Generated Node #0,0: 15:[22, 31, 12] Operation: 32-20=12
Exploring Operation: 32-31=1, Resulting Numbers: [22, 20, 1]
Generated Node #0,1: 15:[22, 20, 1] Operation: 32-31=1
Exploring Operation: 32-22=10, Resulting Numbers: [31, 20, 10]
Generated Node #0,2: 15:[31, 20, 10] Operation: 32-22=10
Moving to Node #0,1
Current State: 15:[22, 20, 1], Operations: ['32-31=1']
Exploring Operation: 22-1=21, Resulting Numbers: [20, 21]
Generated Node #0,1,0: 15:[20, 21] Operation: 22-1=21
Exploring Operation: 20-1=19, Resulting Numbers: [22, 19]
Generated Node #0,1,1: 15:[22, 19] Operation: 20-1=19
Exploring Operation: 22-20=2, Resulting Numbers: [1, 2]
Generated Node #0,1,2: 15:[1, 2] Operation: 22-20=2
Moving to Node #0,0
Current State: 15:[22, 31, 12], Operations: ['32-20=12']
Exploring Operation: 31-12=19, Resulting Numbers: [22, 19]
Generated Node #0,0,0: 15:[22, 19] Operation: 31-12=19
Exploring Operation: 22-12=10, Resulting Numbers: [31, 10]
Generated Node #0,0,1: 15:[31, 10] Operation: 22-12=10
Exploring Operation: 31-22=9, Resulting Numbers: [12, 9]
Generated Node #0,0,2: 15:[12, 9] Operation: 31-22=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[12, 9], Operations: ['32-20=12', '31-22=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[22, 19], Operations: ['32-20=12', '31-12=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[31, 10], Operations: ['32-20=12', '22-12=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,15 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,15 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: 15:[31, 20, 10], Operations: ['32-22=10']
Exploring Operation: 31-20=11, Resulting Numbers: [10, 11]
Generated Node #0,2,0: 15:[10, 11] Operation: 31-20=11
Exploring Operation: 20/10=2, Resulting Numbers: [31, 2]
Generated Node #0,2,1: 15:[31, 2] Operation: 20/10=2
Exploring Operation: 31-10=21, Resulting Numbers: [20, 21]
Generated Node #0,2,2: 15:[20, 21] Operation: 31-10=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[10, 11], Operations: ['32-22=10', '31-20=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,15 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[20, 21], Operations: ['32-22=10', '31-10=21']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[31, 2], Operations: ['32-22=10', '20/10=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 15:[1, 2], Operations: ['32-31=1', '22-20=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[20, 21], Operations: ['32-31=1', '22-1=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,15 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[22, 19], Operations: ['32-31=1', '20-1=19']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,15 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
60,
30,
18,
61
] | 56 | [
"60+30=90",
"90/18=5",
"61-5=56"
] | Current State: 56:[60, 30, 18, 61], Operations: []
Exploring Operation: 60+30=90, Resulting Numbers: [18, 61, 90]
Generated Node #2: [18, 61, 90] from Operation: 60+30=90
Current State: 56:[18, 61, 90], Operations: ['60+30=90']
Exploring Operation: 90/18=5, Resulting Numbers: [61, 5]
Generated Node #3: [61, 5] from Operation: 90/18=5
Current State: 56:[61, 5], Operations: ['60+30=90', '90/18=5']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[60, 30, 18, 61], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [18, 61, 2]
Generated Node #0,0: 56:[18, 61, 2] Operation: 60/30=2
Exploring Operation: 61-60=1, Resulting Numbers: [30, 18, 1]
Generated Node #0,1: 56:[30, 18, 1] Operation: 61-60=1
Exploring Operation: 60-30=30, Resulting Numbers: [18, 61, 30]
Generated Node #0,2: 56:[18, 61, 30] Operation: 60-30=30
Exploring Operation: 61-30=31, Resulting Numbers: [60, 18, 31]
Generated Node #0,3: 56:[60, 18, 31] Operation: 61-30=31
Exploring Operation: 30-18=12, Resulting Numbers: [60, 61, 12]
Generated Node #0,4: 56:[60, 61, 12] Operation: 30-18=12
Moving to Node #0,1
Current State: 56:[30, 18, 1], Operations: ['61-60=1']
Exploring Operation: 30-1=29, Resulting Numbers: [18, 29]
Generated Node #0,1,0: 56:[18, 29] Operation: 30-1=29
Exploring Operation: 30-18=12, Resulting Numbers: [1, 12]
Generated Node #0,1,1: 56:[1, 12] Operation: 30-18=12
Exploring Operation: 18-1=17, Resulting Numbers: [30, 17]
Generated Node #0,1,2: 56:[30, 17] Operation: 18-1=17
Exploring Operation: 30/1=30, Resulting Numbers: [18, 30]
Generated Node #0,1,3: 56:[18, 30] Operation: 30/1=30
Exploring Operation: 30*1=30, Resulting Numbers: [18, 30]
Generated Node #0,1,4: 56:[18, 30] Operation: 30*1=30
Moving to Node #0,0
Current State: 56:[18, 61, 2], Operations: ['60/30=2']
Exploring Operation: 18+2=20, Resulting Numbers: [61, 20]
Generated Node #0,0,0: 56:[61, 20] Operation: 18+2=20
Exploring Operation: 61+2=63, Resulting Numbers: [18, 63]
Generated Node #0,0,1: 56:[18, 63] Operation: 61+2=63
Exploring Operation: 18/2=9, Resulting Numbers: [61, 9]
Generated Node #0,0,2: 56:[61, 9] Operation: 18/2=9
Exploring Operation: 18-2=16, Resulting Numbers: [61, 16]
Generated Node #0,0,3: 56:[61, 16] Operation: 18-2=16
Exploring Operation: 61-2=59, Resulting Numbers: [18, 59]
Generated Node #0,0,4: 56:[18, 59] Operation: 61-2=59
Moving to Node #0,2
Current State: 56:[18, 61, 30], Operations: ['60-30=30']
Exploring Operation: 61-18=43, Resulting Numbers: [30, 43]
Generated Node #0,2,0: 56:[30, 43] Operation: 61-18=43
Exploring Operation: 18+61=79, Resulting Numbers: [30, 79]
Generated Node #0,2,1: 56:[30, 79] Operation: 18+61=79
Exploring Operation: 18+30=48, Resulting Numbers: [61, 48]
Generated Node #0,2,2: 56:[61, 48] Operation: 18+30=48
Exploring Operation: 30-18=12, Resulting Numbers: [61, 12]
Generated Node #0,2,3: 56:[61, 12] Operation: 30-18=12
Exploring Operation: 61-30=31, Resulting Numbers: [18, 31]
Generated Node #0,2,4: 56:[18, 31] Operation: 61-30=31
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[61, 12], Operations: ['60-30=30', '30-18=12']
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,56 unequal: No Solution
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,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,4
Current State: 56:[18, 31], Operations: ['60-30=30', '61-30=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,56 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,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:[61, 48], Operations: ['60-30=30', '18+30=48']
Exploring Operation: 61+48=109, Resulting Numbers: [109]
109,56 unequal: No Solution
Exploring Operation: 61*48=2928, Resulting Numbers: [2928]
2928,56 unequal: No Solution
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,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:[30, 43], Operations: ['60-30=30', '61-18=43']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,56 unequal: No Solution
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[30, 79], Operations: ['60-30=30', '18+61=79']
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,56 unequal: No Solution
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,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:[60, 18, 31], Operations: ['61-30=31']
Exploring Operation: 18+31=49, Resulting Numbers: [60, 49]
Generated Node #0,3,0: 56:[60, 49] Operation: 18+31=49
Exploring Operation: 60+18=78, Resulting Numbers: [31, 78]
Generated Node #0,3,1: 56:[31, 78] Operation: 60+18=78
Exploring Operation: 60-18=42, Resulting Numbers: [31, 42]
Generated Node #0,3,2: 56:[31, 42] Operation: 60-18=42
Exploring Operation: 60-31=29, Resulting Numbers: [18, 29]
Generated Node #0,3,3: 56:[18, 29] Operation: 60-31=29
Exploring Operation: 31-18=13, Resulting Numbers: [60, 13]
Generated Node #0,3,4: 56:[60, 13] Operation: 31-18=13
Moving to Node #0,4
Current State: 56:[60, 61, 12], Operations: ['30-18=12']
Exploring Operation: 60-12=48, Resulting Numbers: [61, 48]
Generated Node #0,4,0: 56:[61, 48] Operation: 60-12=48
Exploring Operation: 61-12=49, Resulting Numbers: [60, 49]
Generated Node #0,4,1: 56:[60, 49] Operation: 61-12=49
Exploring Operation: 61-60=1, Resulting Numbers: [12, 1]
Generated Node #0,4,2: 56:[12, 1] Operation: 61-60=1
Exploring Operation: 60/12=5, Resulting Numbers: [61, 5]
Generated Node #0,4,3: 56:[61, 5] Operation: 60/12=5
Exploring Operation: 60+12=72, Resulting Numbers: [61, 72]
Generated Node #0,4,4: 56:[61, 72] Operation: 60+12=72
Moving to Node #0,1,1
Current State: 56:[1, 12], Operations: ['61-60=1', '30-18=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Moving to Node #0,4,2
Current State: 56:[12, 1], Operations: ['30-18=12', '61-60=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[30, 17], Operations: ['61-60=1', '18-1=17']
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,56 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,56 unequal: No Solution
Moving to Node #0,3,4
Current State: 56:[60, 13], Operations: ['61-30=31', '31-18=13']
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,56 unequal: No Solution
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[18, 29], Operations: ['61-30=31', '60-31=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,56 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[18, 29], Operations: ['61-60=1', '30-1=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,56 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[61, 9], Operations: ['60/30=2', '18/2=9']
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,56 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,56 unequal: No Solution
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Moving to Node #0,1,4
Current State: 56:[18, 30], Operations: ['61-60=1', '30*1=30']
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,56 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[18, 30], Operations: ['61-60=1', '30/1=30']
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,56 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Moving to Node #0,4,3
Current State: 56:[61, 5], Operations: ['30-18=12', '60/12=5']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[60, 30, 18, 61], Operations: []
Exploring Operation: 30-18=12, Resulting Numbers: [60, 61, 12]
Generated Node #0,4: 56:[60, 61, 12] Operation: 30-18=12
Moving to Node #0,4
Current State: 56:[60, 61, 12], Operations: ['30-18=12']
Exploring Operation: 60/12=5, Resulting Numbers: [61, 5]
Generated Node #0,4,3: 56:[61, 5] Operation: 60/12=5
Moving to Node #0,4,3
Current State: 56:[61, 5], Operations: ['30-18=12', '60/12=5']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.931424 | hs_5 | mult_heuristic |
[
61,
29,
29,
20
] | 42 | [
"61-20=41",
"29/29=1",
"41+1=42"
] | Current State: 42:[61, 29, 29, 20], Operations: []
Exploring Operation: 61-20=41, Resulting Numbers: [29, 29, 41]
Generated Node #2: [29, 29, 41] from Operation: 61-20=41
Current State: 42:[29, 29, 41], Operations: ['61-20=41']
Exploring Operation: 29/29=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 29/29=1
Current State: 42:[41, 1], Operations: ['61-20=41', '29/29=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[61, 29, 29, 20], Operations: []
Exploring Operation: 61-29=32, Resulting Numbers: [29, 20, 32]
Generated Node #0,0: 42:[29, 20, 32] Operation: 61-29=32
Exploring Operation: 61-20=41, Resulting Numbers: [29, 29, 41]
Generated Node #0,1: 42:[29, 29, 41] Operation: 61-20=41
Exploring Operation: 29/29=1, Resulting Numbers: [61, 20, 1]
Generated Node #0,2: 42:[61, 20, 1] Operation: 29/29=1
Exploring Operation: 61-29=32, Resulting Numbers: [29, 20, 32]
Generated Node #0,3: 42:[29, 20, 32] Operation: 61-29=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[29, 29, 41], Operations: ['61-20=41']
Exploring Operation: 29-29=0, Resulting Numbers: [41, 0]
Generated Node #0,1,0: 42:[41, 0] Operation: 29-29=0
Exploring Operation: 41-29=12, Resulting Numbers: [29, 12]
Generated Node #0,1,1: 42:[29, 12] Operation: 41-29=12
Exploring Operation: 41-29=12, Resulting Numbers: [29, 12]
Generated Node #0,1,2: 42:[29, 12] Operation: 41-29=12
Exploring Operation: 29/29=1, Resulting Numbers: [41, 1]
Generated Node #0,1,3: 42:[41, 1] Operation: 29/29=1
Moving to Node #0,1,3
Current State: 42:[41, 1], Operations: ['61-20=41', '29/29=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[61, 29, 29, 20], Operations: []
Exploring Operation: 61-20=41, Resulting Numbers: [29, 29, 41]
Generated Node #0,1: 42:[29, 29, 41] Operation: 61-20=41
Moving to Node #0,1
Current State: 42:[29, 29, 41], Operations: ['61-20=41']
Exploring Operation: 29/29=1, Resulting Numbers: [41, 1]
Generated Node #0,1,3: 42:[41, 1] Operation: 29/29=1
Moving to Node #0,1,3
Current State: 42:[41, 1], Operations: ['61-20=41', '29/29=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
79,
37,
87,
44
] | 73 | [
"79+37=116",
"87-44=43",
"116-43=73"
] | Current State: 73:[79, 37, 87, 44], Operations: []
Exploring Operation: 79+37=116, Resulting Numbers: [87, 44, 116]
Generated Node #2: [87, 44, 116] from Operation: 79+37=116
Current State: 73:[87, 44, 116], Operations: ['79+37=116']
Exploring Operation: 87-44=43, Resulting Numbers: [116, 43]
Generated Node #3: [116, 43] from Operation: 87-44=43
Current State: 73:[116, 43], Operations: ['79+37=116', '87-44=43']
Exploring Operation: 116-43=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[79, 37, 87, 44], Operations: []
Exploring Operation: 37+44=81, Resulting Numbers: [79, 87, 81]
Generated Node #0,0: 73:[79, 87, 81] Operation: 37+44=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[79, 87, 81], Operations: ['37+44=81']
Exploring Operation: 87-79=8, Resulting Numbers: [81, 8]
Generated Node #0,0,0: 73:[81, 8] Operation: 87-79=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[81, 8], Operations: ['37+44=81', '87-79=8']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[79, 37, 87, 44], Operations: []
Exploring Operation: 37+44=81, Resulting Numbers: [79, 87, 81]
Generated Node #0,0: 73:[79, 87, 81] Operation: 37+44=81
Moving to Node #0,0
Current State: 73:[79, 87, 81], Operations: ['37+44=81']
Exploring Operation: 87-79=8, Resulting Numbers: [81, 8]
Generated Node #0,0,0: 73:[81, 8] Operation: 87-79=8
Moving to Node #0,0,0
Current State: 73:[81, 8], Operations: ['37+44=81', '87-79=8']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
20,
8,
32,
56
] | 87 | [
"20*32=640",
"56+640=696",
"696/8=87"
] | Current State: 87:[20, 8, 32, 56], Operations: []
Exploring Operation: 20*32=640, Resulting Numbers: [8, 56, 640]
Generated Node #2: [8, 56, 640] from Operation: 20*32=640
Current State: 87:[8, 56, 640], Operations: ['20*32=640']
Exploring Operation: 56+640=696, Resulting Numbers: [8, 696]
Generated Node #3: [8, 696] from Operation: 56+640=696
Current State: 87:[8, 696], Operations: ['20*32=640', '56+640=696']
Exploring Operation: 696/8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[20, 8, 32, 56], Operations: []
Exploring Operation: 56-20=36, Resulting Numbers: [8, 32, 36]
Generated Node #0,0: 87:[8, 32, 36] Operation: 56-20=36
Exploring Operation: 56-32=24, Resulting Numbers: [20, 8, 24]
Generated Node #0,1: 87:[20, 8, 24] Operation: 56-32=24
Exploring Operation: 56/8=7, Resulting Numbers: [20, 32, 7]
Generated Node #0,2: 87:[20, 32, 7] Operation: 56/8=7
Exploring Operation: 20+56=76, Resulting Numbers: [8, 32, 76]
Generated Node #0,3: 87:[8, 32, 76] Operation: 20+56=76
Exploring Operation: 32+56=88, Resulting Numbers: [20, 8, 88]
Generated Node #0,4: 87:[20, 8, 88] Operation: 32+56=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[8, 32, 36], Operations: ['56-20=36']
Exploring Operation: 36-8=28, Resulting Numbers: [32, 28]
Generated Node #0,0,0: 87:[32, 28] Operation: 36-8=28
Exploring Operation: 36-32=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 87:[8, 4] Operation: 36-32=4
Exploring Operation: 32-8=24, Resulting Numbers: [36, 24]
Generated Node #0,0,2: 87:[36, 24] Operation: 32-8=24
Exploring Operation: 8+32=40, Resulting Numbers: [36, 40]
Generated Node #0,0,3: 87:[36, 40] Operation: 8+32=40
Exploring Operation: 32/8=4, Resulting Numbers: [36, 4]
Generated Node #0,0,4: 87:[36, 4] Operation: 32/8=4
Moving to Node #0,0,0
Current State: 87:[32, 28], Operations: ['56-20=36', '36-8=28']
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[8, 4], Operations: ['56-20=36', '36-32=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Moving to Node #0,0,4
Current State: 87:[36, 4], Operations: ['56-20=36', '32/8=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,87 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[36, 24], Operations: ['56-20=36', '32-8=24']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,87 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[36, 40], Operations: ['56-20=36', '8+32=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[20, 8, 88], Operations: ['32+56=88']
Exploring Operation: 20-8=12, Resulting Numbers: [88, 12]
Generated Node #0,4,0: 87:[88, 12] Operation: 20-8=12
Exploring Operation: 20+8=28, Resulting Numbers: [88, 28]
Generated Node #0,4,1: 87:[88, 28] Operation: 20+8=28
Exploring Operation: 88/8=11, Resulting Numbers: [20, 11]
Generated Node #0,4,2: 87:[20, 11] Operation: 88/8=11
Exploring Operation: 8+88=96, Resulting Numbers: [20, 96]
Generated Node #0,4,3: 87:[20, 96] Operation: 8+88=96
Exploring Operation: 88-8=80, Resulting Numbers: [20, 80]
Generated Node #0,4,4: 87:[20, 80] Operation: 88-8=80
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 87:[88, 28], Operations: ['32+56=88', '20+8=28']
Exploring Operation: 88*28=2464, Resulting Numbers: [2464]
2464,87 unequal: No Solution
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,87 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,87 unequal: No Solution
No 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: 87:[88, 12], Operations: ['32+56=88', '20-8=12']
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,87 unequal: No Solution
No 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: 87:[20, 80], Operations: ['32+56=88', '88-8=80']
Exploring Operation: 20*80=1600, Resulting Numbers: [1600]
1600,87 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 20+80=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,87 unequal: No Solution
No 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: 87:[20, 11], Operations: ['32+56=88', '88/8=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,87 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,87 unequal: No Solution
No 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: 87:[20, 96], Operations: ['32+56=88', '8+88=96']
Exploring Operation: 20+96=116, Resulting Numbers: [116]
116,87 unequal: No Solution
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 20*96=1920, Resulting Numbers: [1920]
1920,87 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: 87:[20, 32, 7], Operations: ['56/8=7']
Exploring Operation: 32-20=12, Resulting Numbers: [7, 12]
Generated Node #0,2,0: 87:[7, 12] Operation: 32-20=12
Exploring Operation: 32-7=25, Resulting Numbers: [20, 25]
Generated Node #0,2,1: 87:[20, 25] Operation: 32-7=25
Exploring Operation: 32+7=39, Resulting Numbers: [20, 39]
Generated Node #0,2,2: 87:[20, 39] Operation: 32+7=39
Exploring Operation: 20-7=13, Resulting Numbers: [32, 13]
Generated Node #0,2,3: 87:[32, 13] Operation: 20-7=13
Exploring Operation: 20+7=27, Resulting Numbers: [32, 27]
Generated Node #0,2,4: 87:[32, 27] Operation: 20+7=27
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 87:[32, 27], Operations: ['56/8=7', '20+7=27']
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,87 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,87 unequal: No Solution
No 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: 87:[7, 12], Operations: ['56/8=7', '32-20=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,87 unequal: No Solution
No 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: 87:[20, 25], Operations: ['56/8=7', '32-7=25']
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,87 unequal: No Solution
No 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: 87:[32, 13], Operations: ['56/8=7', '20-7=13']
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,87 unequal: No Solution
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,87 unequal: No Solution
No 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: 87:[20, 39], Operations: ['56/8=7', '32+7=39']
Exploring Operation: 20*39=780, Resulting Numbers: [780]
780,87 unequal: No Solution
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,87 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: 87:[20, 8, 24], Operations: ['56-32=24']
Exploring Operation: 20+8=28, Resulting Numbers: [24, 28]
Generated Node #0,1,0: 87:[24, 28] Operation: 20+8=28
Exploring Operation: 8+24=32, Resulting Numbers: [20, 32]
Generated Node #0,1,1: 87:[20, 32] Operation: 8+24=32
Exploring Operation: 20-8=12, Resulting Numbers: [24, 12]
Generated Node #0,1,2: 87:[24, 12] Operation: 20-8=12
Exploring Operation: 24-20=4, Resulting Numbers: [8, 4]
Generated Node #0,1,3: 87:[8, 4] Operation: 24-20=4
Exploring Operation: 24/8=3, Resulting Numbers: [20, 3]
Generated Node #0,1,4: 87:[20, 3] Operation: 24/8=3
Moving to Node #0,1,0
Current State: 87:[24, 28], Operations: ['56-32=24', '20+8=28']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[8, 4], Operations: ['56-32=24', '24-20=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Moving to Node #0,1,4
Current State: 87:[20, 3], Operations: ['56-32=24', '24/8=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[20, 32], Operations: ['56-32=24', '8+24=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,87 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[24, 12], Operations: ['56-32=24', '20-8=12']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,87 unequal: No Solution
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,87 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[8, 32, 76], Operations: ['20+56=76']
Exploring Operation: 32/8=4, Resulting Numbers: [76, 4]
Generated Node #0,3,0: 87:[76, 4] Operation: 32/8=4
Exploring Operation: 8+32=40, Resulting Numbers: [76, 40]
Generated Node #0,3,1: 87:[76, 40] Operation: 8+32=40
Exploring Operation: 76-32=44, Resulting Numbers: [8, 44]
Generated Node #0,3,2: 87:[8, 44] Operation: 76-32=44
Exploring Operation: 8+76=84, Resulting Numbers: [32, 84]
Generated Node #0,3,3: 87:[32, 84] Operation: 8+76=84
Exploring Operation: 32-8=24, Resulting Numbers: [76, 24]
Generated Node #0,3,4: 87:[76, 24] Operation: 32-8=24
Moving to Node #0,3,3
Current State: 87:[32, 84], Operations: ['20+56=76', '8+76=84']
Exploring Operation: 32+84=116, Resulting Numbers: [116]
116,87 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 32*84=2688, Resulting Numbers: [2688]
2688,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[76, 4], Operations: ['20+56=76', '32/8=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,87 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,87 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[76, 24], Operations: ['20+56=76', '32-8=24']
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 76*24=1824, Resulting Numbers: [1824]
1824,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[8, 44], Operations: ['20+56=76', '76-32=44']
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,87 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[76, 40], Operations: ['20+56=76', '8+32=40']
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,87 unequal: No Solution
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,87 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,87 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 |
[
59,
48,
16,
77
] | 46 | [
"59+48=107",
"77-16=61",
"107-61=46"
] | Current State: 46:[59, 48, 16, 77], Operations: []
Exploring Operation: 59+48=107, Resulting Numbers: [16, 77, 107]
Generated Node #2: [16, 77, 107] from Operation: 59+48=107
Current State: 46:[16, 77, 107], Operations: ['59+48=107']
Exploring Operation: 77-16=61, Resulting Numbers: [107, 61]
Generated Node #3: [107, 61] from Operation: 77-16=61
Current State: 46:[107, 61], Operations: ['59+48=107', '77-16=61']
Exploring Operation: 107-61=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[59, 48, 16, 77], Operations: []
Exploring Operation: 77-48=29, Resulting Numbers: [59, 16, 29]
Generated Node #0,0: 46:[59, 16, 29] Operation: 77-48=29
Exploring Operation: 77-59=18, Resulting Numbers: [48, 16, 18]
Generated Node #0,1: 46:[48, 16, 18] Operation: 77-59=18
Exploring Operation: 59-16=43, Resulting Numbers: [48, 77, 43]
Generated Node #0,2: 46:[48, 77, 43] Operation: 59-16=43
Exploring Operation: 77-16=61, Resulting Numbers: [59, 48, 61]
Generated Node #0,3: 46:[59, 48, 61] Operation: 77-16=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[48, 16, 18], Operations: ['77-59=18']
Exploring Operation: 48-16=32, Resulting Numbers: [18, 32]
Generated Node #0,1,0: 46:[18, 32] Operation: 48-16=32
Exploring Operation: 16+18=34, Resulting Numbers: [48, 34]
Generated Node #0,1,1: 46:[48, 34] Operation: 16+18=34
Exploring Operation: 48/16=3, Resulting Numbers: [18, 3]
Generated Node #0,1,2: 46:[18, 3] Operation: 48/16=3
Exploring Operation: 18-16=2, Resulting Numbers: [48, 2]
Generated Node #0,1,3: 46:[48, 2] Operation: 18-16=2
Moving to Node #0,1,3
Current State: 46:[48, 2], Operations: ['77-59=18', '18-16=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[59, 48, 16, 77], Operations: []
Exploring Operation: 77-59=18, Resulting Numbers: [48, 16, 18]
Generated Node #0,1: 46:[48, 16, 18] Operation: 77-59=18
Moving to Node #0,1
Current State: 46:[48, 16, 18], Operations: ['77-59=18']
Exploring Operation: 18-16=2, Resulting Numbers: [48, 2]
Generated Node #0,1,3: 46:[48, 2] Operation: 18-16=2
Moving to Node #0,1,3
Current State: 46:[48, 2], Operations: ['77-59=18', '18-16=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
9,
74,
32,
21
] | 98 | [
"74-32=42",
"21*42=882",
"882/9=98"
] | Current State: 98:[9, 74, 32, 21], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [9, 21, 42]
Generated Node #2: [9, 21, 42] from Operation: 74-32=42
Current State: 98:[9, 21, 42], Operations: ['74-32=42']
Exploring Operation: 21*42=882, Resulting Numbers: [9, 882]
Generated Node #3: [9, 882] from Operation: 21*42=882
Current State: 98:[9, 882], Operations: ['74-32=42', '21*42=882']
Exploring Operation: 882/9=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[9, 74, 32, 21], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [9, 21, 42]
Generated Node #0,0: 98:[9, 21, 42] Operation: 74-32=42
Moving to Node #0,0
Current State: 98:[9, 21, 42], Operations: ['74-32=42']
Exploring Operation: 42/21=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 98:[9, 2] Operation: 42/21=2
Moving to Node #0,0,0
Current State: 98:[9, 2], Operations: ['74-32=42', '42/21=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,98 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
28,
46,
28
] | 61 | [
"14+46=60",
"28/28=1",
"60+1=61"
] | Current State: 61:[14, 28, 46, 28], Operations: []
Exploring Operation: 14+46=60, Resulting Numbers: [28, 28, 60]
Generated Node #2: [28, 28, 60] from Operation: 14+46=60
Current State: 61:[28, 28, 60], Operations: ['14+46=60']
Exploring Operation: 28/28=1, Resulting Numbers: [60, 1]
Generated Node #3: [60, 1] from Operation: 28/28=1
Current State: 61:[60, 1], Operations: ['14+46=60', '28/28=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[14, 28, 46, 28], Operations: []
Exploring Operation: 14+28=42, Resulting Numbers: [46, 28, 42]
Generated Node #0,0: 61:[46, 28, 42] Operation: 14+28=42
Moving to Node #0,0
Current State: 61:[46, 28, 42], Operations: ['14+28=42']
Exploring Operation: 28+42=70, Resulting Numbers: [46, 70]
Generated Node #0,0,0: 61:[46, 70] Operation: 28+42=70
Moving to Node #0,0,0
Current State: 61:[46, 70], Operations: ['14+28=42', '28+42=70']
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,61 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
30,
12,
26
] | 76 | [
"3*30=90",
"26-12=14",
"90-14=76"
] | Current State: 76:[3, 30, 12, 26], Operations: []
Exploring Operation: 3*30=90, Resulting Numbers: [12, 26, 90]
Generated Node #2: [12, 26, 90] from Operation: 3*30=90
Current State: 76:[12, 26, 90], Operations: ['3*30=90']
Exploring Operation: 26-12=14, Resulting Numbers: [90, 14]
Generated Node #3: [90, 14] from Operation: 26-12=14
Current State: 76:[90, 14], Operations: ['3*30=90', '26-12=14']
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[3, 30, 12, 26], Operations: []
Exploring Operation: 30-12=18, Resulting Numbers: [3, 26, 18]
Generated Node #0,0: 76:[3, 26, 18] Operation: 30-12=18
Exploring Operation: 12+26=38, Resulting Numbers: [3, 30, 38]
Generated Node #0,1: 76:[3, 30, 38] Operation: 12+26=38
Exploring Operation: 30+12=42, Resulting Numbers: [3, 26, 42]
Generated Node #0,2: 76:[3, 26, 42] Operation: 30+12=42
Exploring Operation: 30-26=4, Resulting Numbers: [3, 12, 4]
Generated Node #0,3: 76:[3, 12, 4] Operation: 30-26=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[3, 12, 4], Operations: ['30-26=4']
Exploring Operation: 3*12=36, Resulting Numbers: [4, 36]
Generated Node #0,3,0: 76:[4, 36] Operation: 3*12=36
Exploring Operation: 12/4=3, Resulting Numbers: [3, 3]
Generated Node #0,3,1: 76:[3, 3] Operation: 12/4=3
Exploring Operation: 3+12=15, Resulting Numbers: [4, 15]
Generated Node #0,3,2: 76:[4, 15] Operation: 3+12=15
Exploring Operation: 12/3=4, Resulting Numbers: [4, 4]
Generated Node #0,3,3: 76:[4, 4] Operation: 12/3=4
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 76:[4, 4], Operations: ['30-26=4', '12/3=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 76:[4, 36], Operations: ['30-26=4', '3*12=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 4*36=144, Resulting Numbers: [144]
144,76 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 76:[3, 3], Operations: ['30-26=4', '12/4=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 76:[4, 15], Operations: ['30-26=4', '3+12=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[3, 26, 18], Operations: ['30-12=18']
Exploring Operation: 26-3=23, Resulting Numbers: [18, 23]
Generated Node #0,0,0: 76:[18, 23] Operation: 26-3=23
Exploring Operation: 26-18=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 76:[3, 8] Operation: 26-18=8
Exploring Operation: 3*26=78, Resulting Numbers: [18, 78]
Generated Node #0,0,2: 76:[18, 78] Operation: 3*26=78
Exploring Operation: 26+18=44, Resulting Numbers: [3, 44]
Generated Node #0,0,3: 76:[3, 44] Operation: 26+18=44
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[18, 78], Operations: ['30-12=18', '3*26=78']
Exploring Operation: 18+78=96, Resulting Numbers: [96]
96,76 unequal: No Solution
Exploring Operation: 18*78=1404, Resulting Numbers: [1404]
1404,76 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[18, 23], Operations: ['30-12=18', '26-3=23']
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,76 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[3, 8], Operations: ['30-12=18', '26-18=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 76:[3, 44], Operations: ['30-12=18', '26+18=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[3, 30, 38], Operations: ['12+26=38']
Exploring Operation: 30/3=10, Resulting Numbers: [38, 10]
Generated Node #0,1,0: 76:[38, 10] Operation: 30/3=10
Exploring Operation: 3+30=33, Resulting Numbers: [38, 33]
Generated Node #0,1,1: 76:[38, 33] Operation: 3+30=33
Exploring Operation: 38-30=8, Resulting Numbers: [3, 8]
Generated Node #0,1,2: 76:[3, 8] Operation: 38-30=8
Exploring Operation: 30-3=27, Resulting Numbers: [38, 27]
Generated Node #0,1,3: 76:[38, 27] Operation: 30-3=27
Moving to Node #0,1,1
Current State: 76:[38, 33], Operations: ['12+26=38', '3+30=33']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[3, 8], Operations: ['12+26=38', '38-30=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[38, 10], Operations: ['12+26=38', '30/3=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,76 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[38, 27], Operations: ['12+26=38', '30-3=27']
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,76 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[3, 26, 42], Operations: ['30+12=42']
Exploring Operation: 42-3=39, Resulting Numbers: [26, 39]
Generated Node #0,2,0: 76:[26, 39] Operation: 42-3=39
Exploring Operation: 3*26=78, Resulting Numbers: [42, 78]
Generated Node #0,2,1: 76:[42, 78] Operation: 3*26=78
Exploring Operation: 26-3=23, Resulting Numbers: [42, 23]
Generated Node #0,2,2: 76:[42, 23] Operation: 26-3=23
Exploring Operation: 42-26=16, Resulting Numbers: [3, 16]
Generated Node #0,2,3: 76:[3, 16] Operation: 42-26=16
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 76:[3, 16], Operations: ['30+12=42', '42-26=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[42, 78], Operations: ['30+12=42', '3*26=78']
Exploring Operation: 42*78=3276, Resulting Numbers: [3276]
3276,76 unequal: No Solution
Exploring Operation: 42+78=120, Resulting Numbers: [120]
120,76 unequal: No Solution
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[26, 39], Operations: ['30+12=42', '42-3=39']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 26+39=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Exploring Operation: 26*39=1014, Resulting Numbers: [1014]
1014,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[42, 23], Operations: ['30+12=42', '26-3=23']
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,76 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
40,
5,
46,
72
] | 37 | [
"40/5=8",
"72/8=9",
"46-9=37"
] | Current State: 37:[40, 5, 46, 72], Operations: []
Exploring Operation: 40/5=8, Resulting Numbers: [46, 72, 8]
Generated Node #2: [46, 72, 8] from Operation: 40/5=8
Current State: 37:[46, 72, 8], Operations: ['40/5=8']
Exploring Operation: 72/8=9, Resulting Numbers: [46, 9]
Generated Node #3: [46, 9] from Operation: 72/8=9
Current State: 37:[46, 9], Operations: ['40/5=8', '72/8=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[40, 5, 46, 72], Operations: []
Exploring Operation: 46-5=41, Resulting Numbers: [40, 72, 41]
Generated Node #0,0: 37:[40, 72, 41] Operation: 46-5=41
Moving to Node #0,0
Current State: 37:[40, 72, 41], Operations: ['46-5=41']
Exploring Operation: 72-40=32, Resulting Numbers: [41, 32]
Generated Node #0,0,0: 37:[41, 32] Operation: 72-40=32
Moving to Node #0,0,0
Current State: 37:[41, 32], Operations: ['46-5=41', '72-40=32']
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,37 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
24,
89,
28,
23
] | 61 | [
"24-23=1",
"89-28=61",
"1*61=61"
] | Current State: 61:[24, 89, 28, 23], Operations: []
Exploring Operation: 24-23=1, Resulting Numbers: [89, 28, 1]
Generated Node #2: [89, 28, 1] from Operation: 24-23=1
Current State: 61:[89, 28, 1], Operations: ['24-23=1']
Exploring Operation: 89-28=61, Resulting Numbers: [1, 61]
Generated Node #3: [1, 61] from Operation: 89-28=61
Current State: 61:[1, 61], Operations: ['24-23=1', '89-28=61']
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[24, 89, 28, 23], Operations: []
Exploring Operation: 24+28=52, Resulting Numbers: [89, 23, 52]
Generated Node #0,0: 61:[89, 23, 52] Operation: 24+28=52
Exploring Operation: 89-24=65, Resulting Numbers: [28, 23, 65]
Generated Node #0,1: 61:[28, 23, 65] Operation: 89-24=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[89, 23, 52], Operations: ['24+28=52']
Exploring Operation: 23+52=75, Resulting Numbers: [89, 75]
Generated Node #0,0,0: 61:[89, 75] Operation: 23+52=75
Exploring Operation: 89-23=66, Resulting Numbers: [52, 66]
Generated Node #0,0,1: 61:[52, 66] Operation: 89-23=66
Moving to Node #0,0,1
Current State: 61:[52, 66], Operations: ['24+28=52', '89-23=66']
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,61 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[89, 75], Operations: ['24+28=52', '23+52=75']
Exploring Operation: 89+75=164, Resulting Numbers: [164]
164,61 unequal: No Solution
Exploring Operation: 89-75=14, Resulting Numbers: [14]
14,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[28, 23, 65], Operations: ['89-24=65']
Exploring Operation: 28+23=51, Resulting Numbers: [65, 51]
Generated Node #0,1,0: 61:[65, 51] Operation: 28+23=51
Exploring Operation: 65-23=42, Resulting Numbers: [28, 42]
Generated Node #0,1,1: 61:[28, 42] Operation: 65-23=42
Moving to Node #0,1,0
Current State: 61:[65, 51], Operations: ['89-24=65', '28+23=51']
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[28, 42], Operations: ['89-24=65', '65-23=42']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,61 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 |
[
40,
41,
43,
16
] | 26 | [
"41-40=1",
"43-16=27",
"27-1=26"
] | Current State: 26:[40, 41, 43, 16], Operations: []
Exploring Operation: 41-40=1, Resulting Numbers: [43, 16, 1]
Generated Node #2: [43, 16, 1] from Operation: 41-40=1
Current State: 26:[43, 16, 1], Operations: ['41-40=1']
Exploring Operation: 43-16=27, Resulting Numbers: [1, 27]
Generated Node #3: [1, 27] from Operation: 43-16=27
Current State: 26:[1, 27], Operations: ['41-40=1', '43-16=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[40, 41, 43, 16], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [41, 16, 3]
Generated Node #0,0: 26:[41, 16, 3] Operation: 43-40=3
Exploring Operation: 43-41=2, Resulting Numbers: [40, 16, 2]
Generated Node #0,1: 26:[40, 16, 2] Operation: 43-41=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[40, 16, 2], Operations: ['43-41=2']
Exploring Operation: 40/2=20, Resulting Numbers: [16, 20]
Generated Node #0,1,0: 26:[16, 20] Operation: 40/2=20
Exploring Operation: 40-16=24, Resulting Numbers: [2, 24]
Generated Node #0,1,1: 26:[2, 24] Operation: 40-16=24
Moving to Node #0,1,1
Current State: 26:[2, 24], Operations: ['43-41=2', '40-16=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[40, 41, 43, 16], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [40, 16, 2]
Generated Node #0,1: 26:[40, 16, 2] Operation: 43-41=2
Moving to Node #0,1
Current State: 26:[40, 16, 2], Operations: ['43-41=2']
Exploring Operation: 40-16=24, Resulting Numbers: [2, 24]
Generated Node #0,1,1: 26:[2, 24] Operation: 40-16=24
Moving to Node #0,1,1
Current State: 26:[2, 24], Operations: ['43-41=2', '40-16=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
69,
90,
85,
54
] | 52 | [
"90-69=21",
"85-54=31",
"21+31=52"
] | Current State: 52:[69, 90, 85, 54], Operations: []
Exploring Operation: 90-69=21, Resulting Numbers: [85, 54, 21]
Generated Node #2: [85, 54, 21] from Operation: 90-69=21
Current State: 52:[85, 54, 21], Operations: ['90-69=21']
Exploring Operation: 85-54=31, Resulting Numbers: [21, 31]
Generated Node #3: [21, 31] from Operation: 85-54=31
Current State: 52:[21, 31], Operations: ['90-69=21', '85-54=31']
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[69, 90, 85, 54], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [69, 54, 5]
Generated Node #0,0: 52:[69, 54, 5] Operation: 90-85=5
Moving to Node #0,0
Current State: 52:[69, 54, 5], Operations: ['90-85=5']
Exploring Operation: 69-54=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 52:[5, 15] Operation: 69-54=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[5, 15], Operations: ['90-85=5', '69-54=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,52 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 |
[
76,
1,
2,
35
] | 37 | [
"76+35=111",
"1+2=3",
"111/3=37"
] | Current State: 37:[76, 1, 2, 35], Operations: []
Exploring Operation: 76+35=111, Resulting Numbers: [1, 2, 111]
Generated Node #2: [1, 2, 111] from Operation: 76+35=111
Current State: 37:[1, 2, 111], Operations: ['76+35=111']
Exploring Operation: 1+2=3, Resulting Numbers: [111, 3]
Generated Node #3: [111, 3] from Operation: 1+2=3
Current State: 37:[111, 3], Operations: ['76+35=111', '1+2=3']
Exploring Operation: 111/3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[76, 1, 2, 35], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [1, 35, 38]
Generated Node #0,0: 37:[1, 35, 38] Operation: 76/2=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[1, 35, 38], Operations: ['76/2=38']
Exploring Operation: 1+35=36, Resulting Numbers: [38, 36]
Generated Node #0,0,0: 37:[38, 36] Operation: 1+35=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[38, 36], Operations: ['76/2=38', '1+35=36']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
49,
9,
56,
2
] | 65 | [
"56-49=7",
"9*7=63",
"2+63=65"
] | Current State: 65:[49, 9, 56, 2], Operations: []
Exploring Operation: 56-49=7, Resulting Numbers: [9, 2, 7]
Generated Node #2: [9, 2, 7] from Operation: 56-49=7
Current State: 65:[9, 2, 7], Operations: ['56-49=7']
Exploring Operation: 9*7=63, Resulting Numbers: [2, 63]
Generated Node #3: [2, 63] from Operation: 9*7=63
Current State: 65:[2, 63], Operations: ['56-49=7', '9*7=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[49, 9, 56, 2], Operations: []
Exploring Operation: 9+56=65, Resulting Numbers: [49, 2, 65]
Generated Node #0,0: 65:[49, 2, 65] Operation: 9+56=65
Exploring Operation: 56-49=7, Resulting Numbers: [9, 2, 7]
Generated Node #0,1: 65:[9, 2, 7] Operation: 56-49=7
Exploring Operation: 49+9=58, Resulting Numbers: [56, 2, 58]
Generated Node #0,2: 65:[56, 2, 58] Operation: 49+9=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[9, 2, 7], Operations: ['56-49=7']
Exploring Operation: 9+2=11, Resulting Numbers: [7, 11]
Generated Node #0,1,0: 65:[7, 11] Operation: 9+2=11
Exploring Operation: 9-2=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 65:[7, 7] Operation: 9-2=7
Exploring Operation: 7-2=5, Resulting Numbers: [9, 5]
Generated Node #0,1,2: 65:[9, 5] Operation: 7-2=5
Moving to Node #0,1,0
Current State: 65:[7, 11], Operations: ['56-49=7', '9+2=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[7, 7], Operations: ['56-49=7', '9-2=7']
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[9, 5], Operations: ['56-49=7', '7-2=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,65 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[49, 2, 65], Operations: ['9+56=65']
Exploring Operation: 49+2=51, Resulting Numbers: [65, 51]
Generated Node #0,0,0: 65:[65, 51] Operation: 49+2=51
Exploring Operation: 49-2=47, Resulting Numbers: [65, 47]
Generated Node #0,0,1: 65:[65, 47] Operation: 49-2=47
Exploring Operation: 65-49=16, Resulting Numbers: [2, 16]
Generated Node #0,0,2: 65:[2, 16] Operation: 65-49=16
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[2, 16], Operations: ['9+56=65', '65-49=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,65 unequal: No Solution
No 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: 65:[65, 51], Operations: ['9+56=65', '49+2=51']
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 65*51=3315, Resulting Numbers: [3315]
3315,65 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,65 unequal: No Solution
No 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: 65:[65, 47], Operations: ['9+56=65', '49-2=47']
Exploring Operation: 65+47=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 65*47=3055, Resulting Numbers: [3055]
3055,65 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: 65:[56, 2, 58], Operations: ['49+9=58']
Exploring Operation: 2+58=60, Resulting Numbers: [56, 60]
Generated Node #0,2,0: 65:[56, 60] Operation: 2+58=60
Exploring Operation: 56+2=58, Resulting Numbers: [58, 58]
Generated Node #0,2,1: 65:[58, 58] Operation: 56+2=58
Exploring Operation: 58-56=2, Resulting Numbers: [2, 2]
Generated Node #0,2,2: 65:[2, 2] Operation: 58-56=2
Moving to Node #0,2,2
Current State: 65:[2, 2], Operations: ['49+9=58', '58-56=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[56, 60], Operations: ['49+9=58', '2+58=60']
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,65 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[58, 58], Operations: ['49+9=58', '56+2=58']
Exploring Operation: 58-58=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 58+58=116, Resulting Numbers: [116]
116,65 unequal: No Solution
Exploring Operation: 58/58=1, Resulting Numbers: [1]
1,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
55,
40,
8
] | 69 | [
"55*40=2200",
"8+2200=2208",
"2208/32=69"
] | Current State: 69:[32, 55, 40, 8], Operations: []
Exploring Operation: 55*40=2200, Resulting Numbers: [32, 8, 2200]
Generated Node #2: [32, 8, 2200] from Operation: 55*40=2200
Current State: 69:[32, 8, 2200], Operations: ['55*40=2200']
Exploring Operation: 8+2200=2208, Resulting Numbers: [32, 2208]
Generated Node #3: [32, 2208] from Operation: 8+2200=2208
Current State: 69:[32, 2208], Operations: ['55*40=2200', '8+2200=2208']
Exploring Operation: 2208/32=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[32, 55, 40, 8], Operations: []
Exploring Operation: 32+40=72, Resulting Numbers: [55, 8, 72]
Generated Node #0,0: 69:[55, 8, 72] Operation: 32+40=72
Exploring Operation: 55-32=23, Resulting Numbers: [40, 8, 23]
Generated Node #0,1: 69:[40, 8, 23] Operation: 55-32=23
Exploring Operation: 55-40=15, Resulting Numbers: [32, 8, 15]
Generated Node #0,2: 69:[32, 8, 15] Operation: 55-40=15
Moving to Node #0,0
Current State: 69:[55, 8, 72], Operations: ['32+40=72']
Exploring Operation: 72-55=17, Resulting Numbers: [8, 17]
Generated Node #0,0,0: 69:[8, 17] Operation: 72-55=17
Exploring Operation: 55+8=63, Resulting Numbers: [72, 63]
Generated Node #0,0,1: 69:[72, 63] Operation: 55+8=63
Exploring Operation: 72-8=64, Resulting Numbers: [55, 64]
Generated Node #0,0,2: 69:[55, 64] Operation: 72-8=64
Moving to Node #0,1
Current State: 69:[40, 8, 23], Operations: ['55-32=23']
Exploring Operation: 40/8=5, Resulting Numbers: [23, 5]
Generated Node #0,1,0: 69:[23, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [23, 32]
Generated Node #0,1,1: 69:[23, 32] Operation: 40-8=32
Exploring Operation: 40+23=63, Resulting Numbers: [8, 63]
Generated Node #0,1,2: 69:[8, 63] Operation: 40+23=63
Moving to Node #0,2
Current State: 69:[32, 8, 15], Operations: ['55-40=15']
Exploring Operation: 32/8=4, Resulting Numbers: [15, 4]
Generated Node #0,2,0: 69:[15, 4] Operation: 32/8=4
Exploring Operation: 8+15=23, Resulting Numbers: [32, 23]
Generated Node #0,2,1: 69:[32, 23] Operation: 8+15=23
Exploring Operation: 32-8=24, Resulting Numbers: [15, 24]
Generated Node #0,2,2: 69:[15, 24] Operation: 32-8=24
Moving to Node #0,1,0
Current State: 69:[23, 5], Operations: ['55-32=23', '40/8=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,69 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[15, 4], Operations: ['55-40=15', '32/8=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[15, 24], Operations: ['55-40=15', '32-8=24']
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,69 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[72, 63], Operations: ['32+40=72', '55+8=63']
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,69 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[23, 32], Operations: ['55-32=23', '40-8=32']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,69 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[32, 23], Operations: ['55-40=15', '8+15=23']
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,69 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[8, 63], Operations: ['55-32=23', '40+23=63']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,69 unequal: No Solution
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[8, 17], Operations: ['32+40=72', '72-55=17']
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[55, 64], Operations: ['32+40=72', '72-8=64']
Exploring Operation: 55+64=119, Resulting Numbers: [119]
119,69 unequal: No Solution
Exploring Operation: 55*64=3520, Resulting Numbers: [3520]
3520,69 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,69 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
63,
35,
46,
9
] | 27 | [
"63-35=28",
"46+9=55",
"55-28=27"
] | Current State: 27:[63, 35, 46, 9], Operations: []
Exploring Operation: 63-35=28, Resulting Numbers: [46, 9, 28]
Generated Node #2: [46, 9, 28] from Operation: 63-35=28
Current State: 27:[46, 9, 28], Operations: ['63-35=28']
Exploring Operation: 46+9=55, Resulting Numbers: [28, 55]
Generated Node #3: [28, 55] from Operation: 46+9=55
Current State: 27:[28, 55], Operations: ['63-35=28', '46+9=55']
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[63, 35, 46, 9], Operations: []
Exploring Operation: 46-35=11, Resulting Numbers: [63, 9, 11]
Generated Node #0,0: 27:[63, 9, 11] Operation: 46-35=11
Exploring Operation: 63/9=7, Resulting Numbers: [35, 46, 7]
Generated Node #0,1: 27:[35, 46, 7] Operation: 63/9=7
Exploring Operation: 63-46=17, Resulting Numbers: [35, 9, 17]
Generated Node #0,2: 27:[35, 9, 17] Operation: 63-46=17
Exploring Operation: 63-35=28, Resulting Numbers: [46, 9, 28]
Generated Node #0,3: 27:[46, 9, 28] Operation: 63-35=28
Moving to Node #0,2
Current State: 27:[35, 9, 17], Operations: ['63-46=17']
Exploring Operation: 9+17=26, Resulting Numbers: [35, 26]
Generated Node #0,2,0: 27:[35, 26] Operation: 9+17=26
Exploring Operation: 17-9=8, Resulting Numbers: [35, 8]
Generated Node #0,2,1: 27:[35, 8] Operation: 17-9=8
Exploring Operation: 35-17=18, Resulting Numbers: [9, 18]
Generated Node #0,2,2: 27:[9, 18] Operation: 35-17=18
Exploring Operation: 35-9=26, Resulting Numbers: [17, 26]
Generated Node #0,2,3: 27:[17, 26] Operation: 35-9=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[35, 26], Operations: ['63-46=17', '9+17=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,27 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[35, 8], Operations: ['63-46=17', '17-9=8']
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,27 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[63, 35, 46, 9], Operations: []
Exploring Operation: 63-46=17, Resulting Numbers: [35, 9, 17]
Generated Node #0,2: 27:[35, 9, 17] Operation: 63-46=17
Moving to Node #0,2
Current State: 27:[35, 9, 17], Operations: ['63-46=17']
Exploring Operation: 17-9=8, Resulting Numbers: [35, 8]
Generated Node #0,2,1: 27:[35, 8] Operation: 17-9=8
Moving to Node #0,2,1
Current State: 27:[35, 8], Operations: ['63-46=17', '17-9=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
30,
43,
26,
83
] | 70 | [
"43-30=13",
"83-26=57",
"13+57=70"
] | Current State: 70:[30, 43, 26, 83], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [26, 83, 13]
Generated Node #2: [26, 83, 13] from Operation: 43-30=13
Current State: 70:[26, 83, 13], Operations: ['43-30=13']
Exploring Operation: 83-26=57, Resulting Numbers: [13, 57]
Generated Node #3: [13, 57] from Operation: 83-26=57
Current State: 70:[13, 57], Operations: ['43-30=13', '83-26=57']
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[30, 43, 26, 83], Operations: []
Exploring Operation: 43+26=69, Resulting Numbers: [30, 83, 69]
Generated Node #0,0: 70:[30, 83, 69] Operation: 43+26=69
Exploring Operation: 83-43=40, Resulting Numbers: [30, 26, 40]
Generated Node #0,1: 70:[30, 26, 40] Operation: 83-43=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[30, 83, 69], Operations: ['43+26=69']
Exploring Operation: 83-69=14, Resulting Numbers: [30, 14]
Generated Node #0,0,0: 70:[30, 14] Operation: 83-69=14
Exploring Operation: 69-30=39, Resulting Numbers: [83, 39]
Generated Node #0,0,1: 70:[83, 39] Operation: 69-30=39
Moving to Node #0,0,0
Current State: 70:[30, 14], Operations: ['43+26=69', '83-69=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[83, 39], Operations: ['43+26=69', '69-30=39']
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,70 unequal: No Solution
Exploring Operation: 83-39=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
Current State: 70:[30, 26, 40], Operations: ['83-43=40']
Exploring Operation: 40-26=14, Resulting Numbers: [30, 14]
Generated Node #0,1,0: 70:[30, 14] Operation: 40-26=14
Exploring Operation: 30-26=4, Resulting Numbers: [40, 4]
Generated Node #0,1,1: 70:[40, 4] Operation: 30-26=4
Moving to Node #0,1,0
Current State: 70:[30, 14], Operations: ['83-43=40', '40-26=14']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[40, 4], Operations: ['83-43=40', '30-26=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,70 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 |
[
12,
59,
49,
96
] | 18 | [
"96/12=8",
"59-49=10",
"8+10=18"
] | Current State: 18:[12, 59, 49, 96], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [59, 49, 8]
Generated Node #2: [59, 49, 8] from Operation: 96/12=8
Current State: 18:[59, 49, 8], Operations: ['96/12=8']
Exploring Operation: 59-49=10, Resulting Numbers: [8, 10]
Generated Node #3: [8, 10] from Operation: 59-49=10
Current State: 18:[8, 10], Operations: ['96/12=8', '59-49=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[12, 59, 49, 96], Operations: []
Exploring Operation: 59-49=10, Resulting Numbers: [12, 96, 10]
Generated Node #0,0: 18:[12, 96, 10] Operation: 59-49=10
Exploring Operation: 96/12=8, Resulting Numbers: [59, 49, 8]
Generated Node #0,1: 18:[59, 49, 8] Operation: 96/12=8
Exploring Operation: 96-49=47, Resulting Numbers: [12, 59, 47]
Generated Node #0,2: 18:[12, 59, 47] Operation: 96-49=47
Exploring Operation: 96-59=37, Resulting Numbers: [12, 49, 37]
Generated Node #0,3: 18:[12, 49, 37] Operation: 96-59=37
Moving to Node #0,3
Current State: 18:[12, 49, 37], Operations: ['96-59=37']
Exploring Operation: 37-12=25, Resulting Numbers: [49, 25]
Generated Node #0,3,0: 18:[49, 25] Operation: 37-12=25
Exploring Operation: 49-12=37, Resulting Numbers: [37, 37]
Generated Node #0,3,1: 18:[37, 37] Operation: 49-12=37
Exploring Operation: 12+49=61, Resulting Numbers: [37, 61]
Generated Node #0,3,2: 18:[37, 61] Operation: 12+49=61
Exploring Operation: 49-37=12, Resulting Numbers: [12, 12]
Generated Node #0,3,3: 18:[12, 12] Operation: 49-37=12
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[12, 12], Operations: ['96-59=37', '49-37=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 12*12=144, Resulting Numbers: [144]
144,18 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[49, 25], Operations: ['96-59=37', '37-12=25']
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,18 unequal: No Solution
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,18 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[37, 37], Operations: ['96-59=37', '49-12=37']
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,18 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[37, 61], Operations: ['96-59=37', '12+49=61']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,18 unequal: No Solution
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,18 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: 18:[12, 59, 47], Operations: ['96-49=47']
Exploring Operation: 59-47=12, Resulting Numbers: [12, 12]
Generated Node #0,2,0: 18:[12, 12] Operation: 59-47=12
Exploring Operation: 47-12=35, Resulting Numbers: [59, 35]
Generated Node #0,2,1: 18:[59, 35] Operation: 47-12=35
Exploring Operation: 59-12=47, Resulting Numbers: [47, 47]
Generated Node #0,2,2: 18:[47, 47] Operation: 59-12=47
Exploring Operation: 12+59=71, Resulting Numbers: [47, 71]
Generated Node #0,2,3: 18:[47, 71] Operation: 12+59=71
Moving to Node #0,1
Current State: 18:[59, 49, 8], Operations: ['96/12=8']
Exploring Operation: 59-49=10, Resulting Numbers: [8, 10]
Generated Node #0,1,0: 18:[8, 10] Operation: 59-49=10
Exploring Operation: 59-8=51, Resulting Numbers: [49, 51]
Generated Node #0,1,1: 18:[49, 51] Operation: 59-8=51
Exploring Operation: 59+8=67, Resulting Numbers: [49, 67]
Generated Node #0,1,2: 18:[49, 67] Operation: 59+8=67
Exploring Operation: 49-8=41, Resulting Numbers: [59, 41]
Generated Node #0,1,3: 18:[59, 41] Operation: 49-8=41
Moving to Node #0,0
Current State: 18:[12, 96, 10], Operations: ['59-49=10']
Exploring Operation: 96/12=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 18:[10, 8] Operation: 96/12=8
Exploring Operation: 96-10=86, Resulting Numbers: [12, 86]
Generated Node #0,0,1: 18:[12, 86] Operation: 96-10=86
Exploring Operation: 12-10=2, Resulting Numbers: [96, 2]
Generated Node #0,0,2: 18:[96, 2] Operation: 12-10=2
Exploring Operation: 96-12=84, Resulting Numbers: [10, 84]
Generated Node #0,0,3: 18:[10, 84] Operation: 96-12=84
Moving to Node #0,1,0
Current State: 18:[8, 10], Operations: ['96/12=8', '59-49=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[12, 59, 49, 96], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [59, 49, 8]
Generated Node #0,1: 18:[59, 49, 8] Operation: 96/12=8
Moving to Node #0,1
Current State: 18:[59, 49, 8], Operations: ['96/12=8']
Exploring Operation: 59-49=10, Resulting Numbers: [8, 10]
Generated Node #0,1,0: 18:[8, 10] Operation: 59-49=10
Moving to Node #0,1,0
Current State: 18:[8, 10], Operations: ['96/12=8', '59-49=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
92,
42,
2,
87
] | 94 | [
"92+42=134",
"134-87=47",
"2*47=94"
] | Current State: 94:[92, 42, 2, 87], Operations: []
Exploring Operation: 92+42=134, Resulting Numbers: [2, 87, 134]
Generated Node #2: [2, 87, 134] from Operation: 92+42=134
Current State: 94:[2, 87, 134], Operations: ['92+42=134']
Exploring Operation: 134-87=47, Resulting Numbers: [2, 47]
Generated Node #3: [2, 47] from Operation: 134-87=47
Current State: 94:[2, 47], Operations: ['92+42=134', '134-87=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[92, 42, 2, 87], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [42, 2, 5]
Generated Node #0,0: 94:[42, 2, 5] Operation: 92-87=5
Exploring Operation: 87-42=45, Resulting Numbers: [92, 2, 45]
Generated Node #0,1: 94:[92, 2, 45] Operation: 87-42=45
Moving to Node #0,1
Current State: 94:[92, 2, 45], Operations: ['87-42=45']
Exploring Operation: 92+2=94, Resulting Numbers: [45, 94]
Generated Node #0,1,0: 94:[45, 94] Operation: 92+2=94
Exploring Operation: 92-45=47, Resulting Numbers: [2, 47]
Generated Node #0,1,1: 94:[2, 47] Operation: 92-45=47
Moving to Node #0,0
Current State: 94:[42, 2, 5], Operations: ['92-87=5']
Exploring Operation: 42+5=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 94:[2, 47] Operation: 42+5=47
Exploring Operation: 42+2=44, Resulting Numbers: [5, 44]
Generated Node #0,0,1: 94:[5, 44] Operation: 42+2=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[2, 47], Operations: ['92-87=5', '42+5=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[92, 42, 2, 87], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [42, 2, 5]
Generated Node #0,0: 94:[42, 2, 5] Operation: 92-87=5
Moving to Node #0,0
Current State: 94:[42, 2, 5], Operations: ['92-87=5']
Exploring Operation: 42+5=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 94:[2, 47] Operation: 42+5=47
Moving to Node #0,0,0
Current State: 94:[2, 47], Operations: ['92-87=5', '42+5=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
40,
95,
62,
24
] | 97 | [
"40+95=135",
"62-24=38",
"135-38=97"
] | Current State: 97:[40, 95, 62, 24], Operations: []
Exploring Operation: 40+95=135, Resulting Numbers: [62, 24, 135]
Generated Node #2: [62, 24, 135] from Operation: 40+95=135
Current State: 97:[62, 24, 135], Operations: ['40+95=135']
Exploring Operation: 62-24=38, Resulting Numbers: [135, 38]
Generated Node #3: [135, 38] from Operation: 62-24=38
Current State: 97:[135, 38], Operations: ['40+95=135', '62-24=38']
Exploring Operation: 135-38=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[40, 95, 62, 24], Operations: []
Exploring Operation: 62+24=86, Resulting Numbers: [40, 95, 86]
Generated Node #0,0: 97:[40, 95, 86] Operation: 62+24=86
Exploring Operation: 40+24=64, Resulting Numbers: [95, 62, 64]
Generated Node #0,1: 97:[95, 62, 64] Operation: 40+24=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[40, 95, 86], Operations: ['62+24=86']
Exploring Operation: 40+86=126, Resulting Numbers: [95, 126]
Generated Node #0,0,0: 97:[95, 126] Operation: 40+86=126
Exploring Operation: 40+95=135, Resulting Numbers: [86, 135]
Generated Node #0,0,1: 97:[86, 135] Operation: 40+95=135
Moving to Node #0,0,0
Current State: 97:[95, 126], Operations: ['62+24=86', '40+86=126']
Exploring Operation: 95+126=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 126-95=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[86, 135], Operations: ['62+24=86', '40+95=135']
Exploring Operation: 135-86=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 86+135=221, Resulting Numbers: [221]
221,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[95, 62, 64], Operations: ['40+24=64']
Exploring Operation: 95+62=157, Resulting Numbers: [64, 157]
Generated Node #0,1,0: 97:[64, 157] Operation: 95+62=157
Exploring Operation: 62+64=126, Resulting Numbers: [95, 126]
Generated Node #0,1,1: 97:[95, 126] Operation: 62+64=126
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[95, 126], Operations: ['40+24=64', '62+64=126']
Exploring Operation: 126-95=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 95+126=221, Resulting Numbers: [221]
221,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[64, 157], Operations: ['40+24=64', '95+62=157']
Exploring Operation: 64+157=221, Resulting Numbers: [221]
221,97 unequal: No Solution
Exploring Operation: 157-64=93, Resulting Numbers: [93]
93,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
46,
86,
50
] | 65 | [
"25+46=71",
"86+50=136",
"136-71=65"
] | Current State: 65:[25, 46, 86, 50], Operations: []
Exploring Operation: 25+46=71, Resulting Numbers: [86, 50, 71]
Generated Node #2: [86, 50, 71] from Operation: 25+46=71
Current State: 65:[86, 50, 71], Operations: ['25+46=71']
Exploring Operation: 86+50=136, Resulting Numbers: [71, 136]
Generated Node #3: [71, 136] from Operation: 86+50=136
Current State: 65:[71, 136], Operations: ['25+46=71', '86+50=136']
Exploring Operation: 136-71=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[25, 46, 86, 50], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [25, 86, 4]
Generated Node #0,0: 65:[25, 86, 4] Operation: 50-46=4
Exploring Operation: 86-25=61, Resulting Numbers: [46, 50, 61]
Generated Node #0,1: 65:[46, 50, 61] Operation: 86-25=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[25, 86, 4], Operations: ['50-46=4']
Exploring Operation: 86-25=61, Resulting Numbers: [4, 61]
Generated Node #0,0,0: 65:[4, 61] Operation: 86-25=61
Exploring Operation: 25-4=21, Resulting Numbers: [86, 21]
Generated Node #0,0,1: 65:[86, 21] Operation: 25-4=21
Moving to Node #0,0,0
Current State: 65:[4, 61], Operations: ['50-46=4', '86-25=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[25, 46, 86, 50], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [25, 86, 4]
Generated Node #0,0: 65:[25, 86, 4] Operation: 50-46=4
Moving to Node #0,0
Current State: 65:[25, 86, 4], Operations: ['50-46=4']
Exploring Operation: 86-25=61, Resulting Numbers: [4, 61]
Generated Node #0,0,0: 65:[4, 61] Operation: 86-25=61
Moving to Node #0,0,0
Current State: 65:[4, 61], Operations: ['50-46=4', '86-25=61']
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
92,
13,
64,
13
] | 92 | [
"13-13=0",
"64*0=0",
"92+0=92"
] | Current State: 92:[92, 13, 64, 13], Operations: []
Exploring Operation: 13-13=0, Resulting Numbers: [92, 64, 0]
Generated Node #2: [92, 64, 0] from Operation: 13-13=0
Current State: 92:[92, 64, 0], Operations: ['13-13=0']
Exploring Operation: 64*0=0, Resulting Numbers: [92, 0]
Generated Node #3: [92, 0] from Operation: 64*0=0
Current State: 92:[92, 0], Operations: ['13-13=0', '64*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[92, 13, 64, 13], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [92, 13, 51]
Generated Node #0,0: 92:[92, 13, 51] Operation: 64-13=51
Moving to Node #0,0
Current State: 92:[92, 13, 51], Operations: ['64-13=51']
Exploring Operation: 51-13=38, Resulting Numbers: [92, 38]
Generated Node #0,0,0: 92:[92, 38] Operation: 51-13=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[92, 38], Operations: ['64-13=51', '51-13=38']
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,92 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 |
[
9,
37,
8,
43
] | 39 | [
"43-37=6",
"8*6=48",
"48-9=39"
] | Current State: 39:[9, 37, 8, 43], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [9, 8, 6]
Generated Node #2: [9, 8, 6] from Operation: 43-37=6
Current State: 39:[9, 8, 6], Operations: ['43-37=6']
Exploring Operation: 8*6=48, Resulting Numbers: [9, 48]
Generated Node #3: [9, 48] from Operation: 8*6=48
Current State: 39:[9, 48], Operations: ['43-37=6', '8*6=48']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[9, 37, 8, 43], Operations: []
Exploring Operation: 9+8=17, Resulting Numbers: [37, 43, 17]
Generated Node #0,0: 39:[37, 43, 17] Operation: 9+8=17
Exploring Operation: 43-8=35, Resulting Numbers: [9, 37, 35]
Generated Node #0,1: 39:[9, 37, 35] Operation: 43-8=35
Exploring Operation: 9-8=1, Resulting Numbers: [37, 43, 1]
Generated Node #0,2: 39:[37, 43, 1] Operation: 9-8=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[37, 43, 1], Operations: ['9-8=1']
Exploring Operation: 37+1=38, Resulting Numbers: [43, 38]
Generated Node #0,2,0: 39:[43, 38] Operation: 37+1=38
Exploring Operation: 43-1=42, Resulting Numbers: [37, 42]
Generated Node #0,2,1: 39:[37, 42] Operation: 43-1=42
Exploring Operation: 43-37=6, Resulting Numbers: [1, 6]
Generated Node #0,2,2: 39:[1, 6] Operation: 43-37=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[43, 38], Operations: ['9-8=1', '37+1=38']
Exploring Operation: 43*38=1634, Resulting Numbers: [1634]
1634,39 unequal: No Solution
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,39 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[37, 42], Operations: ['9-8=1', '43-1=42']
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,39 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[1, 6], Operations: ['9-8=1', '43-37=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,39 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: 39:[37, 43, 17], Operations: ['9+8=17']
Exploring Operation: 43-17=26, Resulting Numbers: [37, 26]
Generated Node #0,0,0: 39:[37, 26] Operation: 43-17=26
Exploring Operation: 37-17=20, Resulting Numbers: [43, 20]
Generated Node #0,0,1: 39:[43, 20] Operation: 37-17=20
Exploring Operation: 43-37=6, Resulting Numbers: [17, 6]
Generated Node #0,0,2: 39:[17, 6] Operation: 43-37=6
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[17, 6], Operations: ['9+8=17', '43-37=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[43, 20], Operations: ['9+8=17', '37-17=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[37, 26], Operations: ['9+8=17', '43-17=26']
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,39 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,39 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: 39:[9, 37, 35], Operations: ['43-8=35']
Exploring Operation: 9+35=44, Resulting Numbers: [37, 44]
Generated Node #0,1,0: 39:[37, 44] Operation: 9+35=44
Exploring Operation: 9+37=46, Resulting Numbers: [35, 46]
Generated Node #0,1,1: 39:[35, 46] Operation: 9+37=46
Exploring Operation: 37-35=2, Resulting Numbers: [9, 2]
Generated Node #0,1,2: 39:[9, 2] Operation: 37-35=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[9, 2], Operations: ['43-8=35', '37-35=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[37, 44], Operations: ['43-8=35', '9+35=44']
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 37+44=81, Resulting Numbers: [81]
81,39 unequal: No Solution
Exploring Operation: 37*44=1628, Resulting Numbers: [1628]
1628,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[35, 46], Operations: ['43-8=35', '9+37=46']
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,39 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,39 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
22,
66,
25,
89
] | 70 | [
"66-22=44",
"25+89=114",
"114-44=70"
] | Current State: 70:[22, 66, 25, 89], Operations: []
Exploring Operation: 66-22=44, Resulting Numbers: [25, 89, 44]
Generated Node #2: [25, 89, 44] from Operation: 66-22=44
Current State: 70:[25, 89, 44], Operations: ['66-22=44']
Exploring Operation: 25+89=114, Resulting Numbers: [44, 114]
Generated Node #3: [44, 114] from Operation: 25+89=114
Current State: 70:[44, 114], Operations: ['66-22=44', '25+89=114']
Exploring Operation: 114-44=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[22, 66, 25, 89], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [66, 89, 3]
Generated Node #0,0: 70:[66, 89, 3] Operation: 25-22=3
Exploring Operation: 89-25=64, Resulting Numbers: [22, 66, 64]
Generated Node #0,1: 70:[22, 66, 64] Operation: 89-25=64
Exploring Operation: 89-22=67, Resulting Numbers: [66, 25, 67]
Generated Node #0,2: 70:[66, 25, 67] Operation: 89-22=67
Moving to Node #0,2
Current State: 70:[66, 25, 67], Operations: ['89-22=67']
Exploring Operation: 67-25=42, Resulting Numbers: [66, 42]
Generated Node #0,2,0: 70:[66, 42] Operation: 67-25=42
Exploring Operation: 66-25=41, Resulting Numbers: [67, 41]
Generated Node #0,2,1: 70:[67, 41] Operation: 66-25=41
Exploring Operation: 67-66=1, Resulting Numbers: [25, 1]
Generated Node #0,2,2: 70:[25, 1] Operation: 67-66=1
Moving to Node #0,1
Current State: 70:[22, 66, 64], Operations: ['89-25=64']
Exploring Operation: 66/22=3, Resulting Numbers: [64, 3]
Generated Node #0,1,0: 70:[64, 3] Operation: 66/22=3
Exploring Operation: 66-64=2, Resulting Numbers: [22, 2]
Generated Node #0,1,1: 70:[22, 2] Operation: 66-64=2
Exploring Operation: 64-22=42, Resulting Numbers: [66, 42]
Generated Node #0,1,2: 70:[66, 42] Operation: 64-22=42
Moving to Node #0,0
Current State: 70:[66, 89, 3], Operations: ['25-22=3']
Exploring Operation: 89-66=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 70:[3, 23] Operation: 89-66=23
Exploring Operation: 66+3=69, Resulting Numbers: [89, 69]
Generated Node #0,0,1: 70:[89, 69] Operation: 66+3=69
Exploring Operation: 89-3=86, Resulting Numbers: [66, 86]
Generated Node #0,0,2: 70:[66, 86] Operation: 89-3=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[3, 23], Operations: ['25-22=3', '89-66=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,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,0,1
Current State: 70:[89, 69], Operations: ['25-22=3', '66+3=69']
Exploring Operation: 89*69=6141, Resulting Numbers: [6141]
6141,70 unequal: No Solution
Exploring Operation: 89+69=158, Resulting Numbers: [158]
158,70 unequal: No Solution
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,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,0,2
Current State: 70:[66, 86], Operations: ['25-22=3', '89-3=86']
Exploring Operation: 66+86=152, Resulting Numbers: [152]
152,70 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 66*86=5676, Resulting Numbers: [5676]
5676,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 70:[64, 3], Operations: ['89-25=64', '66/22=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[22, 2], Operations: ['89-25=64', '66-64=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[67, 41], Operations: ['89-22=67', '66-25=41']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,70 unequal: No Solution
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[25, 1], Operations: ['89-22=67', '67-66=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[66, 42], Operations: ['89-22=67', '67-25=42']
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[66, 42], Operations: ['89-25=64', '64-22=42']
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,70 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
17,
85,
86,
18
] | 73 | [
"85/17=5",
"86-18=68",
"5+68=73"
] | Current State: 73:[17, 85, 86, 18], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [86, 18, 5]
Generated Node #2: [86, 18, 5] from Operation: 85/17=5
Current State: 73:[86, 18, 5], Operations: ['85/17=5']
Exploring Operation: 86-18=68, Resulting Numbers: [5, 68]
Generated Node #3: [5, 68] from Operation: 86-18=68
Current State: 73:[5, 68], Operations: ['85/17=5', '86-18=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[17, 85, 86, 18], Operations: []
Exploring Operation: 86-18=68, Resulting Numbers: [17, 85, 68]
Generated Node #0,0: 73:[17, 85, 68] Operation: 86-18=68
Exploring Operation: 86-17=69, Resulting Numbers: [85, 18, 69]
Generated Node #0,1: 73:[85, 18, 69] Operation: 86-17=69
Exploring Operation: 17+18=35, Resulting Numbers: [85, 86, 35]
Generated Node #0,2: 73:[85, 86, 35] Operation: 17+18=35
Exploring Operation: 85-17=68, Resulting Numbers: [86, 18, 68]
Generated Node #0,3: 73:[86, 18, 68] Operation: 85-17=68
Moving to Node #0,2
Current State: 73:[85, 86, 35], Operations: ['17+18=35']
Exploring Operation: 86+35=121, Resulting Numbers: [85, 121]
Generated Node #0,2,0: 73:[85, 121] Operation: 86+35=121
Exploring Operation: 85+35=120, Resulting Numbers: [86, 120]
Generated Node #0,2,1: 73:[86, 120] Operation: 85+35=120
Exploring Operation: 85-35=50, Resulting Numbers: [86, 50]
Generated Node #0,2,2: 73:[86, 50] Operation: 85-35=50
Exploring Operation: 86-35=51, Resulting Numbers: [85, 51]
Generated Node #0,2,3: 73:[85, 51] Operation: 86-35=51
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[85, 51], Operations: ['17+18=35', '86-35=51']
Exploring Operation: 85-51=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 85*51=4335, Resulting Numbers: [4335]
4335,73 unequal: No Solution
Exploring Operation: 85+51=136, Resulting Numbers: [136]
136,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[86, 50], Operations: ['17+18=35', '85-35=50']
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[85, 121], Operations: ['17+18=35', '86+35=121']
Exploring Operation: 121-85=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 85+121=206, Resulting Numbers: [206]
206,73 unequal: No Solution
Exploring Operation: 85*121=10285, Resulting Numbers: [10285]
10285,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[86, 120], Operations: ['17+18=35', '85+35=120']
Exploring Operation: 86+120=206, Resulting Numbers: [206]
206,73 unequal: No Solution
Exploring Operation: 120-86=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 86*120=10320, Resulting Numbers: [10320]
10320,73 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: 73:[85, 18, 69], Operations: ['86-17=69']
Exploring Operation: 85-18=67, Resulting Numbers: [69, 67]
Generated Node #0,1,0: 73:[69, 67] Operation: 85-18=67
Exploring Operation: 85+18=103, Resulting Numbers: [69, 103]
Generated Node #0,1,1: 73:[69, 103] Operation: 85+18=103
Exploring Operation: 69-18=51, Resulting Numbers: [85, 51]
Generated Node #0,1,2: 73:[85, 51] Operation: 69-18=51
Exploring Operation: 18+69=87, Resulting Numbers: [85, 87]
Generated Node #0,1,3: 73:[85, 87] Operation: 18+69=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[69, 67], Operations: ['86-17=69', '85-18=67']
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[85, 87], Operations: ['86-17=69', '18+69=87']
Exploring Operation: 85*87=7395, Resulting Numbers: [7395]
7395,73 unequal: No Solution
Exploring Operation: 85+87=172, Resulting Numbers: [172]
172,73 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[69, 103], Operations: ['86-17=69', '85+18=103']
Exploring Operation: 69*103=7107, Resulting Numbers: [7107]
7107,73 unequal: No Solution
Exploring Operation: 103-69=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 69+103=172, Resulting Numbers: [172]
172,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[85, 51], Operations: ['86-17=69', '69-18=51']
Exploring Operation: 85*51=4335, Resulting Numbers: [4335]
4335,73 unequal: No Solution
Exploring Operation: 85-51=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 85+51=136, Resulting Numbers: [136]
136,73 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: 73:[86, 18, 68], Operations: ['85-17=68']
Exploring Operation: 68-18=50, Resulting Numbers: [86, 50]
Generated Node #0,3,0: 73:[86, 50] Operation: 68-18=50
Exploring Operation: 86+18=104, Resulting Numbers: [68, 104]
Generated Node #0,3,1: 73:[68, 104] Operation: 86+18=104
Exploring Operation: 18+68=86, Resulting Numbers: [86, 86]
Generated Node #0,3,2: 73:[86, 86] Operation: 18+68=86
Exploring Operation: 86-18=68, Resulting Numbers: [68, 68]
Generated Node #0,3,3: 73:[68, 68] Operation: 86-18=68
Moving to Node #0,0
Current State: 73:[17, 85, 68], Operations: ['86-18=68']
Exploring Operation: 17+85=102, Resulting Numbers: [68, 102]
Generated Node #0,0,0: 73:[68, 102] Operation: 17+85=102
Exploring Operation: 17+68=85, Resulting Numbers: [85, 85]
Generated Node #0,0,1: 73:[85, 85] Operation: 17+68=85
Exploring Operation: 85-17=68, Resulting Numbers: [68, 68]
Generated Node #0,0,2: 73:[68, 68] Operation: 85-17=68
Exploring Operation: 68-17=51, Resulting Numbers: [85, 51]
Generated Node #0,0,3: 73:[85, 51] Operation: 68-17=51
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[68, 68], Operations: ['86-18=68', '85-17=68']
Exploring Operation: 68/68=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 68+68=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 68-68=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 68*68=4624, Resulting Numbers: [4624]
4624,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[85, 85], Operations: ['86-18=68', '17+68=85']
Exploring Operation: 85-85=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 85/85=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 85+85=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Exploring Operation: 85*85=7225, Resulting Numbers: [7225]
7225,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[68, 102], Operations: ['86-18=68', '17+85=102']
Exploring Operation: 68*102=6936, Resulting Numbers: [6936]
6936,73 unequal: No Solution
Exploring Operation: 68+102=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Exploring Operation: 102-68=34, Resulting Numbers: [34]
34,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[85, 51], Operations: ['86-18=68', '68-17=51']
Exploring Operation: 85+51=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 85*51=4335, Resulting Numbers: [4335]
4335,73 unequal: No Solution
Exploring Operation: 85-51=34, Resulting Numbers: [34]
34,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 73:[68, 68], Operations: ['85-17=68', '86-18=68']
Exploring Operation: 68-68=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 68+68=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 68/68=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 68*68=4624, Resulting Numbers: [4624]
4624,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[86, 86], Operations: ['85-17=68', '18+68=86']
Exploring Operation: 86-86=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 86*86=7396, Resulting Numbers: [7396]
7396,73 unequal: No Solution
Exploring Operation: 86+86=172, Resulting Numbers: [172]
172,73 unequal: No Solution
Exploring Operation: 86/86=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[68, 104], Operations: ['85-17=68', '86+18=104']
Exploring Operation: 68+104=172, Resulting Numbers: [172]
172,73 unequal: No Solution
Exploring Operation: 68*104=7072, Resulting Numbers: [7072]
7072,73 unequal: No Solution
Exploring Operation: 104-68=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[86, 50], Operations: ['85-17=68', '68-18=50']
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,73 unequal: No Solution
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,73 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
30,
14,
84,
65
] | 35 | [
"30-14=16",
"84-65=19",
"16+19=35"
] | Current State: 35:[30, 14, 84, 65], Operations: []
Exploring Operation: 30-14=16, Resulting Numbers: [84, 65, 16]
Generated Node #2: [84, 65, 16] from Operation: 30-14=16
Current State: 35:[84, 65, 16], Operations: ['30-14=16']
Exploring Operation: 84-65=19, Resulting Numbers: [16, 19]
Generated Node #3: [16, 19] from Operation: 84-65=19
Current State: 35:[16, 19], Operations: ['30-14=16', '84-65=19']
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[30, 14, 84, 65], Operations: []
Exploring Operation: 84-65=19, Resulting Numbers: [30, 14, 19]
Generated Node #0,0: 35:[30, 14, 19] Operation: 84-65=19
Exploring Operation: 84/14=6, Resulting Numbers: [30, 65, 6]
Generated Node #0,1: 35:[30, 65, 6] Operation: 84/14=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[30, 14, 19], Operations: ['84-65=19']
Exploring Operation: 19-14=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 35:[30, 5] Operation: 19-14=5
Exploring Operation: 14+19=33, Resulting Numbers: [30, 33]
Generated Node #0,0,1: 35:[30, 33] Operation: 14+19=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[30, 5], Operations: ['84-65=19', '19-14=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[30, 14, 84, 65], Operations: []
Exploring Operation: 84-65=19, Resulting Numbers: [30, 14, 19]
Generated Node #0,0: 35:[30, 14, 19] Operation: 84-65=19
Moving to Node #0,0
Current State: 35:[30, 14, 19], Operations: ['84-65=19']
Exploring Operation: 19-14=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 35:[30, 5] Operation: 19-14=5
Moving to Node #0,0,0
Current State: 35:[30, 5], Operations: ['84-65=19', '19-14=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
39,
3,
20,
40
] | 97 | [
"39*3=117",
"40-20=20",
"117-20=97"
] | Current State: 97:[39, 3, 20, 40], Operations: []
Exploring Operation: 39*3=117, Resulting Numbers: [20, 40, 117]
Generated Node #2: [20, 40, 117] from Operation: 39*3=117
Current State: 97:[20, 40, 117], Operations: ['39*3=117']
Exploring Operation: 40-20=20, Resulting Numbers: [117, 20]
Generated Node #3: [117, 20] from Operation: 40-20=20
Current State: 97:[117, 20], Operations: ['39*3=117', '40-20=20']
Exploring Operation: 117-20=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[39, 3, 20, 40], Operations: []
Exploring Operation: 3*20=60, Resulting Numbers: [39, 40, 60]
Generated Node #0,0: 97:[39, 40, 60] Operation: 3*20=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[39, 40, 60], Operations: ['3*20=60']
Exploring Operation: 39+40=79, Resulting Numbers: [60, 79]
Generated Node #0,0,0: 97:[60, 79] Operation: 39+40=79
Moving to Node #0,0,0
Current State: 97:[60, 79], Operations: ['3*20=60', '39+40=79']
Exploring Operation: 60+79=139, Resulting Numbers: [139]
139,97 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 |
[
36,
7,
64,
18
] | 69 | [
"36/18=2",
"7+64=71",
"71-2=69"
] | Current State: 69:[36, 7, 64, 18], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [7, 64, 2]
Generated Node #2: [7, 64, 2] from Operation: 36/18=2
Current State: 69:[7, 64, 2], Operations: ['36/18=2']
Exploring Operation: 7+64=71, Resulting Numbers: [2, 71]
Generated Node #3: [2, 71] from Operation: 7+64=71
Current State: 69:[2, 71], Operations: ['36/18=2', '7+64=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[36, 7, 64, 18], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [7, 64, 2]
Generated Node #0,0: 69:[7, 64, 2] Operation: 36/18=2
Moving to Node #0,0
Current State: 69:[7, 64, 2], Operations: ['36/18=2']
Exploring Operation: 7+64=71, Resulting Numbers: [2, 71]
Generated Node #0,0,0: 69:[2, 71] Operation: 7+64=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[2, 71], Operations: ['36/18=2', '7+64=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[36, 7, 64, 18], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [7, 64, 2]
Generated Node #0,0: 69:[7, 64, 2] Operation: 36/18=2
Moving to Node #0,0
Current State: 69:[7, 64, 2], Operations: ['36/18=2']
Exploring Operation: 7+64=71, Resulting Numbers: [2, 71]
Generated Node #0,0,0: 69:[2, 71] Operation: 7+64=71
Moving to Node #0,0,0
Current State: 69:[2, 71], Operations: ['36/18=2', '7+64=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
3,
7,
74,
8
] | 56 | [
"3+7=10",
"74-8=66",
"66-10=56"
] | Current State: 56:[3, 7, 74, 8], Operations: []
Exploring Operation: 3+7=10, Resulting Numbers: [74, 8, 10]
Generated Node #2: [74, 8, 10] from Operation: 3+7=10
Current State: 56:[74, 8, 10], Operations: ['3+7=10']
Exploring Operation: 74-8=66, Resulting Numbers: [10, 66]
Generated Node #3: [10, 66] from Operation: 74-8=66
Current State: 56:[10, 66], Operations: ['3+7=10', '74-8=66']
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[3, 7, 74, 8], Operations: []
Exploring Operation: 74-3=71, Resulting Numbers: [7, 8, 71]
Generated Node #0,0: 56:[7, 8, 71] Operation: 74-3=71
Exploring Operation: 74-7=67, Resulting Numbers: [3, 8, 67]
Generated Node #0,1: 56:[3, 8, 67] Operation: 74-7=67
Exploring Operation: 74-8=66, Resulting Numbers: [3, 7, 66]
Generated Node #0,2: 56:[3, 7, 66] Operation: 74-8=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[3, 7, 66], Operations: ['74-8=66']
Exploring Operation: 66-7=59, Resulting Numbers: [3, 59]
Generated Node #0,2,0: 56:[3, 59] Operation: 66-7=59
Exploring Operation: 66-3=63, Resulting Numbers: [7, 63]
Generated Node #0,2,1: 56:[7, 63] Operation: 66-3=63
Exploring Operation: 66/3=22, Resulting Numbers: [7, 22]
Generated Node #0,2,2: 56:[7, 22] Operation: 66/3=22
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[3, 59], Operations: ['74-8=66', '66-7=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[3, 7, 74, 8], Operations: []
Exploring Operation: 74-8=66, Resulting Numbers: [3, 7, 66]
Generated Node #0,2: 56:[3, 7, 66] Operation: 74-8=66
Moving to Node #0,2
Current State: 56:[3, 7, 66], Operations: ['74-8=66']
Exploring Operation: 66-7=59, Resulting Numbers: [3, 59]
Generated Node #0,2,0: 56:[3, 59] Operation: 66-7=59
Moving to Node #0,2,0
Current State: 56:[3, 59], Operations: ['74-8=66', '66-7=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
19,
27,
71,
97
] | 34 | [
"27-19=8",
"97-71=26",
"8+26=34"
] | Current State: 34:[19, 27, 71, 97], Operations: []
Exploring Operation: 27-19=8, Resulting Numbers: [71, 97, 8]
Generated Node #2: [71, 97, 8] from Operation: 27-19=8
Current State: 34:[71, 97, 8], Operations: ['27-19=8']
Exploring Operation: 97-71=26, Resulting Numbers: [8, 26]
Generated Node #3: [8, 26] from Operation: 97-71=26
Current State: 34:[8, 26], Operations: ['27-19=8', '97-71=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[19, 27, 71, 97], Operations: []
Exploring Operation: 71-19=52, Resulting Numbers: [27, 97, 52]
Generated Node #0,0: 34:[27, 97, 52] Operation: 71-19=52
Exploring Operation: 97-71=26, Resulting Numbers: [19, 27, 26]
Generated Node #0,1: 34:[19, 27, 26] Operation: 97-71=26
Exploring Operation: 71-27=44, Resulting Numbers: [19, 97, 44]
Generated Node #0,2: 34:[19, 97, 44] Operation: 71-27=44
Exploring Operation: 97-27=70, Resulting Numbers: [19, 71, 70]
Generated Node #0,3: 34:[19, 71, 70] Operation: 97-27=70
Moving to Node #0,1
Current State: 34:[19, 27, 26], Operations: ['97-71=26']
Exploring Operation: 27-19=8, Resulting Numbers: [26, 8]
Generated Node #0,1,0: 34:[26, 8] Operation: 27-19=8
Exploring Operation: 26-19=7, Resulting Numbers: [27, 7]
Generated Node #0,1,1: 34:[27, 7] Operation: 26-19=7
Exploring Operation: 27-26=1, Resulting Numbers: [19, 1]
Generated Node #0,1,2: 34:[19, 1] Operation: 27-26=1
Exploring Operation: 19+26=45, Resulting Numbers: [27, 45]
Generated Node #0,1,3: 34:[27, 45] Operation: 19+26=45
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[19, 1], Operations: ['97-71=26', '27-26=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[27, 7], Operations: ['97-71=26', '26-19=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[19, 27, 71, 97], Operations: []
Exploring Operation: 97-71=26, Resulting Numbers: [19, 27, 26]
Generated Node #0,1: 34:[19, 27, 26] Operation: 97-71=26
Moving to Node #0,1
Current State: 34:[19, 27, 26], Operations: ['97-71=26']
Exploring Operation: 26-19=7, Resulting Numbers: [27, 7]
Generated Node #0,1,1: 34:[27, 7] Operation: 26-19=7
Moving to Node #0,1,1
Current State: 34:[27, 7], Operations: ['97-71=26', '26-19=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
55,
68,
57,
25
] | 59 | [
"57-55=2",
"68/2=34",
"25+34=59"
] | Current State: 59:[55, 68, 57, 25], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [68, 25, 2]
Generated Node #2: [68, 25, 2] from Operation: 57-55=2
Current State: 59:[68, 25, 2], Operations: ['57-55=2']
Exploring Operation: 68/2=34, Resulting Numbers: [25, 34]
Generated Node #3: [25, 34] from Operation: 68/2=34
Current State: 59:[25, 34], Operations: ['57-55=2', '68/2=34']
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[55, 68, 57, 25], Operations: []
Exploring Operation: 55+25=80, Resulting Numbers: [68, 57, 80]
Generated Node #0,0: 59:[68, 57, 80] Operation: 55+25=80
Exploring Operation: 68-25=43, Resulting Numbers: [55, 57, 43]
Generated Node #0,1: 59:[55, 57, 43] Operation: 68-25=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[55, 57, 43], Operations: ['68-25=43']
Exploring Operation: 55+43=98, Resulting Numbers: [57, 98]
Generated Node #0,1,0: 59:[57, 98] Operation: 55+43=98
Exploring Operation: 57+43=100, Resulting Numbers: [55, 100]
Generated Node #0,1,1: 59:[55, 100] Operation: 57+43=100
Moving to Node #0,1,0
Current State: 59:[57, 98], Operations: ['68-25=43', '55+43=98']
Exploring Operation: 57+98=155, Resulting Numbers: [155]
155,59 unequal: No Solution
Exploring Operation: 98-57=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[55, 100], Operations: ['68-25=43', '57+43=100']
Exploring Operation: 100-55=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 55+100=155, Resulting Numbers: [155]
155,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[68, 57, 80], Operations: ['55+25=80']
Exploring Operation: 80-68=12, Resulting Numbers: [57, 12]
Generated Node #0,0,0: 59:[57, 12] Operation: 80-68=12
Exploring Operation: 80-57=23, Resulting Numbers: [68, 23]
Generated Node #0,0,1: 59:[68, 23] Operation: 80-57=23
Moving to Node #0,0,1
Current State: 59:[68, 23], Operations: ['55+25=80', '80-57=23']
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[57, 12], Operations: ['55+25=80', '80-68=12']
Exploring Operation: 57+12=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,59 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 |
[
87,
77,
68,
59
] | 90 | [
"87-77=10",
"68-59=9",
"10*9=90"
] | Current State: 90:[87, 77, 68, 59], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [68, 59, 10]
Generated Node #2: [68, 59, 10] from Operation: 87-77=10
Current State: 90:[68, 59, 10], Operations: ['87-77=10']
Exploring Operation: 68-59=9, Resulting Numbers: [10, 9]
Generated Node #3: [10, 9] from Operation: 68-59=9
Current State: 90:[10, 9], Operations: ['87-77=10', '68-59=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[87, 77, 68, 59], Operations: []
Exploring Operation: 77-59=18, Resulting Numbers: [87, 68, 18]
Generated Node #0,0: 90:[87, 68, 18] Operation: 77-59=18
Exploring Operation: 77-68=9, Resulting Numbers: [87, 59, 9]
Generated Node #0,1: 90:[87, 59, 9] Operation: 77-68=9
Exploring Operation: 87-68=19, Resulting Numbers: [77, 59, 19]
Generated Node #0,2: 90:[77, 59, 19] Operation: 87-68=19
Exploring Operation: 68-59=9, Resulting Numbers: [87, 77, 9]
Generated Node #0,3: 90:[87, 77, 9] Operation: 68-59=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[87, 77, 9], Operations: ['68-59=9']
Exploring Operation: 87-9=78, Resulting Numbers: [77, 78]
Generated Node #0,3,0: 90:[77, 78] Operation: 87-9=78
Exploring Operation: 77+9=86, Resulting Numbers: [87, 86]
Generated Node #0,3,1: 90:[87, 86] Operation: 77+9=86
Exploring Operation: 87+9=96, Resulting Numbers: [77, 96]
Generated Node #0,3,2: 90:[77, 96] Operation: 87+9=96
Exploring Operation: 87-77=10, Resulting Numbers: [9, 10]
Generated Node #0,3,3: 90:[9, 10] Operation: 87-77=10
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[9, 10], Operations: ['68-59=9', '87-77=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[87, 77, 68, 59], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [87, 77, 9]
Generated Node #0,3: 90:[87, 77, 9] Operation: 68-59=9
Moving to Node #0,3
Current State: 90:[87, 77, 9], Operations: ['68-59=9']
Exploring Operation: 87-77=10, Resulting Numbers: [9, 10]
Generated Node #0,3,3: 90:[9, 10] Operation: 87-77=10
Moving to Node #0,3,3
Current State: 90:[9, 10], Operations: ['68-59=9', '87-77=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
35,
66,
11,
15
] | 33 | [
"66+11=77",
"15*77=1155",
"1155/35=33"
] | Current State: 33:[35, 66, 11, 15], Operations: []
Exploring Operation: 66+11=77, Resulting Numbers: [35, 15, 77]
Generated Node #2: [35, 15, 77] from Operation: 66+11=77
Current State: 33:[35, 15, 77], Operations: ['66+11=77']
Exploring Operation: 15*77=1155, Resulting Numbers: [35, 1155]
Generated Node #3: [35, 1155] from Operation: 15*77=1155
Current State: 33:[35, 1155], Operations: ['66+11=77', '15*77=1155']
Exploring Operation: 1155/35=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[35, 66, 11, 15], Operations: []
Exploring Operation: 66-35=31, Resulting Numbers: [11, 15, 31]
Generated Node #0,0: 33:[11, 15, 31] Operation: 66-35=31
Moving to Node #0,0
Current State: 33:[11, 15, 31], Operations: ['66-35=31']
Exploring Operation: 15-11=4, Resulting Numbers: [31, 4]
Generated Node #0,0,0: 33:[31, 4] Operation: 15-11=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[31, 4], Operations: ['66-35=31', '15-11=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,33 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 |
[
20,
37,
25,
92
] | 10 | [
"20+37=57",
"92-25=67",
"67-57=10"
] | Current State: 10:[20, 37, 25, 92], Operations: []
Exploring Operation: 20+37=57, Resulting Numbers: [25, 92, 57]
Generated Node #2: [25, 92, 57] from Operation: 20+37=57
Current State: 10:[25, 92, 57], Operations: ['20+37=57']
Exploring Operation: 92-25=67, Resulting Numbers: [57, 67]
Generated Node #3: [57, 67] from Operation: 92-25=67
Current State: 10:[57, 67], Operations: ['20+37=57', '92-25=67']
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[20, 37, 25, 92], Operations: []
Exploring Operation: 37-20=17, Resulting Numbers: [25, 92, 17]
Generated Node #0,0: 10:[25, 92, 17] Operation: 37-20=17
Exploring Operation: 92-25=67, Resulting Numbers: [20, 37, 67]
Generated Node #0,1: 10:[20, 37, 67] Operation: 92-25=67
Exploring Operation: 92-20=72, Resulting Numbers: [37, 25, 72]
Generated Node #0,2: 10:[37, 25, 72] Operation: 92-20=72
Exploring Operation: 92-37=55, Resulting Numbers: [20, 25, 55]
Generated Node #0,3: 10:[20, 25, 55] Operation: 92-37=55
Exploring Operation: 37-25=12, Resulting Numbers: [20, 92, 12]
Generated Node #0,4: 10:[20, 92, 12] Operation: 37-25=12
Moving to Node #0,3
Current State: 10:[20, 25, 55], Operations: ['92-37=55']
Exploring Operation: 55-20=35, Resulting Numbers: [25, 35]
Generated Node #0,3,0: 10:[25, 35] Operation: 55-20=35
Exploring Operation: 25-20=5, Resulting Numbers: [55, 5]
Generated Node #0,3,1: 10:[55, 5] Operation: 25-20=5
Exploring Operation: 20+25=45, Resulting Numbers: [55, 45]
Generated Node #0,3,2: 10:[55, 45] Operation: 20+25=45
Exploring Operation: 55-25=30, Resulting Numbers: [20, 30]
Generated Node #0,3,3: 10:[20, 30] Operation: 55-25=30
Exploring Operation: 20+55=75, Resulting Numbers: [25, 75]
Generated Node #0,3,4: 10:[25, 75] Operation: 20+55=75
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[20, 30], Operations: ['92-37=55', '55-25=30']
Exploring Operation: 20*30=600, Resulting Numbers: [600]
600,10 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[20, 37, 25, 92], Operations: []
Exploring Operation: 92-37=55, Resulting Numbers: [20, 25, 55]
Generated Node #0,3: 10:[20, 25, 55] Operation: 92-37=55
Moving to Node #0,3
Current State: 10:[20, 25, 55], Operations: ['92-37=55']
Exploring Operation: 55-25=30, Resulting Numbers: [20, 30]
Generated Node #0,3,3: 10:[20, 30] Operation: 55-25=30
Moving to Node #0,3,3
Current State: 10:[20, 30], Operations: ['92-37=55', '55-25=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
9,
3,
60,
92
] | 99 | [
"3+60=63",
"63/9=7",
"92+7=99"
] | Current State: 99:[9, 3, 60, 92], Operations: []
Exploring Operation: 3+60=63, Resulting Numbers: [9, 92, 63]
Generated Node #2: [9, 92, 63] from Operation: 3+60=63
Current State: 99:[9, 92, 63], Operations: ['3+60=63']
Exploring Operation: 63/9=7, Resulting Numbers: [92, 7]
Generated Node #3: [92, 7] from Operation: 63/9=7
Current State: 99:[92, 7], Operations: ['3+60=63', '63/9=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[9, 3, 60, 92], Operations: []
Exploring Operation: 60/3=20, Resulting Numbers: [9, 92, 20]
Generated Node #0,0: 99:[9, 92, 20] Operation: 60/3=20
Exploring Operation: 92-60=32, Resulting Numbers: [9, 3, 32]
Generated Node #0,1: 99:[9, 3, 32] Operation: 92-60=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[9, 3, 32], Operations: ['92-60=32']
Exploring Operation: 9/3=3, Resulting Numbers: [32, 3]
Generated Node #0,1,0: 99:[32, 3] Operation: 9/3=3
Exploring Operation: 9+3=12, Resulting Numbers: [32, 12]
Generated Node #0,1,1: 99:[32, 12] Operation: 9+3=12
Moving to Node #0,1,0
Current State: 99:[32, 3], Operations: ['92-60=32', '9/3=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[32, 12], Operations: ['92-60=32', '9+3=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,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,0
Current State: 99:[9, 92, 20], Operations: ['60/3=20']
Exploring Operation: 20-9=11, Resulting Numbers: [92, 11]
Generated Node #0,0,0: 99:[92, 11] Operation: 20-9=11
Exploring Operation: 9+92=101, Resulting Numbers: [20, 101]
Generated Node #0,0,1: 99:[20, 101] Operation: 9+92=101
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[92, 11], Operations: ['60/3=20', '20-9=11']
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,99 unequal: No Solution
Exploring Operation: 92+11=103, Resulting Numbers: [103]
103,99 unequal: No Solution
No 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: 99:[20, 101], Operations: ['60/3=20', '9+92=101']
Exploring Operation: 101-20=81, Resulting Numbers: [81]
81,99 unequal: No Solution
Exploring Operation: 20+101=121, Resulting Numbers: [121]
121,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
85,
27,
40,
21
] | 77 | [
"85-27=58",
"40-21=19",
"58+19=77"
] | Current State: 77:[85, 27, 40, 21], Operations: []
Exploring Operation: 85-27=58, Resulting Numbers: [40, 21, 58]
Generated Node #2: [40, 21, 58] from Operation: 85-27=58
Current State: 77:[40, 21, 58], Operations: ['85-27=58']
Exploring Operation: 40-21=19, Resulting Numbers: [58, 19]
Generated Node #3: [58, 19] from Operation: 40-21=19
Current State: 77:[58, 19], Operations: ['85-27=58', '40-21=19']
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[85, 27, 40, 21], Operations: []
Exploring Operation: 40-27=13, Resulting Numbers: [85, 21, 13]
Generated Node #0,0: 77:[85, 21, 13] Operation: 40-27=13
Exploring Operation: 27+40=67, Resulting Numbers: [85, 21, 67]
Generated Node #0,1: 77:[85, 21, 67] Operation: 27+40=67
Moving to Node #0,0
Current State: 77:[85, 21, 13], Operations: ['40-27=13']
Exploring Operation: 21-13=8, Resulting Numbers: [85, 8]
Generated Node #0,0,0: 77:[85, 8] Operation: 21-13=8
Exploring Operation: 85-21=64, Resulting Numbers: [13, 64]
Generated Node #0,0,1: 77:[13, 64] Operation: 85-21=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[85, 8], Operations: ['40-27=13', '21-13=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[85, 27, 40, 21], Operations: []
Exploring Operation: 40-27=13, Resulting Numbers: [85, 21, 13]
Generated Node #0,0: 77:[85, 21, 13] Operation: 40-27=13
Moving to Node #0,0
Current State: 77:[85, 21, 13], Operations: ['40-27=13']
Exploring Operation: 21-13=8, Resulting Numbers: [85, 8]
Generated Node #0,0,0: 77:[85, 8] Operation: 21-13=8
Moving to Node #0,0,0
Current State: 77:[85, 8], Operations: ['40-27=13', '21-13=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
86,
72,
71,
71
] | 15 | [
"86-72=14",
"71/71=1",
"14+1=15"
] | Current State: 15:[86, 72, 71, 71], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [71, 71, 14]
Generated Node #2: [71, 71, 14] from Operation: 86-72=14
Current State: 15:[71, 71, 14], Operations: ['86-72=14']
Exploring Operation: 71/71=1, Resulting Numbers: [14, 1]
Generated Node #3: [14, 1] from Operation: 71/71=1
Current State: 15:[14, 1], Operations: ['86-72=14', '71/71=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[86, 72, 71, 71], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [72, 71, 15]
Generated Node #0,0: 15:[72, 71, 15] Operation: 86-71=15
Exploring Operation: 86-72=14, Resulting Numbers: [71, 71, 14]
Generated Node #0,1: 15:[71, 71, 14] Operation: 86-72=14
Exploring Operation: 86-71=15, Resulting Numbers: [72, 71, 15]
Generated Node #0,2: 15:[72, 71, 15] Operation: 86-71=15
Moving to Node #0,0
Current State: 15:[72, 71, 15], Operations: ['86-71=15']
Exploring Operation: 71-15=56, Resulting Numbers: [72, 56]
Generated Node #0,0,0: 15:[72, 56] Operation: 71-15=56
Exploring Operation: 72-71=1, Resulting Numbers: [15, 1]
Generated Node #0,0,1: 15:[15, 1] Operation: 72-71=1
Exploring Operation: 72-15=57, Resulting Numbers: [71, 57]
Generated Node #0,0,2: 15:[71, 57] Operation: 72-15=57
Moving to Node #0,1
Current State: 15:[71, 71, 14], Operations: ['86-72=14']
Exploring Operation: 71/71=1, Resulting Numbers: [14, 1]
Generated Node #0,1,0: 15:[14, 1] Operation: 71/71=1
Exploring Operation: 71-71=0, Resulting Numbers: [14, 0]
Generated Node #0,1,1: 15:[14, 0] Operation: 71-71=0
Exploring Operation: 71-14=57, Resulting Numbers: [71, 57]
Generated Node #0,1,2: 15:[71, 57] Operation: 71-14=57
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[14, 1], Operations: ['86-72=14', '71/71=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[86, 72, 71, 71], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [71, 71, 14]
Generated Node #0,1: 15:[71, 71, 14] Operation: 86-72=14
Moving to Node #0,1
Current State: 15:[71, 71, 14], Operations: ['86-72=14']
Exploring Operation: 71/71=1, Resulting Numbers: [14, 1]
Generated Node #0,1,0: 15:[14, 1] Operation: 71/71=1
Moving to Node #0,1,0
Current State: 15:[14, 1], Operations: ['86-72=14', '71/71=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
77,
2,
17,
33
] | 63 | [
"77+2=79",
"33-17=16",
"79-16=63"
] | Current State: 63:[77, 2, 17, 33], Operations: []
Exploring Operation: 77+2=79, Resulting Numbers: [17, 33, 79]
Generated Node #2: [17, 33, 79] from Operation: 77+2=79
Current State: 63:[17, 33, 79], Operations: ['77+2=79']
Exploring Operation: 33-17=16, Resulting Numbers: [79, 16]
Generated Node #3: [79, 16] from Operation: 33-17=16
Current State: 63:[79, 16], Operations: ['77+2=79', '33-17=16']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[77, 2, 17, 33], Operations: []
Exploring Operation: 77-33=44, Resulting Numbers: [2, 17, 44]
Generated Node #0,0: 63:[2, 17, 44] Operation: 77-33=44
Exploring Operation: 77-17=60, Resulting Numbers: [2, 33, 60]
Generated Node #0,1: 63:[2, 33, 60] Operation: 77-17=60
Exploring Operation: 33-17=16, Resulting Numbers: [77, 2, 16]
Generated Node #0,2: 63:[77, 2, 16] Operation: 33-17=16
Exploring Operation: 2*33=66, Resulting Numbers: [77, 17, 66]
Generated Node #0,3: 63:[77, 17, 66] Operation: 2*33=66
Moving to Node #0,1
Current State: 63:[2, 33, 60], Operations: ['77-17=60']
Exploring Operation: 60-33=27, Resulting Numbers: [2, 27]
Generated Node #0,1,0: 63:[2, 27] Operation: 60-33=27
Exploring Operation: 33-2=31, Resulting Numbers: [60, 31]
Generated Node #0,1,1: 63:[60, 31] Operation: 33-2=31
Exploring Operation: 2*33=66, Resulting Numbers: [60, 66]
Generated Node #0,1,2: 63:[60, 66] Operation: 2*33=66
Exploring Operation: 2+60=62, Resulting Numbers: [33, 62]
Generated Node #0,1,3: 63:[33, 62] Operation: 2+60=62
Moving to Node #0,2
Current State: 63:[77, 2, 16], Operations: ['33-17=16']
Exploring Operation: 2+16=18, Resulting Numbers: [77, 18]
Generated Node #0,2,0: 63:[77, 18] Operation: 2+16=18
Exploring Operation: 77-16=61, Resulting Numbers: [2, 61]
Generated Node #0,2,1: 63:[2, 61] Operation: 77-16=61
Exploring Operation: 77-2=75, Resulting Numbers: [16, 75]
Generated Node #0,2,2: 63:[16, 75] Operation: 77-2=75
Exploring Operation: 16/2=8, Resulting Numbers: [77, 8]
Generated Node #0,2,3: 63:[77, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[2, 61], Operations: ['33-17=16', '77-16=61']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[77, 2, 17, 33], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [77, 2, 16]
Generated Node #0,2: 63:[77, 2, 16] Operation: 33-17=16
Moving to Node #0,2
Current State: 63:[77, 2, 16], Operations: ['33-17=16']
Exploring Operation: 77-16=61, Resulting Numbers: [2, 61]
Generated Node #0,2,1: 63:[2, 61] Operation: 77-16=61
Moving to Node #0,2,1
Current State: 63:[2, 61], Operations: ['33-17=16', '77-16=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
6,
89,
80,
14
] | 11 | [
"89-6=83",
"80+14=94",
"94-83=11"
] | Current State: 11:[6, 89, 80, 14], Operations: []
Exploring Operation: 89-6=83, Resulting Numbers: [80, 14, 83]
Generated Node #2: [80, 14, 83] from Operation: 89-6=83
Current State: 11:[80, 14, 83], Operations: ['89-6=83']
Exploring Operation: 80+14=94, Resulting Numbers: [83, 94]
Generated Node #3: [83, 94] from Operation: 80+14=94
Current State: 11:[83, 94], Operations: ['89-6=83', '80+14=94']
Exploring Operation: 94-83=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[6, 89, 80, 14], Operations: []
Exploring Operation: 80-14=66, Resulting Numbers: [6, 89, 66]
Generated Node #0,0: 11:[6, 89, 66] Operation: 80-14=66
Exploring Operation: 89-80=9, Resulting Numbers: [6, 14, 9]
Generated Node #0,1: 11:[6, 14, 9] Operation: 89-80=9
Exploring Operation: 89-6=83, Resulting Numbers: [80, 14, 83]
Generated Node #0,2: 11:[80, 14, 83] Operation: 89-6=83
Exploring Operation: 89-14=75, Resulting Numbers: [6, 80, 75]
Generated Node #0,3: 11:[6, 80, 75] Operation: 89-14=75
Exploring Operation: 80-6=74, Resulting Numbers: [89, 14, 74]
Generated Node #0,4: 11:[89, 14, 74] Operation: 80-6=74
Moving to Node #0,1
Current State: 11:[6, 14, 9], Operations: ['89-80=9']
Exploring Operation: 6+14=20, Resulting Numbers: [9, 20]
Generated Node #0,1,0: 11:[9, 20] Operation: 6+14=20
Exploring Operation: 14-6=8, Resulting Numbers: [9, 8]
Generated Node #0,1,1: 11:[9, 8] Operation: 14-6=8
Exploring Operation: 14-9=5, Resulting Numbers: [6, 5]
Generated Node #0,1,2: 11:[6, 5] Operation: 14-9=5
Exploring Operation: 9-6=3, Resulting Numbers: [14, 3]
Generated Node #0,1,3: 11:[14, 3] Operation: 9-6=3
Exploring Operation: 6+9=15, Resulting Numbers: [14, 15]
Generated Node #0,1,4: 11:[14, 15] Operation: 6+9=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[9, 8], Operations: ['89-80=9', '14-6=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,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,4
Current State: 11:[14, 15], Operations: ['89-80=9', '6+9=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,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,0
Current State: 11:[9, 20], Operations: ['89-80=9', '6+14=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[6, 89, 80, 14], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [6, 14, 9]
Generated Node #0,1: 11:[6, 14, 9] Operation: 89-80=9
Moving to Node #0,1
Current State: 11:[6, 14, 9], Operations: ['89-80=9']
Exploring Operation: 6+14=20, Resulting Numbers: [9, 20]
Generated Node #0,1,0: 11:[9, 20] Operation: 6+14=20
Moving to Node #0,1,0
Current State: 11:[9, 20], Operations: ['89-80=9', '6+14=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
86,
38,
58,
30
] | 40 | [
"86-38=48",
"58+30=88",
"88-48=40"
] | Current State: 40:[86, 38, 58, 30], Operations: []
Exploring Operation: 86-38=48, Resulting Numbers: [58, 30, 48]
Generated Node #2: [58, 30, 48] from Operation: 86-38=48
Current State: 40:[58, 30, 48], Operations: ['86-38=48']
Exploring Operation: 58+30=88, Resulting Numbers: [48, 88]
Generated Node #3: [48, 88] from Operation: 58+30=88
Current State: 40:[48, 88], Operations: ['86-38=48', '58+30=88']
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[86, 38, 58, 30], Operations: []
Exploring Operation: 58-30=28, Resulting Numbers: [86, 38, 28]
Generated Node #0,0: 40:[86, 38, 28] Operation: 58-30=28
Exploring Operation: 86-38=48, Resulting Numbers: [58, 30, 48]
Generated Node #0,1: 40:[58, 30, 48] Operation: 86-38=48
Exploring Operation: 58-38=20, Resulting Numbers: [86, 30, 20]
Generated Node #0,2: 40:[86, 30, 20] Operation: 58-38=20
Exploring Operation: 86-30=56, Resulting Numbers: [38, 58, 56]
Generated Node #0,3: 40:[38, 58, 56] Operation: 86-30=56
Exploring Operation: 86-58=28, Resulting Numbers: [38, 30, 28]
Generated Node #0,4: 40:[38, 30, 28] Operation: 86-58=28
Start Sub Search at level 1: Moving to Node #0,4
Current State: 40:[38, 30, 28], Operations: ['86-58=28']
Exploring Operation: 30-28=2, Resulting Numbers: [38, 2]
Generated Node #0,4,0: 40:[38, 2] Operation: 30-28=2
Exploring Operation: 38-28=10, Resulting Numbers: [30, 10]
Generated Node #0,4,1: 40:[30, 10] Operation: 38-28=10
Exploring Operation: 38-30=8, Resulting Numbers: [28, 8]
Generated Node #0,4,2: 40:[28, 8] Operation: 38-30=8
Exploring Operation: 30+28=58, Resulting Numbers: [38, 58]
Generated Node #0,4,3: 40:[38, 58] Operation: 30+28=58
Exploring Operation: 38+30=68, Resulting Numbers: [28, 68]
Generated Node #0,4,4: 40:[28, 68] Operation: 38+30=68
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 40:[38, 2], Operations: ['86-58=28', '30-28=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[86, 38, 58, 30], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [38, 30, 28]
Generated Node #0,4: 40:[38, 30, 28] Operation: 86-58=28
Moving to Node #0,4
Current State: 40:[38, 30, 28], Operations: ['86-58=28']
Exploring Operation: 30-28=2, Resulting Numbers: [38, 2]
Generated Node #0,4,0: 40:[38, 2] Operation: 30-28=2
Moving to Node #0,4,0
Current State: 40:[38, 2], Operations: ['86-58=28', '30-28=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
54,
45,
2,
51
] | 42 | [
"51-45=6",
"2*6=12",
"54-12=42"
] | Current State: 42:[54, 45, 2, 51], Operations: []
Exploring Operation: 51-45=6, Resulting Numbers: [54, 2, 6]
Generated Node #2: [54, 2, 6] from Operation: 51-45=6
Current State: 42:[54, 2, 6], Operations: ['51-45=6']
Exploring Operation: 2*6=12, Resulting Numbers: [54, 12]
Generated Node #3: [54, 12] from Operation: 2*6=12
Current State: 42:[54, 12], Operations: ['51-45=6', '2*6=12']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[54, 45, 2, 51], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [45, 51, 27]
Generated Node #0,0: 42:[45, 51, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [45, 51, 52]
Generated Node #0,1: 42:[45, 51, 52] Operation: 54-2=52
Exploring Operation: 51-45=6, Resulting Numbers: [54, 2, 6]
Generated Node #0,2: 42:[54, 2, 6] Operation: 51-45=6
Exploring Operation: 54-45=9, Resulting Numbers: [2, 51, 9]
Generated Node #0,3: 42:[2, 51, 9] Operation: 54-45=9
Exploring Operation: 54-51=3, Resulting Numbers: [45, 2, 3]
Generated Node #0,4: 42:[45, 2, 3] Operation: 54-51=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[45, 2, 3], Operations: ['54-51=3']
Exploring Operation: 45-3=42, Resulting Numbers: [2, 42]
Generated Node #0,4,0: 42:[2, 42] Operation: 45-3=42
Exploring Operation: 2+3=5, Resulting Numbers: [45, 5]
Generated Node #0,4,1: 42:[45, 5] Operation: 2+3=5
Exploring Operation: 45-2=43, Resulting Numbers: [3, 43]
Generated Node #0,4,2: 42:[3, 43] Operation: 45-2=43
Exploring Operation: 2*3=6, Resulting Numbers: [45, 6]
Generated Node #0,4,3: 42:[45, 6] Operation: 2*3=6
Exploring Operation: 45/3=15, Resulting Numbers: [2, 15]
Generated Node #0,4,4: 42:[2, 15] Operation: 45/3=15
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 42:[2, 42], Operations: ['54-51=3', '45-3=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 42:[3, 43], Operations: ['54-51=3', '45-2=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 42:[2, 15], Operations: ['54-51=3', '45/3=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 42:[45, 6], Operations: ['54-51=3', '2*3=6']
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,42 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 42:[45, 5], Operations: ['54-51=3', '2+3=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[2, 51, 9], Operations: ['54-45=9']
Exploring Operation: 2+9=11, Resulting Numbers: [51, 11]
Generated Node #0,3,0: 42:[51, 11] Operation: 2+9=11
Exploring Operation: 9-2=7, Resulting Numbers: [51, 7]
Generated Node #0,3,1: 42:[51, 7] Operation: 9-2=7
Exploring Operation: 51-9=42, Resulting Numbers: [2, 42]
Generated Node #0,3,2: 42:[2, 42] Operation: 51-9=42
Exploring Operation: 51-2=49, Resulting Numbers: [9, 49]
Generated Node #0,3,3: 42:[9, 49] Operation: 51-2=49
Exploring Operation: 2*9=18, Resulting Numbers: [51, 18]
Generated Node #0,3,4: 42:[51, 18] Operation: 2*9=18
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 42:[2, 42], Operations: ['54-45=9', '51-9=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 42:[51, 7], Operations: ['54-45=9', '9-2=7']
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 42:[9, 49], Operations: ['54-45=9', '51-2=49']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 9*49=441, Resulting Numbers: [441]
441,42 unequal: No Solution
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 42:[51, 11], Operations: ['54-45=9', '2+9=11']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 42:[51, 18], Operations: ['54-45=9', '2*9=18']
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,42 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,42 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[54, 2, 6], Operations: ['51-45=6']
Exploring Operation: 54/2=27, Resulting Numbers: [6, 27]
Generated Node #0,2,0: 42:[6, 27] Operation: 54/2=27
Exploring Operation: 54-6=48, Resulting Numbers: [2, 48]
Generated Node #0,2,1: 42:[2, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [2, 9]
Generated Node #0,2,2: 42:[2, 9] Operation: 54/6=9
Exploring Operation: 6/2=3, Resulting Numbers: [54, 3]
Generated Node #0,2,3: 42:[54, 3] Operation: 6/2=3
Exploring Operation: 54-2=52, Resulting Numbers: [6, 52]
Generated Node #0,2,4: 42:[6, 52] Operation: 54-2=52
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[2, 9], Operations: ['51-45=6', '54/6=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[6, 27], Operations: ['51-45=6', '54/2=27']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,42 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 42:[2, 48], Operations: ['51-45=6', '54-6=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 42:[6, 52], Operations: ['51-45=6', '54-2=52']
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,42 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 42:[54, 3], Operations: ['51-45=6', '6/2=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[45, 51, 27], Operations: ['54/2=27']
Exploring Operation: 51+27=78, Resulting Numbers: [45, 78]
Generated Node #0,0,0: 42:[45, 78] Operation: 51+27=78
Exploring Operation: 45-27=18, Resulting Numbers: [51, 18]
Generated Node #0,0,1: 42:[51, 18] Operation: 45-27=18
Exploring Operation: 51-45=6, Resulting Numbers: [27, 6]
Generated Node #0,0,2: 42:[27, 6] Operation: 51-45=6
Exploring Operation: 51-27=24, Resulting Numbers: [45, 24]
Generated Node #0,0,3: 42:[45, 24] Operation: 51-27=24
Exploring Operation: 45+27=72, Resulting Numbers: [51, 72]
Generated Node #0,0,4: 42:[51, 72] Operation: 45+27=72
Moving to Node #0,0,2
Current State: 42:[27, 6], Operations: ['54/2=27', '51-45=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[45, 24], Operations: ['54/2=27', '51-27=24']
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,42 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,42 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[51, 18], Operations: ['54/2=27', '45-27=18']
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,42 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,42 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[45, 78], Operations: ['54/2=27', '51+27=78']
Exploring Operation: 45+78=123, Resulting Numbers: [123]
123,42 unequal: No Solution
Exploring Operation: 45*78=3510, Resulting Numbers: [3510]
3510,42 unequal: No Solution
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[51, 72], Operations: ['54/2=27', '45+27=72']
Exploring Operation: 51+72=123, Resulting Numbers: [123]
123,42 unequal: No Solution
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 51*72=3672, Resulting Numbers: [3672]
3672,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[45, 51, 52], Operations: ['54-2=52']
Exploring Operation: 45+51=96, Resulting Numbers: [52, 96]
Generated Node #0,1,0: 42:[52, 96] Operation: 45+51=96
Exploring Operation: 52-51=1, Resulting Numbers: [45, 1]
Generated Node #0,1,1: 42:[45, 1] Operation: 52-51=1
Exploring Operation: 45+52=97, Resulting Numbers: [51, 97]
Generated Node #0,1,2: 42:[51, 97] Operation: 45+52=97
Exploring Operation: 52-45=7, Resulting Numbers: [51, 7]
Generated Node #0,1,3: 42:[51, 7] Operation: 52-45=7
Exploring Operation: 51-45=6, Resulting Numbers: [52, 6]
Generated Node #0,1,4: 42:[52, 6] Operation: 51-45=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[45, 1], Operations: ['54-2=52', '52-51=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 42:[51, 7], Operations: ['54-2=52', '52-45=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 42:[52, 6], Operations: ['54-2=52', '51-45=6']
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,42 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[52, 96], Operations: ['54-2=52', '45+51=96']
Exploring Operation: 96-52=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 52*96=4992, Resulting Numbers: [4992]
4992,42 unequal: No Solution
Exploring Operation: 52+96=148, Resulting Numbers: [148]
148,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[51, 97], Operations: ['54-2=52', '45+52=97']
Exploring Operation: 51*97=4947, Resulting Numbers: [4947]
4947,42 unequal: No Solution
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 51+97=148, Resulting Numbers: [148]
148,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
63,
97,
10,
66
] | 22 | [
"97-63=34",
"66-10=56",
"56-34=22"
] | Current State: 22:[63, 97, 10, 66], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [10, 66, 34]
Generated Node #2: [10, 66, 34] from Operation: 97-63=34
Current State: 22:[10, 66, 34], Operations: ['97-63=34']
Exploring Operation: 66-10=56, Resulting Numbers: [34, 56]
Generated Node #3: [34, 56] from Operation: 66-10=56
Current State: 22:[34, 56], Operations: ['97-63=34', '66-10=56']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[63, 97, 10, 66], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [63, 10, 31]
Generated Node #0,0: 22:[63, 10, 31] Operation: 97-66=31
Exploring Operation: 66-63=3, Resulting Numbers: [97, 10, 3]
Generated Node #0,1: 22:[97, 10, 3] Operation: 66-63=3
Exploring Operation: 63-10=53, Resulting Numbers: [97, 66, 53]
Generated Node #0,2: 22:[97, 66, 53] Operation: 63-10=53
Exploring Operation: 97-63=34, Resulting Numbers: [10, 66, 34]
Generated Node #0,3: 22:[10, 66, 34] Operation: 97-63=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[63, 10, 31], Operations: ['97-66=31']
Exploring Operation: 63-10=53, Resulting Numbers: [31, 53]
Generated Node #0,0,0: 22:[31, 53] Operation: 63-10=53
Exploring Operation: 63+10=73, Resulting Numbers: [31, 73]
Generated Node #0,0,1: 22:[31, 73] Operation: 63+10=73
Exploring Operation: 31-10=21, Resulting Numbers: [63, 21]
Generated Node #0,0,2: 22:[63, 21] Operation: 31-10=21
Exploring Operation: 63-31=32, Resulting Numbers: [10, 32]
Generated Node #0,0,3: 22:[10, 32] Operation: 63-31=32
Moving to Node #0,0,3
Current State: 22:[10, 32], Operations: ['97-66=31', '63-31=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[63, 97, 10, 66], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [63, 10, 31]
Generated Node #0,0: 22:[63, 10, 31] Operation: 97-66=31
Moving to Node #0,0
Current State: 22:[63, 10, 31], Operations: ['97-66=31']
Exploring Operation: 63-31=32, Resulting Numbers: [10, 32]
Generated Node #0,0,3: 22:[10, 32] Operation: 63-31=32
Moving to Node #0,0,3
Current State: 22:[10, 32], Operations: ['97-66=31', '63-31=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
37,
20,
23,
42
] | 89 | [
"23-20=3",
"42*3=126",
"126-37=89"
] | Current State: 89:[37, 20, 23, 42], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [37, 42, 3]
Generated Node #2: [37, 42, 3] from Operation: 23-20=3
Current State: 89:[37, 42, 3], Operations: ['23-20=3']
Exploring Operation: 42*3=126, Resulting Numbers: [37, 126]
Generated Node #3: [37, 126] from Operation: 42*3=126
Current State: 89:[37, 126], Operations: ['23-20=3', '42*3=126']
Exploring Operation: 126-37=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[37, 20, 23, 42], Operations: []
Exploring Operation: 37+20=57, Resulting Numbers: [23, 42, 57]
Generated Node #0,0: 89:[23, 42, 57] Operation: 37+20=57
Moving to Node #0,0
Current State: 89:[23, 42, 57], Operations: ['37+20=57']
Exploring Operation: 23+42=65, Resulting Numbers: [57, 65]
Generated Node #0,0,0: 89:[57, 65] Operation: 23+42=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[57, 65], Operations: ['37+20=57', '23+42=65']
Exploring Operation: 57+65=122, Resulting Numbers: [122]
122,89 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 |
[
83,
90,
57,
91
] | 25 | [
"83+90=173",
"57+91=148",
"173-148=25"
] | Current State: 25:[83, 90, 57, 91], Operations: []
Exploring Operation: 83+90=173, Resulting Numbers: [57, 91, 173]
Generated Node #2: [57, 91, 173] from Operation: 83+90=173
Current State: 25:[57, 91, 173], Operations: ['83+90=173']
Exploring Operation: 57+91=148, Resulting Numbers: [173, 148]
Generated Node #3: [173, 148] from Operation: 57+91=148
Current State: 25:[173, 148], Operations: ['83+90=173', '57+91=148']
Exploring Operation: 173-148=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[83, 90, 57, 91], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [57, 91, 7]
Generated Node #0,0: 25:[57, 91, 7] Operation: 90-83=7
Exploring Operation: 91-83=8, Resulting Numbers: [90, 57, 8]
Generated Node #0,1: 25:[90, 57, 8] Operation: 91-83=8
Exploring Operation: 91-90=1, Resulting Numbers: [83, 57, 1]
Generated Node #0,2: 25:[83, 57, 1] Operation: 91-90=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[83, 57, 1], Operations: ['91-90=1']
Exploring Operation: 57-1=56, Resulting Numbers: [83, 56]
Generated Node #0,2,0: 25:[83, 56] Operation: 57-1=56
Exploring Operation: 83-57=26, Resulting Numbers: [1, 26]
Generated Node #0,2,1: 25:[1, 26] Operation: 83-57=26
Exploring Operation: 83-1=82, Resulting Numbers: [57, 82]
Generated Node #0,2,2: 25:[57, 82] Operation: 83-1=82
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[1, 26], Operations: ['91-90=1', '83-57=26']
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[83, 90, 57, 91], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [83, 57, 1]
Generated Node #0,2: 25:[83, 57, 1] Operation: 91-90=1
Moving to Node #0,2
Current State: 25:[83, 57, 1], Operations: ['91-90=1']
Exploring Operation: 83-57=26, Resulting Numbers: [1, 26]
Generated Node #0,2,1: 25:[1, 26] Operation: 83-57=26
Moving to Node #0,2,1
Current State: 25:[1, 26], Operations: ['91-90=1', '83-57=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
6,
7,
14,
5
] | 20 | [
"7-6=1",
"14+5=19",
"1+19=20"
] | Current State: 20:[6, 7, 14, 5], Operations: []
Exploring Operation: 7-6=1, Resulting Numbers: [14, 5, 1]
Generated Node #2: [14, 5, 1] from Operation: 7-6=1
Current State: 20:[14, 5, 1], Operations: ['7-6=1']
Exploring Operation: 14+5=19, Resulting Numbers: [1, 19]
Generated Node #3: [1, 19] from Operation: 14+5=19
Current State: 20:[1, 19], Operations: ['7-6=1', '14+5=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[6, 7, 14, 5], Operations: []
Exploring Operation: 7+14=21, Resulting Numbers: [6, 5, 21]
Generated Node #0,0: 20:[6, 5, 21] Operation: 7+14=21
Exploring Operation: 14-7=7, Resulting Numbers: [6, 5, 7]
Generated Node #0,1: 20:[6, 5, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [6, 5, 2]
Generated Node #0,2: 20:[6, 5, 2] Operation: 14/7=2
Exploring Operation: 6+14=20, Resulting Numbers: [7, 5, 20]
Generated Node #0,3: 20:[7, 5, 20] Operation: 6+14=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[6, 5, 2], Operations: ['14/7=2']
Exploring Operation: 6+5=11, Resulting Numbers: [2, 11]
Generated Node #0,2,0: 20:[2, 11] Operation: 6+5=11
Exploring Operation: 6/2=3, Resulting Numbers: [5, 3]
Generated Node #0,2,1: 20:[5, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [5, 4]
Generated Node #0,2,2: 20:[5, 4] Operation: 6-2=4
Exploring Operation: 6-5=1, Resulting Numbers: [2, 1]
Generated Node #0,2,3: 20:[2, 1] Operation: 6-5=1
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[5, 4], Operations: ['14/7=2', '6-2=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[6, 7, 14, 5], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [6, 5, 2]
Generated Node #0,2: 20:[6, 5, 2] Operation: 14/7=2
Moving to Node #0,2
Current State: 20:[6, 5, 2], Operations: ['14/7=2']
Exploring Operation: 6-2=4, Resulting Numbers: [5, 4]
Generated Node #0,2,2: 20:[5, 4] Operation: 6-2=4
Moving to Node #0,2,2
Current State: 20:[5, 4], Operations: ['14/7=2', '6-2=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
72,
74,
10,
48
] | 56 | [
"74-72=2",
"10+48=58",
"58-2=56"
] | Current State: 56:[72, 74, 10, 48], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [10, 48, 2]
Generated Node #2: [10, 48, 2] from Operation: 74-72=2
Current State: 56:[10, 48, 2], Operations: ['74-72=2']
Exploring Operation: 10+48=58, Resulting Numbers: [2, 58]
Generated Node #3: [2, 58] from Operation: 10+48=58
Current State: 56:[2, 58], Operations: ['74-72=2', '10+48=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[72, 74, 10, 48], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [74, 10, 24]
Generated Node #0,0: 56:[74, 10, 24] Operation: 72-48=24
Exploring Operation: 74-48=26, Resulting Numbers: [72, 10, 26]
Generated Node #0,1: 56:[72, 10, 26] Operation: 74-48=26
Exploring Operation: 72-10=62, Resulting Numbers: [74, 48, 62]
Generated Node #0,2: 56:[74, 48, 62] Operation: 72-10=62
Exploring Operation: 74-10=64, Resulting Numbers: [72, 48, 64]
Generated Node #0,3: 56:[72, 48, 64] Operation: 74-10=64
Exploring Operation: 74-72=2, Resulting Numbers: [10, 48, 2]
Generated Node #0,4: 56:[10, 48, 2] Operation: 74-72=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 56:[10, 48, 2], Operations: ['74-72=2']
Exploring Operation: 10-2=8, Resulting Numbers: [48, 8]
Generated Node #0,4,0: 56:[48, 8] Operation: 10-2=8
Exploring Operation: 48+2=50, Resulting Numbers: [10, 50]
Generated Node #0,4,1: 56:[10, 50] Operation: 48+2=50
Exploring Operation: 10/2=5, Resulting Numbers: [48, 5]
Generated Node #0,4,2: 56:[48, 5] Operation: 10/2=5
Exploring Operation: 48/2=24, Resulting Numbers: [10, 24]
Generated Node #0,4,3: 56:[10, 24] Operation: 48/2=24
Exploring Operation: 10+48=58, Resulting Numbers: [2, 58]
Generated Node #0,4,4: 56:[2, 58] Operation: 10+48=58
Moving to Node #0,4,4
Current State: 56:[2, 58], Operations: ['74-72=2', '10+48=58']
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,56 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[72, 74, 10, 48], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [10, 48, 2]
Generated Node #0,4: 56:[10, 48, 2] Operation: 74-72=2
Moving to Node #0,4
Current State: 56:[10, 48, 2], Operations: ['74-72=2']
Exploring Operation: 10+48=58, Resulting Numbers: [2, 58]
Generated Node #0,4,4: 56:[2, 58] Operation: 10+48=58
Moving to Node #0,4,4
Current State: 56:[2, 58], Operations: ['74-72=2', '10+48=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
4,
5,
72,
8
] | 60 | [
"4*5=20",
"72+8=80",
"80-20=60"
] | Current State: 60:[4, 5, 72, 8], Operations: []
Exploring Operation: 4*5=20, Resulting Numbers: [72, 8, 20]
Generated Node #2: [72, 8, 20] from Operation: 4*5=20
Current State: 60:[72, 8, 20], Operations: ['4*5=20']
Exploring Operation: 72+8=80, Resulting Numbers: [20, 80]
Generated Node #3: [20, 80] from Operation: 72+8=80
Current State: 60:[20, 80], Operations: ['4*5=20', '72+8=80']
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[4, 5, 72, 8], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [5, 8, 18]
Generated Node #0,0: 60:[5, 8, 18] Operation: 72/4=18
Exploring Operation: 72-5=67, Resulting Numbers: [4, 8, 67]
Generated Node #0,1: 60:[4, 8, 67] Operation: 72-5=67
Exploring Operation: 72-4=68, Resulting Numbers: [5, 8, 68]
Generated Node #0,2: 60:[5, 8, 68] Operation: 72-4=68
Exploring Operation: 72-8=64, Resulting Numbers: [4, 5, 64]
Generated Node #0,3: 60:[4, 5, 64] Operation: 72-8=64
Exploring Operation: 72/8=9, Resulting Numbers: [4, 5, 9]
Generated Node #0,4: 60:[4, 5, 9] Operation: 72/8=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[4, 5, 9], Operations: ['72/8=9']
Exploring Operation: 4*5=20, Resulting Numbers: [9, 20]
Generated Node #0,4,0: 60:[9, 20] Operation: 4*5=20
Exploring Operation: 9-5=4, Resulting Numbers: [4, 4]
Generated Node #0,4,1: 60:[4, 4] Operation: 9-5=4
Exploring Operation: 5+9=14, Resulting Numbers: [4, 14]
Generated Node #0,4,2: 60:[4, 14] Operation: 5+9=14
Exploring Operation: 4+9=13, Resulting Numbers: [5, 13]
Generated Node #0,4,3: 60:[5, 13] Operation: 4+9=13
Exploring Operation: 9-4=5, Resulting Numbers: [5, 5]
Generated Node #0,4,4: 60:[5, 5] Operation: 9-4=5
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 60:[4, 4], Operations: ['72/8=9', '9-5=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 60:[5, 5], Operations: ['72/8=9', '9-4=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 60:[9, 20], Operations: ['72/8=9', '4*5=20']
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,60 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 60:[4, 14], Operations: ['72/8=9', '5+9=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 60:[5, 13], Operations: ['72/8=9', '4+9=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[5, 8, 18], Operations: ['72/4=18']
Exploring Operation: 18-5=13, Resulting Numbers: [8, 13]
Generated Node #0,0,0: 60:[8, 13] Operation: 18-5=13
Exploring Operation: 5+8=13, Resulting Numbers: [18, 13]
Generated Node #0,0,1: 60:[18, 13] Operation: 5+8=13
Exploring Operation: 18-8=10, Resulting Numbers: [5, 10]
Generated Node #0,0,2: 60:[5, 10] Operation: 18-8=10
Exploring Operation: 8-5=3, Resulting Numbers: [18, 3]
Generated Node #0,0,3: 60:[18, 3] Operation: 8-5=3
Exploring Operation: 8+18=26, Resulting Numbers: [5, 26]
Generated Node #0,0,4: 60:[5, 26] Operation: 8+18=26
Moving to Node #0,0,2
Current State: 60:[5, 10], Operations: ['72/4=18', '18-8=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 5+10=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,3
Current State: 60:[18, 3], Operations: ['72/4=18', '8-5=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[8, 13], Operations: ['72/4=18', '18-5=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[18, 13], Operations: ['72/4=18', '5+8=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,60 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[5, 26], Operations: ['72/4=18', '8+18=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,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,3
Current State: 60:[4, 5, 64], Operations: ['72-8=64']
Exploring Operation: 4+5=9, Resulting Numbers: [64, 9]
Generated Node #0,3,0: 60:[64, 9] Operation: 4+5=9
Exploring Operation: 64-4=60, Resulting Numbers: [5, 60]
Generated Node #0,3,1: 60:[5, 60] Operation: 64-4=60
Exploring Operation: 4*5=20, Resulting Numbers: [64, 20]
Generated Node #0,3,2: 60:[64, 20] Operation: 4*5=20
Exploring Operation: 64-5=59, Resulting Numbers: [4, 59]
Generated Node #0,3,3: 60:[4, 59] Operation: 64-5=59
Exploring Operation: 64/4=16, Resulting Numbers: [5, 16]
Generated Node #0,3,4: 60:[5, 16] Operation: 64/4=16
Moving to Node #0,3,1
Current State: 60:[5, 60], Operations: ['72-8=64', '64-4=60']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,60 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Moving to Node #0,3,4
Current State: 60:[5, 16], Operations: ['72-8=64', '64/4=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[4, 59], Operations: ['72-8=64', '64-5=59']
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[64, 20], Operations: ['72-8=64', '4*5=20']
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,60 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[64, 9], Operations: ['72-8=64', '4+5=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,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:[4, 8, 67], Operations: ['72-5=67']
Exploring Operation: 8-4=4, Resulting Numbers: [67, 4]
Generated Node #0,1,0: 60:[67, 4] Operation: 8-4=4
Exploring Operation: 4+8=12, Resulting Numbers: [67, 12]
Generated Node #0,1,1: 60:[67, 12] Operation: 4+8=12
Exploring Operation: 8/4=2, Resulting Numbers: [67, 2]
Generated Node #0,1,2: 60:[67, 2] Operation: 8/4=2
Exploring Operation: 67-8=59, Resulting Numbers: [4, 59]
Generated Node #0,1,3: 60:[4, 59] Operation: 67-8=59
Exploring Operation: 67-4=63, Resulting Numbers: [8, 63]
Generated Node #0,1,4: 60:[8, 63] Operation: 67-4=63
Moving to Node #0,1,3
Current State: 60:[4, 59], Operations: ['72-5=67', '67-8=59']
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,60 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[8, 63], Operations: ['72-5=67', '67-4=63']
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,60 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[67, 4], Operations: ['72-5=67', '8-4=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,60 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[67, 12], Operations: ['72-5=67', '4+8=12']
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[67, 2], Operations: ['72-5=67', '8/4=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,60 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,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:[5, 8, 68], Operations: ['72-4=68']
Exploring Operation: 68-5=63, Resulting Numbers: [8, 63]
Generated Node #0,2,0: 60:[8, 63] Operation: 68-5=63
Exploring Operation: 5+68=73, Resulting Numbers: [8, 73]
Generated Node #0,2,1: 60:[8, 73] Operation: 5+68=73
Exploring Operation: 68-8=60, Resulting Numbers: [5, 60]
Generated Node #0,2,2: 60:[5, 60] Operation: 68-8=60
Exploring Operation: 5+8=13, Resulting Numbers: [68, 13]
Generated Node #0,2,3: 60:[68, 13] Operation: 5+8=13
Exploring Operation: 8-5=3, Resulting Numbers: [68, 3]
Generated Node #0,2,4: 60:[68, 3] Operation: 8-5=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[5, 60], Operations: ['72-4=68', '68-8=60']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,60 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[8, 63], Operations: ['72-4=68', '68-5=63']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,60 unequal: No Solution
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 60:[68, 3], Operations: ['72-4=68', '8-5=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 60:[68, 13], Operations: ['72-4=68', '5+8=13']
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,60 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[8, 73], Operations: ['72-4=68', '5+68=73']
Exploring Operation: 8*73=584, Resulting Numbers: [584]
584,60 unequal: No Solution
Exploring Operation: 8+73=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
11,
52,
52
] | 15 | [
"52/2=26",
"52-11=41",
"41-26=15"
] | Current State: 15:[2, 11, 52, 52], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [11, 26]
Generated Node #2: [11, 26] from Operation: 52/2=26
Current State: 15:[11, 26], Operations: ['52/2=26']
Exploring Operation: 52-11=41, Resulting Numbers: [26, 41]
Generated Node #3: [26, 41] from Operation: 52-11=41
Current State: 15:[26, 41], Operations: ['52/2=26', '52-11=41']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[2, 11, 52, 52], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [11, 52, 26]
Generated Node #0,0: 15:[11, 52, 26] Operation: 52/2=26
Exploring Operation: 52-52=0, Resulting Numbers: [2, 11, 0]
Generated Node #0,1: 15:[2, 11, 0] Operation: 52-52=0
Exploring Operation: 52/52=1, Resulting Numbers: [2, 11, 1]
Generated Node #0,2: 15:[2, 11, 1] Operation: 52/52=1
Moving to Node #0,2
Current State: 15:[2, 11, 1], Operations: ['52/52=1']
Exploring Operation: 2+11=13, Resulting Numbers: [1, 13]
Generated Node #0,2,0: 15:[1, 13] Operation: 2+11=13
Exploring Operation: 11+1=12, Resulting Numbers: [2, 12]
Generated Node #0,2,1: 15:[2, 12] Operation: 11+1=12
Exploring Operation: 2+1=3, Resulting Numbers: [11, 3]
Generated Node #0,2,2: 15:[11, 3] Operation: 2+1=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[1, 13], Operations: ['52/52=1', '2+11=13']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[2, 12], Operations: ['52/52=1', '11+1=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[11, 3], Operations: ['52/52=1', '2+1=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,15 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: 15:[2, 11, 0], Operations: ['52-52=0']
Exploring Operation: 2+0=2, Resulting Numbers: [11, 2]
Generated Node #0,1,0: 15:[11, 2] Operation: 2+0=2
Exploring Operation: 11*0=0, Resulting Numbers: [2, 0]
Generated Node #0,1,1: 15:[2, 0] Operation: 11*0=0
Exploring Operation: 2+11=13, Resulting Numbers: [0, 13]
Generated Node #0,1,2: 15:[0, 13] Operation: 2+11=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[2, 0], Operations: ['52-52=0', '11*0=0']
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[11, 2], Operations: ['52-52=0', '2+0=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 15:[0, 13], Operations: ['52-52=0', '2+11=13']
Exploring Operation: 0*13=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 13-0=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 0+13=13, Resulting Numbers: [13]
13,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 15:[11, 52, 26], Operations: ['52/2=26']
Exploring Operation: 52-11=41, Resulting Numbers: [26, 41]
Generated Node #0,0,0: 15:[26, 41] Operation: 52-11=41
Exploring Operation: 52-26=26, Resulting Numbers: [11, 26]
Generated Node #0,0,1: 15:[11, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [11, 2]
Generated Node #0,0,2: 15:[11, 2] Operation: 52/26=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[11, 2], Operations: ['52/2=26', '52/26=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[11, 26], Operations: ['52/2=26', '52-26=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[2, 11, 52, 52], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [11, 52, 26]
Generated Node #0,0: 15:[11, 52, 26] Operation: 52/2=26
Moving to Node #0,0
Current State: 15:[11, 52, 26], Operations: ['52/2=26']
Exploring Operation: 52-26=26, Resulting Numbers: [11, 26]
Generated Node #0,0,1: 15:[11, 26] Operation: 52-26=26
Moving to Node #0,0,1
Current State: 15:[11, 26], Operations: ['52/2=26', '52-26=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_3 | sum_heuristic |
[
86,
49,
42,
25
] | 68 | [
"86+49=135",
"42+25=67",
"135-67=68"
] | Current State: 68:[86, 49, 42, 25], Operations: []
Exploring Operation: 86+49=135, Resulting Numbers: [42, 25, 135]
Generated Node #2: [42, 25, 135] from Operation: 86+49=135
Current State: 68:[42, 25, 135], Operations: ['86+49=135']
Exploring Operation: 42+25=67, Resulting Numbers: [135, 67]
Generated Node #3: [135, 67] from Operation: 42+25=67
Current State: 68:[135, 67], Operations: ['86+49=135', '42+25=67']
Exploring Operation: 135-67=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[86, 49, 42, 25], Operations: []
Exploring Operation: 86-49=37, Resulting Numbers: [42, 25, 37]
Generated Node #0,0: 68:[42, 25, 37] Operation: 86-49=37
Exploring Operation: 49+25=74, Resulting Numbers: [86, 42, 74]
Generated Node #0,1: 68:[86, 42, 74] Operation: 49+25=74
Exploring Operation: 86-25=61, Resulting Numbers: [49, 42, 61]
Generated Node #0,2: 68:[49, 42, 61] Operation: 86-25=61
Exploring Operation: 86-42=44, Resulting Numbers: [49, 25, 44]
Generated Node #0,3: 68:[49, 25, 44] Operation: 86-42=44
Exploring Operation: 49-42=7, Resulting Numbers: [86, 25, 7]
Generated Node #0,4: 68:[86, 25, 7] Operation: 49-42=7
Moving to Node #0,0
Current State: 68:[42, 25, 37], Operations: ['86-49=37']
Exploring Operation: 37-25=12, Resulting Numbers: [42, 12]
Generated Node #0,0,0: 68:[42, 12] Operation: 37-25=12
Exploring Operation: 42+25=67, Resulting Numbers: [37, 67]
Generated Node #0,0,1: 68:[37, 67] Operation: 42+25=67
Exploring Operation: 25+37=62, Resulting Numbers: [42, 62]
Generated Node #0,0,2: 68:[42, 62] Operation: 25+37=62
Exploring Operation: 42-37=5, Resulting Numbers: [25, 5]
Generated Node #0,0,3: 68:[25, 5] Operation: 42-37=5
Exploring Operation: 42-25=17, Resulting Numbers: [37, 17]
Generated Node #0,0,4: 68:[37, 17] Operation: 42-25=17
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 68:[37, 17], Operations: ['86-49=37', '42-25=17']
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,68 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[37, 67], Operations: ['86-49=37', '42+25=67']
Exploring Operation: 37+67=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 37*67=2479, Resulting Numbers: [2479]
2479,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 68:[25, 5], Operations: ['86-49=37', '42-37=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,68 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,68 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[42, 12], Operations: ['86-49=37', '37-25=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,68 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[42, 62], Operations: ['86-49=37', '25+37=62']
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,68 unequal: No Solution
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,68 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: 68:[86, 25, 7], Operations: ['49-42=7']
Exploring Operation: 25-7=18, Resulting Numbers: [86, 18]
Generated Node #0,4,0: 68:[86, 18] Operation: 25-7=18
Exploring Operation: 86-25=61, Resulting Numbers: [7, 61]
Generated Node #0,4,1: 68:[7, 61] Operation: 86-25=61
Exploring Operation: 86-7=79, Resulting Numbers: [25, 79]
Generated Node #0,4,2: 68:[25, 79] Operation: 86-7=79
Exploring Operation: 86+7=93, Resulting Numbers: [25, 93]
Generated Node #0,4,3: 68:[25, 93] Operation: 86+7=93
Exploring Operation: 25+7=32, Resulting Numbers: [86, 32]
Generated Node #0,4,4: 68:[86, 32] Operation: 25+7=32
Moving to Node #0,2
Current State: 68:[49, 42, 61], Operations: ['86-25=61']
Exploring Operation: 49+42=91, Resulting Numbers: [61, 91]
Generated Node #0,2,0: 68:[61, 91] Operation: 49+42=91
Exploring Operation: 49-42=7, Resulting Numbers: [61, 7]
Generated Node #0,2,1: 68:[61, 7] Operation: 49-42=7
Exploring Operation: 49+61=110, Resulting Numbers: [42, 110]
Generated Node #0,2,2: 68:[42, 110] Operation: 49+61=110
Exploring Operation: 61-42=19, Resulting Numbers: [49, 19]
Generated Node #0,2,3: 68:[49, 19] Operation: 61-42=19
Exploring Operation: 61-49=12, Resulting Numbers: [42, 12]
Generated Node #0,2,4: 68:[42, 12] Operation: 61-49=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[61, 7], Operations: ['86-25=61', '49-42=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,68 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[86, 49, 42, 25], Operations: []
Exploring Operation: 86-25=61, Resulting Numbers: [49, 42, 61]
Generated Node #0,2: 68:[49, 42, 61] Operation: 86-25=61
Moving to Node #0,2
Current State: 68:[49, 42, 61], Operations: ['86-25=61']
Exploring Operation: 49-42=7, Resulting Numbers: [61, 7]
Generated Node #0,2,1: 68:[61, 7] Operation: 49-42=7
Moving to Node #0,2,1
Current State: 68:[61, 7], Operations: ['86-25=61', '49-42=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
1,
83,
78,
85
] | 38 | [
"85-83=2",
"78/2=39",
"39-1=38"
] | Current State: 38:[1, 83, 78, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [1, 78, 2]
Generated Node #2: [1, 78, 2] from Operation: 85-83=2
Current State: 38:[1, 78, 2], Operations: ['85-83=2']
Exploring Operation: 78/2=39, Resulting Numbers: [1, 39]
Generated Node #3: [1, 39] from Operation: 78/2=39
Current State: 38:[1, 39], Operations: ['85-83=2', '78/2=39']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[1, 83, 78, 85], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [1, 85, 5]
Generated Node #0,0: 38:[1, 85, 5] Operation: 83-78=5
Exploring Operation: 85-83=2, Resulting Numbers: [1, 78, 2]
Generated Node #0,1: 38:[1, 78, 2] Operation: 85-83=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[1, 78, 2], Operations: ['85-83=2']
Exploring Operation: 78/2=39, Resulting Numbers: [1, 39]
Generated Node #0,1,0: 38:[1, 39] Operation: 78/2=39
Exploring Operation: 78-1=77, Resulting Numbers: [2, 77]
Generated Node #0,1,1: 38:[2, 77] Operation: 78-1=77
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[1, 39], Operations: ['85-83=2', '78/2=39']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[1, 83, 78, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [1, 78, 2]
Generated Node #0,1: 38:[1, 78, 2] Operation: 85-83=2
Moving to Node #0,1
Current State: 38:[1, 78, 2], Operations: ['85-83=2']
Exploring Operation: 78/2=39, Resulting Numbers: [1, 39]
Generated Node #0,1,0: 38:[1, 39] Operation: 78/2=39
Moving to Node #0,1,0
Current State: 38:[1, 39], Operations: ['85-83=2', '78/2=39']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
11,
41,
15,
27
] | 25 | [
"41-11=30",
"30/15=2",
"27-2=25"
] | Current State: 25:[11, 41, 15, 27], Operations: []
Exploring Operation: 41-11=30, Resulting Numbers: [15, 27, 30]
Generated Node #2: [15, 27, 30] from Operation: 41-11=30
Current State: 25:[15, 27, 30], Operations: ['41-11=30']
Exploring Operation: 30/15=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 30/15=2
Current State: 25:[27, 2], Operations: ['41-11=30', '30/15=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[11, 41, 15, 27], Operations: []
Exploring Operation: 41-11=30, Resulting Numbers: [15, 27, 30]
Generated Node #0,0: 25:[15, 27, 30] Operation: 41-11=30
Exploring Operation: 41-15=26, Resulting Numbers: [11, 27, 26]
Generated Node #0,1: 25:[11, 27, 26] Operation: 41-15=26
Exploring Operation: 11+15=26, Resulting Numbers: [41, 27, 26]
Generated Node #0,2: 25:[41, 27, 26] Operation: 11+15=26
Moving to Node #0,1
Current State: 25:[11, 27, 26], Operations: ['41-15=26']
Exploring Operation: 26-11=15, Resulting Numbers: [27, 15]
Generated Node #0,1,0: 25:[27, 15] Operation: 26-11=15
Exploring Operation: 27-26=1, Resulting Numbers: [11, 1]
Generated Node #0,1,1: 25:[11, 1] Operation: 27-26=1
Exploring Operation: 27-11=16, Resulting Numbers: [26, 16]
Generated Node #0,1,2: 25:[26, 16] Operation: 27-11=16
Moving to Node #0,0
Current State: 25:[15, 27, 30], Operations: ['41-11=30']
Exploring Operation: 27-15=12, Resulting Numbers: [30, 12]
Generated Node #0,0,0: 25:[30, 12] Operation: 27-15=12
Exploring Operation: 30-15=15, Resulting Numbers: [27, 15]
Generated Node #0,0,1: 25:[27, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [27, 2]
Generated Node #0,0,2: 25:[27, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[27, 2], Operations: ['41-11=30', '30/15=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[11, 41, 15, 27], Operations: []
Exploring Operation: 41-11=30, Resulting Numbers: [15, 27, 30]
Generated Node #0,0: 25:[15, 27, 30] Operation: 41-11=30
Moving to Node #0,0
Current State: 25:[15, 27, 30], Operations: ['41-11=30']
Exploring Operation: 30/15=2, Resulting Numbers: [27, 2]
Generated Node #0,0,2: 25:[27, 2] Operation: 30/15=2
Moving to Node #0,0,2
Current State: 25:[27, 2], Operations: ['41-11=30', '30/15=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
40,
64,
30,
36
] | 56 | [
"40-36=4",
"30*4=120",
"120-64=56"
] | Current State: 56:[40, 64, 30, 36], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [64, 30, 4]
Generated Node #2: [64, 30, 4] from Operation: 40-36=4
Current State: 56:[64, 30, 4], Operations: ['40-36=4']
Exploring Operation: 30*4=120, Resulting Numbers: [64, 120]
Generated Node #3: [64, 120] from Operation: 30*4=120
Current State: 56:[64, 120], Operations: ['40-36=4', '30*4=120']
Exploring Operation: 120-64=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[40, 64, 30, 36], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [64, 30, 4]
Generated Node #0,0: 56:[64, 30, 4] Operation: 40-36=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[64, 30, 4], Operations: ['40-36=4']
Exploring Operation: 64/4=16, Resulting Numbers: [30, 16]
Generated Node #0,0,0: 56:[30, 16] Operation: 64/4=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[30, 16], Operations: ['40-36=4', '64/4=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
84,
86,
82,
22
] | 93 | [
"86-84=2",
"22/2=11",
"82+11=93"
] | Current State: 93:[84, 86, 82, 22], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [82, 22, 2]
Generated Node #2: [82, 22, 2] from Operation: 86-84=2
Current State: 93:[82, 22, 2], Operations: ['86-84=2']
Exploring Operation: 22/2=11, Resulting Numbers: [82, 11]
Generated Node #3: [82, 11] from Operation: 22/2=11
Current State: 93:[82, 11], Operations: ['86-84=2', '22/2=11']
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[84, 86, 82, 22], Operations: []
Exploring Operation: 82+22=104, Resulting Numbers: [84, 86, 104]
Generated Node #0,0: 93:[84, 86, 104] Operation: 82+22=104
Exploring Operation: 86-82=4, Resulting Numbers: [84, 22, 4]
Generated Node #0,1: 93:[84, 22, 4] Operation: 86-82=4
Exploring Operation: 84+22=106, Resulting Numbers: [86, 82, 106]
Generated Node #0,2: 93:[86, 82, 106] Operation: 84+22=106
Exploring Operation: 84-82=2, Resulting Numbers: [86, 22, 2]
Generated Node #0,3: 93:[86, 22, 2] Operation: 84-82=2
Exploring Operation: 86-84=2, Resulting Numbers: [82, 22, 2]
Generated Node #0,4: 93:[82, 22, 2] Operation: 86-84=2
Moving to Node #0,3
Current State: 93:[86, 22, 2], Operations: ['84-82=2']
Exploring Operation: 86-2=84, Resulting Numbers: [22, 84]
Generated Node #0,3,0: 93:[22, 84] Operation: 86-2=84
Exploring Operation: 86+2=88, Resulting Numbers: [22, 88]
Generated Node #0,3,1: 93:[22, 88] Operation: 86+2=88
Exploring Operation: 22/2=11, Resulting Numbers: [86, 11]
Generated Node #0,3,2: 93:[86, 11] Operation: 22/2=11
Exploring Operation: 22+2=24, Resulting Numbers: [86, 24]
Generated Node #0,3,3: 93:[86, 24] Operation: 22+2=24
Exploring Operation: 86+22=108, Resulting Numbers: [2, 108]
Generated Node #0,3,4: 93:[2, 108] Operation: 86+22=108
Moving to Node #0,1
Current State: 93:[84, 22, 4], Operations: ['86-82=4']
Exploring Operation: 84+22=106, Resulting Numbers: [4, 106]
Generated Node #0,1,0: 93:[4, 106] Operation: 84+22=106
Exploring Operation: 84+4=88, Resulting Numbers: [22, 88]
Generated Node #0,1,1: 93:[22, 88] Operation: 84+4=88
Exploring Operation: 22+4=26, Resulting Numbers: [84, 26]
Generated Node #0,1,2: 93:[84, 26] Operation: 22+4=26
Exploring Operation: 84/4=21, Resulting Numbers: [22, 21]
Generated Node #0,1,3: 93:[22, 21] Operation: 84/4=21
Exploring Operation: 22*4=88, Resulting Numbers: [84, 88]
Generated Node #0,1,4: 93:[84, 88] Operation: 22*4=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[4, 106], Operations: ['86-82=4', '84+22=106']
Exploring Operation: 106-4=102, Resulting Numbers: [102]
102,93 unequal: No Solution
Exploring Operation: 4*106=424, Resulting Numbers: [424]
424,93 unequal: No Solution
Exploring Operation: 4+106=110, Resulting Numbers: [110]
110,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[22, 88], Operations: ['86-82=4', '84+4=88']
Exploring Operation: 22*88=1936, Resulting Numbers: [1936]
1936,93 unequal: No Solution
Exploring Operation: 22+88=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,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,2
Current State: 93:[84, 26], Operations: ['86-82=4', '22+4=26']
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 84+26=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 84*26=2184, Resulting Numbers: [2184]
2184,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,4
Current State: 93:[84, 88], Operations: ['86-82=4', '22*4=88']
Exploring Operation: 84*88=7392, Resulting Numbers: [7392]
7392,93 unequal: No Solution
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,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,3
Current State: 93:[22, 21], Operations: ['86-82=4', '84/4=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,93 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,93 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,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:[82, 22, 2], Operations: ['86-84=2']
Exploring Operation: 22/2=11, Resulting Numbers: [82, 11]
Generated Node #0,4,0: 93:[82, 11] Operation: 22/2=11
Exploring Operation: 82+22=104, Resulting Numbers: [2, 104]
Generated Node #0,4,1: 93:[2, 104] Operation: 82+22=104
Exploring Operation: 82/2=41, Resulting Numbers: [22, 41]
Generated Node #0,4,2: 93:[22, 41] Operation: 82/2=41
Exploring Operation: 82+2=84, Resulting Numbers: [22, 84]
Generated Node #0,4,3: 93:[22, 84] Operation: 82+2=84
Exploring Operation: 22+2=24, Resulting Numbers: [82, 24]
Generated Node #0,4,4: 93:[82, 24] Operation: 22+2=24
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 93:[2, 104], Operations: ['86-84=2', '82+22=104']
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 104-2=102, Resulting Numbers: [102]
102,93 unequal: No Solution
Exploring Operation: 2*104=208, Resulting Numbers: [208]
208,93 unequal: No Solution
Exploring Operation: 2+104=106, Resulting Numbers: [106]
106,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:[22, 84], Operations: ['86-84=2', '82+2=84']
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,93 unequal: No Solution
Exploring Operation: 22*84=1848, Resulting Numbers: [1848]
1848,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:[82, 24], Operations: ['86-84=2', '22+2=24']
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,93 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,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:[82, 11], Operations: ['86-84=2', '22/2=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,93 unequal: No Solution
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,93 unequal: No Solution
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[84, 86, 82, 22], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [82, 22, 2]
Generated Node #0,4: 93:[82, 22, 2] Operation: 86-84=2
Moving to Node #0,4
Current State: 93:[82, 22, 2], Operations: ['86-84=2']
Exploring Operation: 22/2=11, Resulting Numbers: [82, 11]
Generated Node #0,4,0: 93:[82, 11] Operation: 22/2=11
Moving to Node #0,4,0
Current State: 93:[82, 11], Operations: ['86-84=2', '22/2=11']
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_5 | mult_heuristic |
[
69,
21,
52,
42
] | 43 | [
"21*52=1092",
"1092/42=26",
"69-26=43"
] | Current State: 43:[69, 21, 52, 42], Operations: []
Exploring Operation: 21*52=1092, Resulting Numbers: [69, 42, 1092]
Generated Node #2: [69, 42, 1092] from Operation: 21*52=1092
Current State: 43:[69, 42, 1092], Operations: ['21*52=1092']
Exploring Operation: 1092/42=26, Resulting Numbers: [69, 26]
Generated Node #3: [69, 26] from Operation: 1092/42=26
Current State: 43:[69, 26], Operations: ['21*52=1092', '1092/42=26']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[69, 21, 52, 42], Operations: []
Exploring Operation: 69-21=48, Resulting Numbers: [52, 42, 48]
Generated Node #0,0: 43:[52, 42, 48] Operation: 69-21=48
Exploring Operation: 52-21=31, Resulting Numbers: [69, 42, 31]
Generated Node #0,1: 43:[69, 42, 31] Operation: 52-21=31
Exploring Operation: 69-42=27, Resulting Numbers: [21, 52, 27]
Generated Node #0,2: 43:[21, 52, 27] Operation: 69-42=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[52, 42, 48], Operations: ['69-21=48']
Exploring Operation: 48-42=6, Resulting Numbers: [52, 6]
Generated Node #0,0,0: 43:[52, 6] Operation: 48-42=6
Exploring Operation: 52-48=4, Resulting Numbers: [42, 4]
Generated Node #0,0,1: 43:[42, 4] Operation: 52-48=4
Exploring Operation: 52-42=10, Resulting Numbers: [48, 10]
Generated Node #0,0,2: 43:[48, 10] Operation: 52-42=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[48, 10], Operations: ['69-21=48', '52-42=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,43 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,43 unequal: No Solution
No 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: 43:[42, 4], Operations: ['69-21=48', '52-48=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,43 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,43 unequal: No Solution
No 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: 43:[52, 6], Operations: ['69-21=48', '48-42=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,43 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,43 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: 43:[69, 42, 31], Operations: ['52-21=31']
Exploring Operation: 69-42=27, Resulting Numbers: [31, 27]
Generated Node #0,1,0: 43:[31, 27] Operation: 69-42=27
Exploring Operation: 69-31=38, Resulting Numbers: [42, 38]
Generated Node #0,1,1: 43:[42, 38] Operation: 69-31=38
Exploring Operation: 42+31=73, Resulting Numbers: [69, 73]
Generated Node #0,1,2: 43:[69, 73] Operation: 42+31=73
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[42, 38], Operations: ['52-21=31', '69-31=38']
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,43 unequal: No Solution
No 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: 43:[31, 27], Operations: ['52-21=31', '69-42=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,43 unequal: No Solution
No 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: 43:[69, 73], Operations: ['52-21=31', '42+31=73']
Exploring Operation: 69*73=5037, Resulting Numbers: [5037]
5037,43 unequal: No Solution
Exploring Operation: 69+73=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,43 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: 43:[21, 52, 27], Operations: ['69-42=27']
Exploring Operation: 52-21=31, Resulting Numbers: [27, 31]
Generated Node #0,2,0: 43:[27, 31] Operation: 52-21=31
Exploring Operation: 21+27=48, Resulting Numbers: [52, 48]
Generated Node #0,2,1: 43:[52, 48] Operation: 21+27=48
Exploring Operation: 52-27=25, Resulting Numbers: [21, 25]
Generated Node #0,2,2: 43:[21, 25] Operation: 52-27=25
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[52, 48], Operations: ['69-42=27', '21+27=48']
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,43 unequal: No Solution
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,43 unequal: No Solution
No 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: 43:[27, 31], Operations: ['69-42=27', '52-21=31']
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 27*31=837, Resulting Numbers: [837]
837,43 unequal: No Solution
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,43 unequal: No Solution
No 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: 43:[21, 25], Operations: ['69-42=27', '52-27=25']
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,43 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,43 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 |
[
79,
84,
42,
28
] | 49 | [
"79-28=51",
"84/42=2",
"51-2=49"
] | Current State: 49:[79, 84, 42, 28], Operations: []
Exploring Operation: 79-28=51, Resulting Numbers: [84, 42, 51]
Generated Node #2: [84, 42, 51] from Operation: 79-28=51
Current State: 49:[84, 42, 51], Operations: ['79-28=51']
Exploring Operation: 84/42=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 84/42=2
Current State: 49:[51, 2], Operations: ['79-28=51', '84/42=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[79, 84, 42, 28], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [79, 42, 3]
Generated Node #0,0: 49:[79, 42, 3] Operation: 84/28=3
Exploring Operation: 84-79=5, Resulting Numbers: [42, 28, 5]
Generated Node #0,1: 49:[42, 28, 5] Operation: 84-79=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[42, 28, 5], Operations: ['84-79=5']
Exploring Operation: 42-28=14, Resulting Numbers: [5, 14]
Generated Node #0,1,0: 49:[5, 14] Operation: 42-28=14
Exploring Operation: 42+28=70, Resulting Numbers: [5, 70]
Generated Node #0,1,1: 49:[5, 70] Operation: 42+28=70
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[5, 14], Operations: ['84-79=5', '42-28=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,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:[5, 70], Operations: ['84-79=5', '42+28=70']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,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,0
Current State: 49:[79, 42, 3], Operations: ['84/28=3']
Exploring Operation: 79-3=76, Resulting Numbers: [42, 76]
Generated Node #0,0,0: 49:[42, 76] Operation: 79-3=76
Exploring Operation: 79-42=37, Resulting Numbers: [3, 37]
Generated Node #0,0,1: 49:[3, 37] Operation: 79-42=37
Moving to Node #0,0,1
Current State: 49:[3, 37], Operations: ['84/28=3', '79-42=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[42, 76], Operations: ['84/28=3', '79-3=76']
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,49 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,49 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 |
[
67,
31,
30,
31
] | 36 | [
"67-31=36",
"31-30=1",
"36*1=36"
] | Current State: 36:[67, 31, 30, 31], Operations: []
Exploring Operation: 67-31=36, Resulting Numbers: [30, 36]
Generated Node #2: [30, 36] from Operation: 67-31=36
Current State: 36:[30, 36], Operations: ['67-31=36']
Exploring Operation: 31-30=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 31-30=1
Current State: 36:[36, 1], Operations: ['67-31=36', '31-30=1']
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[67, 31, 30, 31], Operations: []
Exploring Operation: 67-31=36, Resulting Numbers: [30, 31, 36]
Generated Node #0,0: 36:[30, 31, 36] Operation: 67-31=36
Exploring Operation: 67-30=37, Resulting Numbers: [31, 31, 37]
Generated Node #0,1: 36:[31, 31, 37] Operation: 67-30=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[30, 31, 36], Operations: ['67-31=36']
Exploring Operation: 36-30=6, Resulting Numbers: [31, 6]
Generated Node #0,0,0: 36:[31, 6] Operation: 36-30=6
Exploring Operation: 31-30=1, Resulting Numbers: [36, 1]
Generated Node #0,0,1: 36:[36, 1] Operation: 31-30=1
Moving to Node #0,0,1
Current State: 36:[36, 1], Operations: ['67-31=36', '31-30=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[67, 31, 30, 31], Operations: []
Exploring Operation: 67-31=36, Resulting Numbers: [30, 31, 36]
Generated Node #0,0: 36:[30, 31, 36] Operation: 67-31=36
Moving to Node #0,0
Current State: 36:[30, 31, 36], Operations: ['67-31=36']
Exploring Operation: 31-30=1, Resulting Numbers: [36, 1]
Generated Node #0,0,1: 36:[36, 1] Operation: 31-30=1
Moving to Node #0,0,1
Current State: 36:[36, 1], Operations: ['67-31=36', '31-30=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
36,
82,
41,
22
] | 12 | [
"41-36=5",
"82-22=60",
"60/5=12"
] | Current State: 12:[36, 82, 41, 22], Operations: []
Exploring Operation: 41-36=5, Resulting Numbers: [82, 22, 5]
Generated Node #2: [82, 22, 5] from Operation: 41-36=5
Current State: 12:[82, 22, 5], Operations: ['41-36=5']
Exploring Operation: 82-22=60, Resulting Numbers: [5, 60]
Generated Node #3: [5, 60] from Operation: 82-22=60
Current State: 12:[5, 60], Operations: ['41-36=5', '82-22=60']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[36, 82, 41, 22], Operations: []
Exploring Operation: 41-36=5, Resulting Numbers: [82, 22, 5]
Generated Node #0,0: 12:[82, 22, 5] Operation: 41-36=5
Exploring Operation: 82-41=41, Resulting Numbers: [36, 22, 41]
Generated Node #0,1: 12:[36, 22, 41] Operation: 82-41=41
Exploring Operation: 82/41=2, Resulting Numbers: [36, 22, 2]
Generated Node #0,2: 12:[36, 22, 2] Operation: 82/41=2
Exploring Operation: 82-36=46, Resulting Numbers: [41, 22, 46]
Generated Node #0,3: 12:[41, 22, 46] Operation: 82-36=46
Exploring Operation: 36-22=14, Resulting Numbers: [82, 41, 14]
Generated Node #0,4: 12:[82, 41, 14] Operation: 36-22=14
Moving to Node #0,2
Current State: 12:[36, 22, 2], Operations: ['82/41=2']
Exploring Operation: 36/2=18, Resulting Numbers: [22, 18]
Generated Node #0,2,0: 12:[22, 18] Operation: 36/2=18
Exploring Operation: 22-2=20, Resulting Numbers: [36, 20]
Generated Node #0,2,1: 12:[36, 20] Operation: 22-2=20
Exploring Operation: 36-2=34, Resulting Numbers: [22, 34]
Generated Node #0,2,2: 12:[22, 34] Operation: 36-2=34
Exploring Operation: 22/2=11, Resulting Numbers: [36, 11]
Generated Node #0,2,3: 12:[36, 11] Operation: 22/2=11
Exploring Operation: 36-22=14, Resulting Numbers: [2, 14]
Generated Node #0,2,4: 12:[2, 14] Operation: 36-22=14
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 12:[2, 14], Operations: ['82/41=2', '36-22=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[36, 82, 41, 22], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [36, 22, 2]
Generated Node #0,2: 12:[36, 22, 2] Operation: 82/41=2
Moving to Node #0,2
Current State: 12:[36, 22, 2], Operations: ['82/41=2']
Exploring Operation: 36-22=14, Resulting Numbers: [2, 14]
Generated Node #0,2,4: 12:[2, 14] Operation: 36-22=14
Moving to Node #0,2,4
Current State: 12:[2, 14], Operations: ['82/41=2', '36-22=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
77,
14,
24,
6
] | 73 | [
"77+14=91",
"24-6=18",
"91-18=73"
] | Current State: 73:[77, 14, 24, 6], Operations: []
Exploring Operation: 77+14=91, Resulting Numbers: [24, 6, 91]
Generated Node #2: [24, 6, 91] from Operation: 77+14=91
Current State: 73:[24, 6, 91], Operations: ['77+14=91']
Exploring Operation: 24-6=18, Resulting Numbers: [91, 18]
Generated Node #3: [91, 18] from Operation: 24-6=18
Current State: 73:[91, 18], Operations: ['77+14=91', '24-6=18']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[77, 14, 24, 6], Operations: []
Exploring Operation: 14*6=84, Resulting Numbers: [77, 24, 84]
Generated Node #0,0: 73:[77, 24, 84] Operation: 14*6=84
Exploring Operation: 14+24=38, Resulting Numbers: [77, 6, 38]
Generated Node #0,1: 73:[77, 6, 38] Operation: 14+24=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[77, 24, 84], Operations: ['14*6=84']
Exploring Operation: 77-24=53, Resulting Numbers: [84, 53]
Generated Node #0,0,0: 73:[84, 53] Operation: 77-24=53
Exploring Operation: 84-24=60, Resulting Numbers: [77, 60]
Generated Node #0,0,1: 73:[77, 60] Operation: 84-24=60
Moving to Node #0,0,1
Current State: 73:[77, 60], Operations: ['14*6=84', '84-24=60']
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[84, 53], Operations: ['14*6=84', '77-24=53']
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 84+53=137, Resulting Numbers: [137]
137,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[77, 6, 38], Operations: ['14+24=38']
Exploring Operation: 6+38=44, Resulting Numbers: [77, 44]
Generated Node #0,1,0: 73:[77, 44] Operation: 6+38=44
Exploring Operation: 77-6=71, Resulting Numbers: [38, 71]
Generated Node #0,1,1: 73:[38, 71] Operation: 77-6=71
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[77, 44], Operations: ['14+24=38', '6+38=44']
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 77+44=121, Resulting Numbers: [121]
121,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[38, 71], Operations: ['14+24=38', '77-6=71']
Exploring Operation: 71-38=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 38+71=109, Resulting Numbers: [109]
109,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
67,
10,
6,
3
] | 55 | [
"67-10=57",
"6/3=2",
"57-2=55"
] | Current State: 55:[67, 10, 6, 3], Operations: []
Exploring Operation: 67-10=57, Resulting Numbers: [6, 3, 57]
Generated Node #2: [6, 3, 57] from Operation: 67-10=57
Current State: 55:[6, 3, 57], Operations: ['67-10=57']
Exploring Operation: 6/3=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 6/3=2
Current State: 55:[57, 2], Operations: ['67-10=57', '6/3=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[67, 10, 6, 3], Operations: []
Exploring Operation: 67-6=61, Resulting Numbers: [10, 3, 61]
Generated Node #0,0: 55:[10, 3, 61] Operation: 67-6=61
Exploring Operation: 67-3=64, Resulting Numbers: [10, 6, 64]
Generated Node #0,1: 55:[10, 6, 64] Operation: 67-3=64
Exploring Operation: 10+3=13, Resulting Numbers: [67, 6, 13]
Generated Node #0,2: 55:[67, 6, 13] Operation: 10+3=13
Exploring Operation: 67-10=57, Resulting Numbers: [6, 3, 57]
Generated Node #0,3: 55:[6, 3, 57] Operation: 67-10=57
Exploring Operation: 10-6=4, Resulting Numbers: [67, 3, 4]
Generated Node #0,4: 55:[67, 3, 4] Operation: 10-6=4
Moving to Node #0,3
Current State: 55:[6, 3, 57], Operations: ['67-10=57']
Exploring Operation: 6/3=2, Resulting Numbers: [57, 2]
Generated Node #0,3,0: 55:[57, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [57, 3]
Generated Node #0,3,1: 55:[57, 3] Operation: 6-3=3
Exploring Operation: 6+3=9, Resulting Numbers: [57, 9]
Generated Node #0,3,2: 55:[57, 9] Operation: 6+3=9
Exploring Operation: 57-3=54, Resulting Numbers: [6, 54]
Generated Node #0,3,3: 55:[6, 54] Operation: 57-3=54
Exploring Operation: 57-6=51, Resulting Numbers: [3, 51]
Generated Node #0,3,4: 55:[3, 51] Operation: 57-6=51
Moving to Node #0,0
Current State: 55:[10, 3, 61], Operations: ['67-6=61']
Exploring Operation: 3+61=64, Resulting Numbers: [10, 64]
Generated Node #0,0,0: 55:[10, 64] Operation: 3+61=64
Exploring Operation: 10-3=7, Resulting Numbers: [61, 7]
Generated Node #0,0,1: 55:[61, 7] Operation: 10-3=7
Exploring Operation: 61-3=58, Resulting Numbers: [10, 58]
Generated Node #0,0,2: 55:[10, 58] Operation: 61-3=58
Exploring Operation: 10+3=13, Resulting Numbers: [61, 13]
Generated Node #0,0,3: 55:[61, 13] Operation: 10+3=13
Exploring Operation: 61-10=51, Resulting Numbers: [3, 51]
Generated Node #0,0,4: 55:[3, 51] Operation: 61-10=51
Moving to Node #0,1
Current State: 55:[10, 6, 64], Operations: ['67-3=64']
Exploring Operation: 64-10=54, Resulting Numbers: [6, 54]
Generated Node #0,1,0: 55:[6, 54] Operation: 64-10=54
Exploring Operation: 64-6=58, Resulting Numbers: [10, 58]
Generated Node #0,1,1: 55:[10, 58] Operation: 64-6=58
Exploring Operation: 10*6=60, Resulting Numbers: [64, 60]
Generated Node #0,1,2: 55:[64, 60] Operation: 10*6=60
Exploring Operation: 10+6=16, Resulting Numbers: [64, 16]
Generated Node #0,1,3: 55:[64, 16] Operation: 10+6=16
Exploring Operation: 10-6=4, Resulting Numbers: [64, 4]
Generated Node #0,1,4: 55:[64, 4] Operation: 10-6=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[6, 54], Operations: ['67-3=64', '64-10=54']
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,55 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[10, 58], Operations: ['67-3=64', '64-6=58']
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,55 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 55:[64, 4], Operations: ['67-3=64', '10-6=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,55 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[64, 60], Operations: ['67-3=64', '10*6=60']
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,55 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[64, 16], Operations: ['67-3=64', '10+6=16']
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,55 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,55 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: 55:[67, 6, 13], Operations: ['10+3=13']
Exploring Operation: 13-6=7, Resulting Numbers: [67, 7]
Generated Node #0,2,0: 55:[67, 7] Operation: 13-6=7
Exploring Operation: 6+13=19, Resulting Numbers: [67, 19]
Generated Node #0,2,1: 55:[67, 19] Operation: 6+13=19
Exploring Operation: 67-6=61, Resulting Numbers: [13, 61]
Generated Node #0,2,2: 55:[13, 61] Operation: 67-6=61
Exploring Operation: 67+6=73, Resulting Numbers: [13, 73]
Generated Node #0,2,3: 55:[13, 73] Operation: 67+6=73
Exploring Operation: 67-13=54, Resulting Numbers: [6, 54]
Generated Node #0,2,4: 55:[6, 54] Operation: 67-13=54
Moving to Node #0,4
Current State: 55:[67, 3, 4], Operations: ['10-6=4']
Exploring Operation: 67-3=64, Resulting Numbers: [4, 64]
Generated Node #0,4,0: 55:[4, 64] Operation: 67-3=64
Exploring Operation: 3+4=7, Resulting Numbers: [67, 7]
Generated Node #0,4,1: 55:[67, 7] Operation: 3+4=7
Exploring Operation: 67+3=70, Resulting Numbers: [4, 70]
Generated Node #0,4,2: 55:[4, 70] Operation: 67+3=70
Exploring Operation: 3*4=12, Resulting Numbers: [67, 12]
Generated Node #0,4,3: 55:[67, 12] Operation: 3*4=12
Exploring Operation: 67-4=63, Resulting Numbers: [3, 63]
Generated Node #0,4,4: 55:[3, 63] Operation: 67-4=63
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 55:[4, 64], Operations: ['10-6=4', '67-3=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 4*64=256, Resulting Numbers: [256]
256,55 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 55:[3, 63], Operations: ['10-6=4', '67-4=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 55:[67, 12], Operations: ['10-6=4', '3*4=12']
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[67, 10, 6, 3], Operations: []
Exploring Operation: 10-6=4, Resulting Numbers: [67, 3, 4]
Generated Node #0,4: 55:[67, 3, 4] Operation: 10-6=4
Moving to Node #0,4
Current State: 55:[67, 3, 4], Operations: ['10-6=4']
Exploring Operation: 3*4=12, Resulting Numbers: [67, 12]
Generated Node #0,4,3: 55:[67, 12] Operation: 3*4=12
Moving to Node #0,4,3
Current State: 55:[67, 12], Operations: ['10-6=4', '3*4=12']
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | sum_heuristic |
[
68,
17,
83,
13
] | 100 | [
"68/17=4",
"83+13=96",
"4+96=100"
] | Current State: 100:[68, 17, 83, 13], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [83, 13, 4]
Generated Node #2: [83, 13, 4] from Operation: 68/17=4
Current State: 100:[83, 13, 4], Operations: ['68/17=4']
Exploring Operation: 83+13=96, Resulting Numbers: [4, 96]
Generated Node #3: [4, 96] from Operation: 83+13=96
Current State: 100:[4, 96], Operations: ['68/17=4', '83+13=96']
Exploring Operation: 4+96=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[68, 17, 83, 13], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [17, 13, 15]
Generated Node #0,0: 100:[17, 13, 15] Operation: 83-68=15
Moving to Node #0,0
Current State: 100:[17, 13, 15], Operations: ['83-68=15']
Exploring Operation: 17-15=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 100:[13, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 100:[13, 2], Operations: ['83-68=15', '17-15=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,100 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
83,
60,
93,
57
] | 59 | [
"83-60=23",
"93-57=36",
"23+36=59"
] | Current State: 59:[83, 60, 93, 57], Operations: []
Exploring Operation: 83-60=23, Resulting Numbers: [93, 57, 23]
Generated Node #2: [93, 57, 23] from Operation: 83-60=23
Current State: 59:[93, 57, 23], Operations: ['83-60=23']
Exploring Operation: 93-57=36, Resulting Numbers: [23, 36]
Generated Node #3: [23, 36] from Operation: 93-57=36
Current State: 59:[23, 36], Operations: ['83-60=23', '93-57=36']
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[83, 60, 93, 57], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [83, 57, 33]
Generated Node #0,0: 59:[83, 57, 33] Operation: 93-60=33
Exploring Operation: 93-83=10, Resulting Numbers: [60, 57, 10]
Generated Node #0,1: 59:[60, 57, 10] Operation: 93-83=10
Exploring Operation: 93-57=36, Resulting Numbers: [83, 60, 36]
Generated Node #0,2: 59:[83, 60, 36] Operation: 93-57=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[83, 60, 36], Operations: ['93-57=36']
Exploring Operation: 60-36=24, Resulting Numbers: [83, 24]
Generated Node #0,2,0: 59:[83, 24] Operation: 60-36=24
Exploring Operation: 83-36=47, Resulting Numbers: [60, 47]
Generated Node #0,2,1: 59:[60, 47] Operation: 83-36=47
Exploring Operation: 83-60=23, Resulting Numbers: [36, 23]
Generated Node #0,2,2: 59:[36, 23] Operation: 83-60=23
Moving to Node #0,2,1
Current State: 59:[60, 47], Operations: ['93-57=36', '83-36=47']
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 60*47=2820, Resulting Numbers: [2820]
2820,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[83, 24], Operations: ['93-57=36', '60-36=24']
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[83, 60, 93, 57], Operations: []
Exploring Operation: 93-57=36, Resulting Numbers: [83, 60, 36]
Generated Node #0,2: 59:[83, 60, 36] Operation: 93-57=36
Moving to Node #0,2
Current State: 59:[83, 60, 36], Operations: ['93-57=36']
Exploring Operation: 60-36=24, Resulting Numbers: [83, 24]
Generated Node #0,2,0: 59:[83, 24] Operation: 60-36=24
Moving to Node #0,2,0
Current State: 59:[83, 24], Operations: ['93-57=36', '60-36=24']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
12,
57,
63,
4
] | 42 | [
"12*4=48",
"63-57=6",
"48-6=42"
] | Current State: 42:[12, 57, 63, 4], Operations: []
Exploring Operation: 12*4=48, Resulting Numbers: [57, 63, 48]
Generated Node #2: [57, 63, 48] from Operation: 12*4=48
Current State: 42:[57, 63, 48], Operations: ['12*4=48']
Exploring Operation: 63-57=6, Resulting Numbers: [48, 6]
Generated Node #3: [48, 6] from Operation: 63-57=6
Current State: 42:[48, 6], Operations: ['12*4=48', '63-57=6']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[12, 57, 63, 4], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [63, 4, 45]
Generated Node #0,0: 42:[63, 4, 45] Operation: 57-12=45
Exploring Operation: 63-57=6, Resulting Numbers: [12, 4, 6]
Generated Node #0,1: 42:[12, 4, 6] Operation: 63-57=6
Exploring Operation: 63-12=51, Resulting Numbers: [57, 4, 51]
Generated Node #0,2: 42:[57, 4, 51] Operation: 63-12=51
Moving to Node #0,1
Current State: 42:[12, 4, 6], Operations: ['63-57=6']
Exploring Operation: 12/4=3, Resulting Numbers: [6, 3]
Generated Node #0,1,0: 42:[6, 3] Operation: 12/4=3
Exploring Operation: 12-4=8, Resulting Numbers: [6, 8]
Generated Node #0,1,1: 42:[6, 8] Operation: 12-4=8
Exploring Operation: 12-6=6, Resulting Numbers: [4, 6]
Generated Node #0,1,2: 42:[4, 6] Operation: 12-6=6
Moving to Node #0,0
Current State: 42:[63, 4, 45], Operations: ['57-12=45']
Exploring Operation: 63-45=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 42:[4, 18] Operation: 63-45=18
Exploring Operation: 63-4=59, Resulting Numbers: [45, 59]
Generated Node #0,0,1: 42:[45, 59] Operation: 63-4=59
Exploring Operation: 45-4=41, Resulting Numbers: [63, 41]
Generated Node #0,0,2: 42:[63, 41] Operation: 45-4=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[4, 18], Operations: ['57-12=45', '63-45=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[45, 59], Operations: ['57-12=45', '63-4=59']
Exploring Operation: 45*59=2655, Resulting Numbers: [2655]
2655,42 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[63, 41], Operations: ['57-12=45', '45-4=41']
Exploring Operation: 63+41=104, Resulting Numbers: [104]
104,42 unequal: No Solution
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 63*41=2583, Resulting Numbers: [2583]
2583,42 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: 42:[57, 4, 51], Operations: ['63-12=51']
Exploring Operation: 51-4=47, Resulting Numbers: [57, 47]
Generated Node #0,2,0: 42:[57, 47] Operation: 51-4=47
Exploring Operation: 57-51=6, Resulting Numbers: [4, 6]
Generated Node #0,2,1: 42:[4, 6] Operation: 57-51=6
Exploring Operation: 57-4=53, Resulting Numbers: [51, 53]
Generated Node #0,2,2: 42:[51, 53] Operation: 57-4=53
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[4, 6], Operations: ['63-12=51', '57-51=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[57, 47], Operations: ['63-12=51', '51-4=47']
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 57*47=2679, Resulting Numbers: [2679]
2679,42 unequal: No Solution
Exploring Operation: 57+47=104, Resulting Numbers: [104]
104,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[51, 53], Operations: ['63-12=51', '57-4=53']
Exploring Operation: 51+53=104, Resulting Numbers: [104]
104,42 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 51*53=2703, Resulting Numbers: [2703]
2703,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 42:[6, 3], Operations: ['63-57=6', '12/4=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[6, 8], Operations: ['63-57=6', '12-4=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[4, 6], Operations: ['63-57=6', '12-6=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
30,
33,
24,
6
] | 84 | [
"33-24=9",
"6*9=54",
"30+54=84"
] | Current State: 84:[30, 33, 24, 6], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [30, 6, 9]
Generated Node #2: [30, 6, 9] from Operation: 33-24=9
Current State: 84:[30, 6, 9], Operations: ['33-24=9']
Exploring Operation: 6*9=54, Resulting Numbers: [30, 54]
Generated Node #3: [30, 54] from Operation: 6*9=54
Current State: 84:[30, 54], Operations: ['33-24=9', '6*9=54']
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[30, 33, 24, 6], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [30, 6, 9]
Generated Node #0,0: 84:[30, 6, 9] Operation: 33-24=9
Exploring Operation: 24/6=4, Resulting Numbers: [30, 33, 4]
Generated Node #0,1: 84:[30, 33, 4] Operation: 24/6=4
Exploring Operation: 33-6=27, Resulting Numbers: [30, 24, 27]
Generated Node #0,2: 84:[30, 24, 27] Operation: 33-6=27
Exploring Operation: 30-24=6, Resulting Numbers: [33, 6, 6]
Generated Node #0,3: 84:[33, 6, 6] Operation: 30-24=6
Exploring Operation: 33-30=3, Resulting Numbers: [24, 6, 3]
Generated Node #0,4: 84:[24, 6, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 84:[24, 6, 3], Operations: ['33-30=3']
Exploring Operation: 24-3=21, Resulting Numbers: [6, 21]
Generated Node #0,4,0: 84:[6, 21] Operation: 24-3=21
Exploring Operation: 24+6=30, Resulting Numbers: [3, 30]
Generated Node #0,4,1: 84:[3, 30] Operation: 24+6=30
Exploring Operation: 24/6=4, Resulting Numbers: [3, 4]
Generated Node #0,4,2: 84:[3, 4] Operation: 24/6=4
Exploring Operation: 24/3=8, Resulting Numbers: [6, 8]
Generated Node #0,4,3: 84:[6, 8] Operation: 24/3=8
Exploring Operation: 24+3=27, Resulting Numbers: [6, 27]
Generated Node #0,4,4: 84:[6, 27] Operation: 24+3=27
Moving to Node #0,4,0
Current State: 84:[6, 21], Operations: ['33-30=3', '24-3=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,84 unequal: No Solution
Moving to Node #0,4,2
Current State: 84:[3, 4], Operations: ['33-30=3', '24/6=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Moving to Node #0,4,3
Current State: 84:[6, 8], Operations: ['33-30=3', '24/3=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Moving to Node #0,4,4
Current State: 84:[6, 27], Operations: ['33-30=3', '24+3=27']
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,84 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,4,1
Current State: 84:[3, 30], Operations: ['33-30=3', '24+6=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[30, 6, 9], Operations: ['33-24=9']
Exploring Operation: 9-6=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 84:[30, 3] Operation: 9-6=3
Exploring Operation: 30/6=5, Resulting Numbers: [9, 5]
Generated Node #0,0,1: 84:[9, 5] Operation: 30/6=5
Exploring Operation: 30+9=39, Resulting Numbers: [6, 39]
Generated Node #0,0,2: 84:[6, 39] Operation: 30+9=39
Exploring Operation: 30-9=21, Resulting Numbers: [6, 21]
Generated Node #0,0,3: 84:[6, 21] Operation: 30-9=21
Exploring Operation: 6+9=15, Resulting Numbers: [30, 15]
Generated Node #0,0,4: 84:[30, 15] Operation: 6+9=15
Moving to Node #0,0,3
Current State: 84:[6, 21], Operations: ['33-24=9', '30-9=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,84 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[30, 3], Operations: ['33-24=9', '9-6=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[9, 5], Operations: ['33-24=9', '30/6=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[6, 39], Operations: ['33-24=9', '30+9=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,84 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[30, 15], Operations: ['33-24=9', '6+9=15']
Exploring Operation: 30*15=450, Resulting Numbers: [450]
450,84 unequal: No Solution
Exploring Operation: 30+15=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,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,3
Current State: 84:[33, 6, 6], Operations: ['30-24=6']
Exploring Operation: 33+6=39, Resulting Numbers: [6, 39]
Generated Node #0,3,0: 84:[6, 39] Operation: 33+6=39
Exploring Operation: 33-6=27, Resulting Numbers: [6, 27]
Generated Node #0,3,1: 84:[6, 27] Operation: 33-6=27
Exploring Operation: 33+6=39, Resulting Numbers: [6, 39]
Generated Node #0,3,2: 84:[6, 39] Operation: 33+6=39
Exploring Operation: 33-6=27, Resulting Numbers: [6, 27]
Generated Node #0,3,3: 84:[6, 27] Operation: 33-6=27
Exploring Operation: 6+6=12, Resulting Numbers: [33, 12]
Generated Node #0,3,4: 84:[33, 12] Operation: 6+6=12
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 84:[6, 27], Operations: ['30-24=6', '33-6=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,84 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 84:[6, 27], Operations: ['30-24=6', '33-6=27']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 84:[6, 39], Operations: ['30-24=6', '33+6=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,84 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 84:[6, 39], Operations: ['30-24=6', '33+6=39']
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 84:[33, 12], Operations: ['30-24=6', '6+6=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[30, 24, 27], Operations: ['33-6=27']
Exploring Operation: 30-27=3, Resulting Numbers: [24, 3]
Generated Node #0,2,0: 84:[24, 3] Operation: 30-27=3
Exploring Operation: 24+27=51, Resulting Numbers: [30, 51]
Generated Node #0,2,1: 84:[30, 51] Operation: 24+27=51
Exploring Operation: 30+24=54, Resulting Numbers: [27, 54]
Generated Node #0,2,2: 84:[27, 54] Operation: 30+24=54
Exploring Operation: 27-24=3, Resulting Numbers: [30, 3]
Generated Node #0,2,3: 84:[30, 3] Operation: 27-24=3
Exploring Operation: 30-24=6, Resulting Numbers: [27, 6]
Generated Node #0,2,4: 84:[27, 6] Operation: 30-24=6
Moving to Node #0,2,4
Current State: 84:[27, 6], Operations: ['33-6=27', '30-24=6']
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,84 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[30, 3], Operations: ['33-6=27', '27-24=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[24, 3], Operations: ['33-6=27', '30-27=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[30, 51], Operations: ['33-6=27', '24+27=51']
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,84 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 30*51=1530, Resulting Numbers: [1530]
1530,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[27, 54], Operations: ['33-6=27', '30+24=54']
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 27*54=1458, Resulting Numbers: [1458]
1458,84 unequal: No Solution
Exploring Operation: 27+54=81, Resulting Numbers: [81]
81,84 unequal: No Solution
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[30, 33, 4], Operations: ['24/6=4']
Exploring Operation: 33-30=3, Resulting Numbers: [4, 3]
Generated Node #0,1,0: 84:[4, 3] Operation: 33-30=3
Exploring Operation: 33-4=29, Resulting Numbers: [30, 29]
Generated Node #0,1,1: 84:[30, 29] Operation: 33-4=29
Exploring Operation: 33+4=37, Resulting Numbers: [30, 37]
Generated Node #0,1,2: 84:[30, 37] Operation: 33+4=37
Exploring Operation: 30-4=26, Resulting Numbers: [33, 26]
Generated Node #0,1,3: 84:[33, 26] Operation: 30-4=26
Exploring Operation: 30+4=34, Resulting Numbers: [33, 34]
Generated Node #0,1,4: 84:[33, 34] Operation: 30+4=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[4, 3], Operations: ['24/6=4', '33-30=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 84:[30, 29], Operations: ['24/6=4', '33-4=29']
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,84 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 84:[30, 37], Operations: ['24/6=4', '33+4=37']
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,84 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 84:[33, 26], Operations: ['24/6=4', '30-4=26']
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,84 unequal: No Solution
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 84:[33, 34], Operations: ['24/6=4', '30+4=34']
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
57,
63,
76,
87
] | 53 | [
"76*87=6612",
"6612/57=116",
"116-63=53"
] | Current State: 53:[57, 63, 76, 87], Operations: []
Exploring Operation: 76*87=6612, Resulting Numbers: [57, 63, 6612]
Generated Node #2: [57, 63, 6612] from Operation: 76*87=6612
Current State: 53:[57, 63, 6612], Operations: ['76*87=6612']
Exploring Operation: 6612/57=116, Resulting Numbers: [63, 116]
Generated Node #3: [63, 116] from Operation: 6612/57=116
Current State: 53:[63, 116], Operations: ['76*87=6612', '6612/57=116']
Exploring Operation: 116-63=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[57, 63, 76, 87], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [57, 63, 11]
Generated Node #0,0: 53:[57, 63, 11] Operation: 87-76=11
Exploring Operation: 87-57=30, Resulting Numbers: [63, 76, 30]
Generated Node #0,1: 53:[63, 76, 30] Operation: 87-57=30
Exploring Operation: 87-63=24, Resulting Numbers: [57, 76, 24]
Generated Node #0,2: 53:[57, 76, 24] Operation: 87-63=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[57, 63, 11], Operations: ['87-76=11']
Exploring Operation: 63-11=52, Resulting Numbers: [57, 52]
Generated Node #0,0,0: 53:[57, 52] Operation: 63-11=52
Exploring Operation: 57+11=68, Resulting Numbers: [63, 68]
Generated Node #0,0,1: 53:[63, 68] Operation: 57+11=68
Exploring Operation: 57-11=46, Resulting Numbers: [63, 46]
Generated Node #0,0,2: 53:[63, 46] Operation: 57-11=46
Moving to Node #0,0,0
Current State: 53:[57, 52], Operations: ['87-76=11', '63-11=52']
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 57*52=2964, Resulting Numbers: [2964]
2964,53 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[63, 46], Operations: ['87-76=11', '57-11=46']
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 63*46=2898, Resulting Numbers: [2898]
2898,53 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[63, 68], Operations: ['87-76=11', '57+11=68']
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 63*68=4284, Resulting Numbers: [4284]
4284,53 unequal: No Solution
Exploring Operation: 63+68=131, Resulting Numbers: [131]
131,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[63, 76, 30], Operations: ['87-57=30']
Exploring Operation: 76-63=13, Resulting Numbers: [30, 13]
Generated Node #0,1,0: 53:[30, 13] Operation: 76-63=13
Exploring Operation: 63-30=33, Resulting Numbers: [76, 33]
Generated Node #0,1,1: 53:[76, 33] Operation: 63-30=33
Exploring Operation: 76-30=46, Resulting Numbers: [63, 46]
Generated Node #0,1,2: 53:[63, 46] Operation: 76-30=46
Moving to Node #0,1,2
Current State: 53:[63, 46], Operations: ['87-57=30', '76-30=46']
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 63*46=2898, Resulting Numbers: [2898]
2898,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[76, 33], Operations: ['87-57=30', '63-30=33']
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,53 unequal: No Solution
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[30, 13], Operations: ['87-57=30', '76-63=13']
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,53 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[57, 76, 24], Operations: ['87-63=24']
Exploring Operation: 57-24=33, Resulting Numbers: [76, 33]
Generated Node #0,2,0: 53:[76, 33] Operation: 57-24=33
Exploring Operation: 76-24=52, Resulting Numbers: [57, 52]
Generated Node #0,2,1: 53:[57, 52] Operation: 76-24=52
Exploring Operation: 57+24=81, Resulting Numbers: [76, 81]
Generated Node #0,2,2: 53:[76, 81] Operation: 57+24=81
Moving to Node #0,2,1
Current State: 53:[57, 52], Operations: ['87-63=24', '76-24=52']
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 57*52=2964, Resulting Numbers: [2964]
2964,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[76, 33], Operations: ['87-63=24', '57-24=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,53 unequal: No Solution
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,53 unequal: No Solution
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[76, 81], Operations: ['87-63=24', '57+24=81']
Exploring Operation: 76+81=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 76*81=6156, Resulting Numbers: [6156]
6156,53 unequal: No Solution
Exploring Operation: 81-76=5, Resulting Numbers: [5]
5,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
77,
77,
2,
88
] | 55 | [
"88-77=11",
"2*11=22",
"77-22=55"
] | Current State: 55:[77, 77, 2, 88], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [2, 11]
Generated Node #2: [2, 11] from Operation: 88-77=11
Current State: 55:[2, 11], Operations: ['88-77=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,55 equal: Goal Reached
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[77, 77, 2, 88], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [77, 2, 11]
Generated Node #0,0: 55:[77, 2, 11] Operation: 88-77=11
Exploring Operation: 88-77=11, Resulting Numbers: [77, 2, 11]
Generated Node #0,1: 55:[77, 2, 11] Operation: 88-77=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[77, 2, 11], Operations: ['88-77=11']
Exploring Operation: 77-11=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 55:[2, 66] Operation: 77-11=66
Exploring Operation: 77/11=7, Resulting Numbers: [2, 7]
Generated Node #0,0,1: 55:[2, 7] Operation: 77/11=7
Moving to Node #0,0,1
Current State: 55:[2, 7], Operations: ['88-77=11', '77/11=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[2, 66], Operations: ['88-77=11', '77-11=66']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[77, 2, 11], Operations: ['88-77=11']
Exploring Operation: 77-11=66, Resulting Numbers: [2, 66]
Generated Node #0,1,0: 55:[2, 66] Operation: 77-11=66
Exploring Operation: 77/11=7, Resulting Numbers: [2, 7]
Generated Node #0,1,1: 55:[2, 7] Operation: 77/11=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[2, 7], Operations: ['88-77=11', '77/11=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[2, 66], Operations: ['88-77=11', '77-11=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
62,
49,
31
] | 33 | [
"62-49=13",
"26/13=2",
"31+2=33"
] | Current State: 33:[26, 62, 49, 31], Operations: []
Exploring Operation: 62-49=13, Resulting Numbers: [26, 31, 13]
Generated Node #2: [26, 31, 13] from Operation: 62-49=13
Current State: 33:[26, 31, 13], Operations: ['62-49=13']
Exploring Operation: 26/13=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 26/13=2
Current State: 33:[31, 2], Operations: ['62-49=13', '26/13=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[26, 62, 49, 31], Operations: []
Exploring Operation: 62-26=36, Resulting Numbers: [49, 31, 36]
Generated Node #0,0: 33:[49, 31, 36] Operation: 62-26=36
Exploring Operation: 62-31=31, Resulting Numbers: [26, 49, 31]
Generated Node #0,1: 33:[26, 49, 31] Operation: 62-31=31
Exploring Operation: 62-49=13, Resulting Numbers: [26, 31, 13]
Generated Node #0,2: 33:[26, 31, 13] Operation: 62-49=13
Exploring Operation: 49-26=23, Resulting Numbers: [62, 31, 23]
Generated Node #0,3: 33:[62, 31, 23] Operation: 49-26=23
Exploring Operation: 62/31=2, Resulting Numbers: [26, 49, 2]
Generated Node #0,4: 33:[26, 49, 2] Operation: 62/31=2
Moving to Node #0,2
Current State: 33:[26, 31, 13], Operations: ['62-49=13']
Exploring Operation: 26/13=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 33:[31, 2] Operation: 26/13=2
Exploring Operation: 26+13=39, Resulting Numbers: [31, 39]
Generated Node #0,2,1: 33:[31, 39] Operation: 26+13=39
Exploring Operation: 31-26=5, Resulting Numbers: [13, 5]
Generated Node #0,2,2: 33:[13, 5] Operation: 31-26=5
Exploring Operation: 26-13=13, Resulting Numbers: [31, 13]
Generated Node #0,2,3: 33:[31, 13] Operation: 26-13=13
Exploring Operation: 31-13=18, Resulting Numbers: [26, 18]
Generated Node #0,2,4: 33:[26, 18] Operation: 31-13=18
Moving to Node #0,0
Current State: 33:[49, 31, 36], Operations: ['62-26=36']
Exploring Operation: 49+31=80, Resulting Numbers: [36, 80]
Generated Node #0,0,0: 33:[36, 80] Operation: 49+31=80
Exploring Operation: 49-36=13, Resulting Numbers: [31, 13]
Generated Node #0,0,1: 33:[31, 13] Operation: 49-36=13
Exploring Operation: 49-31=18, Resulting Numbers: [36, 18]
Generated Node #0,0,2: 33:[36, 18] Operation: 49-31=18
Exploring Operation: 31+36=67, Resulting Numbers: [49, 67]
Generated Node #0,0,3: 33:[49, 67] Operation: 31+36=67
Exploring Operation: 36-31=5, Resulting Numbers: [49, 5]
Generated Node #0,0,4: 33:[49, 5] Operation: 36-31=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[31, 13], Operations: ['62-26=36', '49-36=13']
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,33 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[36, 18], Operations: ['62-26=36', '49-31=18']
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 33:[49, 5], Operations: ['62-26=36', '36-31=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[36, 80], Operations: ['62-26=36', '49+31=80']
Exploring Operation: 36+80=116, Resulting Numbers: [116]
116,33 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 36*80=2880, Resulting Numbers: [2880]
2880,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[49, 67], Operations: ['62-26=36', '31+36=67']
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 49*67=3283, Resulting Numbers: [3283]
3283,33 unequal: No Solution
Exploring Operation: 49+67=116, Resulting Numbers: [116]
116,33 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: 33:[26, 49, 2], Operations: ['62/31=2']
Exploring Operation: 49-2=47, Resulting Numbers: [26, 47]
Generated Node #0,4,0: 33:[26, 47] Operation: 49-2=47
Exploring Operation: 49-26=23, Resulting Numbers: [2, 23]
Generated Node #0,4,1: 33:[2, 23] Operation: 49-26=23
Exploring Operation: 26-2=24, Resulting Numbers: [49, 24]
Generated Node #0,4,2: 33:[49, 24] Operation: 26-2=24
Exploring Operation: 26+2=28, Resulting Numbers: [49, 28]
Generated Node #0,4,3: 33:[49, 28] Operation: 26+2=28
Exploring Operation: 26/2=13, Resulting Numbers: [49, 13]
Generated Node #0,4,4: 33:[49, 13] Operation: 26/2=13
Moving to Node #0,1
Current State: 33:[26, 49, 31], Operations: ['62-31=31']
Exploring Operation: 49-26=23, Resulting Numbers: [31, 23]
Generated Node #0,1,0: 33:[31, 23] Operation: 49-26=23
Exploring Operation: 31-26=5, Resulting Numbers: [49, 5]
Generated Node #0,1,1: 33:[49, 5] Operation: 31-26=5
Exploring Operation: 26+31=57, Resulting Numbers: [49, 57]
Generated Node #0,1,2: 33:[49, 57] Operation: 26+31=57
Exploring Operation: 49-31=18, Resulting Numbers: [26, 18]
Generated Node #0,1,3: 33:[26, 18] Operation: 49-31=18
Exploring Operation: 26+49=75, Resulting Numbers: [31, 75]
Generated Node #0,1,4: 33:[31, 75] Operation: 26+49=75
Moving to Node #0,3
Current State: 33:[62, 31, 23], Operations: ['49-26=23']
Exploring Operation: 31+23=54, Resulting Numbers: [62, 54]
Generated Node #0,3,0: 33:[62, 54] Operation: 31+23=54
Exploring Operation: 62-31=31, Resulting Numbers: [23, 31]
Generated Node #0,3,1: 33:[23, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [23, 2]
Generated Node #0,3,2: 33:[23, 2] Operation: 62/31=2
Exploring Operation: 31-23=8, Resulting Numbers: [62, 8]
Generated Node #0,3,3: 33:[62, 8] Operation: 31-23=8
Exploring Operation: 62-23=39, Resulting Numbers: [31, 39]
Generated Node #0,3,4: 33:[31, 39] Operation: 62-23=39
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 33:[31, 39], Operations: ['49-26=23', '62-23=39']
Exploring Operation: 31*39=1209, Resulting Numbers: [1209]
1209,33 unequal: No Solution
Exploring Operation: 31+39=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 33:[23, 2], Operations: ['49-26=23', '62/31=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 33:[23, 31], Operations: ['49-26=23', '62-31=31']
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,33 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 33:[62, 8], Operations: ['49-26=23', '31-23=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[62, 54], Operations: ['49-26=23', '31+23=54']
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,33 unequal: No Solution
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 33:[31, 2], Operations: ['62-49=13', '26/13=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[26, 62, 49, 31], Operations: []
Exploring Operation: 62-49=13, Resulting Numbers: [26, 31, 13]
Generated Node #0,2: 33:[26, 31, 13] Operation: 62-49=13
Moving to Node #0,2
Current State: 33:[26, 31, 13], Operations: ['62-49=13']
Exploring Operation: 26/13=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 33:[31, 2] Operation: 26/13=2
Moving to Node #0,2,0
Current State: 33:[31, 2], Operations: ['62-49=13', '26/13=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.940972 | hs_5 | sum_heuristic |
[
5,
53,
42,
31
] | 59 | [
"53-5=48",
"42-31=11",
"48+11=59"
] | Current State: 59:[5, 53, 42, 31], Operations: []
Exploring Operation: 53-5=48, Resulting Numbers: [42, 31, 48]
Generated Node #2: [42, 31, 48] from Operation: 53-5=48
Current State: 59:[42, 31, 48], Operations: ['53-5=48']
Exploring Operation: 42-31=11, Resulting Numbers: [48, 11]
Generated Node #3: [48, 11] from Operation: 42-31=11
Current State: 59:[48, 11], Operations: ['53-5=48', '42-31=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[5, 53, 42, 31], Operations: []
Exploring Operation: 5+53=58, Resulting Numbers: [42, 31, 58]
Generated Node #0,0: 59:[42, 31, 58] Operation: 5+53=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[42, 31, 58], Operations: ['5+53=58']
Exploring Operation: 42+31=73, Resulting Numbers: [58, 73]
Generated Node #0,0,0: 59:[58, 73] Operation: 42+31=73
Moving to Node #0,0,0
Current State: 59:[58, 73], Operations: ['5+53=58', '42+31=73']
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,59 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 |
[
58,
21,
3,
96
] | 15 | [
"58-21=37",
"3*37=111",
"111-96=15"
] | Current State: 15:[58, 21, 3, 96], Operations: []
Exploring Operation: 58-21=37, Resulting Numbers: [3, 96, 37]
Generated Node #2: [3, 96, 37] from Operation: 58-21=37
Current State: 15:[3, 96, 37], Operations: ['58-21=37']
Exploring Operation: 3*37=111, Resulting Numbers: [96, 111]
Generated Node #3: [96, 111] from Operation: 3*37=111
Current State: 15:[96, 111], Operations: ['58-21=37', '3*37=111']
Exploring Operation: 111-96=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[58, 21, 3, 96], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [21, 3, 38]
Generated Node #0,0: 15:[21, 3, 38] Operation: 96-58=38
Exploring Operation: 58-21=37, Resulting Numbers: [3, 96, 37]
Generated Node #0,1: 15:[3, 96, 37] Operation: 58-21=37
Exploring Operation: 96/3=32, Resulting Numbers: [58, 21, 32]
Generated Node #0,2: 15:[58, 21, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[21, 3, 38], Operations: ['96-58=38']
Exploring Operation: 21/3=7, Resulting Numbers: [38, 7]
Generated Node #0,0,0: 15:[38, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [38, 18]
Generated Node #0,0,1: 15:[38, 18] Operation: 21-3=18
Exploring Operation: 38-21=17, Resulting Numbers: [3, 17]
Generated Node #0,0,2: 15:[3, 17] Operation: 38-21=17
Moving to Node #0,0,2
Current State: 15:[3, 17], Operations: ['96-58=38', '38-21=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[38, 7], Operations: ['96-58=38', '21/3=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,15 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[38, 18], Operations: ['96-58=38', '21-3=18']
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,15 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[58, 21, 32], Operations: ['96/3=32']
Exploring Operation: 58-21=37, Resulting Numbers: [32, 37]
Generated Node #0,2,0: 15:[32, 37] Operation: 58-21=37
Exploring Operation: 58-32=26, Resulting Numbers: [21, 26]
Generated Node #0,2,1: 15:[21, 26] Operation: 58-32=26
Exploring Operation: 32-21=11, Resulting Numbers: [58, 11]
Generated Node #0,2,2: 15:[58, 11] Operation: 32-21=11
Moving to Node #0,2,1
Current State: 15:[21, 26], Operations: ['96/3=32', '58-32=26']
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,15 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[32, 37], Operations: ['96/3=32', '58-21=37']
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,15 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[58, 11], Operations: ['96/3=32', '32-21=11']
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,15 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[3, 96, 37], Operations: ['58-21=37']
Exploring Operation: 96/3=32, Resulting Numbers: [37, 32]
Generated Node #0,1,0: 15:[37, 32] Operation: 96/3=32
Exploring Operation: 96-3=93, Resulting Numbers: [37, 93]
Generated Node #0,1,1: 15:[37, 93] Operation: 96-3=93
Exploring Operation: 96-37=59, Resulting Numbers: [3, 59]
Generated Node #0,1,2: 15:[3, 59] Operation: 96-37=59
Moving to Node #0,1,0
Current State: 15:[37, 32], Operations: ['58-21=37', '96/3=32']
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,15 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[3, 59], Operations: ['58-21=37', '96-37=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,15 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[37, 93], Operations: ['58-21=37', '96-3=93']
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 37*93=3441, Resulting Numbers: [3441]
3441,15 unequal: No Solution
Exploring Operation: 37+93=130, Resulting Numbers: [130]
130,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
1,
44,
34,
40
] | 30 | [
"1*44=44",
"34+40=74",
"74-44=30"
] | Current State: 30:[1, 44, 34, 40], Operations: []
Exploring Operation: 1*44=44, Resulting Numbers: [34, 40, 44]
Generated Node #2: [34, 40, 44] from Operation: 1*44=44
Current State: 30:[34, 40, 44], Operations: ['1*44=44']
Exploring Operation: 34+40=74, Resulting Numbers: [44, 74]
Generated Node #3: [44, 74] from Operation: 34+40=74
Current State: 30:[44, 74], Operations: ['1*44=44', '34+40=74']
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[1, 44, 34, 40], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [1, 40, 10]
Generated Node #0,0: 30:[1, 40, 10] Operation: 44-34=10
Exploring Operation: 44-40=4, Resulting Numbers: [1, 34, 4]
Generated Node #0,1: 30:[1, 34, 4] Operation: 44-40=4
Moving to Node #0,1
Current State: 30:[1, 34, 4], Operations: ['44-40=4']
Exploring Operation: 34-4=30, Resulting Numbers: [1, 30]
Generated Node #0,1,0: 30:[1, 30] Operation: 34-4=30
Exploring Operation: 34-1=33, Resulting Numbers: [4, 33]
Generated Node #0,1,1: 30:[4, 33] Operation: 34-1=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[1, 30], Operations: ['44-40=4', '34-4=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[1, 44, 34, 40], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [1, 34, 4]
Generated Node #0,1: 30:[1, 34, 4] Operation: 44-40=4
Moving to Node #0,1
Current State: 30:[1, 34, 4], Operations: ['44-40=4']
Exploring Operation: 34-4=30, Resulting Numbers: [1, 30]
Generated Node #0,1,0: 30:[1, 30] Operation: 34-4=30
Moving to Node #0,1,0
Current State: 30:[1, 30], Operations: ['44-40=4', '34-4=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
80,
5,
71,
70
] | 69 | [
"80-70=10",
"10/5=2",
"71-2=69"
] | Current State: 69:[80, 5, 71, 70], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [5, 71, 10]
Generated Node #2: [5, 71, 10] from Operation: 80-70=10
Current State: 69:[5, 71, 10], Operations: ['80-70=10']
Exploring Operation: 10/5=2, Resulting Numbers: [71, 2]
Generated Node #3: [71, 2] from Operation: 10/5=2
Current State: 69:[71, 2], Operations: ['80-70=10', '10/5=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[80, 5, 71, 70], Operations: []
Exploring Operation: 80-5=75, Resulting Numbers: [71, 70, 75]
Generated Node #0,0: 69:[71, 70, 75] Operation: 80-5=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[71, 70, 75], Operations: ['80-5=75']
Exploring Operation: 75-71=4, Resulting Numbers: [70, 4]
Generated Node #0,0,0: 69:[70, 4] Operation: 75-71=4
Moving to Node #0,0,0
Current State: 69:[70, 4], Operations: ['80-5=75', '75-71=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,69 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 |
[
99,
6,
15,
68
] | 82 | [
"99-15=84",
"84/6=14",
"68+14=82"
] | Current State: 82:[99, 6, 15, 68], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [6, 68, 84]
Generated Node #2: [6, 68, 84] from Operation: 99-15=84
Current State: 82:[6, 68, 84], Operations: ['99-15=84']
Exploring Operation: 84/6=14, Resulting Numbers: [68, 14]
Generated Node #3: [68, 14] from Operation: 84/6=14
Current State: 82:[68, 14], Operations: ['99-15=84', '84/6=14']
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[99, 6, 15, 68], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [6, 68, 84]
Generated Node #0,0: 82:[6, 68, 84] Operation: 99-15=84
Exploring Operation: 15+68=83, Resulting Numbers: [99, 6, 83]
Generated Node #0,1: 82:[99, 6, 83] Operation: 15+68=83
Moving to Node #0,0
Current State: 82:[6, 68, 84], Operations: ['99-15=84']
Exploring Operation: 84-6=78, Resulting Numbers: [68, 78]
Generated Node #0,0,0: 82:[68, 78] Operation: 84-6=78
Exploring Operation: 6+68=74, Resulting Numbers: [84, 74]
Generated Node #0,0,1: 82:[84, 74] Operation: 6+68=74
Moving to Node #0,1
Current State: 82:[99, 6, 83], Operations: ['15+68=83']
Exploring Operation: 99-83=16, Resulting Numbers: [6, 16]
Generated Node #0,1,0: 82:[6, 16] Operation: 99-83=16
Exploring Operation: 99-6=93, Resulting Numbers: [83, 93]
Generated Node #0,1,1: 82:[83, 93] Operation: 99-6=93
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[83, 93], Operations: ['15+68=83', '99-6=93']
Exploring Operation: 93-83=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 83+93=176, Resulting Numbers: [176]
176,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[6, 16], Operations: ['15+68=83', '99-83=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,82 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: 82:[84, 74], Operations: ['99-15=84', '6+68=74']
Exploring Operation: 84+74=158, Resulting Numbers: [158]
158,82 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[68, 78], Operations: ['99-15=84', '84-6=78']
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 68+78=146, Resulting Numbers: [146]
146,82 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.