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 |
|---|---|---|---|---|---|---|---|---|
[
77,
84,
37,
46
] | 16 | [
"84-77=7",
"46-37=9",
"7+9=16"
] | Current State: 16:[77, 84, 37, 46], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [37, 46, 7]
Generated Node #2: [37, 46, 7] from Operation: 84-77=7
Current State: 16:[37, 46, 7], Operations: ['84-77=7']
Exploring Operation: 46-37=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 46-37=9
Current State: 16:[7, 9], Operations: ['84-77=7', '46-37=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[77, 84, 37, 46], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [37, 46, 7]
Generated Node #0,0: 16:[37, 46, 7] Operation: 84-77=7
Exploring Operation: 77-46=31, Resulting Numbers: [84, 37, 31]
Generated Node #0,1: 16:[84, 37, 31] Operation: 77-46=31
Exploring Operation: 84-46=38, Resulting Numbers: [77, 37, 38]
Generated Node #0,2: 16:[77, 37, 38] Operation: 84-46=38
Moving to Node #0,0
Current State: 16:[37, 46, 7], Operations: ['84-77=7']
Exploring Operation: 46-37=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 16:[7, 9] Operation: 46-37=9
Exploring Operation: 46-7=39, Resulting Numbers: [37, 39]
Generated Node #0,0,1: 16:[37, 39] Operation: 46-7=39
Exploring Operation: 37-7=30, Resulting Numbers: [46, 30]
Generated Node #0,0,2: 16:[46, 30] Operation: 37-7=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[7, 9], Operations: ['84-77=7', '46-37=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[77, 84, 37, 46], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [37, 46, 7]
Generated Node #0,0: 16:[37, 46, 7] Operation: 84-77=7
Moving to Node #0,0
Current State: 16:[37, 46, 7], Operations: ['84-77=7']
Exploring Operation: 46-37=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 16:[7, 9] Operation: 46-37=9
Moving to Node #0,0,0
Current State: 16:[7, 9], Operations: ['84-77=7', '46-37=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
77,
95,
15,
85
] | 72 | [
"77+95=172",
"15+85=100",
"172-100=72"
] | Current State: 72:[77, 95, 15, 85], Operations: []
Exploring Operation: 77+95=172, Resulting Numbers: [15, 85, 172]
Generated Node #2: [15, 85, 172] from Operation: 77+95=172
Current State: 72:[15, 85, 172], Operations: ['77+95=172']
Exploring Operation: 15+85=100, Resulting Numbers: [172, 100]
Generated Node #3: [172, 100] from Operation: 15+85=100
Current State: 72:[172, 100], Operations: ['77+95=172', '15+85=100']
Exploring Operation: 172-100=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[77, 95, 15, 85], Operations: []
Exploring Operation: 95-77=18, Resulting Numbers: [15, 85, 18]
Generated Node #0,0: 72:[15, 85, 18] Operation: 95-77=18
Exploring Operation: 95-85=10, Resulting Numbers: [77, 15, 10]
Generated Node #0,1: 72:[77, 15, 10] Operation: 95-85=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[77, 15, 10], Operations: ['95-85=10']
Exploring Operation: 15+10=25, Resulting Numbers: [77, 25]
Generated Node #0,1,0: 72:[77, 25] Operation: 15+10=25
Exploring Operation: 15-10=5, Resulting Numbers: [77, 5]
Generated Node #0,1,1: 72:[77, 5] Operation: 15-10=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[77, 25], Operations: ['95-85=10', '15+10=25']
Exploring Operation: 77+25=102, Resulting Numbers: [102]
102,72 unequal: No Solution
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[77, 5], Operations: ['95-85=10', '15-10=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[77, 95, 15, 85], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [77, 15, 10]
Generated Node #0,1: 72:[77, 15, 10] Operation: 95-85=10
Moving to Node #0,1
Current State: 72:[77, 15, 10], Operations: ['95-85=10']
Exploring Operation: 15-10=5, Resulting Numbers: [77, 5]
Generated Node #0,1,1: 72:[77, 5] Operation: 15-10=5
Moving to Node #0,1,1
Current State: 72:[77, 5], Operations: ['95-85=10', '15-10=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
33,
7,
21,
24
] | 90 | [
"33+24=57",
"7*21=147",
"147-57=90"
] | Current State: 90:[33, 7, 21, 24], Operations: []
Exploring Operation: 33+24=57, Resulting Numbers: [7, 21, 57]
Generated Node #2: [7, 21, 57] from Operation: 33+24=57
Current State: 90:[7, 21, 57], Operations: ['33+24=57']
Exploring Operation: 7*21=147, Resulting Numbers: [57, 147]
Generated Node #3: [57, 147] from Operation: 7*21=147
Current State: 90:[57, 147], Operations: ['33+24=57', '7*21=147']
Exploring Operation: 147-57=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[33, 7, 21, 24], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [7, 21, 9]
Generated Node #0,0: 90:[7, 21, 9] Operation: 33-24=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[7, 21, 9], Operations: ['33-24=9']
Exploring Operation: 21/7=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 90:[9, 3] Operation: 21/7=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[9, 3], Operations: ['33-24=9', '21/7=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
35,
66,
7,
65
] | 43 | [
"35+66=101",
"65-7=58",
"101-58=43"
] | Current State: 43:[35, 66, 7, 65], Operations: []
Exploring Operation: 35+66=101, Resulting Numbers: [7, 65, 101]
Generated Node #2: [7, 65, 101] from Operation: 35+66=101
Current State: 43:[7, 65, 101], Operations: ['35+66=101']
Exploring Operation: 65-7=58, Resulting Numbers: [101, 58]
Generated Node #3: [101, 58] from Operation: 65-7=58
Current State: 43:[101, 58], Operations: ['35+66=101', '65-7=58']
Exploring Operation: 101-58=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[35, 66, 7, 65], Operations: []
Exploring Operation: 35+7=42, Resulting Numbers: [66, 65, 42]
Generated Node #0,0: 43:[66, 65, 42] Operation: 35+7=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[66, 65, 42], Operations: ['35+7=42']
Exploring Operation: 66-42=24, Resulting Numbers: [65, 24]
Generated Node #0,0,0: 43:[65, 24] Operation: 66-42=24
Moving to Node #0,0,0
Current State: 43:[65, 24], Operations: ['35+7=42', '66-42=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,43 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 |
[
3,
44,
86,
23
] | 23 | [
"3*44=132",
"86+23=109",
"132-109=23"
] | Current State: 23:[3, 44, 86, 23], Operations: []
Exploring Operation: 3*44=132, Resulting Numbers: [86, 23, 132]
Generated Node #2: [86, 23, 132] from Operation: 3*44=132
Current State: 23:[86, 23, 132], Operations: ['3*44=132']
Exploring Operation: 86+23=109, Resulting Numbers: [132, 109]
Generated Node #3: [132, 109] from Operation: 86+23=109
Current State: 23:[132, 109], Operations: ['3*44=132', '86+23=109']
Exploring Operation: 132-109=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[3, 44, 86, 23], Operations: []
Exploring Operation: 86-44=42, Resulting Numbers: [3, 23, 42]
Generated Node #0,0: 23:[3, 23, 42] Operation: 86-44=42
Moving to Node #0,0
Current State: 23:[3, 23, 42], Operations: ['86-44=42']
Exploring Operation: 42/3=14, Resulting Numbers: [23, 14]
Generated Node #0,0,0: 23:[23, 14] Operation: 42/3=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[23, 14], Operations: ['86-44=42', '42/3=14']
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,23 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 |
[
15,
67,
86,
82
] | 78 | [
"15+67=82",
"86-82=4",
"82-4=78"
] | Current State: 78:[15, 67, 86, 82], Operations: []
Exploring Operation: 15+67=82, Resulting Numbers: [86, 82, 82]
Generated Node #2: [86, 82, 82] from Operation: 15+67=82
Current State: 78:[86, 82, 82], Operations: ['15+67=82']
Exploring Operation: 86-82=4, Resulting Numbers: [4]
4,78 equal: Goal Reached
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[15, 67, 86, 82], Operations: []
Exploring Operation: 86-67=19, Resulting Numbers: [15, 82, 19]
Generated Node #0,0: 78:[15, 82, 19] Operation: 86-67=19
Moving to Node #0,0
Current State: 78:[15, 82, 19], Operations: ['86-67=19']
Exploring Operation: 19-15=4, Resulting Numbers: [82, 4]
Generated Node #0,0,0: 78:[82, 4] Operation: 19-15=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[82, 4], Operations: ['86-67=19', '19-15=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[15, 67, 86, 82], Operations: []
Exploring Operation: 86-67=19, Resulting Numbers: [15, 82, 19]
Generated Node #0,0: 78:[15, 82, 19] Operation: 86-67=19
Moving to Node #0,0
Current State: 78:[15, 82, 19], Operations: ['86-67=19']
Exploring Operation: 19-15=4, Resulting Numbers: [82, 4]
Generated Node #0,0,0: 78:[82, 4] Operation: 19-15=4
Moving to Node #0,0,0
Current State: 78:[82, 4], Operations: ['86-67=19', '19-15=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
72,
75,
83,
2
] | 62 | [
"72+75=147",
"83+2=85",
"147-85=62"
] | Current State: 62:[72, 75, 83, 2], Operations: []
Exploring Operation: 72+75=147, Resulting Numbers: [83, 2, 147]
Generated Node #2: [83, 2, 147] from Operation: 72+75=147
Current State: 62:[83, 2, 147], Operations: ['72+75=147']
Exploring Operation: 83+2=85, Resulting Numbers: [147, 85]
Generated Node #3: [147, 85] from Operation: 83+2=85
Current State: 62:[147, 85], Operations: ['72+75=147', '83+2=85']
Exploring Operation: 147-85=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[72, 75, 83, 2], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [83, 2, 3]
Generated Node #0,0: 62:[83, 2, 3] Operation: 75-72=3
Exploring Operation: 83-75=8, Resulting Numbers: [72, 2, 8]
Generated Node #0,1: 62:[72, 2, 8] Operation: 83-75=8
Moving to Node #0,1
Current State: 62:[72, 2, 8], Operations: ['83-75=8']
Exploring Operation: 72-8=64, Resulting Numbers: [2, 64]
Generated Node #0,1,0: 62:[2, 64] Operation: 72-8=64
Exploring Operation: 72/8=9, Resulting Numbers: [2, 9]
Generated Node #0,1,1: 62:[2, 9] Operation: 72/8=9
Moving to Node #0,0
Current State: 62:[83, 2, 3], Operations: ['75-72=3']
Exploring Operation: 83-3=80, Resulting Numbers: [2, 80]
Generated Node #0,0,0: 62:[2, 80] Operation: 83-3=80
Exploring Operation: 83-2=81, Resulting Numbers: [3, 81]
Generated Node #0,0,1: 62:[3, 81] Operation: 83-2=81
Moving to Node #0,1,0
Current State: 62:[2, 64], Operations: ['83-75=8', '72-8=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[72, 75, 83, 2], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [72, 2, 8]
Generated Node #0,1: 62:[72, 2, 8] Operation: 83-75=8
Moving to Node #0,1
Current State: 62:[72, 2, 8], Operations: ['83-75=8']
Exploring Operation: 72-8=64, Resulting Numbers: [2, 64]
Generated Node #0,1,0: 62:[2, 64] Operation: 72-8=64
Moving to Node #0,1,0
Current State: 62:[2, 64], Operations: ['83-75=8', '72-8=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
70,
20,
7,
84
] | 13 | [
"70+20=90",
"84-7=77",
"90-77=13"
] | Current State: 13:[70, 20, 7, 84], Operations: []
Exploring Operation: 70+20=90, Resulting Numbers: [7, 84, 90]
Generated Node #2: [7, 84, 90] from Operation: 70+20=90
Current State: 13:[7, 84, 90], Operations: ['70+20=90']
Exploring Operation: 84-7=77, Resulting Numbers: [90, 77]
Generated Node #3: [90, 77] from Operation: 84-7=77
Current State: 13:[90, 77], Operations: ['70+20=90', '84-7=77']
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[70, 20, 7, 84], Operations: []
Exploring Operation: 84-20=64, Resulting Numbers: [70, 7, 64]
Generated Node #0,0: 13:[70, 7, 64] Operation: 84-20=64
Exploring Operation: 84/7=12, Resulting Numbers: [70, 20, 12]
Generated Node #0,1: 13:[70, 20, 12] Operation: 84/7=12
Exploring Operation: 70-20=50, Resulting Numbers: [7, 84, 50]
Generated Node #0,2: 13:[7, 84, 50] Operation: 70-20=50
Exploring Operation: 84-70=14, Resulting Numbers: [20, 7, 14]
Generated Node #0,3: 13:[20, 7, 14] Operation: 84-70=14
Exploring Operation: 70/7=10, Resulting Numbers: [20, 84, 10]
Generated Node #0,4: 13:[20, 84, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[20, 7, 14], Operations: ['84-70=14']
Exploring Operation: 7+14=21, Resulting Numbers: [20, 21]
Generated Node #0,3,0: 13:[20, 21] Operation: 7+14=21
Exploring Operation: 20+7=27, Resulting Numbers: [14, 27]
Generated Node #0,3,1: 13:[14, 27] Operation: 20+7=27
Exploring Operation: 20-14=6, Resulting Numbers: [7, 6]
Generated Node #0,3,2: 13:[7, 6] Operation: 20-14=6
Exploring Operation: 14-7=7, Resulting Numbers: [20, 7]
Generated Node #0,3,3: 13:[20, 7] Operation: 14-7=7
Exploring Operation: 20-7=13, Resulting Numbers: [14, 13]
Generated Node #0,3,4: 13:[14, 13] Operation: 20-7=13
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 13:[14, 13], Operations: ['84-70=14', '20-7=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,13 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,13 unequal: No Solution
No 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: 13:[7, 6], Operations: ['84-70=14', '20-14=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[70, 20, 7, 84], Operations: []
Exploring Operation: 84-70=14, Resulting Numbers: [20, 7, 14]
Generated Node #0,3: 13:[20, 7, 14] Operation: 84-70=14
Moving to Node #0,3
Current State: 13:[20, 7, 14], Operations: ['84-70=14']
Exploring Operation: 20-14=6, Resulting Numbers: [7, 6]
Generated Node #0,3,2: 13:[7, 6] Operation: 20-14=6
Moving to Node #0,3,2
Current State: 13:[7, 6], Operations: ['84-70=14', '20-14=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
84,
87,
2,
25
] | 47 | [
"87-84=3",
"2*25=50",
"50-3=47"
] | Current State: 47:[84, 87, 2, 25], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [2, 25, 3]
Generated Node #2: [2, 25, 3] from Operation: 87-84=3
Current State: 47:[2, 25, 3], Operations: ['87-84=3']
Exploring Operation: 2*25=50, Resulting Numbers: [3, 50]
Generated Node #3: [3, 50] from Operation: 2*25=50
Current State: 47:[3, 50], Operations: ['87-84=3', '2*25=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[84, 87, 2, 25], Operations: []
Exploring Operation: 2*25=50, Resulting Numbers: [84, 87, 50]
Generated Node #0,0: 47:[84, 87, 50] Operation: 2*25=50
Exploring Operation: 84/2=42, Resulting Numbers: [87, 25, 42]
Generated Node #0,1: 47:[87, 25, 42] Operation: 84/2=42
Moving to Node #0,1
Current State: 47:[87, 25, 42], Operations: ['84/2=42']
Exploring Operation: 87-42=45, Resulting Numbers: [25, 45]
Generated Node #0,1,0: 47:[25, 45] Operation: 87-42=45
Exploring Operation: 87-25=62, Resulting Numbers: [42, 62]
Generated Node #0,1,1: 47:[42, 62] Operation: 87-25=62
Moving to Node #0,0
Current State: 47:[84, 87, 50], Operations: ['2*25=50']
Exploring Operation: 87-50=37, Resulting Numbers: [84, 37]
Generated Node #0,0,0: 47:[84, 37] Operation: 87-50=37
Exploring Operation: 87-84=3, Resulting Numbers: [50, 3]
Generated Node #0,0,1: 47:[50, 3] Operation: 87-84=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[84, 37], Operations: ['2*25=50', '87-50=37']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[84, 87, 2, 25], Operations: []
Exploring Operation: 2*25=50, Resulting Numbers: [84, 87, 50]
Generated Node #0,0: 47:[84, 87, 50] Operation: 2*25=50
Moving to Node #0,0
Current State: 47:[84, 87, 50], Operations: ['2*25=50']
Exploring Operation: 87-50=37, Resulting Numbers: [84, 37]
Generated Node #0,0,0: 47:[84, 37] Operation: 87-50=37
Moving to Node #0,0,0
Current State: 47:[84, 37], Operations: ['2*25=50', '87-50=37']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
84,
11,
23,
1
] | 30 | [
"11+1=12",
"84/12=7",
"23+7=30"
] | Current State: 30:[84, 11, 23, 1], Operations: []
Exploring Operation: 11+1=12, Resulting Numbers: [84, 23, 12]
Generated Node #2: [84, 23, 12] from Operation: 11+1=12
Current State: 30:[84, 23, 12], Operations: ['11+1=12']
Exploring Operation: 84/12=7, Resulting Numbers: [23, 7]
Generated Node #3: [23, 7] from Operation: 84/12=7
Current State: 30:[23, 7], Operations: ['11+1=12', '84/12=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[84, 11, 23, 1], Operations: []
Exploring Operation: 84-23=61, Resulting Numbers: [11, 1, 61]
Generated Node #0,0: 30:[11, 1, 61] Operation: 84-23=61
Moving to Node #0,0
Current State: 30:[11, 1, 61], Operations: ['84-23=61']
Exploring Operation: 61-11=50, Resulting Numbers: [1, 50]
Generated Node #0,0,0: 30:[1, 50] Operation: 61-11=50
Moving to Node #0,0,0
Current State: 30:[1, 50], Operations: ['84-23=61', '61-11=50']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,30 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
49,
62,
13,
97
] | 27 | [
"49+62=111",
"97-13=84",
"111-84=27"
] | Current State: 27:[49, 62, 13, 97], Operations: []
Exploring Operation: 49+62=111, Resulting Numbers: [13, 97, 111]
Generated Node #2: [13, 97, 111] from Operation: 49+62=111
Current State: 27:[13, 97, 111], Operations: ['49+62=111']
Exploring Operation: 97-13=84, Resulting Numbers: [111, 84]
Generated Node #3: [111, 84] from Operation: 97-13=84
Current State: 27:[111, 84], Operations: ['49+62=111', '97-13=84']
Exploring Operation: 111-84=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[49, 62, 13, 97], Operations: []
Exploring Operation: 97-62=35, Resulting Numbers: [49, 13, 35]
Generated Node #0,0: 27:[49, 13, 35] Operation: 97-62=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[49, 13, 35], Operations: ['97-62=35']
Exploring Operation: 49-35=14, Resulting Numbers: [13, 14]
Generated Node #0,0,0: 27:[13, 14] Operation: 49-35=14
Moving to Node #0,0,0
Current State: 27:[13, 14], Operations: ['97-62=35', '49-35=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[49, 62, 13, 97], Operations: []
Exploring Operation: 97-62=35, Resulting Numbers: [49, 13, 35]
Generated Node #0,0: 27:[49, 13, 35] Operation: 97-62=35
Moving to Node #0,0
Current State: 27:[49, 13, 35], Operations: ['97-62=35']
Exploring Operation: 49-35=14, Resulting Numbers: [13, 14]
Generated Node #0,0,0: 27:[13, 14] Operation: 49-35=14
Moving to Node #0,0,0
Current State: 27:[13, 14], Operations: ['97-62=35', '49-35=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
76,
69,
28,
73
] | 36 | [
"73-69=4",
"28*4=112",
"112-76=36"
] | Current State: 36:[76, 69, 28, 73], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [76, 28, 4]
Generated Node #2: [76, 28, 4] from Operation: 73-69=4
Current State: 36:[76, 28, 4], Operations: ['73-69=4']
Exploring Operation: 28*4=112, Resulting Numbers: [76, 112]
Generated Node #3: [76, 112] from Operation: 28*4=112
Current State: 36:[76, 112], Operations: ['73-69=4', '28*4=112']
Exploring Operation: 112-76=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[76, 69, 28, 73], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [69, 28, 3]
Generated Node #0,0: 36:[69, 28, 3] Operation: 76-73=3
Exploring Operation: 76-69=7, Resulting Numbers: [28, 73, 7]
Generated Node #0,1: 36:[28, 73, 7] Operation: 76-69=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[69, 28, 3], Operations: ['76-73=3']
Exploring Operation: 69/3=23, Resulting Numbers: [28, 23]
Generated Node #0,0,0: 36:[28, 23] Operation: 69/3=23
Exploring Operation: 69-28=41, Resulting Numbers: [3, 41]
Generated Node #0,0,1: 36:[3, 41] Operation: 69-28=41
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[3, 41], Operations: ['76-73=3', '69-28=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[28, 23], Operations: ['76-73=3', '69/3=23']
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[28, 73, 7], Operations: ['76-69=7']
Exploring Operation: 28/7=4, Resulting Numbers: [73, 4]
Generated Node #0,1,0: 36:[73, 4] Operation: 28/7=4
Exploring Operation: 73-28=45, Resulting Numbers: [7, 45]
Generated Node #0,1,1: 36:[7, 45] Operation: 73-28=45
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[7, 45], Operations: ['76-69=7', '73-28=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[73, 4], Operations: ['76-69=7', '28/7=4']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
81,
16,
3,
13
] | 49 | [
"81-16=65",
"3+13=16",
"65-16=49"
] | Current State: 49:[81, 16, 3, 13], Operations: []
Exploring Operation: 81-16=65, Resulting Numbers: [3, 13, 65]
Generated Node #2: [3, 13, 65] from Operation: 81-16=65
Current State: 49:[3, 13, 65], Operations: ['81-16=65']
Exploring Operation: 3+13=16, Resulting Numbers: [65, 16]
Generated Node #3: [65, 16] from Operation: 3+13=16
Current State: 49:[65, 16], Operations: ['81-16=65', '3+13=16']
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[81, 16, 3, 13], Operations: []
Exploring Operation: 81-13=68, Resulting Numbers: [16, 3, 68]
Generated Node #0,0: 49:[16, 3, 68] Operation: 81-13=68
Exploring Operation: 81-16=65, Resulting Numbers: [3, 13, 65]
Generated Node #0,1: 49:[3, 13, 65] Operation: 81-16=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[3, 13, 65], Operations: ['81-16=65']
Exploring Operation: 65-13=52, Resulting Numbers: [3, 52]
Generated Node #0,1,0: 49:[3, 52] Operation: 65-13=52
Exploring Operation: 65/13=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 49:[3, 5] Operation: 65/13=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[3, 5], Operations: ['81-16=65', '65/13=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,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,0
Current State: 49:[3, 52], Operations: ['81-16=65', '65-13=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[81, 16, 3, 13], Operations: []
Exploring Operation: 81-16=65, Resulting Numbers: [3, 13, 65]
Generated Node #0,1: 49:[3, 13, 65] Operation: 81-16=65
Moving to Node #0,1
Current State: 49:[3, 13, 65], Operations: ['81-16=65']
Exploring Operation: 65-13=52, Resulting Numbers: [3, 52]
Generated Node #0,1,0: 49:[3, 52] Operation: 65-13=52
Moving to Node #0,1,0
Current State: 49:[3, 52], Operations: ['81-16=65', '65-13=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
37,
63,
40,
89
] | 68 | [
"40-37=3",
"63/3=21",
"89-21=68"
] | Current State: 68:[37, 63, 40, 89], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [63, 89, 3]
Generated Node #2: [63, 89, 3] from Operation: 40-37=3
Current State: 68:[63, 89, 3], Operations: ['40-37=3']
Exploring Operation: 63/3=21, Resulting Numbers: [89, 21]
Generated Node #3: [89, 21] from Operation: 63/3=21
Current State: 68:[89, 21], Operations: ['40-37=3', '63/3=21']
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[37, 63, 40, 89], Operations: []
Exploring Operation: 89-63=26, Resulting Numbers: [37, 40, 26]
Generated Node #0,0: 68:[37, 40, 26] Operation: 89-63=26
Exploring Operation: 89-40=49, Resulting Numbers: [37, 63, 49]
Generated Node #0,1: 68:[37, 63, 49] Operation: 89-40=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[37, 40, 26], Operations: ['89-63=26']
Exploring Operation: 40+26=66, Resulting Numbers: [37, 66]
Generated Node #0,0,0: 68:[37, 66] Operation: 40+26=66
Exploring Operation: 40-26=14, Resulting Numbers: [37, 14]
Generated Node #0,0,1: 68:[37, 14] Operation: 40-26=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[37, 66], Operations: ['89-63=26', '40+26=66']
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,68 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,68 unequal: No Solution
No 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: 68:[37, 14], Operations: ['89-63=26', '40-26=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,68 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: 68:[37, 63, 49], Operations: ['89-40=49']
Exploring Operation: 49-37=12, Resulting Numbers: [63, 12]
Generated Node #0,1,0: 68:[63, 12] Operation: 49-37=12
Exploring Operation: 63-49=14, Resulting Numbers: [37, 14]
Generated Node #0,1,1: 68:[37, 14] Operation: 63-49=14
Moving to Node #0,1,1
Current State: 68:[37, 14], Operations: ['89-40=49', '63-49=14']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[63, 12], Operations: ['89-40=49', '49-37=12']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
10,
74,
92,
27
] | 55 | [
"74-10=64",
"92+27=119",
"119-64=55"
] | Current State: 55:[10, 74, 92, 27], Operations: []
Exploring Operation: 74-10=64, Resulting Numbers: [92, 27, 64]
Generated Node #2: [92, 27, 64] from Operation: 74-10=64
Current State: 55:[92, 27, 64], Operations: ['74-10=64']
Exploring Operation: 92+27=119, Resulting Numbers: [64, 119]
Generated Node #3: [64, 119] from Operation: 92+27=119
Current State: 55:[64, 119], Operations: ['74-10=64', '92+27=119']
Exploring Operation: 119-64=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[10, 74, 92, 27], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [10, 27, 18]
Generated Node #0,0: 55:[10, 27, 18] Operation: 92-74=18
Exploring Operation: 92-27=65, Resulting Numbers: [10, 74, 65]
Generated Node #0,1: 55:[10, 74, 65] Operation: 92-27=65
Exploring Operation: 74-27=47, Resulting Numbers: [10, 92, 47]
Generated Node #0,2: 55:[10, 92, 47] Operation: 74-27=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[10, 27, 18], Operations: ['92-74=18']
Exploring Operation: 27-10=17, Resulting Numbers: [18, 17]
Generated Node #0,0,0: 55:[18, 17] Operation: 27-10=17
Exploring Operation: 27-18=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 55:[10, 9] Operation: 27-18=9
Exploring Operation: 27+18=45, Resulting Numbers: [10, 45]
Generated Node #0,0,2: 55:[10, 45] Operation: 27+18=45
Moving to Node #0,0,1
Current State: 55:[10, 9], Operations: ['92-74=18', '27-18=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[10, 45], Operations: ['92-74=18', '27+18=45']
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,55 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[10, 74, 92, 27], Operations: []
Exploring Operation: 92-74=18, Resulting Numbers: [10, 27, 18]
Generated Node #0,0: 55:[10, 27, 18] Operation: 92-74=18
Moving to Node #0,0
Current State: 55:[10, 27, 18], Operations: ['92-74=18']
Exploring Operation: 27+18=45, Resulting Numbers: [10, 45]
Generated Node #0,0,2: 55:[10, 45] Operation: 27+18=45
Moving to Node #0,0,2
Current State: 55:[10, 45], Operations: ['92-74=18', '27+18=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
29,
54,
17,
84
] | 18 | [
"29+54=83",
"17+84=101",
"101-83=18"
] | Current State: 18:[29, 54, 17, 84], Operations: []
Exploring Operation: 29+54=83, Resulting Numbers: [17, 84, 83]
Generated Node #2: [17, 84, 83] from Operation: 29+54=83
Current State: 18:[17, 84, 83], Operations: ['29+54=83']
Exploring Operation: 17+84=101, Resulting Numbers: [83, 101]
Generated Node #3: [83, 101] from Operation: 17+84=101
Current State: 18:[83, 101], Operations: ['29+54=83', '17+84=101']
Exploring Operation: 101-83=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[29, 54, 17, 84], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [29, 17, 30]
Generated Node #0,0: 18:[29, 17, 30] Operation: 84-54=30
Exploring Operation: 54-29=25, Resulting Numbers: [17, 84, 25]
Generated Node #0,1: 18:[17, 84, 25] Operation: 54-29=25
Moving to Node #0,0
Current State: 18:[29, 17, 30], Operations: ['84-54=30']
Exploring Operation: 30-29=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 30-29=1
Exploring Operation: 29-17=12, Resulting Numbers: [30, 12]
Generated Node #0,0,1: 18:[30, 12] Operation: 29-17=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['84-54=30', '30-29=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[29, 54, 17, 84], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [29, 17, 30]
Generated Node #0,0: 18:[29, 17, 30] Operation: 84-54=30
Moving to Node #0,0
Current State: 18:[29, 17, 30], Operations: ['84-54=30']
Exploring Operation: 30-29=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 30-29=1
Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['84-54=30', '30-29=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
12,
28,
17,
52
] | 76 | [
"17*52=884",
"28+884=912",
"912/12=76"
] | Current State: 76:[12, 28, 17, 52], Operations: []
Exploring Operation: 17*52=884, Resulting Numbers: [12, 28, 884]
Generated Node #2: [12, 28, 884] from Operation: 17*52=884
Current State: 76:[12, 28, 884], Operations: ['17*52=884']
Exploring Operation: 28+884=912, Resulting Numbers: [12, 912]
Generated Node #3: [12, 912] from Operation: 28+884=912
Current State: 76:[12, 912], Operations: ['17*52=884', '28+884=912']
Exploring Operation: 912/12=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[12, 28, 17, 52], Operations: []
Exploring Operation: 52-12=40, Resulting Numbers: [28, 17, 40]
Generated Node #0,0: 76:[28, 17, 40] Operation: 52-12=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[28, 17, 40], Operations: ['52-12=40']
Exploring Operation: 28+17=45, Resulting Numbers: [40, 45]
Generated Node #0,0,0: 76:[40, 45] Operation: 28+17=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[40, 45], Operations: ['52-12=40', '28+17=45']
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,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_1 | sum_heuristic |
[
87,
51,
3,
90
] | 50 | [
"87+3=90",
"90/90=1",
"51-1=50"
] | Current State: 50:[87, 51, 3, 90], Operations: []
Exploring Operation: 87+3=90, Resulting Numbers: [51, 90, 90]
Generated Node #2: [51, 90, 90] from Operation: 87+3=90
Current State: 50:[51, 90, 90], Operations: ['87+3=90']
Exploring Operation: 90/90=1, Resulting Numbers: [51, 1]
Generated Node #3: [51, 1] from Operation: 90/90=1
Current State: 50:[51, 1], Operations: ['87+3=90', '90/90=1']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[87, 51, 3, 90], Operations: []
Exploring Operation: 90-51=39, Resulting Numbers: [87, 3, 39]
Generated Node #0,0: 50:[87, 3, 39] Operation: 90-51=39
Exploring Operation: 87/3=29, Resulting Numbers: [51, 90, 29]
Generated Node #0,1: 50:[51, 90, 29] Operation: 87/3=29
Exploring Operation: 90/3=30, Resulting Numbers: [87, 51, 30]
Generated Node #0,2: 50:[87, 51, 30] Operation: 90/3=30
Exploring Operation: 90-87=3, Resulting Numbers: [51, 3, 3]
Generated Node #0,3: 50:[51, 3, 3] Operation: 90-87=3
Moving to Node #0,3
Current State: 50:[51, 3, 3], Operations: ['90-87=3']
Exploring Operation: 51-3=48, Resulting Numbers: [3, 48]
Generated Node #0,3,0: 50:[3, 48] Operation: 51-3=48
Exploring Operation: 3+3=6, Resulting Numbers: [51, 6]
Generated Node #0,3,1: 50:[51, 6] Operation: 3+3=6
Exploring Operation: 3*3=9, Resulting Numbers: [51, 9]
Generated Node #0,3,2: 50:[51, 9] Operation: 3*3=9
Exploring Operation: 3/3=1, Resulting Numbers: [51, 1]
Generated Node #0,3,3: 50:[51, 1] Operation: 3/3=1
Moving to Node #0,2
Current State: 50:[87, 51, 30], Operations: ['90/3=30']
Exploring Operation: 87+30=117, Resulting Numbers: [51, 117]
Generated Node #0,2,0: 50:[51, 117] Operation: 87+30=117
Exploring Operation: 51-30=21, Resulting Numbers: [87, 21]
Generated Node #0,2,1: 50:[87, 21] Operation: 51-30=21
Exploring Operation: 87-51=36, Resulting Numbers: [30, 36]
Generated Node #0,2,2: 50:[30, 36] Operation: 87-51=36
Exploring Operation: 87-30=57, Resulting Numbers: [51, 57]
Generated Node #0,2,3: 50:[51, 57] Operation: 87-30=57
Moving to Node #0,1
Current State: 50:[51, 90, 29], Operations: ['87/3=29']
Exploring Operation: 90-29=61, Resulting Numbers: [51, 61]
Generated Node #0,1,0: 50:[51, 61] Operation: 90-29=61
Exploring Operation: 90-51=39, Resulting Numbers: [29, 39]
Generated Node #0,1,1: 50:[29, 39] Operation: 90-51=39
Exploring Operation: 51-29=22, Resulting Numbers: [90, 22]
Generated Node #0,1,2: 50:[90, 22] Operation: 51-29=22
Exploring Operation: 51+29=80, Resulting Numbers: [90, 80]
Generated Node #0,1,3: 50:[90, 80] Operation: 51+29=80
Moving to Node #0,0
Current State: 50:[87, 3, 39], Operations: ['90-51=39']
Exploring Operation: 39/3=13, Resulting Numbers: [87, 13]
Generated Node #0,0,0: 50:[87, 13] Operation: 39/3=13
Exploring Operation: 87-3=84, Resulting Numbers: [39, 84]
Generated Node #0,0,1: 50:[39, 84] Operation: 87-3=84
Exploring Operation: 87-39=48, Resulting Numbers: [3, 48]
Generated Node #0,0,2: 50:[3, 48] Operation: 87-39=48
Exploring Operation: 87/3=29, Resulting Numbers: [39, 29]
Generated Node #0,0,3: 50:[39, 29] Operation: 87/3=29
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[3, 48], Operations: ['90-51=39', '87-39=48']
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,50 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,50 unequal: No Solution
No 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: 50:[39, 29], Operations: ['90-51=39', '87/3=29']
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,50 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,50 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,50 unequal: No Solution
No 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: 50:[87, 13], Operations: ['90-51=39', '39/3=13']
Exploring Operation: 87*13=1131, Resulting Numbers: [1131]
1131,50 unequal: No Solution
Exploring Operation: 87+13=100, Resulting Numbers: [100]
100,50 unequal: No Solution
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,50 unequal: No Solution
No 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: 50:[39, 84], Operations: ['90-51=39', '87-3=84']
Exploring Operation: 39*84=3276, Resulting Numbers: [3276]
3276,50 unequal: No Solution
Exploring Operation: 39+84=123, Resulting Numbers: [123]
123,50 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 50:[51, 6], Operations: ['90-87=3', '3+3=6']
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,50 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[51, 1], Operations: ['90-87=3', '3/3=1']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[87, 51, 3, 90], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [51, 3, 3]
Generated Node #0,3: 50:[51, 3, 3] Operation: 90-87=3
Moving to Node #0,3
Current State: 50:[51, 3, 3], Operations: ['90-87=3']
Exploring Operation: 3/3=1, Resulting Numbers: [51, 1]
Generated Node #0,3,3: 50:[51, 1] Operation: 3/3=1
Moving to Node #0,3,3
Current State: 50:[51, 1], Operations: ['90-87=3', '3/3=1']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.96441 | hs_4 | mult_heuristic |
[
75,
20,
60,
35
] | 71 | [
"35-20=15",
"60/15=4",
"75-4=71"
] | Current State: 71:[75, 20, 60, 35], Operations: []
Exploring Operation: 35-20=15, Resulting Numbers: [75, 60, 15]
Generated Node #2: [75, 60, 15] from Operation: 35-20=15
Current State: 71:[75, 60, 15], Operations: ['35-20=15']
Exploring Operation: 60/15=4, Resulting Numbers: [75, 4]
Generated Node #3: [75, 4] from Operation: 60/15=4
Current State: 71:[75, 4], Operations: ['35-20=15', '60/15=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[75, 20, 60, 35], Operations: []
Exploring Operation: 20+60=80, Resulting Numbers: [75, 35, 80]
Generated Node #0,0: 71:[75, 35, 80] Operation: 20+60=80
Exploring Operation: 20+35=55, Resulting Numbers: [75, 60, 55]
Generated Node #0,1: 71:[75, 60, 55] Operation: 20+35=55
Exploring Operation: 75-20=55, Resulting Numbers: [60, 35, 55]
Generated Node #0,2: 71:[60, 35, 55] Operation: 75-20=55
Exploring Operation: 75+20=95, Resulting Numbers: [60, 35, 95]
Generated Node #0,3: 71:[60, 35, 95] Operation: 75+20=95
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[75, 60, 55], Operations: ['20+35=55']
Exploring Operation: 75+55=130, Resulting Numbers: [60, 130]
Generated Node #0,1,0: 71:[60, 130] Operation: 75+55=130
Exploring Operation: 60+55=115, Resulting Numbers: [75, 115]
Generated Node #0,1,1: 71:[75, 115] Operation: 60+55=115
Exploring Operation: 60-55=5, Resulting Numbers: [75, 5]
Generated Node #0,1,2: 71:[75, 5] Operation: 60-55=5
Exploring Operation: 75-55=20, Resulting Numbers: [60, 20]
Generated Node #0,1,3: 71:[60, 20] Operation: 75-55=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[75, 115], Operations: ['20+35=55', '60+55=115']
Exploring Operation: 115-75=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 75*115=8625, Resulting Numbers: [8625]
8625,71 unequal: No Solution
Exploring Operation: 75+115=190, Resulting Numbers: [190]
190,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 71:[60, 20], Operations: ['20+35=55', '75-55=20']
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,71 unequal: No Solution
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[60, 130], Operations: ['20+35=55', '75+55=130']
Exploring Operation: 60*130=7800, Resulting Numbers: [7800]
7800,71 unequal: No Solution
Exploring Operation: 130-60=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 60+130=190, Resulting Numbers: [190]
190,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[75, 5], Operations: ['20+35=55', '60-55=5']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,71 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,71 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: 71:[75, 35, 80], Operations: ['20+60=80']
Exploring Operation: 75-35=40, Resulting Numbers: [80, 40]
Generated Node #0,0,0: 71:[80, 40] Operation: 75-35=40
Exploring Operation: 35+80=115, Resulting Numbers: [75, 115]
Generated Node #0,0,1: 71:[75, 115] Operation: 35+80=115
Exploring Operation: 75+35=110, Resulting Numbers: [80, 110]
Generated Node #0,0,2: 71:[80, 110] Operation: 75+35=110
Exploring Operation: 80-35=45, Resulting Numbers: [75, 45]
Generated Node #0,0,3: 71:[75, 45] Operation: 80-35=45
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[75, 45], Operations: ['20+60=80', '80-35=45']
Exploring Operation: 75*45=3375, Resulting Numbers: [3375]
3375,71 unequal: No Solution
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[80, 40], Operations: ['20+60=80', '75-35=40']
Exploring Operation: 80+40=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 80*40=3200, Resulting Numbers: [3200]
3200,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[75, 115], Operations: ['20+60=80', '35+80=115']
Exploring Operation: 115-75=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 75*115=8625, Resulting Numbers: [8625]
8625,71 unequal: No Solution
Exploring Operation: 75+115=190, Resulting Numbers: [190]
190,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[80, 110], Operations: ['20+60=80', '75+35=110']
Exploring Operation: 80*110=8800, Resulting Numbers: [8800]
8800,71 unequal: No Solution
Exploring Operation: 80+110=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 110-80=30, Resulting Numbers: [30]
30,71 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: 71:[60, 35, 55], Operations: ['75-20=55']
Exploring Operation: 60+35=95, Resulting Numbers: [55, 95]
Generated Node #0,2,0: 71:[55, 95] Operation: 60+35=95
Exploring Operation: 60-35=25, Resulting Numbers: [55, 25]
Generated Node #0,2,1: 71:[55, 25] Operation: 60-35=25
Exploring Operation: 55-35=20, Resulting Numbers: [60, 20]
Generated Node #0,2,2: 71:[60, 20] Operation: 55-35=20
Exploring Operation: 35+55=90, Resulting Numbers: [60, 90]
Generated Node #0,2,3: 71:[60, 90] Operation: 35+55=90
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[60, 90], Operations: ['75-20=55', '35+55=90']
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 60+90=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 60*90=5400, Resulting Numbers: [5400]
5400,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[55, 95], Operations: ['75-20=55', '60+35=95']
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 55*95=5225, Resulting Numbers: [5225]
5225,71 unequal: No Solution
Exploring Operation: 55+95=150, Resulting Numbers: [150]
150,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[55, 25], Operations: ['75-20=55', '60-35=25']
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[60, 20], Operations: ['75-20=55', '55-35=20']
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,71 unequal: No Solution
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,71 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,71 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: 71:[60, 35, 95], Operations: ['75+20=95']
Exploring Operation: 60-35=25, Resulting Numbers: [95, 25]
Generated Node #0,3,0: 71:[95, 25] Operation: 60-35=25
Exploring Operation: 60+35=95, Resulting Numbers: [95, 95]
Generated Node #0,3,1: 71:[95, 95] Operation: 60+35=95
Exploring Operation: 95-35=60, Resulting Numbers: [60, 60]
Generated Node #0,3,2: 71:[60, 60] Operation: 95-35=60
Exploring Operation: 35+95=130, Resulting Numbers: [60, 130]
Generated Node #0,3,3: 71:[60, 130] Operation: 35+95=130
Moving to Node #0,3,2
Current State: 71:[60, 60], Operations: ['75+20=95', '95-35=60']
Exploring Operation: 60-60=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 60*60=3600, Resulting Numbers: [3600]
3600,71 unequal: No Solution
Exploring Operation: 60+60=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 60/60=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[95, 95], Operations: ['75+20=95', '60+35=95']
Exploring Operation: 95+95=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 95-95=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 95*95=9025, Resulting Numbers: [9025]
9025,71 unequal: No Solution
Exploring Operation: 95/95=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[60, 130], Operations: ['75+20=95', '35+95=130']
Exploring Operation: 60+130=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 130-60=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 60*130=7800, Resulting Numbers: [7800]
7800,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[95, 25], Operations: ['75+20=95', '60-35=25']
Exploring Operation: 95*25=2375, Resulting Numbers: [2375]
2375,71 unequal: No Solution
Exploring Operation: 95+25=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,71 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 |
[
5,
9,
80,
70
] | 46 | [
"70/5=14",
"9*14=126",
"126-80=46"
] | Current State: 46:[5, 9, 80, 70], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [9, 80, 14]
Generated Node #2: [9, 80, 14] from Operation: 70/5=14
Current State: 46:[9, 80, 14], Operations: ['70/5=14']
Exploring Operation: 9*14=126, Resulting Numbers: [80, 126]
Generated Node #3: [80, 126] from Operation: 9*14=126
Current State: 46:[80, 126], Operations: ['70/5=14', '9*14=126']
Exploring Operation: 126-80=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[5, 9, 80, 70], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [5, 9, 10]
Generated Node #0,0: 46:[5, 9, 10] Operation: 80-70=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[5, 9, 10], Operations: ['80-70=10']
Exploring Operation: 10-9=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 46:[5, 1] Operation: 10-9=1
Moving to Node #0,0,0
Current State: 46:[5, 1], Operations: ['80-70=10', '10-9=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,46 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 |
[
84,
64,
76,
34
] | 38 | [
"84+64=148",
"76+34=110",
"148-110=38"
] | Current State: 38:[84, 64, 76, 34], Operations: []
Exploring Operation: 84+64=148, Resulting Numbers: [76, 34, 148]
Generated Node #2: [76, 34, 148] from Operation: 84+64=148
Current State: 38:[76, 34, 148], Operations: ['84+64=148']
Exploring Operation: 76+34=110, Resulting Numbers: [148, 110]
Generated Node #3: [148, 110] from Operation: 76+34=110
Current State: 38:[148, 110], Operations: ['84+64=148', '76+34=110']
Exploring Operation: 148-110=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[84, 64, 76, 34], Operations: []
Exploring Operation: 84-64=20, Resulting Numbers: [76, 34, 20]
Generated Node #0,0: 38:[76, 34, 20] Operation: 84-64=20
Exploring Operation: 84-76=8, Resulting Numbers: [64, 34, 8]
Generated Node #0,1: 38:[64, 34, 8] Operation: 84-76=8
Exploring Operation: 76-64=12, Resulting Numbers: [84, 34, 12]
Generated Node #0,2: 38:[84, 34, 12] Operation: 76-64=12
Moving to Node #0,1
Current State: 38:[64, 34, 8], Operations: ['84-76=8']
Exploring Operation: 64/8=8, Resulting Numbers: [34, 8]
Generated Node #0,1,0: 38:[34, 8] Operation: 64/8=8
Exploring Operation: 64-8=56, Resulting Numbers: [34, 56]
Generated Node #0,1,1: 38:[34, 56] Operation: 64-8=56
Exploring Operation: 64-34=30, Resulting Numbers: [8, 30]
Generated Node #0,1,2: 38:[8, 30] Operation: 64-34=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[34, 8], Operations: ['84-76=8', '64/8=8']
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,38 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[8, 30], Operations: ['84-76=8', '64-34=30']
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,38 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[84, 64, 76, 34], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [64, 34, 8]
Generated Node #0,1: 38:[64, 34, 8] Operation: 84-76=8
Moving to Node #0,1
Current State: 38:[64, 34, 8], Operations: ['84-76=8']
Exploring Operation: 64-34=30, Resulting Numbers: [8, 30]
Generated Node #0,1,2: 38:[8, 30] Operation: 64-34=30
Moving to Node #0,1,2
Current State: 38:[8, 30], Operations: ['84-76=8', '64-34=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
49,
97,
60,
96
] | 58 | [
"97-49=48",
"96/48=2",
"60-2=58"
] | Current State: 58:[49, 97, 60, 96], Operations: []
Exploring Operation: 97-49=48, Resulting Numbers: [60, 96, 48]
Generated Node #2: [60, 96, 48] from Operation: 97-49=48
Current State: 58:[60, 96, 48], Operations: ['97-49=48']
Exploring Operation: 96/48=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 96/48=2
Current State: 58:[60, 2], Operations: ['97-49=48', '96/48=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[49, 97, 60, 96], Operations: []
Exploring Operation: 97-49=48, Resulting Numbers: [60, 96, 48]
Generated Node #0,0: 58:[60, 96, 48] Operation: 97-49=48
Exploring Operation: 97-96=1, Resulting Numbers: [49, 60, 1]
Generated Node #0,1: 58:[49, 60, 1] Operation: 97-96=1
Exploring Operation: 96-49=47, Resulting Numbers: [97, 60, 47]
Generated Node #0,2: 58:[97, 60, 47] Operation: 96-49=47
Moving to Node #0,1
Current State: 58:[49, 60, 1], Operations: ['97-96=1']
Exploring Operation: 60-1=59, Resulting Numbers: [49, 59]
Generated Node #0,1,0: 58:[49, 59] Operation: 60-1=59
Exploring Operation: 60-49=11, Resulting Numbers: [1, 11]
Generated Node #0,1,1: 58:[1, 11] Operation: 60-49=11
Exploring Operation: 49+1=50, Resulting Numbers: [60, 50]
Generated Node #0,1,2: 58:[60, 50] Operation: 49+1=50
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[49, 59], Operations: ['97-96=1', '60-1=59']
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,58 unequal: No Solution
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[1, 11], Operations: ['97-96=1', '60-49=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[60, 50], Operations: ['97-96=1', '49+1=50']
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 58:[60, 96, 48], Operations: ['97-49=48']
Exploring Operation: 96-48=48, Resulting Numbers: [60, 48]
Generated Node #0,0,0: 58:[60, 48] Operation: 96-48=48
Exploring Operation: 96-60=36, Resulting Numbers: [48, 36]
Generated Node #0,0,1: 58:[48, 36] Operation: 96-60=36
Exploring Operation: 96/48=2, Resulting Numbers: [60, 2]
Generated Node #0,0,2: 58:[60, 2] Operation: 96/48=2
Moving to Node #0,2
Current State: 58:[97, 60, 47], Operations: ['96-49=47']
Exploring Operation: 97-60=37, Resulting Numbers: [47, 37]
Generated Node #0,2,0: 58:[47, 37] Operation: 97-60=37
Exploring Operation: 97-47=50, Resulting Numbers: [60, 50]
Generated Node #0,2,1: 58:[60, 50] Operation: 97-47=50
Exploring Operation: 60-47=13, Resulting Numbers: [97, 13]
Generated Node #0,2,2: 58:[97, 13] Operation: 60-47=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 58:[60, 50], Operations: ['96-49=47', '97-47=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[47, 37], Operations: ['96-49=47', '97-60=37']
Exploring Operation: 47*37=1739, Resulting Numbers: [1739]
1739,58 unequal: No Solution
Exploring Operation: 47+37=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[97, 13], Operations: ['96-49=47', '60-47=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,58 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 58:[60, 2], Operations: ['97-49=48', '96/48=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[49, 97, 60, 96], Operations: []
Exploring Operation: 97-49=48, Resulting Numbers: [60, 96, 48]
Generated Node #0,0: 58:[60, 96, 48] Operation: 97-49=48
Moving to Node #0,0
Current State: 58:[60, 96, 48], Operations: ['97-49=48']
Exploring Operation: 96/48=2, Resulting Numbers: [60, 2]
Generated Node #0,0,2: 58:[60, 2] Operation: 96/48=2
Moving to Node #0,0,2
Current State: 58:[60, 2], Operations: ['97-49=48', '96/48=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
17,
29,
35,
87
] | 27 | [
"87-17=70",
"70/35=2",
"29-2=27"
] | Current State: 27:[17, 29, 35, 87], Operations: []
Exploring Operation: 87-17=70, Resulting Numbers: [29, 35, 70]
Generated Node #2: [29, 35, 70] from Operation: 87-17=70
Current State: 27:[29, 35, 70], Operations: ['87-17=70']
Exploring Operation: 70/35=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 70/35=2
Current State: 27:[29, 2], Operations: ['87-17=70', '70/35=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[17, 29, 35, 87], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [17, 35, 3]
Generated Node #0,0: 27:[17, 35, 3] Operation: 87/29=3
Moving to Node #0,0
Current State: 27:[17, 35, 3], Operations: ['87/29=3']
Exploring Operation: 35-17=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 27:[3, 18] Operation: 35-17=18
Moving to Node #0,0,0
Current State: 27:[3, 18], Operations: ['87/29=3', '35-17=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
67,
79,
73
] | 65 | [
"4+67=71",
"79-73=6",
"71-6=65"
] | Current State: 65:[4, 67, 79, 73], Operations: []
Exploring Operation: 4+67=71, Resulting Numbers: [79, 73, 71]
Generated Node #2: [79, 73, 71] from Operation: 4+67=71
Current State: 65:[79, 73, 71], Operations: ['4+67=71']
Exploring Operation: 79-73=6, Resulting Numbers: [71, 6]
Generated Node #3: [71, 6] from Operation: 79-73=6
Current State: 65:[71, 6], Operations: ['4+67=71', '79-73=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[4, 67, 79, 73], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [4, 79, 6]
Generated Node #0,0: 65:[4, 79, 6] Operation: 73-67=6
Exploring Operation: 79-73=6, Resulting Numbers: [4, 67, 6]
Generated Node #0,1: 65:[4, 67, 6] Operation: 79-73=6
Exploring Operation: 79-67=12, Resulting Numbers: [4, 73, 12]
Generated Node #0,2: 65:[4, 73, 12] Operation: 79-67=12
Moving to Node #0,1
Current State: 65:[4, 67, 6], Operations: ['79-73=6']
Exploring Operation: 6-4=2, Resulting Numbers: [67, 2]
Generated Node #0,1,0: 65:[67, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [67, 10]
Generated Node #0,1,1: 65:[67, 10] Operation: 4+6=10
Exploring Operation: 67-4=63, Resulting Numbers: [6, 63]
Generated Node #0,1,2: 65:[6, 63] Operation: 67-4=63
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[6, 63], Operations: ['79-73=6', '67-4=63']
Exploring Operation: 6*63=378, Resulting Numbers: [378]
378,65 unequal: No Solution
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[67, 2], Operations: ['79-73=6', '6-4=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[4, 67, 79, 73], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [4, 67, 6]
Generated Node #0,1: 65:[4, 67, 6] Operation: 79-73=6
Moving to Node #0,1
Current State: 65:[4, 67, 6], Operations: ['79-73=6']
Exploring Operation: 6-4=2, Resulting Numbers: [67, 2]
Generated Node #0,1,0: 65:[67, 2] Operation: 6-4=2
Moving to Node #0,1,0
Current State: 65:[67, 2], Operations: ['79-73=6', '6-4=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
97,
3,
86,
20
] | 91 | [
"97+3=100",
"100/20=5",
"86+5=91"
] | Current State: 91:[97, 3, 86, 20], Operations: []
Exploring Operation: 97+3=100, Resulting Numbers: [86, 20, 100]
Generated Node #2: [86, 20, 100] from Operation: 97+3=100
Current State: 91:[86, 20, 100], Operations: ['97+3=100']
Exploring Operation: 100/20=5, Resulting Numbers: [86, 5]
Generated Node #3: [86, 5] from Operation: 100/20=5
Current State: 91:[86, 5], Operations: ['97+3=100', '100/20=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[97, 3, 86, 20], Operations: []
Exploring Operation: 97+3=100, Resulting Numbers: [86, 20, 100]
Generated Node #0,0: 91:[86, 20, 100] Operation: 97+3=100
Exploring Operation: 20-3=17, Resulting Numbers: [97, 86, 17]
Generated Node #0,1: 91:[97, 86, 17] Operation: 20-3=17
Exploring Operation: 3+86=89, Resulting Numbers: [97, 20, 89]
Generated Node #0,2: 91:[97, 20, 89] Operation: 3+86=89
Exploring Operation: 97-3=94, Resulting Numbers: [86, 20, 94]
Generated Node #0,3: 91:[86, 20, 94] Operation: 97-3=94
Exploring Operation: 97-86=11, Resulting Numbers: [3, 20, 11]
Generated Node #0,4: 91:[3, 20, 11] Operation: 97-86=11
Start Sub Search at level 1: Moving to Node #0,4
Current State: 91:[3, 20, 11], Operations: ['97-86=11']
Exploring Operation: 20-11=9, Resulting Numbers: [3, 9]
Generated Node #0,4,0: 91:[3, 9] Operation: 20-11=9
Exploring Operation: 3+11=14, Resulting Numbers: [20, 14]
Generated Node #0,4,1: 91:[20, 14] Operation: 3+11=14
Exploring Operation: 3+20=23, Resulting Numbers: [11, 23]
Generated Node #0,4,2: 91:[11, 23] Operation: 3+20=23
Exploring Operation: 11-3=8, Resulting Numbers: [20, 8]
Generated Node #0,4,3: 91:[20, 8] Operation: 11-3=8
Exploring Operation: 20-3=17, Resulting Numbers: [11, 17]
Generated Node #0,4,4: 91:[11, 17] Operation: 20-3=17
Moving to Node #0,4,0
Current State: 91:[3, 9], Operations: ['97-86=11', '20-11=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[11, 17], Operations: ['97-86=11', '20-3=17']
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,91 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[20, 14], Operations: ['97-86=11', '3+11=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,91 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[20, 8], Operations: ['97-86=11', '11-3=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[11, 23], Operations: ['97-86=11', '3+20=23']
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,91 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,91 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[97, 86, 17], Operations: ['20-3=17']
Exploring Operation: 97+17=114, Resulting Numbers: [86, 114]
Generated Node #0,1,0: 91:[86, 114] Operation: 97+17=114
Exploring Operation: 97-17=80, Resulting Numbers: [86, 80]
Generated Node #0,1,1: 91:[86, 80] Operation: 97-17=80
Exploring Operation: 97-86=11, Resulting Numbers: [17, 11]
Generated Node #0,1,2: 91:[17, 11] Operation: 97-86=11
Exploring Operation: 86+17=103, Resulting Numbers: [97, 103]
Generated Node #0,1,3: 91:[97, 103] Operation: 86+17=103
Exploring Operation: 86-17=69, Resulting Numbers: [97, 69]
Generated Node #0,1,4: 91:[97, 69] Operation: 86-17=69
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[17, 11], Operations: ['20-3=17', '97-86=11']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[86, 80], Operations: ['20-3=17', '97-17=80']
Exploring Operation: 86*80=6880, Resulting Numbers: [6880]
6880,91 unequal: No Solution
Exploring Operation: 86+80=166, Resulting Numbers: [166]
166,91 unequal: No Solution
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 91:[97, 103], Operations: ['20-3=17', '86+17=103']
Exploring Operation: 97*103=9991, Resulting Numbers: [9991]
9991,91 unequal: No Solution
Exploring Operation: 103-97=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 97+103=200, Resulting Numbers: [200]
200,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[86, 114], Operations: ['20-3=17', '97+17=114']
Exploring Operation: 86+114=200, Resulting Numbers: [200]
200,91 unequal: No Solution
Exploring Operation: 114-86=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 86*114=9804, Resulting Numbers: [9804]
9804,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 91:[97, 69], Operations: ['20-3=17', '86-17=69']
Exploring Operation: 97+69=166, Resulting Numbers: [166]
166,91 unequal: No Solution
Exploring Operation: 97*69=6693, Resulting Numbers: [6693]
6693,91 unequal: No Solution
Exploring Operation: 97-69=28, Resulting Numbers: [28]
28,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[97, 20, 89], Operations: ['3+86=89']
Exploring Operation: 97-89=8, Resulting Numbers: [20, 8]
Generated Node #0,2,0: 91:[20, 8] Operation: 97-89=8
Exploring Operation: 20+89=109, Resulting Numbers: [97, 109]
Generated Node #0,2,1: 91:[97, 109] Operation: 20+89=109
Exploring Operation: 97+20=117, Resulting Numbers: [89, 117]
Generated Node #0,2,2: 91:[89, 117] Operation: 97+20=117
Exploring Operation: 89-20=69, Resulting Numbers: [97, 69]
Generated Node #0,2,3: 91:[97, 69] Operation: 89-20=69
Exploring Operation: 97-20=77, Resulting Numbers: [89, 77]
Generated Node #0,2,4: 91:[89, 77] Operation: 97-20=77
Moving to Node #0,2,0
Current State: 91:[20, 8], Operations: ['3+86=89', '97-89=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Moving to Node #0,2,4
Current State: 91:[89, 77], Operations: ['3+86=89', '97-20=77']
Exploring Operation: 89+77=166, Resulting Numbers: [166]
166,91 unequal: No Solution
Exploring Operation: 89-77=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 89*77=6853, Resulting Numbers: [6853]
6853,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[97, 109], Operations: ['3+86=89', '20+89=109']
Exploring Operation: 109-97=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 97*109=10573, Resulting Numbers: [10573]
10573,91 unequal: No Solution
Exploring Operation: 97+109=206, Resulting Numbers: [206]
206,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[89, 117], Operations: ['3+86=89', '97+20=117']
Exploring Operation: 89+117=206, Resulting Numbers: [206]
206,91 unequal: No Solution
Exploring Operation: 89*117=10413, Resulting Numbers: [10413]
10413,91 unequal: No Solution
Exploring Operation: 117-89=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[97, 69], Operations: ['3+86=89', '89-20=69']
Exploring Operation: 97-69=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 97*69=6693, Resulting Numbers: [6693]
6693,91 unequal: No Solution
Exploring Operation: 97+69=166, Resulting Numbers: [166]
166,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[86, 20, 94], Operations: ['97-3=94']
Exploring Operation: 20+94=114, Resulting Numbers: [86, 114]
Generated Node #0,3,0: 91:[86, 114] Operation: 20+94=114
Exploring Operation: 86+20=106, Resulting Numbers: [94, 106]
Generated Node #0,3,1: 91:[94, 106] Operation: 86+20=106
Exploring Operation: 86-20=66, Resulting Numbers: [94, 66]
Generated Node #0,3,2: 91:[94, 66] Operation: 86-20=66
Exploring Operation: 94-20=74, Resulting Numbers: [86, 74]
Generated Node #0,3,3: 91:[86, 74] Operation: 94-20=74
Exploring Operation: 94-86=8, Resulting Numbers: [20, 8]
Generated Node #0,3,4: 91:[20, 8] Operation: 94-86=8
Moving to Node #0,3,4
Current State: 91:[20, 8], Operations: ['97-3=94', '94-86=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[94, 106], Operations: ['97-3=94', '86+20=106']
Exploring Operation: 94+106=200, Resulting Numbers: [200]
200,91 unequal: No Solution
Exploring Operation: 94*106=9964, Resulting Numbers: [9964]
9964,91 unequal: No Solution
Exploring Operation: 106-94=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[86, 74], Operations: ['97-3=94', '94-20=74']
Exploring Operation: 86+74=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 86*74=6364, Resulting Numbers: [6364]
6364,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[86, 114], Operations: ['97-3=94', '20+94=114']
Exploring Operation: 114-86=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 86*114=9804, Resulting Numbers: [9804]
9804,91 unequal: No Solution
Exploring Operation: 86+114=200, Resulting Numbers: [200]
200,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[94, 66], Operations: ['97-3=94', '86-20=66']
Exploring Operation: 94+66=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 94*66=6204, Resulting Numbers: [6204]
6204,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[86, 20, 100], Operations: ['97+3=100']
Exploring Operation: 86+20=106, Resulting Numbers: [100, 106]
Generated Node #0,0,0: 91:[100, 106] Operation: 86+20=106
Exploring Operation: 100-86=14, Resulting Numbers: [20, 14]
Generated Node #0,0,1: 91:[20, 14] Operation: 100-86=14
Exploring Operation: 100/20=5, Resulting Numbers: [86, 5]
Generated Node #0,0,2: 91:[86, 5] Operation: 100/20=5
Exploring Operation: 100-20=80, Resulting Numbers: [86, 80]
Generated Node #0,0,3: 91:[86, 80] Operation: 100-20=80
Exploring Operation: 86-20=66, Resulting Numbers: [100, 66]
Generated Node #0,0,4: 91:[100, 66] Operation: 86-20=66
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[86, 5], Operations: ['97+3=100', '100/20=5']
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[97, 3, 86, 20], Operations: []
Exploring Operation: 97+3=100, Resulting Numbers: [86, 20, 100]
Generated Node #0,0: 91:[86, 20, 100] Operation: 97+3=100
Moving to Node #0,0
Current State: 91:[86, 20, 100], Operations: ['97+3=100']
Exploring Operation: 100/20=5, Resulting Numbers: [86, 5]
Generated Node #0,0,2: 91:[86, 5] Operation: 100/20=5
Moving to Node #0,0,2
Current State: 91:[86, 5], Operations: ['97+3=100', '100/20=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.915799 | hs_5 | mult_heuristic |
[
6,
33,
79,
39
] | 13 | [
"33-6=27",
"79-39=40",
"40-27=13"
] | Current State: 13:[6, 33, 79, 39], Operations: []
Exploring Operation: 33-6=27, Resulting Numbers: [79, 39, 27]
Generated Node #2: [79, 39, 27] from Operation: 33-6=27
Current State: 13:[79, 39, 27], Operations: ['33-6=27']
Exploring Operation: 79-39=40, Resulting Numbers: [27, 40]
Generated Node #3: [27, 40] from Operation: 79-39=40
Current State: 13:[27, 40], Operations: ['33-6=27', '79-39=40']
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[6, 33, 79, 39], Operations: []
Exploring Operation: 33-6=27, Resulting Numbers: [79, 39, 27]
Generated Node #0,0: 13:[79, 39, 27] Operation: 33-6=27
Exploring Operation: 79-33=46, Resulting Numbers: [6, 39, 46]
Generated Node #0,1: 13:[6, 39, 46] Operation: 79-33=46
Exploring Operation: 79-39=40, Resulting Numbers: [6, 33, 40]
Generated Node #0,2: 13:[6, 33, 40] Operation: 79-39=40
Exploring Operation: 39-33=6, Resulting Numbers: [6, 79, 6]
Generated Node #0,3: 13:[6, 79, 6] Operation: 39-33=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[6, 33, 40], Operations: ['79-39=40']
Exploring Operation: 33-6=27, Resulting Numbers: [40, 27]
Generated Node #0,2,0: 13:[40, 27] Operation: 33-6=27
Exploring Operation: 40-6=34, Resulting Numbers: [33, 34]
Generated Node #0,2,1: 13:[33, 34] Operation: 40-6=34
Exploring Operation: 40-33=7, Resulting Numbers: [6, 7]
Generated Node #0,2,2: 13:[6, 7] Operation: 40-33=7
Exploring Operation: 6+33=39, Resulting Numbers: [40, 39]
Generated Node #0,2,3: 13:[40, 39] Operation: 6+33=39
Moving to Node #0,2,2
Current State: 13:[6, 7], Operations: ['79-39=40', '40-33=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[6, 33, 79, 39], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [6, 33, 40]
Generated Node #0,2: 13:[6, 33, 40] Operation: 79-39=40
Moving to Node #0,2
Current State: 13:[6, 33, 40], Operations: ['79-39=40']
Exploring Operation: 40-33=7, Resulting Numbers: [6, 7]
Generated Node #0,2,2: 13:[6, 7] Operation: 40-33=7
Moving to Node #0,2,2
Current State: 13:[6, 7], Operations: ['79-39=40', '40-33=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
1,
44,
8,
30
] | 98 | [
"8-1=7",
"44-30=14",
"7*14=98"
] | Current State: 98:[1, 44, 8, 30], Operations: []
Exploring Operation: 8-1=7, Resulting Numbers: [44, 30, 7]
Generated Node #2: [44, 30, 7] from Operation: 8-1=7
Current State: 98:[44, 30, 7], Operations: ['8-1=7']
Exploring Operation: 44-30=14, Resulting Numbers: [7, 14]
Generated Node #3: [7, 14] from Operation: 44-30=14
Current State: 98:[7, 14], Operations: ['8-1=7', '44-30=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[1, 44, 8, 30], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [1, 8, 14]
Generated Node #0,0: 98:[1, 8, 14] Operation: 44-30=14
Exploring Operation: 30-8=22, Resulting Numbers: [1, 44, 22]
Generated Node #0,1: 98:[1, 44, 22] Operation: 30-8=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[1, 8, 14], Operations: ['44-30=14']
Exploring Operation: 1*8=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 98:[14, 8] Operation: 1*8=8
Exploring Operation: 8-1=7, Resulting Numbers: [14, 7]
Generated Node #0,0,1: 98:[14, 7] Operation: 8-1=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[14, 7], Operations: ['44-30=14', '8-1=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[1, 44, 8, 30], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [1, 8, 14]
Generated Node #0,0: 98:[1, 8, 14] Operation: 44-30=14
Moving to Node #0,0
Current State: 98:[1, 8, 14], Operations: ['44-30=14']
Exploring Operation: 8-1=7, Resulting Numbers: [14, 7]
Generated Node #0,0,1: 98:[14, 7] Operation: 8-1=7
Moving to Node #0,0,1
Current State: 98:[14, 7], Operations: ['44-30=14', '8-1=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
21,
94,
20,
84
] | 14 | [
"84/21=4",
"20*4=80",
"94-80=14"
] | Current State: 14:[21, 94, 20, 84], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [94, 20, 4]
Generated Node #2: [94, 20, 4] from Operation: 84/21=4
Current State: 14:[94, 20, 4], Operations: ['84/21=4']
Exploring Operation: 20*4=80, Resulting Numbers: [94, 80]
Generated Node #3: [94, 80] from Operation: 20*4=80
Current State: 14:[94, 80], Operations: ['84/21=4', '20*4=80']
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[21, 94, 20, 84], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [21, 20, 10]
Generated Node #0,0: 14:[21, 20, 10] Operation: 94-84=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[21, 20, 10], Operations: ['94-84=10']
Exploring Operation: 21-20=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 14:[10, 1] Operation: 21-20=1
Moving to Node #0,0,0
Current State: 14:[10, 1], Operations: ['94-84=10', '21-20=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,14 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 |
[
1,
31,
40,
28
] | 10 | [
"1+31=32",
"32-28=4",
"40/4=10"
] | Current State: 10:[1, 31, 40, 28], Operations: []
Exploring Operation: 1+31=32, Resulting Numbers: [40, 28, 32]
Generated Node #2: [40, 28, 32] from Operation: 1+31=32
Current State: 10:[40, 28, 32], Operations: ['1+31=32']
Exploring Operation: 32-28=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 32-28=4
Current State: 10:[40, 4], Operations: ['1+31=32', '32-28=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[1, 31, 40, 28], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [1, 40, 3]
Generated Node #0,0: 10:[1, 40, 3] Operation: 31-28=3
Exploring Operation: 40-28=12, Resulting Numbers: [1, 31, 12]
Generated Node #0,1: 10:[1, 31, 12] Operation: 40-28=12
Exploring Operation: 40-31=9, Resulting Numbers: [1, 28, 9]
Generated Node #0,2: 10:[1, 28, 9] Operation: 40-31=9
Moving to Node #0,2
Current State: 10:[1, 28, 9], Operations: ['40-31=9']
Exploring Operation: 1+9=10, Resulting Numbers: [28, 10]
Generated Node #0,2,0: 10:[28, 10] Operation: 1+9=10
Exploring Operation: 28-1=27, Resulting Numbers: [9, 27]
Generated Node #0,2,1: 10:[9, 27] Operation: 28-1=27
Exploring Operation: 28-9=19, Resulting Numbers: [1, 19]
Generated Node #0,2,2: 10:[1, 19] Operation: 28-9=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[1, 19], Operations: ['40-31=9', '28-9=19']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[28, 10], Operations: ['40-31=9', '1+9=10']
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[9, 27], Operations: ['40-31=9', '28-1=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 10:[1, 31, 12], Operations: ['40-28=12']
Exploring Operation: 31-12=19, Resulting Numbers: [1, 19]
Generated Node #0,1,0: 10:[1, 19] Operation: 31-12=19
Exploring Operation: 31-1=30, Resulting Numbers: [12, 30]
Generated Node #0,1,1: 10:[12, 30] Operation: 31-1=30
Exploring Operation: 12-1=11, Resulting Numbers: [31, 11]
Generated Node #0,1,2: 10:[31, 11] Operation: 12-1=11
Moving to Node #0,0
Current State: 10:[1, 40, 3], Operations: ['31-28=3']
Exploring Operation: 40-1=39, Resulting Numbers: [3, 39]
Generated Node #0,0,0: 10:[3, 39] Operation: 40-1=39
Exploring Operation: 3-1=2, Resulting Numbers: [40, 2]
Generated Node #0,0,1: 10:[40, 2] Operation: 3-1=2
Exploring Operation: 40-3=37, Resulting Numbers: [1, 37]
Generated Node #0,0,2: 10:[1, 37] Operation: 40-3=37
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[1, 37], Operations: ['31-28=3', '40-3=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[3, 39], Operations: ['31-28=3', '40-1=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[40, 2], Operations: ['31-28=3', '3-1=2']
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,10 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: 10:[1, 19], Operations: ['40-28=12', '31-12=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[12, 30], Operations: ['40-28=12', '31-1=30']
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,10 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[31, 11], Operations: ['40-28=12', '12-1=11']
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,10 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,10 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
44,
46,
63,
12
] | 39 | [
"44+46=90",
"63-12=51",
"90-51=39"
] | Current State: 39:[44, 46, 63, 12], Operations: []
Exploring Operation: 44+46=90, Resulting Numbers: [63, 12, 90]
Generated Node #2: [63, 12, 90] from Operation: 44+46=90
Current State: 39:[63, 12, 90], Operations: ['44+46=90']
Exploring Operation: 63-12=51, Resulting Numbers: [90, 51]
Generated Node #3: [90, 51] from Operation: 63-12=51
Current State: 39:[90, 51], Operations: ['44+46=90', '63-12=51']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[44, 46, 63, 12], Operations: []
Exploring Operation: 63-46=17, Resulting Numbers: [44, 12, 17]
Generated Node #0,0: 39:[44, 12, 17] Operation: 63-46=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[44, 12, 17], Operations: ['63-46=17']
Exploring Operation: 17-12=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 39:[44, 5] Operation: 17-12=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[44, 5], Operations: ['63-46=17', '17-12=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[44, 46, 63, 12], Operations: []
Exploring Operation: 63-46=17, Resulting Numbers: [44, 12, 17]
Generated Node #0,0: 39:[44, 12, 17] Operation: 63-46=17
Moving to Node #0,0
Current State: 39:[44, 12, 17], Operations: ['63-46=17']
Exploring Operation: 17-12=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 39:[44, 5] Operation: 17-12=5
Moving to Node #0,0,0
Current State: 39:[44, 5], Operations: ['63-46=17', '17-12=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
42,
33,
76,
60
] | 25 | [
"42-33=9",
"76-60=16",
"9+16=25"
] | Current State: 25:[42, 33, 76, 60], Operations: []
Exploring Operation: 42-33=9, Resulting Numbers: [76, 60, 9]
Generated Node #2: [76, 60, 9] from Operation: 42-33=9
Current State: 25:[76, 60, 9], Operations: ['42-33=9']
Exploring Operation: 76-60=16, Resulting Numbers: [9, 16]
Generated Node #3: [9, 16] from Operation: 76-60=16
Current State: 25:[9, 16], Operations: ['42-33=9', '76-60=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[42, 33, 76, 60], Operations: []
Exploring Operation: 76-33=43, Resulting Numbers: [42, 60, 43]
Generated Node #0,0: 25:[42, 60, 43] Operation: 76-33=43
Exploring Operation: 76-42=34, Resulting Numbers: [33, 60, 34]
Generated Node #0,1: 25:[33, 60, 34] Operation: 76-42=34
Exploring Operation: 60-42=18, Resulting Numbers: [33, 76, 18]
Generated Node #0,2: 25:[33, 76, 18] Operation: 60-42=18
Exploring Operation: 76-60=16, Resulting Numbers: [42, 33, 16]
Generated Node #0,3: 25:[42, 33, 16] Operation: 76-60=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[42, 33, 16], Operations: ['76-60=16']
Exploring Operation: 33-16=17, Resulting Numbers: [42, 17]
Generated Node #0,3,0: 25:[42, 17] Operation: 33-16=17
Exploring Operation: 42-16=26, Resulting Numbers: [33, 26]
Generated Node #0,3,1: 25:[33, 26] Operation: 42-16=26
Exploring Operation: 42+16=58, Resulting Numbers: [33, 58]
Generated Node #0,3,2: 25:[33, 58] Operation: 42+16=58
Exploring Operation: 42-33=9, Resulting Numbers: [16, 9]
Generated Node #0,3,3: 25:[16, 9] Operation: 42-33=9
Moving to Node #0,3,1
Current State: 25:[33, 26], Operations: ['76-60=16', '42-16=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,25 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,25 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[16, 9], Operations: ['76-60=16', '42-33=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,25 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[42, 33, 76, 60], Operations: []
Exploring Operation: 76-60=16, Resulting Numbers: [42, 33, 16]
Generated Node #0,3: 25:[42, 33, 16] Operation: 76-60=16
Moving to Node #0,3
Current State: 25:[42, 33, 16], Operations: ['76-60=16']
Exploring Operation: 42-33=9, Resulting Numbers: [16, 9]
Generated Node #0,3,3: 25:[16, 9] Operation: 42-33=9
Moving to Node #0,3,3
Current State: 25:[16, 9], Operations: ['76-60=16', '42-33=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
16,
23,
22,
46
] | 14 | [
"16*23=368",
"368/46=8",
"22-8=14"
] | Current State: 14:[16, 23, 22, 46], Operations: []
Exploring Operation: 16*23=368, Resulting Numbers: [22, 46, 368]
Generated Node #2: [22, 46, 368] from Operation: 16*23=368
Current State: 14:[22, 46, 368], Operations: ['16*23=368']
Exploring Operation: 368/46=8, Resulting Numbers: [22, 8]
Generated Node #3: [22, 8] from Operation: 368/46=8
Current State: 14:[22, 8], Operations: ['16*23=368', '368/46=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[16, 23, 22, 46], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [16, 22, 2]
Generated Node #0,0: 14:[16, 22, 2] Operation: 46/23=2
Moving to Node #0,0
Current State: 14:[16, 22, 2], Operations: ['46/23=2']
Exploring Operation: 22-16=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 14:[2, 6] Operation: 22-16=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[2, 6], Operations: ['46/23=2', '22-16=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,14 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 |
[
62,
36,
89,
13
] | 50 | [
"62-36=26",
"89-13=76",
"76-26=50"
] | Current State: 50:[62, 36, 89, 13], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [89, 13, 26]
Generated Node #2: [89, 13, 26] from Operation: 62-36=26
Current State: 50:[89, 13, 26], Operations: ['62-36=26']
Exploring Operation: 89-13=76, Resulting Numbers: [26, 76]
Generated Node #3: [26, 76] from Operation: 89-13=76
Current State: 50:[26, 76], Operations: ['62-36=26', '89-13=76']
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[62, 36, 89, 13], Operations: []
Exploring Operation: 89-62=27, Resulting Numbers: [36, 13, 27]
Generated Node #0,0: 50:[36, 13, 27] Operation: 89-62=27
Moving to Node #0,0
Current State: 50:[36, 13, 27], Operations: ['89-62=27']
Exploring Operation: 36+13=49, Resulting Numbers: [27, 49]
Generated Node #0,0,0: 50:[27, 49] Operation: 36+13=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[27, 49], Operations: ['89-62=27', '36+13=49']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,50 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 |
[
15,
2,
6,
60
] | 16 | [
"60/15=4",
"2*6=12",
"4+12=16"
] | Current State: 16:[15, 2, 6, 60], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [2, 6, 4]
Generated Node #2: [2, 6, 4] from Operation: 60/15=4
Current State: 16:[2, 6, 4], Operations: ['60/15=4']
Exploring Operation: 2*6=12, Resulting Numbers: [4, 12]
Generated Node #3: [4, 12] from Operation: 2*6=12
Current State: 16:[4, 12], Operations: ['60/15=4', '2*6=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[15, 2, 6, 60], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [15, 6, 30]
Generated Node #0,0: 16:[15, 6, 30] Operation: 60/2=30
Exploring Operation: 60/6=10, Resulting Numbers: [15, 2, 10]
Generated Node #0,1: 16:[15, 2, 10] Operation: 60/6=10
Exploring Operation: 60/15=4, Resulting Numbers: [2, 6, 4]
Generated Node #0,2: 16:[2, 6, 4] Operation: 60/15=4
Moving to Node #0,2
Current State: 16:[2, 6, 4], Operations: ['60/15=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2, 2]
Generated Node #0,2,0: 16:[2, 2] Operation: 6-4=2
Exploring Operation: 2+6=8, Resulting Numbers: [4, 8]
Generated Node #0,2,1: 16:[4, 8] Operation: 2+6=8
Exploring Operation: 6-2=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 16:[4, 4] Operation: 6-2=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[2, 2], Operations: ['60/15=4', '6-4=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,16 unequal: No Solution
No 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: 16:[4, 8], Operations: ['60/15=4', '2+6=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No 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: 16:[4, 4], Operations: ['60/15=4', '6-2=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[15, 2, 6, 60], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [2, 6, 4]
Generated Node #0,2: 16:[2, 6, 4] Operation: 60/15=4
Moving to Node #0,2
Current State: 16:[2, 6, 4], Operations: ['60/15=4']
Exploring Operation: 6-2=4, Resulting Numbers: [4, 4]
Generated Node #0,2,2: 16:[4, 4] Operation: 6-2=4
Moving to Node #0,2,2
Current State: 16:[4, 4], Operations: ['60/15=4', '6-2=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
41,
22,
4,
52
] | 29 | [
"41-22=19",
"52-4=48",
"48-19=29"
] | Current State: 29:[41, 22, 4, 52], Operations: []
Exploring Operation: 41-22=19, Resulting Numbers: [4, 52, 19]
Generated Node #2: [4, 52, 19] from Operation: 41-22=19
Current State: 29:[4, 52, 19], Operations: ['41-22=19']
Exploring Operation: 52-4=48, Resulting Numbers: [19, 48]
Generated Node #3: [19, 48] from Operation: 52-4=48
Current State: 29:[19, 48], Operations: ['41-22=19', '52-4=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[41, 22, 4, 52], Operations: []
Exploring Operation: 52-22=30, Resulting Numbers: [41, 4, 30]
Generated Node #0,0: 29:[41, 4, 30] Operation: 52-22=30
Exploring Operation: 52/4=13, Resulting Numbers: [41, 22, 13]
Generated Node #0,1: 29:[41, 22, 13] Operation: 52/4=13
Exploring Operation: 52-4=48, Resulting Numbers: [41, 22, 48]
Generated Node #0,2: 29:[41, 22, 48] Operation: 52-4=48
Exploring Operation: 22+4=26, Resulting Numbers: [41, 52, 26]
Generated Node #0,3: 29:[41, 52, 26] Operation: 22+4=26
Exploring Operation: 41-4=37, Resulting Numbers: [22, 52, 37]
Generated Node #0,4: 29:[22, 52, 37] Operation: 41-4=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[41, 22, 13], Operations: ['52/4=13']
Exploring Operation: 22-13=9, Resulting Numbers: [41, 9]
Generated Node #0,1,0: 29:[41, 9] Operation: 22-13=9
Exploring Operation: 41-13=28, Resulting Numbers: [22, 28]
Generated Node #0,1,1: 29:[22, 28] Operation: 41-13=28
Exploring Operation: 41-22=19, Resulting Numbers: [13, 19]
Generated Node #0,1,2: 29:[13, 19] Operation: 41-22=19
Exploring Operation: 41+13=54, Resulting Numbers: [22, 54]
Generated Node #0,1,3: 29:[22, 54] Operation: 41+13=54
Exploring Operation: 22+13=35, Resulting Numbers: [41, 35]
Generated Node #0,1,4: 29:[41, 35] Operation: 22+13=35
Moving to Node #0,1,1
Current State: 29:[22, 28], Operations: ['52/4=13', '41-13=28']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,29 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[41, 35], Operations: ['52/4=13', '22+13=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[13, 19], Operations: ['52/4=13', '41-22=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,29 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[41, 9], Operations: ['52/4=13', '22-13=9']
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[22, 54], Operations: ['52/4=13', '41+13=54']
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,29 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,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
Current State: 29:[41, 4, 30], Operations: ['52-22=30']
Exploring Operation: 41-30=11, Resulting Numbers: [4, 11]
Generated Node #0,0,0: 29:[4, 11] Operation: 41-30=11
Exploring Operation: 4+30=34, Resulting Numbers: [41, 34]
Generated Node #0,0,1: 29:[41, 34] Operation: 4+30=34
Exploring Operation: 41-4=37, Resulting Numbers: [30, 37]
Generated Node #0,0,2: 29:[30, 37] Operation: 41-4=37
Exploring Operation: 30-4=26, Resulting Numbers: [41, 26]
Generated Node #0,0,3: 29:[41, 26] Operation: 30-4=26
Exploring Operation: 41+4=45, Resulting Numbers: [30, 45]
Generated Node #0,0,4: 29:[30, 45] Operation: 41+4=45
Moving to Node #0,0,2
Current State: 29:[30, 37], Operations: ['52-22=30', '41-4=37']
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,29 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[41, 26], Operations: ['52-22=30', '30-4=26']
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,29 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[41, 34], Operations: ['52-22=30', '4+30=34']
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,29 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,29 unequal: No Solution
Moving to Node #0,0,4
Current State: 29:[30, 45], Operations: ['52-22=30', '41+4=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,29 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[4, 11], Operations: ['52-22=30', '41-30=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,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
Current State: 29:[41, 22, 48], Operations: ['52-4=48']
Exploring Operation: 41+22=63, Resulting Numbers: [48, 63]
Generated Node #0,2,0: 29:[48, 63] Operation: 41+22=63
Exploring Operation: 48-22=26, Resulting Numbers: [41, 26]
Generated Node #0,2,1: 29:[41, 26] Operation: 48-22=26
Exploring Operation: 41-22=19, Resulting Numbers: [48, 19]
Generated Node #0,2,2: 29:[48, 19] Operation: 41-22=19
Exploring Operation: 22+48=70, Resulting Numbers: [41, 70]
Generated Node #0,2,3: 29:[41, 70] Operation: 22+48=70
Exploring Operation: 48-41=7, Resulting Numbers: [22, 7]
Generated Node #0,2,4: 29:[22, 7] Operation: 48-41=7
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 29:[41, 26], Operations: ['52-4=48', '48-22=26']
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[48, 19], Operations: ['52-4=48', '41-22=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[41, 22, 4, 52], Operations: []
Exploring Operation: 52-4=48, Resulting Numbers: [41, 22, 48]
Generated Node #0,2: 29:[41, 22, 48] Operation: 52-4=48
Moving to Node #0,2
Current State: 29:[41, 22, 48], Operations: ['52-4=48']
Exploring Operation: 41-22=19, Resulting Numbers: [48, 19]
Generated Node #0,2,2: 29:[48, 19] Operation: 41-22=19
Moving to Node #0,2,2
Current State: 29:[48, 19], Operations: ['52-4=48', '41-22=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
56,
10,
53,
37
] | 81 | [
"56-53=3",
"37-10=27",
"3*27=81"
] | Current State: 81:[56, 10, 53, 37], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [10, 37, 3]
Generated Node #2: [10, 37, 3] from Operation: 56-53=3
Current State: 81:[10, 37, 3], Operations: ['56-53=3']
Exploring Operation: 37-10=27, Resulting Numbers: [3, 27]
Generated Node #3: [3, 27] from Operation: 37-10=27
Current State: 81:[3, 27], Operations: ['56-53=3', '37-10=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[56, 10, 53, 37], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [10, 37, 3]
Generated Node #0,0: 81:[10, 37, 3] Operation: 56-53=3
Exploring Operation: 53-37=16, Resulting Numbers: [56, 10, 16]
Generated Node #0,1: 81:[56, 10, 16] Operation: 53-37=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[10, 37, 3], Operations: ['56-53=3']
Exploring Operation: 37-3=34, Resulting Numbers: [10, 34]
Generated Node #0,0,0: 81:[10, 34] Operation: 37-3=34
Exploring Operation: 37-10=27, Resulting Numbers: [3, 27]
Generated Node #0,0,1: 81:[3, 27] Operation: 37-10=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[3, 27], Operations: ['56-53=3', '37-10=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[56, 10, 53, 37], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [10, 37, 3]
Generated Node #0,0: 81:[10, 37, 3] Operation: 56-53=3
Moving to Node #0,0
Current State: 81:[10, 37, 3], Operations: ['56-53=3']
Exploring Operation: 37-10=27, Resulting Numbers: [3, 27]
Generated Node #0,0,1: 81:[3, 27] Operation: 37-10=27
Moving to Node #0,0,1
Current State: 81:[3, 27], Operations: ['56-53=3', '37-10=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
97,
3,
69,
84
] | 10 | [
"97-84=13",
"69/3=23",
"23-13=10"
] | Current State: 10:[97, 3, 69, 84], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [3, 69, 13]
Generated Node #2: [3, 69, 13] from Operation: 97-84=13
Current State: 10:[3, 69, 13], Operations: ['97-84=13']
Exploring Operation: 69/3=23, Resulting Numbers: [13, 23]
Generated Node #3: [13, 23] from Operation: 69/3=23
Current State: 10:[13, 23], Operations: ['97-84=13', '69/3=23']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[97, 3, 69, 84], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [3, 69, 13]
Generated Node #0,0: 10:[3, 69, 13] Operation: 97-84=13
Exploring Operation: 97-69=28, Resulting Numbers: [3, 84, 28]
Generated Node #0,1: 10:[3, 84, 28] Operation: 97-69=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[3, 69, 13], Operations: ['97-84=13']
Exploring Operation: 69/3=23, Resulting Numbers: [13, 23]
Generated Node #0,0,0: 10:[13, 23] Operation: 69/3=23
Exploring Operation: 69-13=56, Resulting Numbers: [3, 56]
Generated Node #0,0,1: 10:[3, 56] Operation: 69-13=56
Moving to Node #0,0,0
Current State: 10:[13, 23], Operations: ['97-84=13', '69/3=23']
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[97, 3, 69, 84], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [3, 69, 13]
Generated Node #0,0: 10:[3, 69, 13] Operation: 97-84=13
Moving to Node #0,0
Current State: 10:[3, 69, 13], Operations: ['97-84=13']
Exploring Operation: 69/3=23, Resulting Numbers: [13, 23]
Generated Node #0,0,0: 10:[13, 23] Operation: 69/3=23
Moving to Node #0,0,0
Current State: 10:[13, 23], Operations: ['97-84=13', '69/3=23']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
3,
81,
44,
77
] | 34 | [
"81-44=37",
"3*37=111",
"111-77=34"
] | Current State: 34:[3, 81, 44, 77], Operations: []
Exploring Operation: 81-44=37, Resulting Numbers: [3, 77, 37]
Generated Node #2: [3, 77, 37] from Operation: 81-44=37
Current State: 34:[3, 77, 37], Operations: ['81-44=37']
Exploring Operation: 3*37=111, Resulting Numbers: [77, 111]
Generated Node #3: [77, 111] from Operation: 3*37=111
Current State: 34:[77, 111], Operations: ['81-44=37', '3*37=111']
Exploring Operation: 111-77=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[3, 81, 44, 77], Operations: []
Exploring Operation: 77-44=33, Resulting Numbers: [3, 81, 33]
Generated Node #0,0: 34:[3, 81, 33] Operation: 77-44=33
Exploring Operation: 81-77=4, Resulting Numbers: [3, 44, 4]
Generated Node #0,1: 34:[3, 44, 4] Operation: 81-77=4
Exploring Operation: 81-44=37, Resulting Numbers: [3, 77, 37]
Generated Node #0,2: 34:[3, 77, 37] Operation: 81-44=37
Moving to Node #0,1
Current State: 34:[3, 44, 4], Operations: ['81-77=4']
Exploring Operation: 44-4=40, Resulting Numbers: [3, 40]
Generated Node #0,1,0: 34:[3, 40] Operation: 44-4=40
Exploring Operation: 44-3=41, Resulting Numbers: [4, 41]
Generated Node #0,1,1: 34:[4, 41] Operation: 44-3=41
Exploring Operation: 44/4=11, Resulting Numbers: [3, 11]
Generated Node #0,1,2: 34:[3, 11] Operation: 44/4=11
Moving to Node #0,2
Current State: 34:[3, 77, 37], Operations: ['81-44=37']
Exploring Operation: 37-3=34, Resulting Numbers: [77, 34]
Generated Node #0,2,0: 34:[77, 34] Operation: 37-3=34
Exploring Operation: 77-3=74, Resulting Numbers: [37, 74]
Generated Node #0,2,1: 34:[37, 74] Operation: 77-3=74
Exploring Operation: 77-37=40, Resulting Numbers: [3, 40]
Generated Node #0,2,2: 34:[3, 40] Operation: 77-37=40
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[3, 40], Operations: ['81-44=37', '77-37=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,34 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[77, 34], Operations: ['81-44=37', '37-3=34']
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,34 unequal: No Solution
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,34 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[37, 74], Operations: ['81-44=37', '77-3=74']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 37+74=111, Resulting Numbers: [111]
111,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 34:[3, 81, 33], Operations: ['77-44=33']
Exploring Operation: 81-33=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 34:[3, 48] Operation: 81-33=48
Exploring Operation: 81-3=78, Resulting Numbers: [33, 78]
Generated Node #0,0,1: 34:[33, 78] Operation: 81-3=78
Exploring Operation: 81/3=27, Resulting Numbers: [33, 27]
Generated Node #0,0,2: 34:[33, 27] Operation: 81/3=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[33, 27], Operations: ['77-44=33', '81/3=27']
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,34 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,34 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[3, 48], Operations: ['77-44=33', '81-33=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[33, 78], Operations: ['77-44=33', '81-3=78']
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,34 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,34 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: 34:[3, 40], Operations: ['81-77=4', '44-4=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,34 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[3, 11], Operations: ['81-77=4', '44/4=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[4, 41], Operations: ['81-77=4', '44-3=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,34 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
39,
65,
36,
2
] | 88 | [
"39+65=104",
"104/2=52",
"36+52=88"
] | Current State: 88:[39, 65, 36, 2], Operations: []
Exploring Operation: 39+65=104, Resulting Numbers: [36, 2, 104]
Generated Node #2: [36, 2, 104] from Operation: 39+65=104
Current State: 88:[36, 2, 104], Operations: ['39+65=104']
Exploring Operation: 104/2=52, Resulting Numbers: [36, 52]
Generated Node #3: [36, 52] from Operation: 104/2=52
Current State: 88:[36, 52], Operations: ['39+65=104', '104/2=52']
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[39, 65, 36, 2], Operations: []
Exploring Operation: 65+36=101, Resulting Numbers: [39, 2, 101]
Generated Node #0,0: 88:[39, 2, 101] Operation: 65+36=101
Exploring Operation: 65-36=29, Resulting Numbers: [39, 2, 29]
Generated Node #0,1: 88:[39, 2, 29] Operation: 65-36=29
Exploring Operation: 39+65=104, Resulting Numbers: [36, 2, 104]
Generated Node #0,2: 88:[36, 2, 104] Operation: 39+65=104
Exploring Operation: 39-36=3, Resulting Numbers: [65, 2, 3]
Generated Node #0,3: 88:[65, 2, 3] Operation: 39-36=3
Exploring Operation: 65-39=26, Resulting Numbers: [36, 2, 26]
Generated Node #0,4: 88:[36, 2, 26] Operation: 65-39=26
Moving to Node #0,1
Current State: 88:[39, 2, 29], Operations: ['65-36=29']
Exploring Operation: 39-2=37, Resulting Numbers: [29, 37]
Generated Node #0,1,0: 88:[29, 37] Operation: 39-2=37
Exploring Operation: 39-29=10, Resulting Numbers: [2, 10]
Generated Node #0,1,1: 88:[2, 10] Operation: 39-29=10
Exploring Operation: 39+2=41, Resulting Numbers: [29, 41]
Generated Node #0,1,2: 88:[29, 41] Operation: 39+2=41
Exploring Operation: 2+29=31, Resulting Numbers: [39, 31]
Generated Node #0,1,3: 88:[39, 31] Operation: 2+29=31
Exploring Operation: 29-2=27, Resulting Numbers: [39, 27]
Generated Node #0,1,4: 88:[39, 27] Operation: 29-2=27
Moving to Node #0,4
Current State: 88:[36, 2, 26], Operations: ['65-39=26']
Exploring Operation: 26/2=13, Resulting Numbers: [36, 13]
Generated Node #0,4,0: 88:[36, 13] Operation: 26/2=13
Exploring Operation: 36/2=18, Resulting Numbers: [26, 18]
Generated Node #0,4,1: 88:[26, 18] Operation: 36/2=18
Exploring Operation: 26-2=24, Resulting Numbers: [36, 24]
Generated Node #0,4,2: 88:[36, 24] Operation: 26-2=24
Exploring Operation: 36+2=38, Resulting Numbers: [26, 38]
Generated Node #0,4,3: 88:[26, 38] Operation: 36+2=38
Exploring Operation: 36-26=10, Resulting Numbers: [2, 10]
Generated Node #0,4,4: 88:[2, 10] Operation: 36-26=10
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 88:[2, 10], Operations: ['65-39=26', '36-26=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 88:[26, 18], Operations: ['65-39=26', '36/2=18']
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,88 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 88:[36, 13], Operations: ['65-39=26', '26/2=13']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 88:[36, 24], Operations: ['65-39=26', '26-2=24']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,88 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 88:[26, 38], Operations: ['65-39=26', '36+2=38']
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,88 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,88 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 88:[39, 2, 101], Operations: ['65+36=101']
Exploring Operation: 39+2=41, Resulting Numbers: [101, 41]
Generated Node #0,0,0: 88:[101, 41] Operation: 39+2=41
Exploring Operation: 101-39=62, Resulting Numbers: [2, 62]
Generated Node #0,0,1: 88:[2, 62] Operation: 101-39=62
Exploring Operation: 39-2=37, Resulting Numbers: [101, 37]
Generated Node #0,0,2: 88:[101, 37] Operation: 39-2=37
Exploring Operation: 101-2=99, Resulting Numbers: [39, 99]
Generated Node #0,0,3: 88:[39, 99] Operation: 101-2=99
Exploring Operation: 2+101=103, Resulting Numbers: [39, 103]
Generated Node #0,0,4: 88:[39, 103] Operation: 2+101=103
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[101, 41], Operations: ['65+36=101', '39+2=41']
Exploring Operation: 101+41=142, Resulting Numbers: [142]
142,88 unequal: No Solution
Exploring Operation: 101*41=4141, Resulting Numbers: [4141]
4141,88 unequal: No Solution
Exploring Operation: 101-41=60, Resulting Numbers: [60]
60,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[39, 99], Operations: ['65+36=101', '101-2=99']
Exploring Operation: 39*99=3861, Resulting Numbers: [3861]
3861,88 unequal: No Solution
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 39+99=138, Resulting Numbers: [138]
138,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[2, 62], Operations: ['65+36=101', '101-39=62']
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,88 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[101, 37], Operations: ['65+36=101', '39-2=37']
Exploring Operation: 101-37=64, Resulting Numbers: [64]
64,88 unequal: No Solution
Exploring Operation: 101*37=3737, Resulting Numbers: [3737]
3737,88 unequal: No Solution
Exploring Operation: 101+37=138, Resulting Numbers: [138]
138,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[39, 103], Operations: ['65+36=101', '2+101=103']
Exploring Operation: 39+103=142, Resulting Numbers: [142]
142,88 unequal: No Solution
Exploring Operation: 39*103=4017, Resulting Numbers: [4017]
4017,88 unequal: No Solution
Exploring Operation: 103-39=64, Resulting Numbers: [64]
64,88 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: 88:[65, 2, 3], Operations: ['39-36=3']
Exploring Operation: 65+3=68, Resulting Numbers: [2, 68]
Generated Node #0,3,0: 88:[2, 68] Operation: 65+3=68
Exploring Operation: 65-2=63, Resulting Numbers: [3, 63]
Generated Node #0,3,1: 88:[3, 63] Operation: 65-2=63
Exploring Operation: 2+3=5, Resulting Numbers: [65, 5]
Generated Node #0,3,2: 88:[65, 5] Operation: 2+3=5
Exploring Operation: 65-3=62, Resulting Numbers: [2, 62]
Generated Node #0,3,3: 88:[2, 62] Operation: 65-3=62
Exploring Operation: 65+2=67, Resulting Numbers: [3, 67]
Generated Node #0,3,4: 88:[3, 67] Operation: 65+2=67
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[2, 62], Operations: ['39-36=3', '65-3=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,88 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[2, 68], Operations: ['39-36=3', '65+3=68']
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,88 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[3, 63], Operations: ['39-36=3', '65-2=63']
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,88 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[65, 5], Operations: ['39-36=3', '2+3=5']
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,88 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 88:[3, 67], Operations: ['39-36=3', '65+2=67']
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,88 unequal: No Solution
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 88:[36, 2, 104], Operations: ['39+65=104']
Exploring Operation: 104-36=68, Resulting Numbers: [2, 68]
Generated Node #0,2,0: 88:[2, 68] Operation: 104-36=68
Exploring Operation: 104-2=102, Resulting Numbers: [36, 102]
Generated Node #0,2,1: 88:[36, 102] Operation: 104-2=102
Exploring Operation: 104/2=52, Resulting Numbers: [36, 52]
Generated Node #0,2,2: 88:[36, 52] Operation: 104/2=52
Exploring Operation: 36/2=18, Resulting Numbers: [104, 18]
Generated Node #0,2,3: 88:[104, 18] Operation: 36/2=18
Exploring Operation: 36+2=38, Resulting Numbers: [104, 38]
Generated Node #0,2,4: 88:[104, 38] Operation: 36+2=38
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[36, 52], Operations: ['39+65=104', '104/2=52']
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[39, 65, 36, 2], Operations: []
Exploring Operation: 39+65=104, Resulting Numbers: [36, 2, 104]
Generated Node #0,2: 88:[36, 2, 104] Operation: 39+65=104
Moving to Node #0,2
Current State: 88:[36, 2, 104], Operations: ['39+65=104']
Exploring Operation: 104/2=52, Resulting Numbers: [36, 52]
Generated Node #0,2,2: 88:[36, 52] Operation: 104/2=52
Moving to Node #0,2,2
Current State: 88:[36, 52], Operations: ['39+65=104', '104/2=52']
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.925347 | hs_5 | sum_heuristic |
[
67,
50,
74,
16
] | 74 | [
"67-50=17",
"17-16=1",
"74*1=74"
] | Current State: 74:[67, 50, 74, 16], Operations: []
Exploring Operation: 67-50=17, Resulting Numbers: [74, 16, 17]
Generated Node #2: [74, 16, 17] from Operation: 67-50=17
Current State: 74:[74, 16, 17], Operations: ['67-50=17']
Exploring Operation: 17-16=1, Resulting Numbers: [74, 1]
Generated Node #3: [74, 1] from Operation: 17-16=1
Current State: 74:[74, 1], Operations: ['67-50=17', '17-16=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[67, 50, 74, 16], Operations: []
Exploring Operation: 50-16=34, Resulting Numbers: [67, 74, 34]
Generated Node #0,0: 74:[67, 74, 34] Operation: 50-16=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[67, 74, 34], Operations: ['50-16=34']
Exploring Operation: 67-34=33, Resulting Numbers: [74, 33]
Generated Node #0,0,0: 74:[74, 33] Operation: 67-34=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[74, 33], Operations: ['50-16=34', '67-34=33']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
77,
36,
65,
70
] | 73 | [
"77-65=12",
"36/12=3",
"70+3=73"
] | Current State: 73:[77, 36, 65, 70], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [36, 70, 12]
Generated Node #2: [36, 70, 12] from Operation: 77-65=12
Current State: 73:[36, 70, 12], Operations: ['77-65=12']
Exploring Operation: 36/12=3, Resulting Numbers: [70, 3]
Generated Node #3: [70, 3] from Operation: 36/12=3
Current State: 73:[70, 3], Operations: ['77-65=12', '36/12=3']
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[77, 36, 65, 70], Operations: []
Exploring Operation: 36+65=101, Resulting Numbers: [77, 70, 101]
Generated Node #0,0: 73:[77, 70, 101] Operation: 36+65=101
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[77, 70, 101], Operations: ['36+65=101']
Exploring Operation: 101-70=31, Resulting Numbers: [77, 31]
Generated Node #0,0,0: 73:[77, 31] Operation: 101-70=31
Moving to Node #0,0,0
Current State: 73:[77, 31], Operations: ['36+65=101', '101-70=31']
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,73 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 |
[
60,
64,
47,
45
] | 56 | [
"47-45=2",
"60*2=120",
"120-64=56"
] | Current State: 56:[60, 64, 47, 45], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [60, 64, 2]
Generated Node #2: [60, 64, 2] from Operation: 47-45=2
Current State: 56:[60, 64, 2], Operations: ['47-45=2']
Exploring Operation: 60*2=120, Resulting Numbers: [64, 120]
Generated Node #3: [64, 120] from Operation: 60*2=120
Current State: 56:[64, 120], Operations: ['47-45=2', '60*2=120']
Exploring Operation: 120-64=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[60, 64, 47, 45], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [60, 64, 2]
Generated Node #0,0: 56:[60, 64, 2] Operation: 47-45=2
Moving to Node #0,0
Current State: 56:[60, 64, 2], Operations: ['47-45=2']
Exploring Operation: 64-60=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 56:[2, 4] Operation: 64-60=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[2, 4], Operations: ['47-45=2', '64-60=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,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 |
[
90,
83,
39,
66
] | 68 | [
"90+83=173",
"39+66=105",
"173-105=68"
] | Current State: 68:[90, 83, 39, 66], Operations: []
Exploring Operation: 90+83=173, Resulting Numbers: [39, 66, 173]
Generated Node #2: [39, 66, 173] from Operation: 90+83=173
Current State: 68:[39, 66, 173], Operations: ['90+83=173']
Exploring Operation: 39+66=105, Resulting Numbers: [173, 105]
Generated Node #3: [173, 105] from Operation: 39+66=105
Current State: 68:[173, 105], Operations: ['90+83=173', '39+66=105']
Exploring Operation: 173-105=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[90, 83, 39, 66], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [83, 39, 24]
Generated Node #0,0: 68:[83, 39, 24] Operation: 90-66=24
Exploring Operation: 90-83=7, Resulting Numbers: [39, 66, 7]
Generated Node #0,1: 68:[39, 66, 7] Operation: 90-83=7
Moving to Node #0,1
Current State: 68:[39, 66, 7], Operations: ['90-83=7']
Exploring Operation: 66-39=27, Resulting Numbers: [7, 27]
Generated Node #0,1,0: 68:[7, 27] Operation: 66-39=27
Exploring Operation: 39-7=32, Resulting Numbers: [66, 32]
Generated Node #0,1,1: 68:[66, 32] Operation: 39-7=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[66, 32], Operations: ['90-83=7', '39-7=32']
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,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,1,0
Current State: 68:[7, 27], Operations: ['90-83=7', '66-39=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,68 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: 68:[83, 39, 24], Operations: ['90-66=24']
Exploring Operation: 83-24=59, Resulting Numbers: [39, 59]
Generated Node #0,0,0: 68:[39, 59] Operation: 83-24=59
Exploring Operation: 83-39=44, Resulting Numbers: [24, 44]
Generated Node #0,0,1: 68:[24, 44] Operation: 83-39=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[39, 59], Operations: ['90-66=24', '83-24=59']
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,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:[24, 44], Operations: ['90-66=24', '83-39=44']
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[90, 83, 39, 66], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [83, 39, 24]
Generated Node #0,0: 68:[83, 39, 24] Operation: 90-66=24
Moving to Node #0,0
Current State: 68:[83, 39, 24], Operations: ['90-66=24']
Exploring Operation: 83-39=44, Resulting Numbers: [24, 44]
Generated Node #0,0,1: 68:[24, 44] Operation: 83-39=44
Moving to Node #0,0,1
Current State: 68:[24, 44], Operations: ['90-66=24', '83-39=44']
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
16,
80,
79,
2
] | 55 | [
"16+79=95",
"80/2=40",
"95-40=55"
] | Current State: 55:[16, 80, 79, 2], Operations: []
Exploring Operation: 16+79=95, Resulting Numbers: [80, 2, 95]
Generated Node #2: [80, 2, 95] from Operation: 16+79=95
Current State: 55:[80, 2, 95], Operations: ['16+79=95']
Exploring Operation: 80/2=40, Resulting Numbers: [95, 40]
Generated Node #3: [95, 40] from Operation: 80/2=40
Current State: 55:[95, 40], Operations: ['16+79=95', '80/2=40']
Exploring Operation: 95-40=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[16, 80, 79, 2], Operations: []
Exploring Operation: 80/16=5, Resulting Numbers: [79, 2, 5]
Generated Node #0,0: 55:[79, 2, 5] Operation: 80/16=5
Exploring Operation: 80-79=1, Resulting Numbers: [16, 2, 1]
Generated Node #0,1: 55:[16, 2, 1] Operation: 80-79=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[16, 2, 1], Operations: ['80-79=1']
Exploring Operation: 16/2=8, Resulting Numbers: [1, 8]
Generated Node #0,1,0: 55:[1, 8] Operation: 16/2=8
Exploring Operation: 16-2=14, Resulting Numbers: [1, 14]
Generated Node #0,1,1: 55:[1, 14] Operation: 16-2=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[1, 8], Operations: ['80-79=1', '16/2=8']
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,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,1
Current State: 55:[1, 14], Operations: ['80-79=1', '16-2=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[79, 2, 5], Operations: ['80/16=5']
Exploring Operation: 79-2=77, Resulting Numbers: [5, 77]
Generated Node #0,0,0: 55:[5, 77] Operation: 79-2=77
Exploring Operation: 79-5=74, Resulting Numbers: [2, 74]
Generated Node #0,0,1: 55:[2, 74] Operation: 79-5=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[5, 77], Operations: ['80/16=5', '79-2=77']
Exploring Operation: 5+77=82, Resulting Numbers: [82]
82,55 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,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,0,1
Current State: 55:[2, 74], Operations: ['80/16=5', '79-5=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,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 | mult_heuristic |
[
36,
91,
52,
67
] | 64 | [
"91-36=55",
"52+67=119",
"119-55=64"
] | Current State: 64:[36, 91, 52, 67], Operations: []
Exploring Operation: 91-36=55, Resulting Numbers: [52, 67, 55]
Generated Node #2: [52, 67, 55] from Operation: 91-36=55
Current State: 64:[52, 67, 55], Operations: ['91-36=55']
Exploring Operation: 52+67=119, Resulting Numbers: [55, 119]
Generated Node #3: [55, 119] from Operation: 52+67=119
Current State: 64:[55, 119], Operations: ['91-36=55', '52+67=119']
Exploring Operation: 119-55=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[36, 91, 52, 67], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [36, 67, 39]
Generated Node #0,0: 64:[36, 67, 39] Operation: 91-52=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[36, 67, 39], Operations: ['91-52=39']
Exploring Operation: 39-36=3, Resulting Numbers: [67, 3]
Generated Node #0,0,0: 64:[67, 3] Operation: 39-36=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[67, 3], Operations: ['91-52=39', '39-36=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[36, 91, 52, 67], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [36, 67, 39]
Generated Node #0,0: 64:[36, 67, 39] Operation: 91-52=39
Moving to Node #0,0
Current State: 64:[36, 67, 39], Operations: ['91-52=39']
Exploring Operation: 39-36=3, Resulting Numbers: [67, 3]
Generated Node #0,0,0: 64:[67, 3] Operation: 39-36=3
Moving to Node #0,0,0
Current State: 64:[67, 3], Operations: ['91-52=39', '39-36=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
24,
87,
80,
95
] | 17 | [
"24+95=119",
"87-80=7",
"119/7=17"
] | Current State: 17:[24, 87, 80, 95], Operations: []
Exploring Operation: 24+95=119, Resulting Numbers: [87, 80, 119]
Generated Node #2: [87, 80, 119] from Operation: 24+95=119
Current State: 17:[87, 80, 119], Operations: ['24+95=119']
Exploring Operation: 87-80=7, Resulting Numbers: [119, 7]
Generated Node #3: [119, 7] from Operation: 87-80=7
Current State: 17:[119, 7], Operations: ['24+95=119', '87-80=7']
Exploring Operation: 119/7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[24, 87, 80, 95], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [24, 87, 15]
Generated Node #0,0: 17:[24, 87, 15] Operation: 95-80=15
Exploring Operation: 87-80=7, Resulting Numbers: [24, 95, 7]
Generated Node #0,1: 17:[24, 95, 7] Operation: 87-80=7
Exploring Operation: 87-24=63, Resulting Numbers: [80, 95, 63]
Generated Node #0,2: 17:[80, 95, 63] Operation: 87-24=63
Exploring Operation: 95-87=8, Resulting Numbers: [24, 80, 8]
Generated Node #0,3: 17:[24, 80, 8] Operation: 95-87=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[24, 87, 15], Operations: ['95-80=15']
Exploring Operation: 24-15=9, Resulting Numbers: [87, 9]
Generated Node #0,0,0: 17:[87, 9] Operation: 24-15=9
Exploring Operation: 87-15=72, Resulting Numbers: [24, 72]
Generated Node #0,0,1: 17:[24, 72] Operation: 87-15=72
Exploring Operation: 87-24=63, Resulting Numbers: [15, 63]
Generated Node #0,0,2: 17:[15, 63] Operation: 87-24=63
Exploring Operation: 24+15=39, Resulting Numbers: [87, 39]
Generated Node #0,0,3: 17:[87, 39] Operation: 24+15=39
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 17:[15, 63], Operations: ['95-80=15', '87-24=63']
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,17 unequal: No Solution
No 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: 17:[24, 72], Operations: ['95-80=15', '87-15=72']
Exploring Operation: 24*72=1728, Resulting Numbers: [1728]
1728,17 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,17 unequal: No Solution
No 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: 17:[87, 9], Operations: ['95-80=15', '24-15=9']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Exploring Operation: 87*9=783, Resulting Numbers: [783]
783,17 unequal: No Solution
No 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: 17:[87, 39], Operations: ['95-80=15', '24+15=39']
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,17 unequal: No Solution
Exploring Operation: 87*39=3393, Resulting Numbers: [3393]
3393,17 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: 17:[24, 80, 8], Operations: ['95-87=8']
Exploring Operation: 80-8=72, Resulting Numbers: [24, 72]
Generated Node #0,3,0: 17:[24, 72] Operation: 80-8=72
Exploring Operation: 80/8=10, Resulting Numbers: [24, 10]
Generated Node #0,3,1: 17:[24, 10] Operation: 80/8=10
Exploring Operation: 80-24=56, Resulting Numbers: [8, 56]
Generated Node #0,3,2: 17:[8, 56] Operation: 80-24=56
Exploring Operation: 24-8=16, Resulting Numbers: [80, 16]
Generated Node #0,3,3: 17:[80, 16] Operation: 24-8=16
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 17:[24, 10], Operations: ['95-87=8', '80/8=10']
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,17 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,17 unequal: No Solution
No 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: 17:[8, 56], Operations: ['95-87=8', '80-24=56']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 8*56=448, Resulting Numbers: [448]
448,17 unequal: No Solution
Exploring Operation: 8+56=64, Resulting Numbers: [64]
64,17 unequal: No Solution
No 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: 17:[24, 72], Operations: ['95-87=8', '80-8=72']
Exploring Operation: 24*72=1728, Resulting Numbers: [1728]
1728,17 unequal: No Solution
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,17 unequal: No Solution
No 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: 17:[80, 16], Operations: ['95-87=8', '24-8=16']
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,17 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: 17:[24, 95, 7], Operations: ['87-80=7']
Exploring Operation: 24+7=31, Resulting Numbers: [95, 31]
Generated Node #0,1,0: 17:[95, 31] Operation: 24+7=31
Exploring Operation: 95-7=88, Resulting Numbers: [24, 88]
Generated Node #0,1,1: 17:[24, 88] Operation: 95-7=88
Exploring Operation: 95-24=71, Resulting Numbers: [7, 71]
Generated Node #0,1,2: 17:[7, 71] Operation: 95-24=71
Exploring Operation: 24-7=17, Resulting Numbers: [95, 17]
Generated Node #0,1,3: 17:[95, 17] Operation: 24-7=17
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 17:[7, 71], Operations: ['87-80=7', '95-24=71']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 7*71=497, Resulting Numbers: [497]
497,17 unequal: No Solution
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,17 unequal: No Solution
No 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: 17:[24, 88], Operations: ['87-80=7', '95-7=88']
Exploring Operation: 24+88=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 24*88=2112, Resulting Numbers: [2112]
2112,17 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,17 unequal: No Solution
No 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: 17:[95, 17], Operations: ['87-80=7', '24-7=17']
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 95+17=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 95*17=1615, Resulting Numbers: [1615]
1615,17 unequal: No Solution
No 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: 17:[95, 31], Operations: ['87-80=7', '24+7=31']
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 95+31=126, Resulting Numbers: [126]
126,17 unequal: No Solution
Exploring Operation: 95*31=2945, Resulting Numbers: [2945]
2945,17 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: 17:[80, 95, 63], Operations: ['87-24=63']
Exploring Operation: 80+95=175, Resulting Numbers: [63, 175]
Generated Node #0,2,0: 17:[63, 175] Operation: 80+95=175
Exploring Operation: 95-63=32, Resulting Numbers: [80, 32]
Generated Node #0,2,1: 17:[80, 32] Operation: 95-63=32
Exploring Operation: 95-80=15, Resulting Numbers: [63, 15]
Generated Node #0,2,2: 17:[63, 15] Operation: 95-80=15
Exploring Operation: 80-63=17, Resulting Numbers: [95, 17]
Generated Node #0,2,3: 17:[95, 17] Operation: 80-63=17
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 17:[63, 15], Operations: ['87-24=63', '95-80=15']
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,17 unequal: No Solution
No 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: 17:[80, 32], Operations: ['87-24=63', '95-63=32']
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 80*32=2560, Resulting Numbers: [2560]
2560,17 unequal: No Solution
Exploring Operation: 80+32=112, Resulting Numbers: [112]
112,17 unequal: No Solution
No 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: 17:[95, 17], Operations: ['87-24=63', '80-63=17']
Exploring Operation: 95+17=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 95*17=1615, Resulting Numbers: [1615]
1615,17 unequal: No Solution
No 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: 17:[63, 175], Operations: ['87-24=63', '80+95=175']
Exploring Operation: 63*175=11025, Resulting Numbers: [11025]
11025,17 unequal: No Solution
Exploring Operation: 63+175=238, Resulting Numbers: [238]
238,17 unequal: No Solution
Exploring Operation: 175-63=112, Resulting Numbers: [112]
112,17 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 |
[
21,
74,
25,
76
] | 23 | [
"21+25=46",
"76-74=2",
"46/2=23"
] | Current State: 23:[21, 74, 25, 76], Operations: []
Exploring Operation: 21+25=46, Resulting Numbers: [74, 76, 46]
Generated Node #2: [74, 76, 46] from Operation: 21+25=46
Current State: 23:[74, 76, 46], Operations: ['21+25=46']
Exploring Operation: 76-74=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 76-74=2
Current State: 23:[46, 2], Operations: ['21+25=46', '76-74=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[21, 74, 25, 76], Operations: []
Exploring Operation: 74-21=53, Resulting Numbers: [25, 76, 53]
Generated Node #0,0: 23:[25, 76, 53] Operation: 74-21=53
Exploring Operation: 74-25=49, Resulting Numbers: [21, 76, 49]
Generated Node #0,1: 23:[21, 76, 49] Operation: 74-25=49
Exploring Operation: 76-74=2, Resulting Numbers: [21, 25, 2]
Generated Node #0,2: 23:[21, 25, 2] Operation: 76-74=2
Exploring Operation: 76-21=55, Resulting Numbers: [74, 25, 55]
Generated Node #0,3: 23:[74, 25, 55] Operation: 76-21=55
Exploring Operation: 76-25=51, Resulting Numbers: [21, 74, 51]
Generated Node #0,4: 23:[21, 74, 51] Operation: 76-25=51
Moving to Node #0,2
Current State: 23:[21, 25, 2], Operations: ['76-74=2']
Exploring Operation: 21+2=23, Resulting Numbers: [25, 23]
Generated Node #0,2,0: 23:[25, 23] Operation: 21+2=23
Exploring Operation: 21-2=19, Resulting Numbers: [25, 19]
Generated Node #0,2,1: 23:[25, 19] Operation: 21-2=19
Exploring Operation: 21*2=42, Resulting Numbers: [25, 42]
Generated Node #0,2,2: 23:[25, 42] Operation: 21*2=42
Exploring Operation: 25-2=23, Resulting Numbers: [21, 23]
Generated Node #0,2,3: 23:[21, 23] Operation: 25-2=23
Exploring Operation: 25+2=27, Resulting Numbers: [21, 27]
Generated Node #0,2,4: 23:[21, 27] Operation: 25+2=27
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[25, 23], Operations: ['76-74=2', '21+2=23']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,23 unequal: No Solution
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[21, 23], Operations: ['76-74=2', '25-2=23']
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,23 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[25, 19], Operations: ['76-74=2', '21-2=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,23 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 23:[21, 27], Operations: ['76-74=2', '25+2=27']
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,23 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[25, 42], Operations: ['76-74=2', '21*2=42']
Exploring Operation: 25*42=1050, Resulting Numbers: [1050]
1050,23 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 23:[21, 74, 51], Operations: ['76-25=51']
Exploring Operation: 74-21=53, Resulting Numbers: [51, 53]
Generated Node #0,4,0: 23:[51, 53] Operation: 74-21=53
Exploring Operation: 74-51=23, Resulting Numbers: [21, 23]
Generated Node #0,4,1: 23:[21, 23] Operation: 74-51=23
Exploring Operation: 21+74=95, Resulting Numbers: [51, 95]
Generated Node #0,4,2: 23:[51, 95] Operation: 21+74=95
Exploring Operation: 51-21=30, Resulting Numbers: [74, 30]
Generated Node #0,4,3: 23:[74, 30] Operation: 51-21=30
Exploring Operation: 21+51=72, Resulting Numbers: [74, 72]
Generated Node #0,4,4: 23:[74, 72] Operation: 21+51=72
Moving to Node #0,1
Current State: 23:[21, 76, 49], Operations: ['74-25=49']
Exploring Operation: 76-49=27, Resulting Numbers: [21, 27]
Generated Node #0,1,0: 23:[21, 27] Operation: 76-49=27
Exploring Operation: 21+49=70, Resulting Numbers: [76, 70]
Generated Node #0,1,1: 23:[76, 70] Operation: 21+49=70
Exploring Operation: 76-21=55, Resulting Numbers: [49, 55]
Generated Node #0,1,2: 23:[49, 55] Operation: 76-21=55
Exploring Operation: 49-21=28, Resulting Numbers: [76, 28]
Generated Node #0,1,3: 23:[76, 28] Operation: 49-21=28
Exploring Operation: 21+76=97, Resulting Numbers: [49, 97]
Generated Node #0,1,4: 23:[49, 97] Operation: 21+76=97
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[21, 27], Operations: ['74-25=49', '76-49=27']
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,23 unequal: No Solution
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[49, 55], Operations: ['74-25=49', '76-21=55']
Exploring Operation: 49*55=2695, Resulting Numbers: [2695]
2695,23 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 49+55=104, Resulting Numbers: [104]
104,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[76, 28], Operations: ['74-25=49', '49-21=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,23 unequal: No Solution
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[76, 70], Operations: ['74-25=49', '21+49=70']
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 76*70=5320, Resulting Numbers: [5320]
5320,23 unequal: No Solution
Exploring Operation: 76+70=146, Resulting Numbers: [146]
146,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 23:[49, 97], Operations: ['74-25=49', '21+76=97']
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 49*97=4753, Resulting Numbers: [4753]
4753,23 unequal: No Solution
Exploring Operation: 49+97=146, Resulting Numbers: [146]
146,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 23:[25, 76, 53], Operations: ['74-21=53']
Exploring Operation: 76-25=51, Resulting Numbers: [53, 51]
Generated Node #0,0,0: 23:[53, 51] Operation: 76-25=51
Exploring Operation: 25+76=101, Resulting Numbers: [53, 101]
Generated Node #0,0,1: 23:[53, 101] Operation: 25+76=101
Exploring Operation: 76-53=23, Resulting Numbers: [25, 23]
Generated Node #0,0,2: 23:[25, 23] Operation: 76-53=23
Exploring Operation: 25+53=78, Resulting Numbers: [76, 78]
Generated Node #0,0,3: 23:[76, 78] Operation: 25+53=78
Exploring Operation: 53-25=28, Resulting Numbers: [76, 28]
Generated Node #0,0,4: 23:[76, 28] Operation: 53-25=28
Moving to Node #0,3
Current State: 23:[74, 25, 55], Operations: ['76-21=55']
Exploring Operation: 74-55=19, Resulting Numbers: [25, 19]
Generated Node #0,3,0: 23:[25, 19] Operation: 74-55=19
Exploring Operation: 74+25=99, Resulting Numbers: [55, 99]
Generated Node #0,3,1: 23:[55, 99] Operation: 74+25=99
Exploring Operation: 55-25=30, Resulting Numbers: [74, 30]
Generated Node #0,3,2: 23:[74, 30] Operation: 55-25=30
Exploring Operation: 74+55=129, Resulting Numbers: [25, 129]
Generated Node #0,3,3: 23:[25, 129] Operation: 74+55=129
Exploring Operation: 74-25=49, Resulting Numbers: [55, 49]
Generated Node #0,3,4: 23:[55, 49] Operation: 74-25=49
Moving to Node #0,4,1
Current State: 23:[21, 23], Operations: ['76-25=51', '74-51=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,23 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[25, 23], Operations: ['74-21=53', '76-53=23']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,23 unequal: No Solution
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[25, 19], Operations: ['76-21=55', '74-55=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[53, 51], Operations: ['74-21=53', '76-25=51']
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,23 unequal: No Solution
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,4,3
Current State: 23:[74, 30], Operations: ['76-25=51', '51-21=30']
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,23 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[74, 30], Operations: ['76-21=55', '55-25=30']
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,23 unequal: No Solution
Moving to Node #0,3,4
Current State: 23:[55, 49], Operations: ['76-21=55', '74-25=49']
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 55+49=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 55*49=2695, Resulting Numbers: [2695]
2695,23 unequal: No Solution
Moving to Node #0,4,0
Current State: 23:[51, 53], Operations: ['76-25=51', '74-21=53']
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 51+53=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 51*53=2703, Resulting Numbers: [2703]
2703,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[76, 28], Operations: ['74-21=53', '53-25=28']
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,23 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[74, 72], Operations: ['76-25=51', '21+51=72']
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,23 unequal: No Solution
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[51, 95], Operations: ['76-25=51', '21+74=95']
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 51+95=146, Resulting Numbers: [146]
146,23 unequal: No Solution
Exploring Operation: 51*95=4845, Resulting Numbers: [4845]
4845,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[55, 99], Operations: ['76-21=55', '74+25=99']
Exploring Operation: 55*99=5445, Resulting Numbers: [5445]
5445,23 unequal: No Solution
Exploring Operation: 55+99=154, Resulting Numbers: [154]
154,23 unequal: No Solution
Exploring Operation: 99-55=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[25, 129], Operations: ['76-21=55', '74+55=129']
Exploring Operation: 25+129=154, Resulting Numbers: [154]
154,23 unequal: No Solution
Exploring Operation: 129-25=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 25*129=3225, Resulting Numbers: [3225]
3225,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[53, 101], Operations: ['74-21=53', '25+76=101']
Exploring Operation: 53+101=154, Resulting Numbers: [154]
154,23 unequal: No Solution
Exploring Operation: 101-53=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 53*101=5353, Resulting Numbers: [5353]
5353,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[76, 78], Operations: ['74-21=53', '25+53=78']
Exploring Operation: 76*78=5928, Resulting Numbers: [5928]
5928,23 unequal: No Solution
Exploring Operation: 76+78=154, Resulting Numbers: [154]
154,23 unequal: No Solution
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,23 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
71,
5,
99,
57
] | 83 | [
"99-71=28",
"5*28=140",
"140-57=83"
] | Current State: 83:[71, 5, 99, 57], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [5, 57, 28]
Generated Node #2: [5, 57, 28] from Operation: 99-71=28
Current State: 83:[5, 57, 28], Operations: ['99-71=28']
Exploring Operation: 5*28=140, Resulting Numbers: [57, 140]
Generated Node #3: [57, 140] from Operation: 5*28=140
Current State: 83:[57, 140], Operations: ['99-71=28', '5*28=140']
Exploring Operation: 140-57=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[71, 5, 99, 57], Operations: []
Exploring Operation: 71+5=76, Resulting Numbers: [99, 57, 76]
Generated Node #0,0: 83:[99, 57, 76] Operation: 71+5=76
Exploring Operation: 99-5=94, Resulting Numbers: [71, 57, 94]
Generated Node #0,1: 83:[71, 57, 94] Operation: 99-5=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[99, 57, 76], Operations: ['71+5=76']
Exploring Operation: 99-57=42, Resulting Numbers: [76, 42]
Generated Node #0,0,0: 83:[76, 42] Operation: 99-57=42
Exploring Operation: 57+76=133, Resulting Numbers: [99, 133]
Generated Node #0,0,1: 83:[99, 133] Operation: 57+76=133
Moving to Node #0,0,0
Current State: 83:[76, 42], Operations: ['71+5=76', '99-57=42']
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[99, 133], Operations: ['71+5=76', '57+76=133']
Exploring Operation: 99+133=232, Resulting Numbers: [232]
232,83 unequal: No Solution
Exploring Operation: 133-99=34, Resulting Numbers: [34]
34,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[71, 57, 94], Operations: ['99-5=94']
Exploring Operation: 71+57=128, Resulting Numbers: [94, 128]
Generated Node #0,1,0: 83:[94, 128] Operation: 71+57=128
Exploring Operation: 94-57=37, Resulting Numbers: [71, 37]
Generated Node #0,1,1: 83:[71, 37] Operation: 94-57=37
Moving to Node #0,1,0
Current State: 83:[94, 128], Operations: ['99-5=94', '71+57=128']
Exploring Operation: 128-94=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 94+128=222, Resulting Numbers: [222]
222,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[71, 37], Operations: ['99-5=94', '94-57=37']
Exploring Operation: 71+37=108, Resulting Numbers: [108]
108,83 unequal: No Solution
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
87,
42,
70,
50
] | 65 | [
"87-42=45",
"70-50=20",
"45+20=65"
] | Current State: 65:[87, 42, 70, 50], Operations: []
Exploring Operation: 87-42=45, Resulting Numbers: [70, 50, 45]
Generated Node #2: [70, 50, 45] from Operation: 87-42=45
Current State: 65:[70, 50, 45], Operations: ['87-42=45']
Exploring Operation: 70-50=20, Resulting Numbers: [45, 20]
Generated Node #3: [45, 20] from Operation: 70-50=20
Current State: 65:[45, 20], Operations: ['87-42=45', '70-50=20']
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[87, 42, 70, 50], Operations: []
Exploring Operation: 50-42=8, Resulting Numbers: [87, 70, 8]
Generated Node #0,0: 65:[87, 70, 8] Operation: 50-42=8
Moving to Node #0,0
Current State: 65:[87, 70, 8], Operations: ['50-42=8']
Exploring Operation: 87-70=17, Resulting Numbers: [8, 17]
Generated Node #0,0,0: 65:[8, 17] Operation: 87-70=17
Moving to Node #0,0,0
Current State: 65:[8, 17], Operations: ['50-42=8', '87-70=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,65 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
96,
2,
54
] | 60 | [
"96/8=12",
"12/2=6",
"54+6=60"
] | Current State: 60:[8, 96, 2, 54], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [2, 54, 12]
Generated Node #2: [2, 54, 12] from Operation: 96/8=12
Current State: 60:[2, 54, 12], Operations: ['96/8=12']
Exploring Operation: 12/2=6, Resulting Numbers: [54, 6]
Generated Node #3: [54, 6] from Operation: 12/2=6
Current State: 60:[54, 6], Operations: ['96/8=12', '12/2=6']
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[8, 96, 2, 54], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [8, 54, 48]
Generated Node #0,0: 60:[8, 54, 48] Operation: 96/2=48
Exploring Operation: 96/8=12, Resulting Numbers: [2, 54, 12]
Generated Node #0,1: 60:[2, 54, 12] Operation: 96/8=12
Exploring Operation: 96-54=42, Resulting Numbers: [8, 2, 42]
Generated Node #0,2: 60:[8, 2, 42] Operation: 96-54=42
Exploring Operation: 96-8=88, Resulting Numbers: [2, 54, 88]
Generated Node #0,3: 60:[2, 54, 88] Operation: 96-8=88
Moving to Node #0,1
Current State: 60:[2, 54, 12], Operations: ['96/8=12']
Exploring Operation: 12/2=6, Resulting Numbers: [54, 6]
Generated Node #0,1,0: 60:[54, 6] Operation: 12/2=6
Exploring Operation: 2+54=56, Resulting Numbers: [12, 56]
Generated Node #0,1,1: 60:[12, 56] Operation: 2+54=56
Exploring Operation: 12-2=10, Resulting Numbers: [54, 10]
Generated Node #0,1,2: 60:[54, 10] Operation: 12-2=10
Exploring Operation: 54/2=27, Resulting Numbers: [12, 27]
Generated Node #0,1,3: 60:[12, 27] Operation: 54/2=27
Moving to Node #0,2
Current State: 60:[8, 2, 42], Operations: ['96-54=42']
Exploring Operation: 8+2=10, Resulting Numbers: [42, 10]
Generated Node #0,2,0: 60:[42, 10] Operation: 8+2=10
Exploring Operation: 42/2=21, Resulting Numbers: [8, 21]
Generated Node #0,2,1: 60:[8, 21] Operation: 42/2=21
Exploring Operation: 8+42=50, Resulting Numbers: [2, 50]
Generated Node #0,2,2: 60:[2, 50] Operation: 8+42=50
Exploring Operation: 42-8=34, Resulting Numbers: [2, 34]
Generated Node #0,2,3: 60:[2, 34] Operation: 42-8=34
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[8, 21], Operations: ['96-54=42', '42/2=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,60 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 8+21=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,2,3
Current State: 60:[2, 34], Operations: ['96-54=42', '42-8=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,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,2
Current State: 60:[2, 50], Operations: ['96-54=42', '8+42=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,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,0
Current State: 60:[42, 10], Operations: ['96-54=42', '8+2=10']
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,60 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,60 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: 60:[8, 54, 48], Operations: ['96/2=48']
Exploring Operation: 54-48=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 60:[8, 6] Operation: 54-48=6
Exploring Operation: 8+54=62, Resulting Numbers: [48, 62]
Generated Node #0,0,1: 60:[48, 62] Operation: 8+54=62
Exploring Operation: 8+48=56, Resulting Numbers: [54, 56]
Generated Node #0,0,2: 60:[54, 56] Operation: 8+48=56
Exploring Operation: 48/8=6, Resulting Numbers: [54, 6]
Generated Node #0,0,3: 60:[54, 6] Operation: 48/8=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[8, 6], Operations: ['96/2=48', '54-48=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,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,3
Current State: 60:[54, 6], Operations: ['96/2=48', '48/8=6']
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,60 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[8, 96, 2, 54], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [8, 54, 48]
Generated Node #0,0: 60:[8, 54, 48] Operation: 96/2=48
Moving to Node #0,0
Current State: 60:[8, 54, 48], Operations: ['96/2=48']
Exploring Operation: 48/8=6, Resulting Numbers: [54, 6]
Generated Node #0,0,3: 60:[54, 6] Operation: 48/8=6
Moving to Node #0,0,3
Current State: 60:[54, 6], Operations: ['96/2=48', '48/8=6']
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_4 | sum_heuristic |
[
66,
72,
67,
33
] | 31 | [
"66/33=2",
"72/2=36",
"67-36=31"
] | Current State: 31:[66, 72, 67, 33], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [72, 67, 2]
Generated Node #2: [72, 67, 2] from Operation: 66/33=2
Current State: 31:[72, 67, 2], Operations: ['66/33=2']
Exploring Operation: 72/2=36, Resulting Numbers: [67, 36]
Generated Node #3: [67, 36] from Operation: 72/2=36
Current State: 31:[67, 36], Operations: ['66/33=2', '72/2=36']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[66, 72, 67, 33], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [72, 33, 1]
Generated Node #0,0: 31:[72, 33, 1] Operation: 67-66=1
Exploring Operation: 72-67=5, Resulting Numbers: [66, 33, 5]
Generated Node #0,1: 31:[66, 33, 5] Operation: 72-67=5
Exploring Operation: 72-66=6, Resulting Numbers: [67, 33, 6]
Generated Node #0,2: 31:[67, 33, 6] Operation: 72-66=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[66, 33, 5], Operations: ['72-67=5']
Exploring Operation: 66-5=61, Resulting Numbers: [33, 61]
Generated Node #0,1,0: 31:[33, 61] Operation: 66-5=61
Exploring Operation: 33-5=28, Resulting Numbers: [66, 28]
Generated Node #0,1,1: 31:[66, 28] Operation: 33-5=28
Exploring Operation: 66-33=33, Resulting Numbers: [5, 33]
Generated Node #0,1,2: 31:[5, 33] Operation: 66-33=33
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[5, 33], Operations: ['72-67=5', '66-33=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,31 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,31 unequal: No Solution
No 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: 31:[33, 61], Operations: ['72-67=5', '66-5=61']
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,31 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,31 unequal: No Solution
No 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: 31:[66, 28], Operations: ['72-67=5', '33-5=28']
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,31 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: 31:[67, 33, 6], Operations: ['72-66=6']
Exploring Operation: 33-6=27, Resulting Numbers: [67, 27]
Generated Node #0,2,0: 31:[67, 27] Operation: 33-6=27
Exploring Operation: 67-6=61, Resulting Numbers: [33, 61]
Generated Node #0,2,1: 31:[33, 61] Operation: 67-6=61
Exploring Operation: 67-33=34, Resulting Numbers: [6, 34]
Generated Node #0,2,2: 31:[6, 34] Operation: 67-33=34
Moving to Node #0,2,2
Current State: 31:[6, 34], Operations: ['72-66=6', '67-33=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[33, 61], Operations: ['72-66=6', '67-6=61']
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,31 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[67, 27], Operations: ['72-66=6', '33-6=27']
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 67*27=1809, Resulting Numbers: [1809]
1809,31 unequal: No Solution
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[72, 33, 1], Operations: ['67-66=1']
Exploring Operation: 72-33=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 31:[1, 39] Operation: 72-33=39
Exploring Operation: 33-1=32, Resulting Numbers: [72, 32]
Generated Node #0,0,1: 31:[72, 32] Operation: 33-1=32
Exploring Operation: 72-1=71, Resulting Numbers: [33, 71]
Generated Node #0,0,2: 31:[33, 71] Operation: 72-1=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[1, 39], Operations: ['67-66=1', '72-33=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,31 unequal: No Solution
No 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: 31:[72, 32], Operations: ['67-66=1', '33-1=32']
Exploring Operation: 72+32=104, Resulting Numbers: [104]
104,31 unequal: No Solution
Exploring Operation: 72*32=2304, Resulting Numbers: [2304]
2304,31 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,31 unequal: No Solution
No 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: 31:[33, 71], Operations: ['67-66=1', '72-1=71']
Exploring Operation: 33+71=104, Resulting Numbers: [104]
104,31 unequal: No Solution
Exploring Operation: 33*71=2343, Resulting Numbers: [2343]
2343,31 unequal: No Solution
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,31 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 |
[
85,
83,
46,
71
] | 27 | [
"85-83=2",
"71-46=25",
"2+25=27"
] | Current State: 27:[85, 83, 46, 71], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [46, 71, 2]
Generated Node #2: [46, 71, 2] from Operation: 85-83=2
Current State: 27:[46, 71, 2], Operations: ['85-83=2']
Exploring Operation: 71-46=25, Resulting Numbers: [2, 25]
Generated Node #3: [2, 25] from Operation: 71-46=25
Current State: 27:[2, 25], Operations: ['85-83=2', '71-46=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[85, 83, 46, 71], Operations: []
Exploring Operation: 85-46=39, Resulting Numbers: [83, 71, 39]
Generated Node #0,0: 27:[83, 71, 39] Operation: 85-46=39
Exploring Operation: 85-71=14, Resulting Numbers: [83, 46, 14]
Generated Node #0,1: 27:[83, 46, 14] Operation: 85-71=14
Exploring Operation: 85-83=2, Resulting Numbers: [46, 71, 2]
Generated Node #0,2: 27:[46, 71, 2] Operation: 85-83=2
Exploring Operation: 83-71=12, Resulting Numbers: [85, 46, 12]
Generated Node #0,3: 27:[85, 46, 12] Operation: 83-71=12
Moving to Node #0,2
Current State: 27:[46, 71, 2], Operations: ['85-83=2']
Exploring Operation: 46-2=44, Resulting Numbers: [71, 44]
Generated Node #0,2,0: 27:[71, 44] Operation: 46-2=44
Exploring Operation: 71-46=25, Resulting Numbers: [2, 25]
Generated Node #0,2,1: 27:[2, 25] Operation: 71-46=25
Exploring Operation: 71-2=69, Resulting Numbers: [46, 69]
Generated Node #0,2,2: 27:[46, 69] Operation: 71-2=69
Exploring Operation: 46/2=23, Resulting Numbers: [71, 23]
Generated Node #0,2,3: 27:[71, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[2, 25], Operations: ['85-83=2', '71-46=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[85, 83, 46, 71], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [46, 71, 2]
Generated Node #0,2: 27:[46, 71, 2] Operation: 85-83=2
Moving to Node #0,2
Current State: 27:[46, 71, 2], Operations: ['85-83=2']
Exploring Operation: 71-46=25, Resulting Numbers: [2, 25]
Generated Node #0,2,1: 27:[2, 25] Operation: 71-46=25
Moving to Node #0,2,1
Current State: 27:[2, 25], Operations: ['85-83=2', '71-46=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
7,
10,
28,
26
] | 58 | [
"10-7=3",
"28*3=84",
"84-26=58"
] | Current State: 58:[7, 10, 28, 26], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [28, 26, 3]
Generated Node #2: [28, 26, 3] from Operation: 10-7=3
Current State: 58:[28, 26, 3], Operations: ['10-7=3']
Exploring Operation: 28*3=84, Resulting Numbers: [26, 84]
Generated Node #3: [26, 84] from Operation: 28*3=84
Current State: 58:[26, 84], Operations: ['10-7=3', '28*3=84']
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[7, 10, 28, 26], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [28, 26, 3]
Generated Node #0,0: 58:[28, 26, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[28, 26, 3], Operations: ['10-7=3']
Exploring Operation: 28-26=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 58:[3, 2] Operation: 28-26=2
Moving to Node #0,0,0
Current State: 58:[3, 2], Operations: ['10-7=3', '28-26=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,58 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 |
[
19,
37,
41,
38
] | 53 | [
"19+37=56",
"41-38=3",
"56-3=53"
] | Current State: 53:[19, 37, 41, 38], Operations: []
Exploring Operation: 19+37=56, Resulting Numbers: [41, 38, 56]
Generated Node #2: [41, 38, 56] from Operation: 19+37=56
Current State: 53:[41, 38, 56], Operations: ['19+37=56']
Exploring Operation: 41-38=3, Resulting Numbers: [56, 3]
Generated Node #3: [56, 3] from Operation: 41-38=3
Current State: 53:[56, 3], Operations: ['19+37=56', '41-38=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[19, 37, 41, 38], Operations: []
Exploring Operation: 19+37=56, Resulting Numbers: [41, 38, 56]
Generated Node #0,0: 53:[41, 38, 56] Operation: 19+37=56
Exploring Operation: 19+38=57, Resulting Numbers: [37, 41, 57]
Generated Node #0,1: 53:[37, 41, 57] Operation: 19+38=57
Exploring Operation: 19+41=60, Resulting Numbers: [37, 38, 60]
Generated Node #0,2: 53:[37, 38, 60] Operation: 19+41=60
Moving to Node #0,0
Current State: 53:[41, 38, 56], Operations: ['19+37=56']
Exploring Operation: 56-38=18, Resulting Numbers: [41, 18]
Generated Node #0,0,0: 53:[41, 18] Operation: 56-38=18
Exploring Operation: 41+38=79, Resulting Numbers: [56, 79]
Generated Node #0,0,1: 53:[56, 79] Operation: 41+38=79
Exploring Operation: 41-38=3, Resulting Numbers: [56, 3]
Generated Node #0,0,2: 53:[56, 3] Operation: 41-38=3
Moving to Node #0,1
Current State: 53:[37, 41, 57], Operations: ['19+38=57']
Exploring Operation: 41-37=4, Resulting Numbers: [57, 4]
Generated Node #0,1,0: 53:[57, 4] Operation: 41-37=4
Exploring Operation: 37+41=78, Resulting Numbers: [57, 78]
Generated Node #0,1,1: 53:[57, 78] Operation: 37+41=78
Exploring Operation: 57-37=20, Resulting Numbers: [41, 20]
Generated Node #0,1,2: 53:[41, 20] Operation: 57-37=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[57, 78], Operations: ['19+38=57', '37+41=78']
Exploring Operation: 57*78=4446, Resulting Numbers: [4446]
4446,53 unequal: No Solution
Exploring Operation: 57+78=135, Resulting Numbers: [135]
135,53 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,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,2
Current State: 53:[41, 20], Operations: ['19+38=57', '57-37=20']
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,53 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,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,0
Current State: 53:[57, 4], Operations: ['19+38=57', '41-37=4']
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[19, 37, 41, 38], Operations: []
Exploring Operation: 19+38=57, Resulting Numbers: [37, 41, 57]
Generated Node #0,1: 53:[37, 41, 57] Operation: 19+38=57
Moving to Node #0,1
Current State: 53:[37, 41, 57], Operations: ['19+38=57']
Exploring Operation: 41-37=4, Resulting Numbers: [57, 4]
Generated Node #0,1,0: 53:[57, 4] Operation: 41-37=4
Moving to Node #0,1,0
Current State: 53:[57, 4], Operations: ['19+38=57', '41-37=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | mult_heuristic |
[
2,
6,
42,
38
] | 28 | [
"2*38=76",
"6+42=48",
"76-48=28"
] | Current State: 28:[2, 6, 42, 38], Operations: []
Exploring Operation: 2*38=76, Resulting Numbers: [6, 42, 76]
Generated Node #2: [6, 42, 76] from Operation: 2*38=76
Current State: 28:[6, 42, 76], Operations: ['2*38=76']
Exploring Operation: 6+42=48, Resulting Numbers: [76, 48]
Generated Node #3: [76, 48] from Operation: 6+42=48
Current State: 28:[76, 48], Operations: ['2*38=76', '6+42=48']
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[2, 6, 42, 38], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [2, 6, 4]
Generated Node #0,0: 28:[2, 6, 4] Operation: 42-38=4
Exploring Operation: 42/6=7, Resulting Numbers: [2, 38, 7]
Generated Node #0,1: 28:[2, 38, 7] Operation: 42/6=7
Moving to Node #0,0
Current State: 28:[2, 6, 4], Operations: ['42-38=4']
Exploring Operation: 6-2=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 28:[4, 4] Operation: 6-2=4
Exploring Operation: 6-4=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 28:[2, 2] Operation: 6-4=2
Moving to Node #0,1
Current State: 28:[2, 38, 7], Operations: ['42/6=7']
Exploring Operation: 38/2=19, Resulting Numbers: [7, 19]
Generated Node #0,1,0: 28:[7, 19] Operation: 38/2=19
Exploring Operation: 38-7=31, Resulting Numbers: [2, 31]
Generated Node #0,1,1: 28:[2, 31] Operation: 38-7=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[2, 31], Operations: ['42/6=7', '38-7=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,28 unequal: No Solution
No 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: 28:[7, 19], Operations: ['42/6=7', '38/2=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,28 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: 28:[4, 4], Operations: ['42-38=4', '6-2=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[2, 2], Operations: ['42-38=4', '6-4=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,28 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
65,
37,
60,
17
] | 71 | [
"65-37=28",
"60-17=43",
"28+43=71"
] | Current State: 71:[65, 37, 60, 17], Operations: []
Exploring Operation: 65-37=28, Resulting Numbers: [60, 17, 28]
Generated Node #2: [60, 17, 28] from Operation: 65-37=28
Current State: 71:[60, 17, 28], Operations: ['65-37=28']
Exploring Operation: 60-17=43, Resulting Numbers: [28, 43]
Generated Node #3: [28, 43] from Operation: 60-17=43
Current State: 71:[28, 43], Operations: ['65-37=28', '60-17=43']
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[65, 37, 60, 17], Operations: []
Exploring Operation: 37+17=54, Resulting Numbers: [65, 60, 54]
Generated Node #0,0: 71:[65, 60, 54] Operation: 37+17=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[65, 60, 54], Operations: ['37+17=54']
Exploring Operation: 60+54=114, Resulting Numbers: [65, 114]
Generated Node #0,0,0: 71:[65, 114] Operation: 60+54=114
Moving to Node #0,0,0
Current State: 71:[65, 114], Operations: ['37+17=54', '60+54=114']
Exploring Operation: 114-65=49, Resulting Numbers: [49]
49,71 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 |
[
29,
4,
27,
16
] | 14 | [
"29-4=25",
"27-16=11",
"25-11=14"
] | Current State: 14:[29, 4, 27, 16], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [27, 16, 25]
Generated Node #2: [27, 16, 25] from Operation: 29-4=25
Current State: 14:[27, 16, 25], Operations: ['29-4=25']
Exploring Operation: 27-16=11, Resulting Numbers: [25, 11]
Generated Node #3: [25, 11] from Operation: 27-16=11
Current State: 14:[25, 11], Operations: ['29-4=25', '27-16=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[29, 4, 27, 16], Operations: []
Exploring Operation: 27-16=11, Resulting Numbers: [29, 4, 11]
Generated Node #0,0: 14:[29, 4, 11] Operation: 27-16=11
Exploring Operation: 29-4=25, Resulting Numbers: [27, 16, 25]
Generated Node #0,1: 14:[27, 16, 25] Operation: 29-4=25
Exploring Operation: 29-16=13, Resulting Numbers: [4, 27, 13]
Generated Node #0,2: 14:[4, 27, 13] Operation: 29-16=13
Exploring Operation: 29-27=2, Resulting Numbers: [4, 16, 2]
Generated Node #0,3: 14:[4, 16, 2] Operation: 29-27=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[4, 16, 2], Operations: ['29-27=2']
Exploring Operation: 4-2=2, Resulting Numbers: [16, 2]
Generated Node #0,3,0: 14:[16, 2] Operation: 4-2=2
Exploring Operation: 16/4=4, Resulting Numbers: [2, 4]
Generated Node #0,3,1: 14:[2, 4] Operation: 16/4=4
Exploring Operation: 4/2=2, Resulting Numbers: [16, 2]
Generated Node #0,3,2: 14:[16, 2] Operation: 4/2=2
Exploring Operation: 16-4=12, Resulting Numbers: [2, 12]
Generated Node #0,3,3: 14:[2, 12] Operation: 16-4=12
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[16, 2], Operations: ['29-27=2', '4-2=2']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[29, 4, 27, 16], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [4, 16, 2]
Generated Node #0,3: 14:[4, 16, 2] Operation: 29-27=2
Moving to Node #0,3
Current State: 14:[4, 16, 2], Operations: ['29-27=2']
Exploring Operation: 4-2=2, Resulting Numbers: [16, 2]
Generated Node #0,3,0: 14:[16, 2] Operation: 4-2=2
Moving to Node #0,3,0
Current State: 14:[16, 2], Operations: ['29-27=2', '4-2=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
12,
27,
20,
11
] | 47 | [
"12-11=1",
"27+20=47",
"1*47=47"
] | Current State: 47:[12, 27, 20, 11], Operations: []
Exploring Operation: 12-11=1, Resulting Numbers: [27, 20, 1]
Generated Node #2: [27, 20, 1] from Operation: 12-11=1
Current State: 47:[27, 20, 1], Operations: ['12-11=1']
Exploring Operation: 27+20=47, Resulting Numbers: [1, 47]
Generated Node #3: [1, 47] from Operation: 27+20=47
Current State: 47:[1, 47], Operations: ['12-11=1', '27+20=47']
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[12, 27, 20, 11], Operations: []
Exploring Operation: 12+27=39, Resulting Numbers: [20, 11, 39]
Generated Node #0,0: 47:[20, 11, 39] Operation: 12+27=39
Exploring Operation: 12+20=32, Resulting Numbers: [27, 11, 32]
Generated Node #0,1: 47:[27, 11, 32] Operation: 12+20=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[20, 11, 39], Operations: ['12+27=39']
Exploring Operation: 11+39=50, Resulting Numbers: [20, 50]
Generated Node #0,0,0: 47:[20, 50] Operation: 11+39=50
Exploring Operation: 20+11=31, Resulting Numbers: [39, 31]
Generated Node #0,0,1: 47:[39, 31] Operation: 20+11=31
Moving to Node #0,0,1
Current State: 47:[39, 31], Operations: ['12+27=39', '20+11=31']
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[20, 50], Operations: ['12+27=39', '11+39=50']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[27, 11, 32], Operations: ['12+20=32']
Exploring Operation: 27+11=38, Resulting Numbers: [32, 38]
Generated Node #0,1,0: 47:[32, 38] Operation: 27+11=38
Exploring Operation: 11+32=43, Resulting Numbers: [27, 43]
Generated Node #0,1,1: 47:[27, 43] Operation: 11+32=43
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[32, 38], Operations: ['12+20=32', '27+11=38']
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,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,1
Current State: 47:[27, 43], Operations: ['12+20=32', '11+32=43']
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,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_2 | sum_heuristic |
[
15,
44,
57,
97
] | 99 | [
"15+44=59",
"97-57=40",
"59+40=99"
] | Current State: 99:[15, 44, 57, 97], Operations: []
Exploring Operation: 15+44=59, Resulting Numbers: [57, 97, 59]
Generated Node #2: [57, 97, 59] from Operation: 15+44=59
Current State: 99:[57, 97, 59], Operations: ['15+44=59']
Exploring Operation: 97-57=40, Resulting Numbers: [59, 40]
Generated Node #3: [59, 40] from Operation: 97-57=40
Current State: 99:[59, 40], Operations: ['15+44=59', '97-57=40']
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[15, 44, 57, 97], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [15, 97, 13]
Generated Node #0,0: 99:[15, 97, 13] Operation: 57-44=13
Exploring Operation: 57-15=42, Resulting Numbers: [44, 97, 42]
Generated Node #0,1: 99:[44, 97, 42] Operation: 57-15=42
Exploring Operation: 44+57=101, Resulting Numbers: [15, 97, 101]
Generated Node #0,2: 99:[15, 97, 101] Operation: 44+57=101
Moving to Node #0,0
Current State: 99:[15, 97, 13], Operations: ['57-44=13']
Exploring Operation: 15+13=28, Resulting Numbers: [97, 28]
Generated Node #0,0,0: 99:[97, 28] Operation: 15+13=28
Exploring Operation: 15-13=2, Resulting Numbers: [97, 2]
Generated Node #0,0,1: 99:[97, 2] Operation: 15-13=2
Exploring Operation: 15+97=112, Resulting Numbers: [13, 112]
Generated Node #0,0,2: 99:[13, 112] Operation: 15+97=112
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[97, 2], Operations: ['57-44=13', '15-13=2']
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,99 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[15, 44, 57, 97], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [15, 97, 13]
Generated Node #0,0: 99:[15, 97, 13] Operation: 57-44=13
Moving to Node #0,0
Current State: 99:[15, 97, 13], Operations: ['57-44=13']
Exploring Operation: 15-13=2, Resulting Numbers: [97, 2]
Generated Node #0,0,1: 99:[97, 2] Operation: 15-13=2
Moving to Node #0,0,1
Current State: 99:[97, 2], Operations: ['57-44=13', '15-13=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
54,
49,
47,
48
] | 41 | [
"54-47=7",
"49/7=7",
"48-7=41"
] | Current State: 41:[54, 49, 47, 48], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [49, 48, 7]
Generated Node #2: [49, 48, 7] from Operation: 54-47=7
Current State: 41:[49, 48, 7], Operations: ['54-47=7']
Exploring Operation: 49/7=7, Resulting Numbers: [48, 7]
Generated Node #3: [48, 7] from Operation: 49/7=7
Current State: 41:[48, 7], Operations: ['54-47=7', '49/7=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[54, 49, 47, 48], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [49, 48, 7]
Generated Node #0,0: 41:[49, 48, 7] Operation: 54-47=7
Exploring Operation: 54-49=5, Resulting Numbers: [47, 48, 5]
Generated Node #0,1: 41:[47, 48, 5] Operation: 54-49=5
Moving to Node #0,0
Current State: 41:[49, 48, 7], Operations: ['54-47=7']
Exploring Operation: 48-7=41, Resulting Numbers: [49, 41]
Generated Node #0,0,0: 41:[49, 41] Operation: 48-7=41
Exploring Operation: 49-7=42, Resulting Numbers: [48, 42]
Generated Node #0,0,1: 41:[48, 42] Operation: 49-7=42
Moving to Node #0,1
Current State: 41:[47, 48, 5], Operations: ['54-49=5']
Exploring Operation: 48-5=43, Resulting Numbers: [47, 43]
Generated Node #0,1,0: 41:[47, 43] Operation: 48-5=43
Exploring Operation: 47-5=42, Resulting Numbers: [48, 42]
Generated Node #0,1,1: 41:[48, 42] Operation: 47-5=42
Moving to Node #0,0,0
Current State: 41:[49, 41], Operations: ['54-47=7', '48-7=41']
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[47, 43], Operations: ['54-49=5', '48-5=43']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[48, 42], Operations: ['54-47=7', '49-7=42']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[48, 42], Operations: ['54-49=5', '47-5=42']
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
27,
94,
48,
57
] | 58 | [
"94-27=67",
"57-48=9",
"67-9=58"
] | Current State: 58:[27, 94, 48, 57], Operations: []
Exploring Operation: 94-27=67, Resulting Numbers: [48, 57, 67]
Generated Node #2: [48, 57, 67] from Operation: 94-27=67
Current State: 58:[48, 57, 67], Operations: ['94-27=67']
Exploring Operation: 57-48=9, Resulting Numbers: [67, 9]
Generated Node #3: [67, 9] from Operation: 57-48=9
Current State: 58:[67, 9], Operations: ['94-27=67', '57-48=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[27, 94, 48, 57], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [27, 48, 37]
Generated Node #0,0: 58:[27, 48, 37] Operation: 94-57=37
Exploring Operation: 94-27=67, Resulting Numbers: [48, 57, 67]
Generated Node #0,1: 58:[48, 57, 67] Operation: 94-27=67
Exploring Operation: 94-48=46, Resulting Numbers: [27, 57, 46]
Generated Node #0,2: 58:[27, 57, 46] Operation: 94-48=46
Moving to Node #0,2
Current State: 58:[27, 57, 46], Operations: ['94-48=46']
Exploring Operation: 46-27=19, Resulting Numbers: [57, 19]
Generated Node #0,2,0: 58:[57, 19] Operation: 46-27=19
Exploring Operation: 57-46=11, Resulting Numbers: [27, 11]
Generated Node #0,2,1: 58:[27, 11] Operation: 57-46=11
Exploring Operation: 57-27=30, Resulting Numbers: [46, 30]
Generated Node #0,2,2: 58:[46, 30] Operation: 57-27=30
Moving to Node #0,0
Current State: 58:[27, 48, 37], Operations: ['94-57=37']
Exploring Operation: 27+37=64, Resulting Numbers: [48, 64]
Generated Node #0,0,0: 58:[48, 64] Operation: 27+37=64
Exploring Operation: 48-37=11, Resulting Numbers: [27, 11]
Generated Node #0,0,1: 58:[27, 11] Operation: 48-37=11
Exploring Operation: 48-27=21, Resulting Numbers: [37, 21]
Generated Node #0,0,2: 58:[37, 21] Operation: 48-27=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[27, 11], Operations: ['94-57=37', '48-37=11']
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,58 unequal: No Solution
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[48, 64], Operations: ['94-57=37', '27+37=64']
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,58 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,58 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[37, 21], Operations: ['94-57=37', '48-27=21']
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,58 unequal: No Solution
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[27, 94, 48, 57], Operations: []
Exploring Operation: 94-57=37, Resulting Numbers: [27, 48, 37]
Generated Node #0,0: 58:[27, 48, 37] Operation: 94-57=37
Moving to Node #0,0
Current State: 58:[27, 48, 37], Operations: ['94-57=37']
Exploring Operation: 48-27=21, Resulting Numbers: [37, 21]
Generated Node #0,0,2: 58:[37, 21] Operation: 48-27=21
Moving to Node #0,0,2
Current State: 58:[37, 21], Operations: ['94-57=37', '48-27=21']
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | mult_heuristic |
[
34,
35,
65,
32
] | 68 | [
"65-35=30",
"32-30=2",
"34*2=68"
] | Current State: 68:[34, 35, 65, 32], Operations: []
Exploring Operation: 65-35=30, Resulting Numbers: [34, 32, 30]
Generated Node #2: [34, 32, 30] from Operation: 65-35=30
Current State: 68:[34, 32, 30], Operations: ['65-35=30']
Exploring Operation: 32-30=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 32-30=2
Current State: 68:[34, 2], Operations: ['65-35=30', '32-30=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[34, 35, 65, 32], Operations: []
Exploring Operation: 65-32=33, Resulting Numbers: [34, 35, 33]
Generated Node #0,0: 68:[34, 35, 33] Operation: 65-32=33
Moving to Node #0,0
Current State: 68:[34, 35, 33], Operations: ['65-32=33']
Exploring Operation: 35+33=68, Resulting Numbers: [34, 68]
Generated Node #0,0,0: 68:[34, 68] Operation: 35+33=68
Moving to Node #0,0,0
Current State: 68:[34, 68], Operations: ['65-32=33', '35+33=68']
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,68 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
31,
55,
36,
27
] | 32 | [
"55-31=24",
"36*24=864",
"864/27=32"
] | Current State: 32:[31, 55, 36, 27], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [36, 27, 24]
Generated Node #2: [36, 27, 24] from Operation: 55-31=24
Current State: 32:[36, 27, 24], Operations: ['55-31=24']
Exploring Operation: 36*24=864, Resulting Numbers: [27, 864]
Generated Node #3: [27, 864] from Operation: 36*24=864
Current State: 32:[27, 864], Operations: ['55-31=24', '36*24=864']
Exploring Operation: 864/27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[31, 55, 36, 27], Operations: []
Exploring Operation: 55-27=28, Resulting Numbers: [31, 36, 28]
Generated Node #0,0: 32:[31, 36, 28] Operation: 55-27=28
Exploring Operation: 55-31=24, Resulting Numbers: [36, 27, 24]
Generated Node #0,1: 32:[36, 27, 24] Operation: 55-31=24
Exploring Operation: 55-36=19, Resulting Numbers: [31, 27, 19]
Generated Node #0,2: 32:[31, 27, 19] Operation: 55-36=19
Moving to Node #0,0
Current State: 32:[31, 36, 28], Operations: ['55-27=28']
Exploring Operation: 36-31=5, Resulting Numbers: [28, 5]
Generated Node #0,0,0: 32:[28, 5] Operation: 36-31=5
Exploring Operation: 36-28=8, Resulting Numbers: [31, 8]
Generated Node #0,0,1: 32:[31, 8] Operation: 36-28=8
Exploring Operation: 31-28=3, Resulting Numbers: [36, 3]
Generated Node #0,0,2: 32:[36, 3] Operation: 31-28=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[31, 8], Operations: ['55-27=28', '36-28=8']
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,32 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,32 unequal: No Solution
No 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: 32:[28, 5], Operations: ['55-27=28', '36-31=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,32 unequal: No Solution
No 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: 32:[36, 3], Operations: ['55-27=28', '31-28=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,32 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: 32:[31, 27, 19], Operations: ['55-36=19']
Exploring Operation: 31-27=4, Resulting Numbers: [19, 4]
Generated Node #0,2,0: 32:[19, 4] Operation: 31-27=4
Exploring Operation: 27-19=8, Resulting Numbers: [31, 8]
Generated Node #0,2,1: 32:[31, 8] Operation: 27-19=8
Exploring Operation: 31-19=12, Resulting Numbers: [27, 12]
Generated Node #0,2,2: 32:[27, 12] Operation: 31-19=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[31, 8], Operations: ['55-36=19', '27-19=8']
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,32 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,32 unequal: No Solution
No 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: 32:[19, 4], Operations: ['55-36=19', '31-27=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,32 unequal: No Solution
No 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: 32:[27, 12], Operations: ['55-36=19', '31-19=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,32 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,32 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: 32:[36, 27, 24], Operations: ['55-31=24']
Exploring Operation: 36-27=9, Resulting Numbers: [24, 9]
Generated Node #0,1,0: 32:[24, 9] Operation: 36-27=9
Exploring Operation: 36-24=12, Resulting Numbers: [27, 12]
Generated Node #0,1,1: 32:[27, 12] Operation: 36-24=12
Exploring Operation: 27-24=3, Resulting Numbers: [36, 3]
Generated Node #0,1,2: 32:[36, 3] Operation: 27-24=3
Moving to Node #0,1,2
Current State: 32:[36, 3], Operations: ['55-31=24', '27-24=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[24, 9], Operations: ['55-31=24', '36-27=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,32 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[27, 12], Operations: ['55-31=24', '36-24=12']
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,32 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,32 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
15,
27,
9,
62
] | 21 | [
"62-27=35",
"9*35=315",
"315/15=21"
] | Current State: 21:[15, 27, 9, 62], Operations: []
Exploring Operation: 62-27=35, Resulting Numbers: [15, 9, 35]
Generated Node #2: [15, 9, 35] from Operation: 62-27=35
Current State: 21:[15, 9, 35], Operations: ['62-27=35']
Exploring Operation: 9*35=315, Resulting Numbers: [15, 315]
Generated Node #3: [15, 315] from Operation: 9*35=315
Current State: 21:[15, 315], Operations: ['62-27=35', '9*35=315']
Exploring Operation: 315/15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[15, 27, 9, 62], Operations: []
Exploring Operation: 62-27=35, Resulting Numbers: [15, 9, 35]
Generated Node #0,0: 21:[15, 9, 35] Operation: 62-27=35
Moving to Node #0,0
Current State: 21:[15, 9, 35], Operations: ['62-27=35']
Exploring Operation: 35-15=20, Resulting Numbers: [9, 20]
Generated Node #0,0,0: 21:[9, 20] Operation: 35-15=20
Moving to Node #0,0,0
Current State: 21:[9, 20], Operations: ['62-27=35', '35-15=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,21 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
20,
16,
34
] | 44 | [
"32/16=2",
"20/2=10",
"34+10=44"
] | Current State: 44:[32, 20, 16, 34], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [20, 34, 2]
Generated Node #2: [20, 34, 2] from Operation: 32/16=2
Current State: 44:[20, 34, 2], Operations: ['32/16=2']
Exploring Operation: 20/2=10, Resulting Numbers: [34, 10]
Generated Node #3: [34, 10] from Operation: 20/2=10
Current State: 44:[34, 10], Operations: ['32/16=2', '20/2=10']
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[32, 20, 16, 34], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [20, 16, 2]
Generated Node #0,0: 44:[20, 16, 2] Operation: 34-32=2
Moving to Node #0,0
Current State: 44:[20, 16, 2], Operations: ['34-32=2']
Exploring Operation: 20-16=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 44:[2, 4] Operation: 20-16=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[2, 4], Operations: ['34-32=2', '20-16=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,44 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 |
[
78,
5,
7,
60
] | 55 | [
"78-7=71",
"71-60=11",
"5*11=55"
] | Current State: 55:[78, 5, 7, 60], Operations: []
Exploring Operation: 78-7=71, Resulting Numbers: [5, 60, 71]
Generated Node #2: [5, 60, 71] from Operation: 78-7=71
Current State: 55:[5, 60, 71], Operations: ['78-7=71']
Exploring Operation: 71-60=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 71-60=11
Current State: 55:[5, 11], Operations: ['78-7=71', '71-60=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[78, 5, 7, 60], Operations: []
Exploring Operation: 78-60=18, Resulting Numbers: [5, 7, 18]
Generated Node #0,0: 55:[5, 7, 18] Operation: 78-60=18
Exploring Operation: 78-7=71, Resulting Numbers: [5, 60, 71]
Generated Node #0,1: 55:[5, 60, 71] Operation: 78-7=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[5, 7, 18], Operations: ['78-60=18']
Exploring Operation: 18-7=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 55:[5, 11] Operation: 18-7=11
Exploring Operation: 18-5=13, Resulting Numbers: [7, 13]
Generated Node #0,0,1: 55:[7, 13] Operation: 18-5=13
Moving to Node #0,0,0
Current State: 55:[5, 11], Operations: ['78-60=18', '18-7=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[78, 5, 7, 60], Operations: []
Exploring Operation: 78-60=18, Resulting Numbers: [5, 7, 18]
Generated Node #0,0: 55:[5, 7, 18] Operation: 78-60=18
Moving to Node #0,0
Current State: 55:[5, 7, 18], Operations: ['78-60=18']
Exploring Operation: 18-7=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 55:[5, 11] Operation: 18-7=11
Moving to Node #0,0,0
Current State: 55:[5, 11], Operations: ['78-60=18', '18-7=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
38,
65,
70,
98
] | 75 | [
"38+65=103",
"98-70=28",
"103-28=75"
] | Current State: 75:[38, 65, 70, 98], Operations: []
Exploring Operation: 38+65=103, Resulting Numbers: [70, 98, 103]
Generated Node #2: [70, 98, 103] from Operation: 38+65=103
Current State: 75:[70, 98, 103], Operations: ['38+65=103']
Exploring Operation: 98-70=28, Resulting Numbers: [103, 28]
Generated Node #3: [103, 28] from Operation: 98-70=28
Current State: 75:[103, 28], Operations: ['38+65=103', '98-70=28']
Exploring Operation: 103-28=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[38, 65, 70, 98], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [38, 70, 33]
Generated Node #0,0: 75:[38, 70, 33] Operation: 98-65=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[38, 70, 33], Operations: ['98-65=33']
Exploring Operation: 38-33=5, Resulting Numbers: [70, 5]
Generated Node #0,0,0: 75:[70, 5] Operation: 38-33=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[70, 5], Operations: ['98-65=33', '38-33=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[38, 65, 70, 98], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [38, 70, 33]
Generated Node #0,0: 75:[38, 70, 33] Operation: 98-65=33
Moving to Node #0,0
Current State: 75:[38, 70, 33], Operations: ['98-65=33']
Exploring Operation: 38-33=5, Resulting Numbers: [70, 5]
Generated Node #0,0,0: 75:[70, 5] Operation: 38-33=5
Moving to Node #0,0,0
Current State: 75:[70, 5], Operations: ['98-65=33', '38-33=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
86,
68,
30,
43
] | 40 | [
"86/43=2",
"68-30=38",
"2+38=40"
] | Current State: 40:[86, 68, 30, 43], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [68, 30, 2]
Generated Node #2: [68, 30, 2] from Operation: 86/43=2
Current State: 40:[68, 30, 2], Operations: ['86/43=2']
Exploring Operation: 68-30=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 68-30=38
Current State: 40:[2, 38], Operations: ['86/43=2', '68-30=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[86, 68, 30, 43], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [68, 30, 43]
Generated Node #0,0: 40:[68, 30, 43] Operation: 86-43=43
Exploring Operation: 86-30=56, Resulting Numbers: [68, 43, 56]
Generated Node #0,1: 40:[68, 43, 56] Operation: 86-30=56
Exploring Operation: 86/43=2, Resulting Numbers: [68, 30, 2]
Generated Node #0,2: 40:[68, 30, 2] Operation: 86/43=2
Exploring Operation: 86-68=18, Resulting Numbers: [30, 43, 18]
Generated Node #0,3: 40:[30, 43, 18] Operation: 86-68=18
Moving to Node #0,3
Current State: 40:[30, 43, 18], Operations: ['86-68=18']
Exploring Operation: 43-18=25, Resulting Numbers: [30, 25]
Generated Node #0,3,0: 40:[30, 25] Operation: 43-18=25
Exploring Operation: 43-30=13, Resulting Numbers: [18, 13]
Generated Node #0,3,1: 40:[18, 13] Operation: 43-30=13
Exploring Operation: 30-18=12, Resulting Numbers: [43, 12]
Generated Node #0,3,2: 40:[43, 12] Operation: 30-18=12
Exploring Operation: 30+18=48, Resulting Numbers: [43, 48]
Generated Node #0,3,3: 40:[43, 48] Operation: 30+18=48
Moving to Node #0,2
Current State: 40:[68, 30, 2], Operations: ['86/43=2']
Exploring Operation: 68/2=34, Resulting Numbers: [30, 34]
Generated Node #0,2,0: 40:[30, 34] Operation: 68/2=34
Exploring Operation: 68-30=38, Resulting Numbers: [2, 38]
Generated Node #0,2,1: 40:[2, 38] Operation: 68-30=38
Exploring Operation: 68-2=66, Resulting Numbers: [30, 66]
Generated Node #0,2,2: 40:[30, 66] Operation: 68-2=66
Exploring Operation: 30/2=15, Resulting Numbers: [68, 15]
Generated Node #0,2,3: 40:[68, 15] Operation: 30/2=15
Moving to Node #0,0
Current State: 40:[68, 30, 43], Operations: ['86-43=43']
Exploring Operation: 68+30=98, Resulting Numbers: [43, 98]
Generated Node #0,0,0: 40:[43, 98] Operation: 68+30=98
Exploring Operation: 68-30=38, Resulting Numbers: [43, 38]
Generated Node #0,0,1: 40:[43, 38] Operation: 68-30=38
Exploring Operation: 43-30=13, Resulting Numbers: [68, 13]
Generated Node #0,0,2: 40:[68, 13] Operation: 43-30=13
Exploring Operation: 68-43=25, Resulting Numbers: [30, 25]
Generated Node #0,0,3: 40:[30, 25] Operation: 68-43=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[43, 38], Operations: ['86-43=43', '68-30=38']
Exploring Operation: 43*38=1634, Resulting Numbers: [1634]
1634,40 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,40 unequal: No Solution
No 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: 40:[30, 25], Operations: ['86-43=43', '68-43=25']
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 30*25=750, Resulting Numbers: [750]
750,40 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,40 unequal: No Solution
No 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: 40:[68, 13], Operations: ['86-43=43', '43-30=13']
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,40 unequal: No Solution
No 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: 40:[43, 98], Operations: ['86-43=43', '68+30=98']
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 43*98=4214, Resulting Numbers: [4214]
4214,40 unequal: No Solution
Exploring Operation: 43+98=141, Resulting Numbers: [141]
141,40 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: 40:[68, 43, 56], Operations: ['86-30=56']
Exploring Operation: 56-43=13, Resulting Numbers: [68, 13]
Generated Node #0,1,0: 40:[68, 13] Operation: 56-43=13
Exploring Operation: 68+43=111, Resulting Numbers: [56, 111]
Generated Node #0,1,1: 40:[56, 111] Operation: 68+43=111
Exploring Operation: 68-56=12, Resulting Numbers: [43, 12]
Generated Node #0,1,2: 40:[43, 12] Operation: 68-56=12
Exploring Operation: 68-43=25, Resulting Numbers: [56, 25]
Generated Node #0,1,3: 40:[56, 25] Operation: 68-43=25
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[43, 12], Operations: ['86-30=56', '68-56=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,40 unequal: No Solution
No 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: 40:[56, 25], Operations: ['86-30=56', '68-43=25']
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 56+25=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 56*25=1400, Resulting Numbers: [1400]
1400,40 unequal: No Solution
No 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: 40:[68, 13], Operations: ['86-30=56', '56-43=13']
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,40 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,40 unequal: No Solution
No 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: 40:[56, 111], Operations: ['86-30=56', '68+43=111']
Exploring Operation: 56*111=6216, Resulting Numbers: [6216]
6216,40 unequal: No Solution
Exploring Operation: 56+111=167, Resulting Numbers: [167]
167,40 unequal: No Solution
Exploring Operation: 111-56=55, Resulting Numbers: [55]
55,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 40:[2, 38], Operations: ['86/43=2', '68-30=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[86, 68, 30, 43], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [68, 30, 2]
Generated Node #0,2: 40:[68, 30, 2] Operation: 86/43=2
Moving to Node #0,2
Current State: 40:[68, 30, 2], Operations: ['86/43=2']
Exploring Operation: 68-30=38, Resulting Numbers: [2, 38]
Generated Node #0,2,1: 40:[2, 38] Operation: 68-30=38
Moving to Node #0,2,1
Current State: 40:[2, 38], Operations: ['86/43=2', '68-30=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.954861 | hs_4 | mult_heuristic |
[
12,
78,
51,
39
] | 77 | [
"51-12=39",
"39/39=1",
"78-1=77"
] | Current State: 77:[12, 78, 51, 39], Operations: []
Exploring Operation: 51-12=39, Resulting Numbers: [78, 39, 39]
Generated Node #2: [78, 39, 39] from Operation: 51-12=39
Current State: 77:[78, 39, 39], Operations: ['51-12=39']
Exploring Operation: 39/39=1, Resulting Numbers: [78, 1]
Generated Node #3: [78, 1] from Operation: 39/39=1
Current State: 77:[78, 1], Operations: ['51-12=39', '39/39=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[12, 78, 51, 39], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [12, 78, 12]
Generated Node #0,0: 77:[12, 78, 12] Operation: 51-39=12
Exploring Operation: 78/39=2, Resulting Numbers: [12, 51, 2]
Generated Node #0,1: 77:[12, 51, 2] Operation: 78/39=2
Exploring Operation: 51+39=90, Resulting Numbers: [12, 78, 90]
Generated Node #0,2: 77:[12, 78, 90] Operation: 51+39=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[12, 78, 12], Operations: ['51-39=12']
Exploring Operation: 12-12=0, Resulting Numbers: [78, 0]
Generated Node #0,0,0: 77:[78, 0] Operation: 12-12=0
Exploring Operation: 78-12=66, Resulting Numbers: [12, 66]
Generated Node #0,0,1: 77:[12, 66] Operation: 78-12=66
Exploring Operation: 12/12=1, Resulting Numbers: [78, 1]
Generated Node #0,0,2: 77:[78, 1] Operation: 12/12=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[78, 1], Operations: ['51-39=12', '12/12=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[12, 78, 51, 39], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [12, 78, 12]
Generated Node #0,0: 77:[12, 78, 12] Operation: 51-39=12
Moving to Node #0,0
Current State: 77:[12, 78, 12], Operations: ['51-39=12']
Exploring Operation: 12/12=1, Resulting Numbers: [78, 1]
Generated Node #0,0,2: 77:[78, 1] Operation: 12/12=1
Moving to Node #0,0,2
Current State: 77:[78, 1], Operations: ['51-39=12', '12/12=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
41,
6,
97,
84
] | 22 | [
"41-6=35",
"97-84=13",
"35-13=22"
] | Current State: 22:[41, 6, 97, 84], Operations: []
Exploring Operation: 41-6=35, Resulting Numbers: [97, 84, 35]
Generated Node #2: [97, 84, 35] from Operation: 41-6=35
Current State: 22:[97, 84, 35], Operations: ['41-6=35']
Exploring Operation: 97-84=13, Resulting Numbers: [35, 13]
Generated Node #3: [35, 13] from Operation: 97-84=13
Current State: 22:[35, 13], Operations: ['41-6=35', '97-84=13']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[41, 6, 97, 84], Operations: []
Exploring Operation: 84/6=14, Resulting Numbers: [41, 97, 14]
Generated Node #0,0: 22:[41, 97, 14] Operation: 84/6=14
Exploring Operation: 97-84=13, Resulting Numbers: [41, 6, 13]
Generated Node #0,1: 22:[41, 6, 13] Operation: 97-84=13
Exploring Operation: 97-41=56, Resulting Numbers: [6, 84, 56]
Generated Node #0,2: 22:[6, 84, 56] Operation: 97-41=56
Exploring Operation: 84-41=43, Resulting Numbers: [6, 97, 43]
Generated Node #0,3: 22:[6, 97, 43] Operation: 84-41=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[41, 6, 13], Operations: ['97-84=13']
Exploring Operation: 41-13=28, Resulting Numbers: [6, 28]
Generated Node #0,1,0: 22:[6, 28] Operation: 41-13=28
Exploring Operation: 13-6=7, Resulting Numbers: [41, 7]
Generated Node #0,1,1: 22:[41, 7] Operation: 13-6=7
Exploring Operation: 6+13=19, Resulting Numbers: [41, 19]
Generated Node #0,1,2: 22:[41, 19] Operation: 6+13=19
Exploring Operation: 41-6=35, Resulting Numbers: [13, 35]
Generated Node #0,1,3: 22:[13, 35] Operation: 41-6=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[6, 28], Operations: ['97-84=13', '41-13=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[41, 6, 97, 84], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [41, 6, 13]
Generated Node #0,1: 22:[41, 6, 13] Operation: 97-84=13
Moving to Node #0,1
Current State: 22:[41, 6, 13], Operations: ['97-84=13']
Exploring Operation: 41-13=28, Resulting Numbers: [6, 28]
Generated Node #0,1,0: 22:[6, 28] Operation: 41-13=28
Moving to Node #0,1,0
Current State: 22:[6, 28], Operations: ['97-84=13', '41-13=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
55,
30,
29,
73
] | 23 | [
"55*30=1650",
"29+1650=1679",
"1679/73=23"
] | Current State: 23:[55, 30, 29, 73], Operations: []
Exploring Operation: 55*30=1650, Resulting Numbers: [29, 73, 1650]
Generated Node #2: [29, 73, 1650] from Operation: 55*30=1650
Current State: 23:[29, 73, 1650], Operations: ['55*30=1650']
Exploring Operation: 29+1650=1679, Resulting Numbers: [73, 1679]
Generated Node #3: [73, 1679] from Operation: 29+1650=1679
Current State: 23:[73, 1679], Operations: ['55*30=1650', '29+1650=1679']
Exploring Operation: 1679/73=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[55, 30, 29, 73], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [30, 73, 26]
Generated Node #0,0: 23:[30, 73, 26] Operation: 55-29=26
Exploring Operation: 73-30=43, Resulting Numbers: [55, 29, 43]
Generated Node #0,1: 23:[55, 29, 43] Operation: 73-30=43
Exploring Operation: 73-55=18, Resulting Numbers: [30, 29, 18]
Generated Node #0,2: 23:[30, 29, 18] Operation: 73-55=18
Exploring Operation: 73-29=44, Resulting Numbers: [55, 30, 44]
Generated Node #0,3: 23:[55, 30, 44] Operation: 73-29=44
Exploring Operation: 55-30=25, Resulting Numbers: [29, 73, 25]
Generated Node #0,4: 23:[29, 73, 25] Operation: 55-30=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[30, 29, 18], Operations: ['73-55=18']
Exploring Operation: 29+18=47, Resulting Numbers: [30, 47]
Generated Node #0,2,0: 23:[30, 47] Operation: 29+18=47
Exploring Operation: 30-18=12, Resulting Numbers: [29, 12]
Generated Node #0,2,1: 23:[29, 12] Operation: 30-18=12
Exploring Operation: 29-18=11, Resulting Numbers: [30, 11]
Generated Node #0,2,2: 23:[30, 11] Operation: 29-18=11
Exploring Operation: 30-29=1, Resulting Numbers: [18, 1]
Generated Node #0,2,3: 23:[18, 1] Operation: 30-29=1
Exploring Operation: 30+18=48, Resulting Numbers: [29, 48]
Generated Node #0,2,4: 23:[29, 48] Operation: 30+18=48
Moving to Node #0,2,1
Current State: 23:[29, 12], Operations: ['73-55=18', '30-18=12']
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,23 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[30, 11], Operations: ['73-55=18', '29-18=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,23 unequal: No Solution
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[18, 1], Operations: ['73-55=18', '30-29=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[30, 47], Operations: ['73-55=18', '29+18=47']
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,23 unequal: No Solution
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,23 unequal: No Solution
Moving to Node #0,2,4
Current State: 23:[29, 48], Operations: ['73-55=18', '30+18=48']
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,23 unequal: No Solution
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,23 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[55, 29, 43], Operations: ['73-30=43']
Exploring Operation: 55+43=98, Resulting Numbers: [29, 98]
Generated Node #0,1,0: 23:[29, 98] Operation: 55+43=98
Exploring Operation: 43-29=14, Resulting Numbers: [55, 14]
Generated Node #0,1,1: 23:[55, 14] Operation: 43-29=14
Exploring Operation: 55+29=84, Resulting Numbers: [43, 84]
Generated Node #0,1,2: 23:[43, 84] Operation: 55+29=84
Exploring Operation: 55-29=26, Resulting Numbers: [43, 26]
Generated Node #0,1,3: 23:[43, 26] Operation: 55-29=26
Exploring Operation: 55-43=12, Resulting Numbers: [29, 12]
Generated Node #0,1,4: 23:[29, 12] Operation: 55-43=12
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 23:[29, 12], Operations: ['73-30=43', '55-43=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,23 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 23:[43, 26], Operations: ['73-30=43', '55-29=26']
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,23 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[55, 14], Operations: ['73-30=43', '43-29=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[29, 98], Operations: ['73-30=43', '55+43=98']
Exploring Operation: 29*98=2842, Resulting Numbers: [2842]
2842,23 unequal: No Solution
Exploring Operation: 29+98=127, Resulting Numbers: [127]
127,23 unequal: No Solution
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[43, 84], Operations: ['73-30=43', '55+29=84']
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 43+84=127, Resulting Numbers: [127]
127,23 unequal: No Solution
Exploring Operation: 43*84=3612, Resulting Numbers: [3612]
3612,23 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: 23:[29, 73, 25], Operations: ['55-30=25']
Exploring Operation: 29-25=4, Resulting Numbers: [73, 4]
Generated Node #0,4,0: 23:[73, 4] Operation: 29-25=4
Exploring Operation: 29+73=102, Resulting Numbers: [25, 102]
Generated Node #0,4,1: 23:[25, 102] Operation: 29+73=102
Exploring Operation: 73-25=48, Resulting Numbers: [29, 48]
Generated Node #0,4,2: 23:[29, 48] Operation: 73-25=48
Exploring Operation: 29+25=54, Resulting Numbers: [73, 54]
Generated Node #0,4,3: 23:[73, 54] Operation: 29+25=54
Exploring Operation: 73-29=44, Resulting Numbers: [25, 44]
Generated Node #0,4,4: 23:[25, 44] Operation: 73-29=44
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 23:[25, 44], Operations: ['55-30=25', '73-29=44']
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,23 unequal: No Solution
Exploring Operation: 25+44=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 23:[29, 48], Operations: ['55-30=25', '73-25=48']
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,23 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 23:[73, 4], Operations: ['55-30=25', '29-25=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,23 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,23 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 23:[25, 102], Operations: ['55-30=25', '29+73=102']
Exploring Operation: 25+102=127, Resulting Numbers: [127]
127,23 unequal: No Solution
Exploring Operation: 25*102=2550, Resulting Numbers: [2550]
2550,23 unequal: No Solution
Exploring Operation: 102-25=77, Resulting Numbers: [77]
77,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 23:[73, 54], Operations: ['55-30=25', '29+25=54']
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,23 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,23 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: 23:[30, 73, 26], Operations: ['55-29=26']
Exploring Operation: 30+73=103, Resulting Numbers: [26, 103]
Generated Node #0,0,0: 23:[26, 103] Operation: 30+73=103
Exploring Operation: 30+26=56, Resulting Numbers: [73, 56]
Generated Node #0,0,1: 23:[73, 56] Operation: 30+26=56
Exploring Operation: 73-30=43, Resulting Numbers: [26, 43]
Generated Node #0,0,2: 23:[26, 43] Operation: 73-30=43
Exploring Operation: 30-26=4, Resulting Numbers: [73, 4]
Generated Node #0,0,3: 23:[73, 4] Operation: 30-26=4
Exploring Operation: 73-26=47, Resulting Numbers: [30, 47]
Generated Node #0,0,4: 23:[30, 47] Operation: 73-26=47
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[26, 43], Operations: ['55-29=26', '73-30=43']
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 23:[30, 47], Operations: ['55-29=26', '73-26=47']
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,23 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 23:[73, 4], Operations: ['55-29=26', '30-26=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,23 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,23 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[26, 103], Operations: ['55-29=26', '30+73=103']
Exploring Operation: 103-26=77, Resulting Numbers: [77]
77,23 unequal: No Solution
Exploring Operation: 26*103=2678, Resulting Numbers: [2678]
2678,23 unequal: No Solution
Exploring Operation: 26+103=129, Resulting Numbers: [129]
129,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[73, 56], Operations: ['55-29=26', '30+26=56']
Exploring Operation: 73*56=4088, Resulting Numbers: [4088]
4088,23 unequal: No Solution
Exploring Operation: 73+56=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,23 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: 23:[55, 30, 44], Operations: ['73-29=44']
Exploring Operation: 55+44=99, Resulting Numbers: [30, 99]
Generated Node #0,3,0: 23:[30, 99] Operation: 55+44=99
Exploring Operation: 55-30=25, Resulting Numbers: [44, 25]
Generated Node #0,3,1: 23:[44, 25] Operation: 55-30=25
Exploring Operation: 55-44=11, Resulting Numbers: [30, 11]
Generated Node #0,3,2: 23:[30, 11] Operation: 55-44=11
Exploring Operation: 55+30=85, Resulting Numbers: [44, 85]
Generated Node #0,3,3: 23:[44, 85] Operation: 55+30=85
Exploring Operation: 44-30=14, Resulting Numbers: [55, 14]
Generated Node #0,3,4: 23:[55, 14] Operation: 44-30=14
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 23:[30, 11], Operations: ['73-29=44', '55-44=11']
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 23:[44, 25], Operations: ['73-29=44', '55-30=25']
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,23 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 23:[55, 14], Operations: ['73-29=44', '44-30=14']
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,23 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 23:[30, 99], Operations: ['73-29=44', '55+44=99']
Exploring Operation: 30+99=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 30*99=2970, Resulting Numbers: [2970]
2970,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 23:[44, 85], Operations: ['73-29=44', '55+30=85']
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 44+85=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Exploring Operation: 44*85=3740, Resulting Numbers: [3740]
3740,23 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 |
[
44,
31,
62,
34
] | 39 | [
"44+34=78",
"62/31=2",
"78/2=39"
] | Current State: 39:[44, 31, 62, 34], Operations: []
Exploring Operation: 44+34=78, Resulting Numbers: [31, 62, 78]
Generated Node #2: [31, 62, 78] from Operation: 44+34=78
Current State: 39:[31, 62, 78], Operations: ['44+34=78']
Exploring Operation: 62/31=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 62/31=2
Current State: 39:[78, 2], Operations: ['44+34=78', '62/31=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[44, 31, 62, 34], Operations: []
Exploring Operation: 62-44=18, Resulting Numbers: [31, 34, 18]
Generated Node #0,0: 39:[31, 34, 18] Operation: 62-44=18
Exploring Operation: 62/31=2, Resulting Numbers: [44, 34, 2]
Generated Node #0,1: 39:[44, 34, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [44, 34, 31]
Generated Node #0,2: 39:[44, 34, 31] Operation: 62-31=31
Moving to Node #0,1
Current State: 39:[44, 34, 2], Operations: ['62/31=2']
Exploring Operation: 34+2=36, Resulting Numbers: [44, 36]
Generated Node #0,1,0: 39:[44, 36] Operation: 34+2=36
Exploring Operation: 44-34=10, Resulting Numbers: [2, 10]
Generated Node #0,1,1: 39:[2, 10] Operation: 44-34=10
Exploring Operation: 44-2=42, Resulting Numbers: [34, 42]
Generated Node #0,1,2: 39:[34, 42] Operation: 44-2=42
Moving to Node #0,0
Current State: 39:[31, 34, 18], Operations: ['62-44=18']
Exploring Operation: 34-31=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 39:[18, 3] Operation: 34-31=3
Exploring Operation: 31-18=13, Resulting Numbers: [34, 13]
Generated Node #0,0,1: 39:[34, 13] Operation: 31-18=13
Exploring Operation: 34-18=16, Resulting Numbers: [31, 16]
Generated Node #0,0,2: 39:[31, 16] Operation: 34-18=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[18, 3], Operations: ['62-44=18', '34-31=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,39 unequal: No Solution
No 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: 39:[34, 13], Operations: ['62-44=18', '31-18=13']
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,39 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,39 unequal: No Solution
No 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: 39:[31, 16], Operations: ['62-44=18', '34-18=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,39 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: 39:[44, 34, 31], Operations: ['62-31=31']
Exploring Operation: 44-34=10, Resulting Numbers: [31, 10]
Generated Node #0,2,0: 39:[31, 10] Operation: 44-34=10
Exploring Operation: 34-31=3, Resulting Numbers: [44, 3]
Generated Node #0,2,1: 39:[44, 3] Operation: 34-31=3
Exploring Operation: 44-31=13, Resulting Numbers: [34, 13]
Generated Node #0,2,2: 39:[34, 13] Operation: 44-31=13
Moving to Node #0,1,1
Current State: 39:[2, 10], Operations: ['62/31=2', '44-34=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[44, 3], Operations: ['62-31=31', '34-31=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,39 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[34, 13], Operations: ['62-31=31', '44-31=13']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,39 unequal: No Solution
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[34, 42], Operations: ['62/31=2', '44-2=42']
Exploring Operation: 34*42=1428, Resulting Numbers: [1428]
1428,39 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[44, 36], Operations: ['62/31=2', '34+2=36']
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 44+36=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 44*36=1584, Resulting Numbers: [1584]
1584,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[31, 10], Operations: ['62-31=31', '44-34=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,39 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,39 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,39 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
92,
32,
46
] | 67 | [
"70*46=3220",
"3220/92=35",
"32+35=67"
] | Current State: 67:[70, 92, 32, 46], Operations: []
Exploring Operation: 70*46=3220, Resulting Numbers: [92, 32, 3220]
Generated Node #2: [92, 32, 3220] from Operation: 70*46=3220
Current State: 67:[92, 32, 3220], Operations: ['70*46=3220']
Exploring Operation: 3220/92=35, Resulting Numbers: [32, 35]
Generated Node #3: [32, 35] from Operation: 3220/92=35
Current State: 67:[32, 35], Operations: ['70*46=3220', '3220/92=35']
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[70, 92, 32, 46], Operations: []
Exploring Operation: 92-46=46, Resulting Numbers: [70, 32, 46]
Generated Node #0,0: 67:[70, 32, 46] Operation: 92-46=46
Exploring Operation: 92-32=60, Resulting Numbers: [70, 46, 60]
Generated Node #0,1: 67:[70, 46, 60] Operation: 92-32=60
Exploring Operation: 32+46=78, Resulting Numbers: [70, 92, 78]
Generated Node #0,2: 67:[70, 92, 78] Operation: 32+46=78
Exploring Operation: 70+32=102, Resulting Numbers: [92, 46, 102]
Generated Node #0,3: 67:[92, 46, 102] Operation: 70+32=102
Exploring Operation: 70-32=38, Resulting Numbers: [92, 46, 38]
Generated Node #0,4: 67:[92, 46, 38] Operation: 70-32=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[70, 46, 60], Operations: ['92-32=60']
Exploring Operation: 60-46=14, Resulting Numbers: [70, 14]
Generated Node #0,1,0: 67:[70, 14] Operation: 60-46=14
Exploring Operation: 46+60=106, Resulting Numbers: [70, 106]
Generated Node #0,1,1: 67:[70, 106] Operation: 46+60=106
Exploring Operation: 70-60=10, Resulting Numbers: [46, 10]
Generated Node #0,1,2: 67:[46, 10] Operation: 70-60=10
Exploring Operation: 70-46=24, Resulting Numbers: [60, 24]
Generated Node #0,1,3: 67:[60, 24] Operation: 70-46=24
Exploring Operation: 70+46=116, Resulting Numbers: [60, 116]
Generated Node #0,1,4: 67:[60, 116] Operation: 70+46=116
Moving to Node #0,1,1
Current State: 67:[70, 106], Operations: ['92-32=60', '46+60=106']
Exploring Operation: 70*106=7420, Resulting Numbers: [7420]
7420,67 unequal: No Solution
Exploring Operation: 70+106=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Exploring Operation: 106-70=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[60, 24], Operations: ['92-32=60', '70-46=24']
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,67 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[70, 14], Operations: ['92-32=60', '60-46=14']
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 70*14=980, Resulting Numbers: [980]
980,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[60, 116], Operations: ['92-32=60', '70+46=116']
Exploring Operation: 116-60=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 60+116=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Exploring Operation: 60*116=6960, Resulting Numbers: [6960]
6960,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[46, 10], Operations: ['92-32=60', '70-60=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,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:[70, 92, 78], Operations: ['32+46=78']
Exploring Operation: 78-70=8, Resulting Numbers: [92, 8]
Generated Node #0,2,0: 67:[92, 8] Operation: 78-70=8
Exploring Operation: 92-70=22, Resulting Numbers: [78, 22]
Generated Node #0,2,1: 67:[78, 22] Operation: 92-70=22
Exploring Operation: 70+78=148, Resulting Numbers: [92, 148]
Generated Node #0,2,2: 67:[92, 148] Operation: 70+78=148
Exploring Operation: 70+92=162, Resulting Numbers: [78, 162]
Generated Node #0,2,3: 67:[78, 162] Operation: 70+92=162
Exploring Operation: 92-78=14, Resulting Numbers: [70, 14]
Generated Node #0,2,4: 67:[70, 14] Operation: 92-78=14
Moving to Node #0,2,1
Current State: 67:[78, 22], Operations: ['32+46=78', '92-70=22']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,67 unequal: No Solution
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[70, 14], Operations: ['32+46=78', '92-78=14']
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 70*14=980, Resulting Numbers: [980]
980,67 unequal: No Solution
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[92, 8], Operations: ['32+46=78', '78-70=8']
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 92*8=736, Resulting Numbers: [736]
736,67 unequal: No Solution
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[92, 148], Operations: ['32+46=78', '70+78=148']
Exploring Operation: 92+148=240, Resulting Numbers: [240]
240,67 unequal: No Solution
Exploring Operation: 148-92=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 92*148=13616, Resulting Numbers: [13616]
13616,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[78, 162], Operations: ['32+46=78', '70+92=162']
Exploring Operation: 78*162=12636, Resulting Numbers: [12636]
12636,67 unequal: No Solution
Exploring Operation: 78+162=240, Resulting Numbers: [240]
240,67 unequal: No Solution
Exploring Operation: 162-78=84, Resulting Numbers: [84]
84,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[70, 32, 46], Operations: ['92-46=46']
Exploring Operation: 70+32=102, Resulting Numbers: [46, 102]
Generated Node #0,0,0: 67:[46, 102] Operation: 70+32=102
Exploring Operation: 46-32=14, Resulting Numbers: [70, 14]
Generated Node #0,0,1: 67:[70, 14] Operation: 46-32=14
Exploring Operation: 32+46=78, Resulting Numbers: [70, 78]
Generated Node #0,0,2: 67:[70, 78] Operation: 32+46=78
Exploring Operation: 70-46=24, Resulting Numbers: [32, 24]
Generated Node #0,0,3: 67:[32, 24] Operation: 70-46=24
Exploring Operation: 70-32=38, Resulting Numbers: [46, 38]
Generated Node #0,0,4: 67:[46, 38] Operation: 70-32=38
Moving to Node #0,0,2
Current State: 67:[70, 78], Operations: ['92-46=46', '32+46=78']
Exploring Operation: 70*78=5460, Resulting Numbers: [5460]
5460,67 unequal: No Solution
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 70+78=148, Resulting Numbers: [148]
148,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[46, 38], Operations: ['92-46=46', '70-32=38']
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[46, 102], Operations: ['92-46=46', '70+32=102']
Exploring Operation: 102-46=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 46*102=4692, Resulting Numbers: [4692]
4692,67 unequal: No Solution
Exploring Operation: 46+102=148, Resulting Numbers: [148]
148,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[70, 14], Operations: ['92-46=46', '46-32=14']
Exploring Operation: 70*14=980, Resulting Numbers: [980]
980,67 unequal: No Solution
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[32, 24], Operations: ['92-46=46', '70-46=24']
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,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,4
Current State: 67:[92, 46, 38], Operations: ['70-32=38']
Exploring Operation: 92+38=130, Resulting Numbers: [46, 130]
Generated Node #0,4,0: 67:[46, 130] Operation: 92+38=130
Exploring Operation: 92-38=54, Resulting Numbers: [46, 54]
Generated Node #0,4,1: 67:[46, 54] Operation: 92-38=54
Exploring Operation: 46-38=8, Resulting Numbers: [92, 8]
Generated Node #0,4,2: 67:[92, 8] Operation: 46-38=8
Exploring Operation: 46+38=84, Resulting Numbers: [92, 84]
Generated Node #0,4,3: 67:[92, 84] Operation: 46+38=84
Exploring Operation: 92-46=46, Resulting Numbers: [38, 46]
Generated Node #0,4,4: 67:[38, 46] Operation: 92-46=46
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 67:[46, 54], Operations: ['70-32=38', '92-38=54']
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,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,4,3
Current State: 67:[92, 84], Operations: ['70-32=38', '46+38=84']
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 92*84=7728, Resulting Numbers: [7728]
7728,67 unequal: No Solution
Exploring Operation: 92+84=176, Resulting Numbers: [176]
176,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,4,4
Current State: 67:[38, 46], Operations: ['70-32=38', '92-46=46']
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,67 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,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,4,0
Current State: 67:[46, 130], Operations: ['70-32=38', '92+38=130']
Exploring Operation: 46*130=5980, Resulting Numbers: [5980]
5980,67 unequal: No Solution
Exploring Operation: 46+130=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Exploring Operation: 130-46=84, Resulting Numbers: [84]
84,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,4,2
Current State: 67:[92, 8], Operations: ['70-32=38', '46-38=8']
Exploring Operation: 92*8=736, Resulting Numbers: [736]
736,67 unequal: No Solution
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,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:[92, 46, 102], Operations: ['70+32=102']
Exploring Operation: 92/46=2, Resulting Numbers: [102, 2]
Generated Node #0,3,0: 67:[102, 2] Operation: 92/46=2
Exploring Operation: 92-46=46, Resulting Numbers: [102, 46]
Generated Node #0,3,1: 67:[102, 46] Operation: 92-46=46
Exploring Operation: 92+46=138, Resulting Numbers: [102, 138]
Generated Node #0,3,2: 67:[102, 138] Operation: 92+46=138
Exploring Operation: 102-92=10, Resulting Numbers: [46, 10]
Generated Node #0,3,3: 67:[46, 10] Operation: 102-92=10
Exploring Operation: 102-46=56, Resulting Numbers: [92, 56]
Generated Node #0,3,4: 67:[92, 56] Operation: 102-46=56
Moving to Node #0,3,4
Current State: 67:[92, 56], Operations: ['70+32=102', '102-46=56']
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 92+56=148, Resulting Numbers: [148]
148,67 unequal: No Solution
Exploring Operation: 92*56=5152, Resulting Numbers: [5152]
5152,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[102, 46], Operations: ['70+32=102', '92-46=46']
Exploring Operation: 102*46=4692, Resulting Numbers: [4692]
4692,67 unequal: No Solution
Exploring Operation: 102-46=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 102+46=148, Resulting Numbers: [148]
148,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[46, 10], Operations: ['70+32=102', '102-92=10']
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,67 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[102, 2], Operations: ['70+32=102', '92/46=2']
Exploring Operation: 102*2=204, Resulting Numbers: [204]
204,67 unequal: No Solution
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 102+2=104, Resulting Numbers: [104]
104,67 unequal: No Solution
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[102, 138], Operations: ['70+32=102', '92+46=138']
Exploring Operation: 138-102=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 102*138=14076, Resulting Numbers: [14076]
14076,67 unequal: No Solution
Exploring Operation: 102+138=240, Resulting Numbers: [240]
240,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
58,
48,
88,
4
] | 94 | [
"58-48=10",
"88-4=84",
"10+84=94"
] | Current State: 94:[58, 48, 88, 4], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [88, 4, 10]
Generated Node #2: [88, 4, 10] from Operation: 58-48=10
Current State: 94:[88, 4, 10], Operations: ['58-48=10']
Exploring Operation: 88-4=84, Resulting Numbers: [10, 84]
Generated Node #3: [10, 84] from Operation: 88-4=84
Current State: 94:[10, 84], Operations: ['58-48=10', '88-4=84']
Exploring Operation: 10+84=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[58, 48, 88, 4], Operations: []
Exploring Operation: 58-4=54, Resulting Numbers: [48, 88, 54]
Generated Node #0,0: 94:[48, 88, 54] Operation: 58-4=54
Exploring Operation: 88+4=92, Resulting Numbers: [58, 48, 92]
Generated Node #0,1: 94:[58, 48, 92] Operation: 88+4=92
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[48, 88, 54], Operations: ['58-4=54']
Exploring Operation: 88-48=40, Resulting Numbers: [54, 40]
Generated Node #0,0,0: 94:[54, 40] Operation: 88-48=40
Exploring Operation: 54-48=6, Resulting Numbers: [88, 6]
Generated Node #0,0,1: 94:[88, 6] Operation: 54-48=6
Moving to Node #0,0,1
Current State: 94:[88, 6], Operations: ['58-4=54', '54-48=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[58, 48, 88, 4], Operations: []
Exploring Operation: 58-4=54, Resulting Numbers: [48, 88, 54]
Generated Node #0,0: 94:[48, 88, 54] Operation: 58-4=54
Moving to Node #0,0
Current State: 94:[48, 88, 54], Operations: ['58-4=54']
Exploring Operation: 54-48=6, Resulting Numbers: [88, 6]
Generated Node #0,0,1: 94:[88, 6] Operation: 54-48=6
Moving to Node #0,0,1
Current State: 94:[88, 6], Operations: ['58-4=54', '54-48=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
4,
25,
51,
54
] | 25 | [
"4+51=55",
"55-54=1",
"25*1=25"
] | Current State: 25:[4, 25, 51, 54], Operations: []
Exploring Operation: 4+51=55, Resulting Numbers: [25, 54, 55]
Generated Node #2: [25, 54, 55] from Operation: 4+51=55
Current State: 25:[25, 54, 55], Operations: ['4+51=55']
Exploring Operation: 55-54=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 55-54=1
Current State: 25:[25, 1], Operations: ['4+51=55', '55-54=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[4, 25, 51, 54], Operations: []
Exploring Operation: 51-25=26, Resulting Numbers: [4, 54, 26]
Generated Node #0,0: 25:[4, 54, 26] Operation: 51-25=26
Exploring Operation: 54-51=3, Resulting Numbers: [4, 25, 3]
Generated Node #0,1: 25:[4, 25, 3] Operation: 54-51=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[4, 25, 3], Operations: ['54-51=3']
Exploring Operation: 4-3=1, Resulting Numbers: [25, 1]
Generated Node #0,1,0: 25:[25, 1] Operation: 4-3=1
Exploring Operation: 4+3=7, Resulting Numbers: [25, 7]
Generated Node #0,1,1: 25:[25, 7] Operation: 4+3=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[25, 7], Operations: ['54-51=3', '4+3=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,25 unequal: No Solution
No 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: 25:[25, 1], Operations: ['54-51=3', '4-3=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[4, 25, 51, 54], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [4, 25, 3]
Generated Node #0,1: 25:[4, 25, 3] Operation: 54-51=3
Moving to Node #0,1
Current State: 25:[4, 25, 3], Operations: ['54-51=3']
Exploring Operation: 4-3=1, Resulting Numbers: [25, 1]
Generated Node #0,1,0: 25:[25, 1] Operation: 4-3=1
Moving to Node #0,1,0
Current State: 25:[25, 1], Operations: ['54-51=3', '4-3=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
52,
84,
66,
74
] | 81 | [
"74-52=22",
"66/22=3",
"84-3=81"
] | Current State: 81:[52, 84, 66, 74], Operations: []
Exploring Operation: 74-52=22, Resulting Numbers: [84, 66, 22]
Generated Node #2: [84, 66, 22] from Operation: 74-52=22
Current State: 81:[84, 66, 22], Operations: ['74-52=22']
Exploring Operation: 66/22=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 66/22=3
Current State: 81:[84, 3], Operations: ['74-52=22', '66/22=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[52, 84, 66, 74], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [84, 74, 14]
Generated Node #0,0: 81:[84, 74, 14] Operation: 66-52=14
Exploring Operation: 74-52=22, Resulting Numbers: [84, 66, 22]
Generated Node #0,1: 81:[84, 66, 22] Operation: 74-52=22
Moving to Node #0,0
Current State: 81:[84, 74, 14], Operations: ['66-52=14']
Exploring Operation: 84-74=10, Resulting Numbers: [14, 10]
Generated Node #0,0,0: 81:[14, 10] Operation: 84-74=10
Exploring Operation: 84/14=6, Resulting Numbers: [74, 6]
Generated Node #0,0,1: 81:[74, 6] Operation: 84/14=6
Moving to Node #0,1
Current State: 81:[84, 66, 22], Operations: ['74-52=22']
Exploring Operation: 66/22=3, Resulting Numbers: [84, 3]
Generated Node #0,1,0: 81:[84, 3] Operation: 66/22=3
Exploring Operation: 66+22=88, Resulting Numbers: [84, 88]
Generated Node #0,1,1: 81:[84, 88] Operation: 66+22=88
Moving to Node #0,1,0
Current State: 81:[84, 3], Operations: ['74-52=22', '66/22=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[52, 84, 66, 74], Operations: []
Exploring Operation: 74-52=22, Resulting Numbers: [84, 66, 22]
Generated Node #0,1: 81:[84, 66, 22] Operation: 74-52=22
Moving to Node #0,1
Current State: 81:[84, 66, 22], Operations: ['74-52=22']
Exploring Operation: 66/22=3, Resulting Numbers: [84, 3]
Generated Node #0,1,0: 81:[84, 3] Operation: 66/22=3
Moving to Node #0,1,0
Current State: 81:[84, 3], Operations: ['74-52=22', '66/22=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
92,
4,
58,
48
] | 46 | [
"92-58=34",
"48/4=12",
"34+12=46"
] | Current State: 46:[92, 4, 58, 48], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [4, 48, 34]
Generated Node #2: [4, 48, 34] from Operation: 92-58=34
Current State: 46:[4, 48, 34], Operations: ['92-58=34']
Exploring Operation: 48/4=12, Resulting Numbers: [34, 12]
Generated Node #3: [34, 12] from Operation: 48/4=12
Current State: 46:[34, 12], Operations: ['92-58=34', '48/4=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[92, 4, 58, 48], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [4, 48, 34]
Generated Node #0,0: 46:[4, 48, 34] Operation: 92-58=34
Exploring Operation: 58-4=54, Resulting Numbers: [92, 48, 54]
Generated Node #0,1: 46:[92, 48, 54] Operation: 58-4=54
Exploring Operation: 92-4=88, Resulting Numbers: [58, 48, 88]
Generated Node #0,2: 46:[58, 48, 88] Operation: 92-4=88
Exploring Operation: 92/4=23, Resulting Numbers: [58, 48, 23]
Generated Node #0,3: 46:[58, 48, 23] Operation: 92/4=23
Exploring Operation: 92-48=44, Resulting Numbers: [4, 58, 44]
Generated Node #0,4: 46:[4, 58, 44] Operation: 92-48=44
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[58, 48, 23], Operations: ['92/4=23']
Exploring Operation: 58-23=35, Resulting Numbers: [48, 35]
Generated Node #0,3,0: 46:[48, 35] Operation: 58-23=35
Exploring Operation: 48-23=25, Resulting Numbers: [58, 25]
Generated Node #0,3,1: 46:[58, 25] Operation: 48-23=25
Exploring Operation: 58+23=81, Resulting Numbers: [48, 81]
Generated Node #0,3,2: 46:[48, 81] Operation: 58+23=81
Exploring Operation: 58-48=10, Resulting Numbers: [23, 10]
Generated Node #0,3,3: 46:[23, 10] Operation: 58-48=10
Exploring Operation: 48+23=71, Resulting Numbers: [58, 71]
Generated Node #0,3,4: 46:[58, 71] Operation: 48+23=71
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 46:[23, 10], Operations: ['92/4=23', '58-48=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 46:[48, 35], Operations: ['92/4=23', '58-23=35']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,46 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,46 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 46:[58, 25], Operations: ['92/4=23', '48-23=25']
Exploring Operation: 58+25=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 58*25=1450, Resulting Numbers: [1450]
1450,46 unequal: No Solution
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 46:[48, 81], Operations: ['92/4=23', '58+23=81']
Exploring Operation: 48*81=3888, Resulting Numbers: [3888]
3888,46 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 48+81=129, Resulting Numbers: [129]
129,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 46:[58, 71], Operations: ['92/4=23', '48+23=71']
Exploring Operation: 58+71=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 58*71=4118, Resulting Numbers: [4118]
4118,46 unequal: No Solution
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[4, 48, 34], Operations: ['92-58=34']
Exploring Operation: 48-34=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 46:[4, 14] Operation: 48-34=14
Exploring Operation: 4+34=38, Resulting Numbers: [48, 38]
Generated Node #0,0,1: 46:[48, 38] Operation: 4+34=38
Exploring Operation: 4+48=52, Resulting Numbers: [34, 52]
Generated Node #0,0,2: 46:[34, 52] Operation: 4+48=52
Exploring Operation: 34-4=30, Resulting Numbers: [48, 30]
Generated Node #0,0,3: 46:[48, 30] Operation: 34-4=30
Exploring Operation: 48-4=44, Resulting Numbers: [34, 44]
Generated Node #0,0,4: 46:[34, 44] Operation: 48-4=44
Moving to Node #0,0,3
Current State: 46:[48, 30], Operations: ['92-58=34', '34-4=30']
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,46 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[48, 38], Operations: ['92-58=34', '4+34=38']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,46 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[4, 14], Operations: ['92-58=34', '48-34=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Moving to Node #0,0,4
Current State: 46:[34, 44], Operations: ['92-58=34', '48-4=44']
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 34*44=1496, Resulting Numbers: [1496]
1496,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[34, 52], Operations: ['92-58=34', '4+48=52']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,46 unequal: No Solution
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[4, 58, 44], Operations: ['92-48=44']
Exploring Operation: 58-44=14, Resulting Numbers: [4, 14]
Generated Node #0,4,0: 46:[4, 14] Operation: 58-44=14
Exploring Operation: 4+58=62, Resulting Numbers: [44, 62]
Generated Node #0,4,1: 46:[44, 62] Operation: 4+58=62
Exploring Operation: 58-4=54, Resulting Numbers: [44, 54]
Generated Node #0,4,2: 46:[44, 54] Operation: 58-4=54
Exploring Operation: 4+44=48, Resulting Numbers: [58, 48]
Generated Node #0,4,3: 46:[58, 48] Operation: 4+44=48
Exploring Operation: 44-4=40, Resulting Numbers: [58, 40]
Generated Node #0,4,4: 46:[58, 40] Operation: 44-4=40
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 46:[44, 54], Operations: ['92-48=44', '58-4=54']
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,46 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 46:[4, 14], Operations: ['92-48=44', '58-44=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 46:[58, 48], Operations: ['92-48=44', '4+44=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,46 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 46:[44, 62], Operations: ['92-48=44', '4+58=62']
Exploring Operation: 44+62=106, Resulting Numbers: [106]
106,46 unequal: No Solution
Exploring Operation: 44*62=2728, Resulting Numbers: [2728]
2728,46 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 46:[58, 40], Operations: ['92-48=44', '44-4=40']
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,46 unequal: No Solution
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[92, 48, 54], Operations: ['58-4=54']
Exploring Operation: 92+48=140, Resulting Numbers: [54, 140]
Generated Node #0,1,0: 46:[54, 140] Operation: 92+48=140
Exploring Operation: 92-48=44, Resulting Numbers: [54, 44]
Generated Node #0,1,1: 46:[54, 44] Operation: 92-48=44
Exploring Operation: 54-48=6, Resulting Numbers: [92, 6]
Generated Node #0,1,2: 46:[92, 6] Operation: 54-48=6
Exploring Operation: 92-54=38, Resulting Numbers: [48, 38]
Generated Node #0,1,3: 46:[48, 38] Operation: 92-54=38
Exploring Operation: 92+54=146, Resulting Numbers: [48, 146]
Generated Node #0,1,4: 46:[48, 146] Operation: 92+54=146
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[54, 44], Operations: ['58-4=54', '92-48=44']
Exploring Operation: 54*44=2376, Resulting Numbers: [2376]
2376,46 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 46:[48, 38], Operations: ['58-4=54', '92-54=38']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,46 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[92, 6], Operations: ['58-4=54', '54-48=6']
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,46 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[54, 140], Operations: ['58-4=54', '92+48=140']
Exploring Operation: 54*140=7560, Resulting Numbers: [7560]
7560,46 unequal: No Solution
Exploring Operation: 140-54=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 54+140=194, Resulting Numbers: [194]
194,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 46:[48, 146], Operations: ['58-4=54', '92+54=146']
Exploring Operation: 48*146=7008, Resulting Numbers: [7008]
7008,46 unequal: No Solution
Exploring Operation: 48+146=194, Resulting Numbers: [194]
194,46 unequal: No Solution
Exploring Operation: 146-48=98, Resulting Numbers: [98]
98,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[58, 48, 88], Operations: ['92-4=88']
Exploring Operation: 88-48=40, Resulting Numbers: [58, 40]
Generated Node #0,2,0: 46:[58, 40] Operation: 88-48=40
Exploring Operation: 58+48=106, Resulting Numbers: [88, 106]
Generated Node #0,2,1: 46:[88, 106] Operation: 58+48=106
Exploring Operation: 58+88=146, Resulting Numbers: [48, 146]
Generated Node #0,2,2: 46:[48, 146] Operation: 58+88=146
Exploring Operation: 88-58=30, Resulting Numbers: [48, 30]
Generated Node #0,2,3: 46:[48, 30] Operation: 88-58=30
Exploring Operation: 58-48=10, Resulting Numbers: [88, 10]
Generated Node #0,2,4: 46:[88, 10] Operation: 58-48=10
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 46:[48, 30], Operations: ['92-4=88', '88-58=30']
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,46 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[58, 40], Operations: ['92-4=88', '88-48=40']
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,46 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 46:[88, 10], Operations: ['92-4=88', '58-48=10']
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,46 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 46:[88, 106], Operations: ['92-4=88', '58+48=106']
Exploring Operation: 88+106=194, Resulting Numbers: [194]
194,46 unequal: No Solution
Exploring Operation: 88*106=9328, Resulting Numbers: [9328]
9328,46 unequal: No Solution
Exploring Operation: 106-88=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 46:[48, 146], Operations: ['92-4=88', '58+88=146']
Exploring Operation: 48+146=194, Resulting Numbers: [194]
194,46 unequal: No Solution
Exploring Operation: 146-48=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 48*146=7008, Resulting Numbers: [7008]
7008,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
85,
96,
23,
39
] | 48 | [
"85-39=46",
"96*23=2208",
"2208/46=48"
] | Current State: 48:[85, 96, 23, 39], Operations: []
Exploring Operation: 85-39=46, Resulting Numbers: [96, 23, 46]
Generated Node #2: [96, 23, 46] from Operation: 85-39=46
Current State: 48:[96, 23, 46], Operations: ['85-39=46']
Exploring Operation: 96*23=2208, Resulting Numbers: [46, 2208]
Generated Node #3: [46, 2208] from Operation: 96*23=2208
Current State: 48:[46, 2208], Operations: ['85-39=46', '96*23=2208']
Exploring Operation: 2208/46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[85, 96, 23, 39], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [23, 39, 11]
Generated Node #0,0: 48:[23, 39, 11] Operation: 96-85=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[23, 39, 11], Operations: ['96-85=11']
Exploring Operation: 39-23=16, Resulting Numbers: [11, 16]
Generated Node #0,0,0: 48:[11, 16] Operation: 39-23=16
Moving to Node #0,0,0
Current State: 48:[11, 16], Operations: ['96-85=11', '39-23=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,48 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 |
[
64,
7,
31,
73
] | 94 | [
"73-64=9",
"7*9=63",
"31+63=94"
] | Current State: 94:[64, 7, 31, 73], Operations: []
Exploring Operation: 73-64=9, Resulting Numbers: [7, 31, 9]
Generated Node #2: [7, 31, 9] from Operation: 73-64=9
Current State: 94:[7, 31, 9], Operations: ['73-64=9']
Exploring Operation: 7*9=63, Resulting Numbers: [31, 63]
Generated Node #3: [31, 63] from Operation: 7*9=63
Current State: 94:[31, 63], Operations: ['73-64=9', '7*9=63']
Exploring Operation: 31+63=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[64, 7, 31, 73], Operations: []
Exploring Operation: 64+31=95, Resulting Numbers: [7, 73, 95]
Generated Node #0,0: 94:[7, 73, 95] Operation: 64+31=95
Moving to Node #0,0
Current State: 94:[7, 73, 95], Operations: ['64+31=95']
Exploring Operation: 7+73=80, Resulting Numbers: [95, 80]
Generated Node #0,0,0: 94:[95, 80] Operation: 7+73=80
Moving to Node #0,0,0
Current State: 94:[95, 80], Operations: ['64+31=95', '7+73=80']
Exploring Operation: 95-80=15, Resulting Numbers: [15]
15,94 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
66,
95,
28,
39
] | 96 | [
"95-66=29",
"28+39=67",
"29+67=96"
] | Current State: 96:[66, 95, 28, 39], Operations: []
Exploring Operation: 95-66=29, Resulting Numbers: [28, 39, 29]
Generated Node #2: [28, 39, 29] from Operation: 95-66=29
Current State: 96:[28, 39, 29], Operations: ['95-66=29']
Exploring Operation: 28+39=67, Resulting Numbers: [29, 67]
Generated Node #3: [29, 67] from Operation: 28+39=67
Current State: 96:[29, 67], Operations: ['95-66=29', '28+39=67']
Exploring Operation: 29+67=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[66, 95, 28, 39], Operations: []
Exploring Operation: 66-39=27, Resulting Numbers: [95, 28, 27]
Generated Node #0,0: 96:[95, 28, 27] Operation: 66-39=27
Moving to Node #0,0
Current State: 96:[95, 28, 27], Operations: ['66-39=27']
Exploring Operation: 28-27=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 96:[95, 1] Operation: 28-27=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[95, 1], Operations: ['66-39=27', '28-27=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[66, 95, 28, 39], Operations: []
Exploring Operation: 66-39=27, Resulting Numbers: [95, 28, 27]
Generated Node #0,0: 96:[95, 28, 27] Operation: 66-39=27
Moving to Node #0,0
Current State: 96:[95, 28, 27], Operations: ['66-39=27']
Exploring Operation: 28-27=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 96:[95, 1] Operation: 28-27=1
Moving to Node #0,0,0
Current State: 96:[95, 1], Operations: ['66-39=27', '28-27=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
85,
37,
53,
3
] | 91 | [
"85-37=48",
"3*48=144",
"144-53=91"
] | Current State: 91:[85, 37, 53, 3], Operations: []
Exploring Operation: 85-37=48, Resulting Numbers: [53, 3, 48]
Generated Node #2: [53, 3, 48] from Operation: 85-37=48
Current State: 91:[53, 3, 48], Operations: ['85-37=48']
Exploring Operation: 3*48=144, Resulting Numbers: [53, 144]
Generated Node #3: [53, 144] from Operation: 3*48=144
Current State: 91:[53, 144], Operations: ['85-37=48', '3*48=144']
Exploring Operation: 144-53=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[85, 37, 53, 3], Operations: []
Exploring Operation: 53-37=16, Resulting Numbers: [85, 3, 16]
Generated Node #0,0: 91:[85, 3, 16] Operation: 53-37=16
Exploring Operation: 37+53=90, Resulting Numbers: [85, 3, 90]
Generated Node #0,1: 91:[85, 3, 90] Operation: 37+53=90
Exploring Operation: 37*3=111, Resulting Numbers: [85, 53, 111]
Generated Node #0,2: 91:[85, 53, 111] Operation: 37*3=111
Exploring Operation: 85-53=32, Resulting Numbers: [37, 3, 32]
Generated Node #0,3: 91:[37, 3, 32] Operation: 85-53=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[85, 3, 90], Operations: ['37+53=90']
Exploring Operation: 85-3=82, Resulting Numbers: [90, 82]
Generated Node #0,1,0: 91:[90, 82] Operation: 85-3=82
Exploring Operation: 3+90=93, Resulting Numbers: [85, 93]
Generated Node #0,1,1: 91:[85, 93] Operation: 3+90=93
Exploring Operation: 90-85=5, Resulting Numbers: [3, 5]
Generated Node #0,1,2: 91:[3, 5] Operation: 90-85=5
Exploring Operation: 85+3=88, Resulting Numbers: [90, 88]
Generated Node #0,1,3: 91:[90, 88] Operation: 85+3=88
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 91:[90, 88], Operations: ['37+53=90', '85+3=88']
Exploring Operation: 90+88=178, Resulting Numbers: [178]
178,91 unequal: No Solution
Exploring Operation: 90*88=7920, Resulting Numbers: [7920]
7920,91 unequal: No Solution
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[3, 5], Operations: ['37+53=90', '90-85=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[85, 93], Operations: ['37+53=90', '3+90=93']
Exploring Operation: 85*93=7905, Resulting Numbers: [7905]
7905,91 unequal: No Solution
Exploring Operation: 85+93=178, Resulting Numbers: [178]
178,91 unequal: No Solution
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[90, 82], Operations: ['37+53=90', '85-3=82']
Exploring Operation: 90+82=172, Resulting Numbers: [172]
172,91 unequal: No Solution
Exploring Operation: 90*82=7380, Resulting Numbers: [7380]
7380,91 unequal: No Solution
Exploring Operation: 90-82=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[85, 3, 16], Operations: ['53-37=16']
Exploring Operation: 85-3=82, Resulting Numbers: [16, 82]
Generated Node #0,0,0: 91:[16, 82] Operation: 85-3=82
Exploring Operation: 85+3=88, Resulting Numbers: [16, 88]
Generated Node #0,0,1: 91:[16, 88] Operation: 85+3=88
Exploring Operation: 3+16=19, Resulting Numbers: [85, 19]
Generated Node #0,0,2: 91:[85, 19] Operation: 3+16=19
Exploring Operation: 16-3=13, Resulting Numbers: [85, 13]
Generated Node #0,0,3: 91:[85, 13] Operation: 16-3=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[16, 88], Operations: ['53-37=16', '85+3=88']
Exploring Operation: 16*88=1408, Resulting Numbers: [1408]
1408,91 unequal: No Solution
Exploring Operation: 16+88=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[85, 13], Operations: ['53-37=16', '16-3=13']
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[16, 82], Operations: ['53-37=16', '85-3=82']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 16+82=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 16*82=1312, Resulting Numbers: [1312]
1312,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[85, 19], Operations: ['53-37=16', '3+16=19']
Exploring Operation: 85+19=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 85*19=1615, Resulting Numbers: [1615]
1615,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[37, 3, 32], Operations: ['85-53=32']
Exploring Operation: 37-32=5, Resulting Numbers: [3, 5]
Generated Node #0,3,0: 91:[3, 5] Operation: 37-32=5
Exploring Operation: 3*32=96, Resulting Numbers: [37, 96]
Generated Node #0,3,1: 91:[37, 96] Operation: 3*32=96
Exploring Operation: 37*3=111, Resulting Numbers: [32, 111]
Generated Node #0,3,2: 91:[32, 111] Operation: 37*3=111
Exploring Operation: 37+32=69, Resulting Numbers: [3, 69]
Generated Node #0,3,3: 91:[3, 69] Operation: 37+32=69
Moving to Node #0,3,0
Current State: 91:[3, 5], Operations: ['85-53=32', '37-32=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[3, 69], Operations: ['85-53=32', '37+32=69']
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 3*69=207, Resulting Numbers: [207]
207,91 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,91 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[37, 96], Operations: ['85-53=32', '3*32=96']
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,91 unequal: No Solution
Exploring Operation: 37+96=133, Resulting Numbers: [133]
133,91 unequal: No Solution
Exploring Operation: 37*96=3552, Resulting Numbers: [3552]
3552,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[32, 111], Operations: ['85-53=32', '37*3=111']
Exploring Operation: 32*111=3552, Resulting Numbers: [3552]
3552,91 unequal: No Solution
Exploring Operation: 32+111=143, Resulting Numbers: [143]
143,91 unequal: No Solution
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[85, 53, 111], Operations: ['37*3=111']
Exploring Operation: 111-53=58, Resulting Numbers: [85, 58]
Generated Node #0,2,0: 91:[85, 58] Operation: 111-53=58
Exploring Operation: 85+53=138, Resulting Numbers: [111, 138]
Generated Node #0,2,1: 91:[111, 138] Operation: 85+53=138
Exploring Operation: 85-53=32, Resulting Numbers: [111, 32]
Generated Node #0,2,2: 91:[111, 32] Operation: 85-53=32
Exploring Operation: 111-85=26, Resulting Numbers: [53, 26]
Generated Node #0,2,3: 91:[53, 26] Operation: 111-85=26
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[85, 58], Operations: ['37*3=111', '111-53=58']
Exploring Operation: 85*58=4930, Resulting Numbers: [4930]
4930,91 unequal: No Solution
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 85+58=143, Resulting Numbers: [143]
143,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[111, 32], Operations: ['37*3=111', '85-53=32']
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,91 unequal: No Solution
Exploring Operation: 111+32=143, Resulting Numbers: [143]
143,91 unequal: No Solution
Exploring Operation: 111*32=3552, Resulting Numbers: [3552]
3552,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 91:[53, 26], Operations: ['37*3=111', '111-85=26']
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,91 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[111, 138], Operations: ['37*3=111', '85+53=138']
Exploring Operation: 111+138=249, Resulting Numbers: [249]
249,91 unequal: No Solution
Exploring Operation: 138-111=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 111*138=15318, Resulting Numbers: [15318]
15318,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
16,
8,
13,
16
] | 17 | [
"16+16=32",
"32/8=4",
"13+4=17"
] | Current State: 17:[16, 8, 13, 16], Operations: []
Exploring Operation: 16+16=32, Resulting Numbers: [8, 13, 32]
Generated Node #2: [8, 13, 32] from Operation: 16+16=32
Current State: 17:[8, 13, 32], Operations: ['16+16=32']
Exploring Operation: 32/8=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 32/8=4
Current State: 17:[13, 4], Operations: ['16+16=32', '32/8=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[16, 8, 13, 16], Operations: []
Exploring Operation: 8+16=24, Resulting Numbers: [16, 13, 24]
Generated Node #0,0: 17:[16, 13, 24] Operation: 8+16=24
Exploring Operation: 8+13=21, Resulting Numbers: [16, 16, 21]
Generated Node #0,1: 17:[16, 16, 21] Operation: 8+13=21
Exploring Operation: 16+8=24, Resulting Numbers: [13, 16, 24]
Generated Node #0,2: 17:[13, 16, 24] Operation: 16+8=24
Moving to Node #0,1
Current State: 17:[16, 16, 21], Operations: ['8+13=21']
Exploring Operation: 21-16=5, Resulting Numbers: [16, 5]
Generated Node #0,1,0: 17:[16, 5] Operation: 21-16=5
Exploring Operation: 21-16=5, Resulting Numbers: [16, 5]
Generated Node #0,1,1: 17:[16, 5] Operation: 21-16=5
Exploring Operation: 16+16=32, Resulting Numbers: [21, 32]
Generated Node #0,1,2: 17:[21, 32] Operation: 16+16=32
Moving to Node #0,0
Current State: 17:[16, 13, 24], Operations: ['8+16=24']
Exploring Operation: 16+13=29, Resulting Numbers: [24, 29]
Generated Node #0,0,0: 17:[24, 29] Operation: 16+13=29
Exploring Operation: 24-16=8, Resulting Numbers: [13, 8]
Generated Node #0,0,1: 17:[13, 8] Operation: 24-16=8
Exploring Operation: 24-13=11, Resulting Numbers: [16, 11]
Generated Node #0,0,2: 17:[16, 11] Operation: 24-13=11
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[16, 11], Operations: ['8+16=24', '24-13=11']
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,17 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[13, 8], Operations: ['8+16=24', '24-16=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,17 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[24, 29], Operations: ['8+16=24', '16+13=29']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,17 unequal: No Solution
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 17:[13, 16, 24], Operations: ['16+8=24']
Exploring Operation: 24-13=11, Resulting Numbers: [16, 11]
Generated Node #0,2,0: 17:[16, 11] Operation: 24-13=11
Exploring Operation: 24-16=8, Resulting Numbers: [13, 8]
Generated Node #0,2,1: 17:[13, 8] Operation: 24-16=8
Exploring Operation: 13+16=29, Resulting Numbers: [24, 29]
Generated Node #0,2,2: 17:[24, 29] Operation: 13+16=29
Moving to Node #0,2,0
Current State: 17:[16, 11], Operations: ['16+8=24', '24-13=11']
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,17 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[16, 5], Operations: ['8+13=21', '21-16=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[13, 8], Operations: ['16+8=24', '24-16=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,17 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[16, 5], Operations: ['8+13=21', '21-16=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[24, 29], Operations: ['16+8=24', '13+16=29']
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,17 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[21, 32], Operations: ['8+13=21', '16+16=32']
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,17 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,17 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
31,
15,
84,
48
] | 52 | [
"31-15=16",
"84-48=36",
"16+36=52"
] | Current State: 52:[31, 15, 84, 48], Operations: []
Exploring Operation: 31-15=16, Resulting Numbers: [84, 48, 16]
Generated Node #2: [84, 48, 16] from Operation: 31-15=16
Current State: 52:[84, 48, 16], Operations: ['31-15=16']
Exploring Operation: 84-48=36, Resulting Numbers: [16, 36]
Generated Node #3: [16, 36] from Operation: 84-48=36
Current State: 52:[16, 36], Operations: ['31-15=16', '84-48=36']
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[31, 15, 84, 48], Operations: []
Exploring Operation: 84-31=53, Resulting Numbers: [15, 48, 53]
Generated Node #0,0: 52:[15, 48, 53] Operation: 84-31=53
Moving to Node #0,0
Current State: 52:[15, 48, 53], Operations: ['84-31=53']
Exploring Operation: 53-48=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 52:[15, 5] Operation: 53-48=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[15, 5], Operations: ['84-31=53', '53-48=5']
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 |
[
8,
59,
27,
25
] | 56 | [
"59-27=32",
"32-25=7",
"8*7=56"
] | Current State: 56:[8, 59, 27, 25], Operations: []
Exploring Operation: 59-27=32, Resulting Numbers: [8, 25, 32]
Generated Node #2: [8, 25, 32] from Operation: 59-27=32
Current State: 56:[8, 25, 32], Operations: ['59-27=32']
Exploring Operation: 32-25=7, Resulting Numbers: [8, 7]
Generated Node #3: [8, 7] from Operation: 32-25=7
Current State: 56:[8, 7], Operations: ['59-27=32', '32-25=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[8, 59, 27, 25], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [8, 59, 2]
Generated Node #0,0: 56:[8, 59, 2] Operation: 27-25=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[8, 59, 2], Operations: ['27-25=2']
Exploring Operation: 59-2=57, Resulting Numbers: [8, 57]
Generated Node #0,0,0: 56:[8, 57] Operation: 59-2=57
Moving to Node #0,0,0
Current State: 56:[8, 57], Operations: ['27-25=2', '59-2=57']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,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 | sum_heuristic |
[
53,
60,
76,
91
] | 98 | [
"53+60=113",
"91-76=15",
"113-15=98"
] | Current State: 98:[53, 60, 76, 91], Operations: []
Exploring Operation: 53+60=113, Resulting Numbers: [76, 91, 113]
Generated Node #2: [76, 91, 113] from Operation: 53+60=113
Current State: 98:[76, 91, 113], Operations: ['53+60=113']
Exploring Operation: 91-76=15, Resulting Numbers: [113, 15]
Generated Node #3: [113, 15] from Operation: 91-76=15
Current State: 98:[113, 15], Operations: ['53+60=113', '91-76=15']
Exploring Operation: 113-15=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[53, 60, 76, 91], Operations: []
Exploring Operation: 91-76=15, Resulting Numbers: [53, 60, 15]
Generated Node #0,0: 98:[53, 60, 15] Operation: 91-76=15
Exploring Operation: 76-60=16, Resulting Numbers: [53, 91, 16]
Generated Node #0,1: 98:[53, 91, 16] Operation: 76-60=16
Exploring Operation: 76-53=23, Resulting Numbers: [60, 91, 23]
Generated Node #0,2: 98:[60, 91, 23] Operation: 76-53=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[53, 91, 16], Operations: ['76-60=16']
Exploring Operation: 91+16=107, Resulting Numbers: [53, 107]
Generated Node #0,1,0: 98:[53, 107] Operation: 91+16=107
Exploring Operation: 53-16=37, Resulting Numbers: [91, 37]
Generated Node #0,1,1: 98:[91, 37] Operation: 53-16=37
Exploring Operation: 91-53=38, Resulting Numbers: [16, 38]
Generated Node #0,1,2: 98:[16, 38] Operation: 91-53=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[53, 107], Operations: ['76-60=16', '91+16=107']
Exploring Operation: 53*107=5671, Resulting Numbers: [5671]
5671,98 unequal: No Solution
Exploring Operation: 53+107=160, Resulting Numbers: [160]
160,98 unequal: No Solution
Exploring Operation: 107-53=54, Resulting Numbers: [54]
54,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[16, 38], Operations: ['76-60=16', '91-53=38']
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,98 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[91, 37], Operations: ['76-60=16', '53-16=37']
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,98 unequal: No Solution
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[53, 60, 15], Operations: ['91-76=15']
Exploring Operation: 60-53=7, Resulting Numbers: [15, 7]
Generated Node #0,0,0: 98:[15, 7] Operation: 60-53=7
Exploring Operation: 60-15=45, Resulting Numbers: [53, 45]
Generated Node #0,0,1: 98:[53, 45] Operation: 60-15=45
Exploring Operation: 60/15=4, Resulting Numbers: [53, 4]
Generated Node #0,0,2: 98:[53, 4] Operation: 60/15=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[15, 7], Operations: ['91-76=15', '60-53=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,98 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[53, 4], Operations: ['91-76=15', '60/15=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,98 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[53, 45], Operations: ['91-76=15', '60-15=45']
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,98 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[53, 60, 76, 91], Operations: []
Exploring Operation: 91-76=15, Resulting Numbers: [53, 60, 15]
Generated Node #0,0: 98:[53, 60, 15] Operation: 91-76=15
Moving to Node #0,0
Current State: 98:[53, 60, 15], Operations: ['91-76=15']
Exploring Operation: 60-15=45, Resulting Numbers: [53, 45]
Generated Node #0,0,1: 98:[53, 45] Operation: 60-15=45
Moving to Node #0,0,1
Current State: 98:[53, 45], Operations: ['91-76=15', '60-15=45']
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
60,
1,
71,
86
] | 46 | [
"60+1=61",
"86-71=15",
"61-15=46"
] | Current State: 46:[60, 1, 71, 86], Operations: []
Exploring Operation: 60+1=61, Resulting Numbers: [71, 86, 61]
Generated Node #2: [71, 86, 61] from Operation: 60+1=61
Current State: 46:[71, 86, 61], Operations: ['60+1=61']
Exploring Operation: 86-71=15, Resulting Numbers: [61, 15]
Generated Node #3: [61, 15] from Operation: 86-71=15
Current State: 46:[61, 15], Operations: ['60+1=61', '86-71=15']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[60, 1, 71, 86], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [60, 1, 15]
Generated Node #0,0: 46:[60, 1, 15] Operation: 86-71=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[60, 1, 15], Operations: ['86-71=15']
Exploring Operation: 60-15=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 46:[1, 45] Operation: 60-15=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[1, 45], Operations: ['86-71=15', '60-15=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[60, 1, 71, 86], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [60, 1, 15]
Generated Node #0,0: 46:[60, 1, 15] Operation: 86-71=15
Moving to Node #0,0
Current State: 46:[60, 1, 15], Operations: ['86-71=15']
Exploring Operation: 60-15=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 46:[1, 45] Operation: 60-15=45
Moving to Node #0,0,0
Current State: 46:[1, 45], Operations: ['86-71=15', '60-15=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
7,
19,
49,
10
] | 57 | [
"49/7=7",
"10-7=3",
"19*3=57"
] | Current State: 57:[7, 19, 49, 10], Operations: []
Exploring Operation: 49/7=7, Resulting Numbers: [19, 10, 7]
Generated Node #2: [19, 10, 7] from Operation: 49/7=7
Current State: 57:[19, 10, 7], Operations: ['49/7=7']
Exploring Operation: 10-7=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 10-7=3
Current State: 57:[19, 3], Operations: ['49/7=7', '10-7=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[7, 19, 49, 10], Operations: []
Exploring Operation: 49+10=59, Resulting Numbers: [7, 19, 59]
Generated Node #0,0: 57:[7, 19, 59] Operation: 49+10=59
Exploring Operation: 10-7=3, Resulting Numbers: [19, 49, 3]
Generated Node #0,1: 57:[19, 49, 3] Operation: 10-7=3
Exploring Operation: 7+49=56, Resulting Numbers: [19, 10, 56]
Generated Node #0,2: 57:[19, 10, 56] Operation: 7+49=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[7, 19, 59], Operations: ['49+10=59']
Exploring Operation: 7+19=26, Resulting Numbers: [59, 26]
Generated Node #0,0,0: 57:[59, 26] Operation: 7+19=26
Exploring Operation: 19-7=12, Resulting Numbers: [59, 12]
Generated Node #0,0,1: 57:[59, 12] Operation: 19-7=12
Exploring Operation: 59-7=52, Resulting Numbers: [19, 52]
Generated Node #0,0,2: 57:[19, 52] Operation: 59-7=52
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[19, 52], Operations: ['49+10=59', '59-7=52']
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,57 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,57 unequal: No Solution
No 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: 57:[59, 26], Operations: ['49+10=59', '7+19=26']
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,57 unequal: No Solution
No 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: 57:[59, 12], Operations: ['49+10=59', '19-7=12']
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 59*12=708, Resulting Numbers: [708]
708,57 unequal: No Solution
Exploring Operation: 59+12=71, Resulting Numbers: [71]
71,57 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: 57:[19, 49, 3], Operations: ['10-7=3']
Exploring Operation: 49+3=52, Resulting Numbers: [19, 52]
Generated Node #0,1,0: 57:[19, 52] Operation: 49+3=52
Exploring Operation: 19+49=68, Resulting Numbers: [3, 68]
Generated Node #0,1,1: 57:[3, 68] Operation: 19+49=68
Exploring Operation: 19*3=57, Resulting Numbers: [49, 57]
Generated Node #0,1,2: 57:[49, 57] Operation: 19*3=57
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[19, 52], Operations: ['10-7=3', '49+3=52']
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,57 unequal: No Solution
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,57 unequal: No Solution
No 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: 57:[49, 57], Operations: ['10-7=3', '19*3=57']
Exploring Operation: 49*57=2793, Resulting Numbers: [2793]
2793,57 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,57 unequal: No Solution
No 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: 57:[3, 68], Operations: ['10-7=3', '19+49=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,57 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,57 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: 57:[19, 10, 56], Operations: ['7+49=56']
Exploring Operation: 19+10=29, Resulting Numbers: [56, 29]
Generated Node #0,2,0: 57:[56, 29] Operation: 19+10=29
Exploring Operation: 19-10=9, Resulting Numbers: [56, 9]
Generated Node #0,2,1: 57:[56, 9] Operation: 19-10=9
Exploring Operation: 10+56=66, Resulting Numbers: [19, 66]
Generated Node #0,2,2: 57:[19, 66] Operation: 10+56=66
Moving to Node #0,2,1
Current State: 57:[56, 9], Operations: ['7+49=56', '19-10=9']
Exploring Operation: 56*9=504, Resulting Numbers: [504]
504,57 unequal: No Solution
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[19, 66], Operations: ['7+49=56', '10+56=66']
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,57 unequal: No Solution
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[56, 29], Operations: ['7+49=56', '19+10=29']
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 56+29=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Exploring Operation: 56*29=1624, Resulting Numbers: [1624]
1624,57 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 |
[
2,
27,
6,
4
] | 13 | [
"2*27=54",
"54/6=9",
"4+9=13"
] | Current State: 13:[2, 27, 6, 4], Operations: []
Exploring Operation: 2*27=54, Resulting Numbers: [6, 4, 54]
Generated Node #2: [6, 4, 54] from Operation: 2*27=54
Current State: 13:[6, 4, 54], Operations: ['2*27=54']
Exploring Operation: 54/6=9, Resulting Numbers: [4, 9]
Generated Node #3: [4, 9] from Operation: 54/6=9
Current State: 13:[4, 9], Operations: ['2*27=54', '54/6=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[2, 27, 6, 4], Operations: []
Exploring Operation: 27-2=25, Resulting Numbers: [6, 4, 25]
Generated Node #0,0: 13:[6, 4, 25] Operation: 27-2=25
Exploring Operation: 2*6=12, Resulting Numbers: [27, 4, 12]
Generated Node #0,1: 13:[27, 4, 12] Operation: 2*6=12
Exploring Operation: 2*4=8, Resulting Numbers: [27, 6, 8]
Generated Node #0,2: 13:[27, 6, 8] Operation: 2*4=8
Moving to Node #0,1
Current State: 13:[27, 4, 12], Operations: ['2*6=12']
Exploring Operation: 27-4=23, Resulting Numbers: [12, 23]
Generated Node #0,1,0: 13:[12, 23] Operation: 27-4=23
Exploring Operation: 4+12=16, Resulting Numbers: [27, 16]
Generated Node #0,1,1: 13:[27, 16] Operation: 4+12=16
Exploring Operation: 27-12=15, Resulting Numbers: [4, 15]
Generated Node #0,1,2: 13:[4, 15] Operation: 27-12=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[12, 23], Operations: ['2*6=12', '27-4=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,13 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[4, 15], Operations: ['2*6=12', '27-12=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[27, 16], Operations: ['2*6=12', '4+12=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,13 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 13:[27, 6, 8], Operations: ['2*4=8']
Exploring Operation: 6+8=14, Resulting Numbers: [27, 14]
Generated Node #0,2,0: 13:[27, 14] Operation: 6+8=14
Exploring Operation: 27-6=21, Resulting Numbers: [8, 21]
Generated Node #0,2,1: 13:[8, 21] Operation: 27-6=21
Exploring Operation: 27-8=19, Resulting Numbers: [6, 19]
Generated Node #0,2,2: 13:[6, 19] Operation: 27-8=19
Moving to Node #0,0
Current State: 13:[6, 4, 25], Operations: ['27-2=25']
Exploring Operation: 25-6=19, Resulting Numbers: [4, 19]
Generated Node #0,0,0: 13:[4, 19] Operation: 25-6=19
Exploring Operation: 6+4=10, Resulting Numbers: [25, 10]
Generated Node #0,0,1: 13:[25, 10] Operation: 6+4=10
Exploring Operation: 25-4=21, Resulting Numbers: [6, 21]
Generated Node #0,0,2: 13:[6, 21] Operation: 25-4=21
Moving to Node #0,2,1
Current State: 13:[8, 21], Operations: ['2*4=8', '27-6=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[2, 27, 6, 4], Operations: []
Exploring Operation: 2*4=8, Resulting Numbers: [27, 6, 8]
Generated Node #0,2: 13:[27, 6, 8] Operation: 2*4=8
Moving to Node #0,2
Current State: 13:[27, 6, 8], Operations: ['2*4=8']
Exploring Operation: 27-6=21, Resulting Numbers: [8, 21]
Generated Node #0,2,1: 13:[8, 21] Operation: 27-6=21
Moving to Node #0,2,1
Current State: 13:[8, 21], Operations: ['2*4=8', '27-6=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
6,
49,
44,
74
] | 25 | [
"6+49=55",
"74-44=30",
"55-30=25"
] | Current State: 25:[6, 49, 44, 74], Operations: []
Exploring Operation: 6+49=55, Resulting Numbers: [44, 74, 55]
Generated Node #2: [44, 74, 55] from Operation: 6+49=55
Current State: 25:[44, 74, 55], Operations: ['6+49=55']
Exploring Operation: 74-44=30, Resulting Numbers: [55, 30]
Generated Node #3: [55, 30] from Operation: 74-44=30
Current State: 25:[55, 30], Operations: ['6+49=55', '74-44=30']
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[6, 49, 44, 74], Operations: []
Exploring Operation: 74-44=30, Resulting Numbers: [6, 49, 30]
Generated Node #0,0: 25:[6, 49, 30] Operation: 74-44=30
Exploring Operation: 74-49=25, Resulting Numbers: [6, 44, 25]
Generated Node #0,1: 25:[6, 44, 25] Operation: 74-49=25
Moving to Node #0,1
Current State: 25:[6, 44, 25], Operations: ['74-49=25']
Exploring Operation: 44-6=38, Resulting Numbers: [25, 38]
Generated Node #0,1,0: 25:[25, 38] Operation: 44-6=38
Exploring Operation: 44-25=19, Resulting Numbers: [6, 19]
Generated Node #0,1,1: 25:[6, 19] Operation: 44-25=19
Moving to Node #0,0
Current State: 25:[6, 49, 30], Operations: ['74-44=30']
Exploring Operation: 49-30=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 25:[6, 19] Operation: 49-30=19
Exploring Operation: 49-6=43, Resulting Numbers: [30, 43]
Generated Node #0,0,1: 25:[30, 43] Operation: 49-6=43
Moving to Node #0,1,1
Current State: 25:[6, 19], Operations: ['74-49=25', '44-25=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[6, 49, 44, 74], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [6, 44, 25]
Generated Node #0,1: 25:[6, 44, 25] Operation: 74-49=25
Moving to Node #0,1
Current State: 25:[6, 44, 25], Operations: ['74-49=25']
Exploring Operation: 44-25=19, Resulting Numbers: [6, 19]
Generated Node #0,1,1: 25:[6, 19] Operation: 44-25=19
Moving to Node #0,1,1
Current State: 25:[6, 19], Operations: ['74-49=25', '44-25=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
7,
11,
91,
84
] | 41 | [
"84/7=12",
"11*12=132",
"132-91=41"
] | Current State: 41:[7, 11, 91, 84], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [11, 91, 12]
Generated Node #2: [11, 91, 12] from Operation: 84/7=12
Current State: 41:[11, 91, 12], Operations: ['84/7=12']
Exploring Operation: 11*12=132, Resulting Numbers: [91, 132]
Generated Node #3: [91, 132] from Operation: 11*12=132
Current State: 41:[91, 132], Operations: ['84/7=12', '11*12=132']
Exploring Operation: 132-91=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[7, 11, 91, 84], Operations: []
Exploring Operation: 91-7=84, Resulting Numbers: [11, 84, 84]
Generated Node #0,0: 41:[11, 84, 84] Operation: 91-7=84
Exploring Operation: 91/7=13, Resulting Numbers: [11, 84, 13]
Generated Node #0,1: 41:[11, 84, 13] Operation: 91/7=13
Exploring Operation: 84/7=12, Resulting Numbers: [11, 91, 12]
Generated Node #0,2: 41:[11, 91, 12] Operation: 84/7=12
Exploring Operation: 7+11=18, Resulting Numbers: [91, 84, 18]
Generated Node #0,3: 41:[91, 84, 18] Operation: 7+11=18
Exploring Operation: 91-84=7, Resulting Numbers: [7, 11, 7]
Generated Node #0,4: 41:[7, 11, 7] Operation: 91-84=7
Start Sub Search at level 1: Moving to Node #0,4
Current State: 41:[7, 11, 7], Operations: ['91-84=7']
Exploring Operation: 11+7=18, Resulting Numbers: [7, 18]
Generated Node #0,4,0: 41:[7, 18] Operation: 11+7=18
Exploring Operation: 7+7=14, Resulting Numbers: [11, 14]
Generated Node #0,4,1: 41:[11, 14] Operation: 7+7=14
Exploring Operation: 7+11=18, Resulting Numbers: [7, 18]
Generated Node #0,4,2: 41:[7, 18] Operation: 7+11=18
Exploring Operation: 7*7=49, Resulting Numbers: [11, 49]
Generated Node #0,4,3: 41:[11, 49] Operation: 7*7=49
Exploring Operation: 7*11=77, Resulting Numbers: [7, 77]
Generated Node #0,4,4: 41:[7, 77] Operation: 7*11=77
Moving to Node #0,4,3
Current State: 41:[11, 49], Operations: ['91-84=7', '7*7=49']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,41 unequal: No Solution
Moving to Node #0,4,1
Current State: 41:[11, 14], Operations: ['91-84=7', '7+7=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,41 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[7, 18], Operations: ['91-84=7', '11+7=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[7, 18], Operations: ['91-84=7', '7+11=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[7, 77], Operations: ['91-84=7', '7*11=77']
Exploring Operation: 7+77=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 7*77=539, Resulting Numbers: [539]
539,41 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[11, 84, 13], Operations: ['91/7=13']
Exploring Operation: 11+13=24, Resulting Numbers: [84, 24]
Generated Node #0,1,0: 41:[84, 24] Operation: 11+13=24
Exploring Operation: 11+84=95, Resulting Numbers: [13, 95]
Generated Node #0,1,1: 41:[13, 95] Operation: 11+84=95
Exploring Operation: 84-13=71, Resulting Numbers: [11, 71]
Generated Node #0,1,2: 41:[11, 71] Operation: 84-13=71
Exploring Operation: 13-11=2, Resulting Numbers: [84, 2]
Generated Node #0,1,3: 41:[84, 2] Operation: 13-11=2
Exploring Operation: 84-11=73, Resulting Numbers: [13, 73]
Generated Node #0,1,4: 41:[13, 73] Operation: 84-11=73
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[84, 24], Operations: ['91/7=13', '11+13=24']
Exploring Operation: 84+24=108, Resulting Numbers: [108]
108,41 unequal: No Solution
Exploring Operation: 84*24=2016, Resulting Numbers: [2016]
2016,41 unequal: No Solution
Exploring Operation: 84-24=60, Resulting Numbers: [60]
60,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[11, 71], Operations: ['91/7=13', '84-13=71']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 41:[13, 73], Operations: ['91/7=13', '84-11=73']
Exploring Operation: 13*73=949, Resulting Numbers: [949]
949,41 unequal: No Solution
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 13+73=86, Resulting Numbers: [86]
86,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[13, 95], Operations: ['91/7=13', '11+84=95']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 13*95=1235, Resulting Numbers: [1235]
1235,41 unequal: No Solution
Exploring Operation: 13+95=108, Resulting Numbers: [108]
108,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 41:[84, 2], Operations: ['91/7=13', '13-11=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[11, 91, 12], Operations: ['84/7=12']
Exploring Operation: 91-11=80, Resulting Numbers: [12, 80]
Generated Node #0,2,0: 41:[12, 80] Operation: 91-11=80
Exploring Operation: 11+12=23, Resulting Numbers: [91, 23]
Generated Node #0,2,1: 41:[91, 23] Operation: 11+12=23
Exploring Operation: 91-12=79, Resulting Numbers: [11, 79]
Generated Node #0,2,2: 41:[11, 79] Operation: 91-12=79
Exploring Operation: 11+91=102, Resulting Numbers: [12, 102]
Generated Node #0,2,3: 41:[12, 102] Operation: 11+91=102
Exploring Operation: 12-11=1, Resulting Numbers: [91, 1]
Generated Node #0,2,4: 41:[91, 1] Operation: 12-11=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[12, 80], Operations: ['84/7=12', '91-11=80']
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 12*80=960, Resulting Numbers: [960]
960,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 41:[91, 23], Operations: ['84/7=12', '11+12=23']
Exploring Operation: 91*23=2093, Resulting Numbers: [2093]
2093,41 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[11, 79], Operations: ['84/7=12', '91-12=79']
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 11*79=869, Resulting Numbers: [869]
869,41 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 41:[12, 102], Operations: ['84/7=12', '11+91=102']
Exploring Operation: 102-12=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 12*102=1224, Resulting Numbers: [1224]
1224,41 unequal: No Solution
Exploring Operation: 12+102=114, Resulting Numbers: [114]
114,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 41:[91, 1], Operations: ['84/7=12', '12-11=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[11, 84, 84], Operations: ['91-7=84']
Exploring Operation: 84/84=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 41:[11, 1] Operation: 84/84=1
Exploring Operation: 84-84=0, Resulting Numbers: [11, 0]
Generated Node #0,0,1: 41:[11, 0] Operation: 84-84=0
Exploring Operation: 11+84=95, Resulting Numbers: [84, 95]
Generated Node #0,0,2: 41:[84, 95] Operation: 11+84=95
Exploring Operation: 84-11=73, Resulting Numbers: [84, 73]
Generated Node #0,0,3: 41:[84, 73] Operation: 84-11=73
Exploring Operation: 84-11=73, Resulting Numbers: [84, 73]
Generated Node #0,0,4: 41:[84, 73] Operation: 84-11=73
Moving to Node #0,0,0
Current State: 41:[11, 1], Operations: ['91-7=84', '84/84=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[11, 0], Operations: ['91-7=84', '84-84=0']
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 11*0=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[84, 73], Operations: ['91-7=84', '84-11=73']
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,41 unequal: No Solution
Exploring Operation: 84*73=6132, Resulting Numbers: [6132]
6132,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[84, 73], Operations: ['91-7=84', '84-11=73']
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,41 unequal: No Solution
Exploring Operation: 84*73=6132, Resulting Numbers: [6132]
6132,41 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[84, 95], Operations: ['91-7=84', '11+84=95']
Exploring Operation: 84*95=7980, Resulting Numbers: [7980]
7980,41 unequal: No Solution
Exploring Operation: 95-84=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 84+95=179, Resulting Numbers: [179]
179,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[91, 84, 18], Operations: ['7+11=18']
Exploring Operation: 84-18=66, Resulting Numbers: [91, 66]
Generated Node #0,3,0: 41:[91, 66] Operation: 84-18=66
Exploring Operation: 84+18=102, Resulting Numbers: [91, 102]
Generated Node #0,3,1: 41:[91, 102] Operation: 84+18=102
Exploring Operation: 91-18=73, Resulting Numbers: [84, 73]
Generated Node #0,3,2: 41:[84, 73] Operation: 91-18=73
Exploring Operation: 91-84=7, Resulting Numbers: [18, 7]
Generated Node #0,3,3: 41:[18, 7] Operation: 91-84=7
Exploring Operation: 91+18=109, Resulting Numbers: [84, 109]
Generated Node #0,3,4: 41:[84, 109] Operation: 91+18=109
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 41:[18, 7], Operations: ['7+11=18', '91-84=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 41:[91, 66], Operations: ['7+11=18', '84-18=66']
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,41 unequal: No Solution
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,41 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 41:[84, 73], Operations: ['7+11=18', '91-18=73']
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,41 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 84*73=6132, Resulting Numbers: [6132]
6132,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 41:[91, 102], Operations: ['7+11=18', '84+18=102']
Exploring Operation: 91*102=9282, Resulting Numbers: [9282]
9282,41 unequal: No Solution
Exploring Operation: 102-91=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 91+102=193, Resulting Numbers: [193]
193,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 41:[84, 109], Operations: ['7+11=18', '91+18=109']
Exploring Operation: 84*109=9156, Resulting Numbers: [9156]
9156,41 unequal: No Solution
Exploring Operation: 109-84=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 84+109=193, Resulting Numbers: [193]
193,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
70,
96,
29,
35
] | 32 | [
"96-70=26",
"35-29=6",
"26+6=32"
] | Current State: 32:[70, 96, 29, 35], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [29, 35, 26]
Generated Node #2: [29, 35, 26] from Operation: 96-70=26
Current State: 32:[29, 35, 26], Operations: ['96-70=26']
Exploring Operation: 35-29=6, Resulting Numbers: [26, 6]
Generated Node #3: [26, 6] from Operation: 35-29=6
Current State: 32:[26, 6], Operations: ['96-70=26', '35-29=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[70, 96, 29, 35], Operations: []
Exploring Operation: 70-29=41, Resulting Numbers: [96, 35, 41]
Generated Node #0,0: 32:[96, 35, 41] Operation: 70-29=41
Exploring Operation: 70/35=2, Resulting Numbers: [96, 29, 2]
Generated Node #0,1: 32:[96, 29, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [96, 29, 35]
Generated Node #0,2: 32:[96, 29, 35] Operation: 70-35=35
Exploring Operation: 96-35=61, Resulting Numbers: [70, 29, 61]
Generated Node #0,3: 32:[70, 29, 61] Operation: 96-35=61
Exploring Operation: 96-70=26, Resulting Numbers: [29, 35, 26]
Generated Node #0,4: 32:[29, 35, 26] Operation: 96-70=26
Moving to Node #0,4
Current State: 32:[29, 35, 26], Operations: ['96-70=26']
Exploring Operation: 29-26=3, Resulting Numbers: [35, 3]
Generated Node #0,4,0: 32:[35, 3] Operation: 29-26=3
Exploring Operation: 35-26=9, Resulting Numbers: [29, 9]
Generated Node #0,4,1: 32:[29, 9] Operation: 35-26=9
Exploring Operation: 29+26=55, Resulting Numbers: [35, 55]
Generated Node #0,4,2: 32:[35, 55] Operation: 29+26=55
Exploring Operation: 35+26=61, Resulting Numbers: [29, 61]
Generated Node #0,4,3: 32:[29, 61] Operation: 35+26=61
Exploring Operation: 35-29=6, Resulting Numbers: [26, 6]
Generated Node #0,4,4: 32:[26, 6] Operation: 35-29=6
Moving to Node #0,1
Current State: 32:[96, 29, 2], Operations: ['70/35=2']
Exploring Operation: 29+2=31, Resulting Numbers: [96, 31]
Generated Node #0,1,0: 32:[96, 31] Operation: 29+2=31
Exploring Operation: 96+2=98, Resulting Numbers: [29, 98]
Generated Node #0,1,1: 32:[29, 98] Operation: 96+2=98
Exploring Operation: 96-2=94, Resulting Numbers: [29, 94]
Generated Node #0,1,2: 32:[29, 94] Operation: 96-2=94
Exploring Operation: 96/2=48, Resulting Numbers: [29, 48]
Generated Node #0,1,3: 32:[29, 48] Operation: 96/2=48
Exploring Operation: 96-29=67, Resulting Numbers: [2, 67]
Generated Node #0,1,4: 32:[2, 67] Operation: 96-29=67
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[29, 48], Operations: ['70/35=2', '96/2=48']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,32 unequal: No Solution
No 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: 32:[2, 67], Operations: ['70/35=2', '96-29=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,32 unequal: No Solution
No 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: 32:[96, 31], Operations: ['70/35=2', '29+2=31']
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 96*31=2976, Resulting Numbers: [2976]
2976,32 unequal: No Solution
Exploring Operation: 96+31=127, Resulting Numbers: [127]
127,32 unequal: No Solution
No 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: 32:[29, 94], Operations: ['70/35=2', '96-2=94']
Exploring Operation: 29*94=2726, Resulting Numbers: [2726]
2726,32 unequal: No Solution
Exploring Operation: 29+94=123, Resulting Numbers: [123]
123,32 unequal: No Solution
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,32 unequal: No Solution
No 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: 32:[29, 98], Operations: ['70/35=2', '96+2=98']
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 29+98=127, Resulting Numbers: [127]
127,32 unequal: No Solution
Exploring Operation: 29*98=2842, Resulting Numbers: [2842]
2842,32 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: 32:[96, 29, 35], Operations: ['70-35=35']
Exploring Operation: 96+29=125, Resulting Numbers: [35, 125]
Generated Node #0,2,0: 32:[35, 125] Operation: 96+29=125
Exploring Operation: 96-35=61, Resulting Numbers: [29, 61]
Generated Node #0,2,1: 32:[29, 61] Operation: 96-35=61
Exploring Operation: 96-29=67, Resulting Numbers: [35, 67]
Generated Node #0,2,2: 32:[35, 67] Operation: 96-29=67
Exploring Operation: 29+35=64, Resulting Numbers: [96, 64]
Generated Node #0,2,3: 32:[96, 64] Operation: 29+35=64
Exploring Operation: 35-29=6, Resulting Numbers: [96, 6]
Generated Node #0,2,4: 32:[96, 6] Operation: 35-29=6
Moving to Node #0,3
Current State: 32:[70, 29, 61], Operations: ['96-35=61']
Exploring Operation: 29+61=90, Resulting Numbers: [70, 90]
Generated Node #0,3,0: 32:[70, 90] Operation: 29+61=90
Exploring Operation: 70+29=99, Resulting Numbers: [61, 99]
Generated Node #0,3,1: 32:[61, 99] Operation: 70+29=99
Exploring Operation: 70-61=9, Resulting Numbers: [29, 9]
Generated Node #0,3,2: 32:[29, 9] Operation: 70-61=9
Exploring Operation: 70-29=41, Resulting Numbers: [61, 41]
Generated Node #0,3,3: 32:[61, 41] Operation: 70-29=41
Exploring Operation: 61-29=32, Resulting Numbers: [70, 32]
Generated Node #0,3,4: 32:[70, 32] Operation: 61-29=32
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[29, 9], Operations: ['96-35=61', '70-61=9']
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,32 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,32 unequal: No Solution
No 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: 32:[61, 41], Operations: ['96-35=61', '70-29=41']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 61+41=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 61*41=2501, Resulting Numbers: [2501]
2501,32 unequal: No Solution
No 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: 32:[70, 32], Operations: ['96-35=61', '61-29=32']
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Exploring Operation: 70+32=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 70*32=2240, Resulting Numbers: [2240]
2240,32 unequal: No Solution
No 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: 32:[70, 90], Operations: ['96-35=61', '29+61=90']
Exploring Operation: 70+90=160, Resulting Numbers: [160]
160,32 unequal: No Solution
Exploring Operation: 70*90=6300, Resulting Numbers: [6300]
6300,32 unequal: No Solution
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,32 unequal: No Solution
No 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: 32:[61, 99], Operations: ['96-35=61', '70+29=99']
Exploring Operation: 61+99=160, Resulting Numbers: [160]
160,32 unequal: No Solution
Exploring Operation: 99-61=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Exploring Operation: 61*99=6039, Resulting Numbers: [6039]
6039,32 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: 32:[96, 35, 41], Operations: ['70-29=41']
Exploring Operation: 96+41=137, Resulting Numbers: [35, 137]
Generated Node #0,0,0: 32:[35, 137] Operation: 96+41=137
Exploring Operation: 96-41=55, Resulting Numbers: [35, 55]
Generated Node #0,0,1: 32:[35, 55] Operation: 96-41=55
Exploring Operation: 96+35=131, Resulting Numbers: [41, 131]
Generated Node #0,0,2: 32:[41, 131] Operation: 96+35=131
Exploring Operation: 96-35=61, Resulting Numbers: [41, 61]
Generated Node #0,0,3: 32:[41, 61] Operation: 96-35=61
Exploring Operation: 41-35=6, Resulting Numbers: [96, 6]
Generated Node #0,0,4: 32:[96, 6] Operation: 41-35=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[35, 55], Operations: ['70-29=41', '96-41=55']
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,32 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,32 unequal: No Solution
No 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: 32:[41, 61], Operations: ['70-29=41', '96-35=61']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,32 unequal: No Solution
No 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: 32:[96, 6], Operations: ['70-29=41', '41-35=6']
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,32 unequal: No Solution
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,32 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,32 unequal: No Solution
No 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: 32:[35, 137], Operations: ['70-29=41', '96+41=137']
Exploring Operation: 35*137=4795, Resulting Numbers: [4795]
4795,32 unequal: No Solution
Exploring Operation: 35+137=172, Resulting Numbers: [172]
172,32 unequal: No Solution
Exploring Operation: 137-35=102, Resulting Numbers: [102]
102,32 unequal: No Solution
No 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: 32:[41, 131], Operations: ['70-29=41', '96+35=131']
Exploring Operation: 41+131=172, Resulting Numbers: [172]
172,32 unequal: No Solution
Exploring Operation: 41*131=5371, Resulting Numbers: [5371]
5371,32 unequal: No Solution
Exploring Operation: 131-41=90, Resulting Numbers: [90]
90,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 32:[35, 3], Operations: ['96-70=26', '29-26=3']
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,32 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[70, 96, 29, 35], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [29, 35, 26]
Generated Node #0,4: 32:[29, 35, 26] Operation: 96-70=26
Moving to Node #0,4
Current State: 32:[29, 35, 26], Operations: ['96-70=26']
Exploring Operation: 29-26=3, Resulting Numbers: [35, 3]
Generated Node #0,4,0: 32:[35, 3] Operation: 29-26=3
Moving to Node #0,4,0
Current State: 32:[35, 3], Operations: ['96-70=26', '29-26=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.928819 | hs_5 | mult_heuristic |
[
65,
96,
4,
83
] | 81 | [
"65*4=260",
"96+83=179",
"260-179=81"
] | Current State: 81:[65, 96, 4, 83], Operations: []
Exploring Operation: 65*4=260, Resulting Numbers: [96, 83, 260]
Generated Node #2: [96, 83, 260] from Operation: 65*4=260
Current State: 81:[96, 83, 260], Operations: ['65*4=260']
Exploring Operation: 96+83=179, Resulting Numbers: [260, 179]
Generated Node #3: [260, 179] from Operation: 96+83=179
Current State: 81:[260, 179], Operations: ['65*4=260', '96+83=179']
Exploring Operation: 260-179=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[65, 96, 4, 83], Operations: []
Exploring Operation: 96-65=31, Resulting Numbers: [4, 83, 31]
Generated Node #0,0: 81:[4, 83, 31] Operation: 96-65=31
Moving to Node #0,0
Current State: 81:[4, 83, 31], Operations: ['96-65=31']
Exploring Operation: 31-4=27, Resulting Numbers: [83, 27]
Generated Node #0,0,0: 81:[83, 27] Operation: 31-4=27
Moving to Node #0,0,0
Current State: 81:[83, 27], Operations: ['96-65=31', '31-4=27']
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,81 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
49,
59,
4,
13
] | 67 | [
"59+13=72",
"72/4=18",
"49+18=67"
] | Current State: 67:[49, 59, 4, 13], Operations: []
Exploring Operation: 59+13=72, Resulting Numbers: [49, 4, 72]
Generated Node #2: [49, 4, 72] from Operation: 59+13=72
Current State: 67:[49, 4, 72], Operations: ['59+13=72']
Exploring Operation: 72/4=18, Resulting Numbers: [49, 18]
Generated Node #3: [49, 18] from Operation: 72/4=18
Current State: 67:[49, 18], Operations: ['59+13=72', '72/4=18']
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[49, 59, 4, 13], Operations: []
Exploring Operation: 4*13=52, Resulting Numbers: [49, 59, 52]
Generated Node #0,0: 67:[49, 59, 52] Operation: 4*13=52
Exploring Operation: 49+4=53, Resulting Numbers: [59, 13, 53]
Generated Node #0,1: 67:[59, 13, 53] Operation: 49+4=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[49, 59, 52], Operations: ['4*13=52']
Exploring Operation: 49+59=108, Resulting Numbers: [52, 108]
Generated Node #0,0,0: 67:[52, 108] Operation: 49+59=108
Exploring Operation: 49+52=101, Resulting Numbers: [59, 101]
Generated Node #0,0,1: 67:[59, 101] Operation: 49+52=101
Moving to Node #0,0,1
Current State: 67:[59, 101], Operations: ['4*13=52', '49+52=101']
Exploring Operation: 101-59=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 59+101=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[52, 108], Operations: ['4*13=52', '49+59=108']
Exploring Operation: 52+108=160, Resulting Numbers: [160]
160,67 unequal: No Solution
Exploring Operation: 108-52=56, Resulting Numbers: [56]
56,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:[59, 13, 53], Operations: ['49+4=53']
Exploring Operation: 13+53=66, Resulting Numbers: [59, 66]
Generated Node #0,1,0: 67:[59, 66] Operation: 13+53=66
Exploring Operation: 59+13=72, Resulting Numbers: [53, 72]
Generated Node #0,1,1: 67:[53, 72] Operation: 59+13=72
Moving to Node #0,1,0
Current State: 67:[59, 66], Operations: ['49+4=53', '13+53=66']
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 59+66=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[53, 72], Operations: ['49+4=53', '59+13=72']
Exploring Operation: 53+72=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,67 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 |
[
9,
6,
93,
80
] | 94 | [
"93-9=84",
"84/6=14",
"80+14=94"
] | Current State: 94:[9, 6, 93, 80], Operations: []
Exploring Operation: 93-9=84, Resulting Numbers: [6, 80, 84]
Generated Node #2: [6, 80, 84] from Operation: 93-9=84
Current State: 94:[6, 80, 84], Operations: ['93-9=84']
Exploring Operation: 84/6=14, Resulting Numbers: [80, 14]
Generated Node #3: [80, 14] from Operation: 84/6=14
Current State: 94:[80, 14], Operations: ['93-9=84', '84/6=14']
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[9, 6, 93, 80], Operations: []
Exploring Operation: 6+80=86, Resulting Numbers: [9, 93, 86]
Generated Node #0,0: 94:[9, 93, 86] Operation: 6+80=86
Exploring Operation: 9+80=89, Resulting Numbers: [6, 93, 89]
Generated Node #0,1: 94:[6, 93, 89] Operation: 9+80=89
Exploring Operation: 9-6=3, Resulting Numbers: [93, 80, 3]
Generated Node #0,2: 94:[93, 80, 3] Operation: 9-6=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[6, 93, 89], Operations: ['9+80=89']
Exploring Operation: 6+89=95, Resulting Numbers: [93, 95]
Generated Node #0,1,0: 94:[93, 95] Operation: 6+89=95
Exploring Operation: 93-89=4, Resulting Numbers: [6, 4]
Generated Node #0,1,1: 94:[6, 4] Operation: 93-89=4
Exploring Operation: 6+93=99, Resulting Numbers: [89, 99]
Generated Node #0,1,2: 94:[89, 99] Operation: 6+93=99
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[93, 95], Operations: ['9+80=89', '6+89=95']
Exploring Operation: 95-93=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 93*95=8835, Resulting Numbers: [8835]
8835,94 unequal: No Solution
Exploring Operation: 93+95=188, Resulting Numbers: [188]
188,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[6, 4], Operations: ['9+80=89', '93-89=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[89, 99], Operations: ['9+80=89', '6+93=99']
Exploring Operation: 89+99=188, Resulting Numbers: [188]
188,94 unequal: No Solution
Exploring Operation: 89*99=8811, Resulting Numbers: [8811]
8811,94 unequal: No Solution
Exploring Operation: 99-89=10, Resulting Numbers: [10]
10,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[9, 93, 86], Operations: ['6+80=86']
Exploring Operation: 93-86=7, Resulting Numbers: [9, 7]
Generated Node #0,0,0: 94:[9, 7] Operation: 93-86=7
Exploring Operation: 9+93=102, Resulting Numbers: [86, 102]
Generated Node #0,0,1: 94:[86, 102] Operation: 9+93=102
Exploring Operation: 9+86=95, Resulting Numbers: [93, 95]
Generated Node #0,0,2: 94:[93, 95] Operation: 9+86=95
Moving to Node #0,0,2
Current State: 94:[93, 95], Operations: ['6+80=86', '9+86=95']
Exploring Operation: 95-93=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 93+95=188, Resulting Numbers: [188]
188,94 unequal: No Solution
Exploring Operation: 93*95=8835, Resulting Numbers: [8835]
8835,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[9, 7], Operations: ['6+80=86', '93-86=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[86, 102], Operations: ['6+80=86', '9+93=102']
Exploring Operation: 102-86=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 86+102=188, Resulting Numbers: [188]
188,94 unequal: No Solution
Exploring Operation: 86*102=8772, Resulting Numbers: [8772]
8772,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[93, 80, 3], Operations: ['9-6=3']
Exploring Operation: 80+3=83, Resulting Numbers: [93, 83]
Generated Node #0,2,0: 94:[93, 83] Operation: 80+3=83
Exploring Operation: 93+3=96, Resulting Numbers: [80, 96]
Generated Node #0,2,1: 94:[80, 96] Operation: 93+3=96
Exploring Operation: 93-80=13, Resulting Numbers: [3, 13]
Generated Node #0,2,2: 94:[3, 13] Operation: 93-80=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[93, 83], Operations: ['9-6=3', '80+3=83']
Exploring Operation: 93+83=176, Resulting Numbers: [176]
176,94 unequal: No Solution
Exploring Operation: 93-83=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 93*83=7719, Resulting Numbers: [7719]
7719,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 94:[3, 13], Operations: ['9-6=3', '93-80=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 94:[80, 96], Operations: ['9-6=3', '93+3=96']
Exploring Operation: 96-80=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 80*96=7680, Resulting Numbers: [7680]
7680,94 unequal: No Solution
Exploring Operation: 80+96=176, Resulting Numbers: [176]
176,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
90,
26,
13
] | 84 | [
"90/2=45",
"26+13=39",
"45+39=84"
] | Current State: 84:[2, 90, 26, 13], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [26, 13, 45]
Generated Node #2: [26, 13, 45] from Operation: 90/2=45
Current State: 84:[26, 13, 45], Operations: ['90/2=45']
Exploring Operation: 26+13=39, Resulting Numbers: [45, 39]
Generated Node #3: [45, 39] from Operation: 26+13=39
Current State: 84:[45, 39], Operations: ['90/2=45', '26+13=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[2, 90, 26, 13], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [26, 13, 45]
Generated Node #0,0: 84:[26, 13, 45] Operation: 90/2=45
Exploring Operation: 26/13=2, Resulting Numbers: [2, 90, 2]
Generated Node #0,1: 84:[2, 90, 2] Operation: 26/13=2
Exploring Operation: 90-2=88, Resulting Numbers: [26, 13, 88]
Generated Node #0,2: 84:[26, 13, 88] Operation: 90-2=88
Moving to Node #0,0
Current State: 84:[26, 13, 45], Operations: ['90/2=45']
Exploring Operation: 45-26=19, Resulting Numbers: [13, 19]
Generated Node #0,0,0: 84:[13, 19] Operation: 45-26=19
Exploring Operation: 26-13=13, Resulting Numbers: [45, 13]
Generated Node #0,0,1: 84:[45, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [45, 2]
Generated Node #0,0,2: 84:[45, 2] Operation: 26/13=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[13, 19], Operations: ['90/2=45', '45-26=19']
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,84 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[45, 2], Operations: ['90/2=45', '26/13=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,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,1
Current State: 84:[45, 13], Operations: ['90/2=45', '26-13=13']
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,84 unequal: No Solution
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 84:[2, 90, 2], Operations: ['26/13=2']
Exploring Operation: 90-2=88, Resulting Numbers: [2, 88]
Generated Node #0,1,0: 84:[2, 88] Operation: 90-2=88
Exploring Operation: 90/2=45, Resulting Numbers: [2, 45]
Generated Node #0,1,1: 84:[2, 45] Operation: 90/2=45
Exploring Operation: 90/2=45, Resulting Numbers: [2, 45]
Generated Node #0,1,2: 84:[2, 45] Operation: 90/2=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[2, 45], Operations: ['26/13=2', '90/2=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[2, 45], Operations: ['26/13=2', '90/2=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[2, 88], Operations: ['26/13=2', '90-2=88']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,84 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: 84:[26, 13, 88], Operations: ['90-2=88']
Exploring Operation: 26-13=13, Resulting Numbers: [88, 13]
Generated Node #0,2,0: 84:[88, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [88, 2]
Generated Node #0,2,1: 84:[88, 2] Operation: 26/13=2
Exploring Operation: 26+13=39, Resulting Numbers: [88, 39]
Generated Node #0,2,2: 84:[88, 39] Operation: 26+13=39
Moving to Node #0,2,1
Current State: 84:[88, 2], Operations: ['90-2=88', '26/13=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[88, 13], Operations: ['90-2=88', '26-13=13']
Exploring Operation: 88*13=1144, Resulting Numbers: [1144]
1144,84 unequal: No Solution
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 88+13=101, Resulting Numbers: [101]
101,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[88, 39], Operations: ['90-2=88', '26+13=39']
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 88*39=3432, Resulting Numbers: [3432]
3432,84 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,84 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
52,
82,
66,
41
] | 27 | [
"52+82=134",
"66+41=107",
"134-107=27"
] | Current State: 27:[52, 82, 66, 41], Operations: []
Exploring Operation: 52+82=134, Resulting Numbers: [66, 41, 134]
Generated Node #2: [66, 41, 134] from Operation: 52+82=134
Current State: 27:[66, 41, 134], Operations: ['52+82=134']
Exploring Operation: 66+41=107, Resulting Numbers: [134, 107]
Generated Node #3: [134, 107] from Operation: 66+41=107
Current State: 27:[134, 107], Operations: ['52+82=134', '66+41=107']
Exploring Operation: 134-107=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[52, 82, 66, 41], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [52, 41, 16]
Generated Node #0,0: 27:[52, 41, 16] Operation: 82-66=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[52, 41, 16], Operations: ['82-66=16']
Exploring Operation: 52-41=11, Resulting Numbers: [16, 11]
Generated Node #0,0,0: 27:[16, 11] Operation: 52-41=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[16, 11], Operations: ['82-66=16', '52-41=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[52, 82, 66, 41], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [52, 41, 16]
Generated Node #0,0: 27:[52, 41, 16] Operation: 82-66=16
Moving to Node #0,0
Current State: 27:[52, 41, 16], Operations: ['82-66=16']
Exploring Operation: 52-41=11, Resulting Numbers: [16, 11]
Generated Node #0,0,0: 27:[16, 11] Operation: 52-41=11
Moving to Node #0,0,0
Current State: 27:[16, 11], Operations: ['82-66=16', '52-41=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
29,
91,
12,
2
] | 100 | [
"91-29=62",
"62-12=50",
"2*50=100"
] | Current State: 100:[29, 91, 12, 2], Operations: []
Exploring Operation: 91-29=62, Resulting Numbers: [12, 2, 62]
Generated Node #2: [12, 2, 62] from Operation: 91-29=62
Current State: 100:[12, 2, 62], Operations: ['91-29=62']
Exploring Operation: 62-12=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 62-12=50
Current State: 100:[2, 50], Operations: ['91-29=62', '62-12=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[29, 91, 12, 2], Operations: []
Exploring Operation: 91+12=103, Resulting Numbers: [29, 2, 103]
Generated Node #0,0: 100:[29, 2, 103] Operation: 91+12=103
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[29, 2, 103], Operations: ['91+12=103']
Exploring Operation: 29-2=27, Resulting Numbers: [103, 27]
Generated Node #0,0,0: 100:[103, 27] Operation: 29-2=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[103, 27], Operations: ['91+12=103', '29-2=27']
Exploring Operation: 103-27=76, Resulting Numbers: [76]
76,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
71,
7,
46,
34
] | 63 | [
"71-46=25",
"34-25=9",
"7*9=63"
] | Current State: 63:[71, 7, 46, 34], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [7, 34, 25]
Generated Node #2: [7, 34, 25] from Operation: 71-46=25
Current State: 63:[7, 34, 25], Operations: ['71-46=25']
Exploring Operation: 34-25=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 34-25=9
Current State: 63:[7, 9], Operations: ['71-46=25', '34-25=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[71, 7, 46, 34], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [46, 34, 64]
Generated Node #0,0: 63:[46, 34, 64] Operation: 71-7=64
Exploring Operation: 71-46=25, Resulting Numbers: [7, 34, 25]
Generated Node #0,1: 63:[7, 34, 25] Operation: 71-46=25
Exploring Operation: 46-34=12, Resulting Numbers: [71, 7, 12]
Generated Node #0,2: 63:[71, 7, 12] Operation: 46-34=12
Exploring Operation: 46+34=80, Resulting Numbers: [71, 7, 80]
Generated Node #0,3: 63:[71, 7, 80] Operation: 46+34=80
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[71, 7, 12], Operations: ['46-34=12']
Exploring Operation: 12-7=5, Resulting Numbers: [71, 5]
Generated Node #0,2,0: 63:[71, 5] Operation: 12-7=5
Exploring Operation: 71-12=59, Resulting Numbers: [7, 59]
Generated Node #0,2,1: 63:[7, 59] Operation: 71-12=59
Exploring Operation: 71-7=64, Resulting Numbers: [12, 64]
Generated Node #0,2,2: 63:[12, 64] Operation: 71-7=64
Exploring Operation: 7+12=19, Resulting Numbers: [71, 19]
Generated Node #0,2,3: 63:[71, 19] Operation: 7+12=19
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 63:[7, 59], Operations: ['46-34=12', '71-12=59']
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,63 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,63 unequal: No Solution
No 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: 63:[12, 64], Operations: ['46-34=12', '71-7=64']
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,63 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,63 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,63 unequal: No Solution
No 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: 63:[71, 5], Operations: ['46-34=12', '12-7=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,63 unequal: No Solution
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,63 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,63 unequal: No Solution
No 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: 63:[71, 19], Operations: ['46-34=12', '7+12=19']
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,63 unequal: No Solution
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,63 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,63 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: 63:[7, 34, 25], Operations: ['71-46=25']
Exploring Operation: 25-7=18, Resulting Numbers: [34, 18]
Generated Node #0,1,0: 63:[34, 18] Operation: 25-7=18
Exploring Operation: 34-25=9, Resulting Numbers: [7, 9]
Generated Node #0,1,1: 63:[7, 9] Operation: 34-25=9
Exploring Operation: 34+25=59, Resulting Numbers: [7, 59]
Generated Node #0,1,2: 63:[7, 59] Operation: 34+25=59
Exploring Operation: 34-7=27, Resulting Numbers: [25, 27]
Generated Node #0,1,3: 63:[25, 27] Operation: 34-7=27
Moving to Node #0,1,1
Current State: 63:[7, 9], Operations: ['71-46=25', '34-25=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[71, 7, 46, 34], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [7, 34, 25]
Generated Node #0,1: 63:[7, 34, 25] Operation: 71-46=25
Moving to Node #0,1
Current State: 63:[7, 34, 25], Operations: ['71-46=25']
Exploring Operation: 34-25=9, Resulting Numbers: [7, 9]
Generated Node #0,1,1: 63:[7, 9] Operation: 34-25=9
Moving to Node #0,1,1
Current State: 63:[7, 9], Operations: ['71-46=25', '34-25=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
14,
89,
53,
45
] | 67 | [
"89-14=75",
"53-45=8",
"75-8=67"
] | Current State: 67:[14, 89, 53, 45], Operations: []
Exploring Operation: 89-14=75, Resulting Numbers: [53, 45, 75]
Generated Node #2: [53, 45, 75] from Operation: 89-14=75
Current State: 67:[53, 45, 75], Operations: ['89-14=75']
Exploring Operation: 53-45=8, Resulting Numbers: [75, 8]
Generated Node #3: [75, 8] from Operation: 53-45=8
Current State: 67:[75, 8], Operations: ['89-14=75', '53-45=8']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[14, 89, 53, 45], Operations: []
Exploring Operation: 89-14=75, Resulting Numbers: [53, 45, 75]
Generated Node #0,0: 67:[53, 45, 75] Operation: 89-14=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[53, 45, 75], Operations: ['89-14=75']
Exploring Operation: 53+45=98, Resulting Numbers: [75, 98]
Generated Node #0,0,0: 67:[75, 98] Operation: 53+45=98
Moving to Node #0,0,0
Current State: 67:[75, 98], Operations: ['89-14=75', '53+45=98']
Exploring Operation: 98-75=23, Resulting Numbers: [23]
23,67 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 |
[
24,
65,
15,
29
] | 62 | [
"29-24=5",
"15/5=3",
"65-3=62"
] | Current State: 62:[24, 65, 15, 29], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [65, 15, 5]
Generated Node #2: [65, 15, 5] from Operation: 29-24=5
Current State: 62:[65, 15, 5], Operations: ['29-24=5']
Exploring Operation: 15/5=3, Resulting Numbers: [65, 3]
Generated Node #3: [65, 3] from Operation: 15/5=3
Current State: 62:[65, 3], Operations: ['29-24=5', '15/5=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[24, 65, 15, 29], Operations: []
Exploring Operation: 24-15=9, Resulting Numbers: [65, 29, 9]
Generated Node #0,0: 62:[65, 29, 9] Operation: 24-15=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[65, 29, 9], Operations: ['24-15=9']
Exploring Operation: 65-9=56, Resulting Numbers: [29, 56]
Generated Node #0,0,0: 62:[29, 56] Operation: 65-9=56
Moving to Node #0,0,0
Current State: 62:[29, 56], Operations: ['24-15=9', '65-9=56']
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,62 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.