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 |
|---|---|---|---|---|---|---|---|---|
[
78,
9,
56,
95
] | 64 | [
"78+9=87",
"56+95=151",
"151-87=64"
] | Current State: 64:[78, 9, 56, 95], Operations: []
Exploring Operation: 78+9=87, Resulting Numbers: [56, 95, 87]
Generated Node #2: [56, 95, 87] from Operation: 78+9=87
Current State: 64:[56, 95, 87], Operations: ['78+9=87']
Exploring Operation: 56+95=151, Resulting Numbers: [87, 151]
Generated Node #3: [87, 151] from Operation: 56+95=151
Current State: 64:[87, 151], Operations: ['78+9=87', '56+95=151']
Exploring Operation: 151-87=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[78, 9, 56, 95], Operations: []
Exploring Operation: 95-56=39, Resulting Numbers: [78, 9, 39]
Generated Node #0,0: 64:[78, 9, 39] Operation: 95-56=39
Exploring Operation: 95-78=17, Resulting Numbers: [9, 56, 17]
Generated Node #0,1: 64:[9, 56, 17] Operation: 95-78=17
Moving to Node #0,1
Current State: 64:[9, 56, 17], Operations: ['95-78=17']
Exploring Operation: 17-9=8, Resulting Numbers: [56, 8]
Generated Node #0,1,0: 64:[56, 8] Operation: 17-9=8
Exploring Operation: 9+56=65, Resulting Numbers: [17, 65]
Generated Node #0,1,1: 64:[17, 65] Operation: 9+56=65
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[17, 65], Operations: ['95-78=17', '9+56=65']
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[56, 8], Operations: ['95-78=17', '17-9=8']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[78, 9, 56, 95], Operations: []
Exploring Operation: 95-78=17, Resulting Numbers: [9, 56, 17]
Generated Node #0,1: 64:[9, 56, 17] Operation: 95-78=17
Moving to Node #0,1
Current State: 64:[9, 56, 17], Operations: ['95-78=17']
Exploring Operation: 17-9=8, Resulting Numbers: [56, 8]
Generated Node #0,1,0: 64:[56, 8] Operation: 17-9=8
Moving to Node #0,1,0
Current State: 64:[56, 8], Operations: ['95-78=17', '17-9=8']
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
12,
26,
65,
47
] | 74 | [
"12+26=38",
"65+47=112",
"112-38=74"
] | Current State: 74:[12, 26, 65, 47], Operations: []
Exploring Operation: 12+26=38, Resulting Numbers: [65, 47, 38]
Generated Node #2: [65, 47, 38] from Operation: 12+26=38
Current State: 74:[65, 47, 38], Operations: ['12+26=38']
Exploring Operation: 65+47=112, Resulting Numbers: [38, 112]
Generated Node #3: [38, 112] from Operation: 65+47=112
Current State: 74:[38, 112], Operations: ['12+26=38', '65+47=112']
Exploring Operation: 112-38=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[12, 26, 65, 47], Operations: []
Exploring Operation: 12+26=38, Resulting Numbers: [65, 47, 38]
Generated Node #0,0: 74:[65, 47, 38] Operation: 12+26=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[65, 47, 38], Operations: ['12+26=38']
Exploring Operation: 47-38=9, Resulting Numbers: [65, 9]
Generated Node #0,0,0: 74:[65, 9] Operation: 47-38=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[65, 9], Operations: ['12+26=38', '47-38=9']
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[12, 26, 65, 47], Operations: []
Exploring Operation: 12+26=38, Resulting Numbers: [65, 47, 38]
Generated Node #0,0: 74:[65, 47, 38] Operation: 12+26=38
Moving to Node #0,0
Current State: 74:[65, 47, 38], Operations: ['12+26=38']
Exploring Operation: 47-38=9, Resulting Numbers: [65, 9]
Generated Node #0,0,0: 74:[65, 9] Operation: 47-38=9
Moving to Node #0,0,0
Current State: 74:[65, 9], Operations: ['12+26=38', '47-38=9']
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
30,
3,
24,
44
] | 70 | [
"30*3=90",
"44-24=20",
"90-20=70"
] | Current State: 70:[30, 3, 24, 44], Operations: []
Exploring Operation: 30*3=90, Resulting Numbers: [24, 44, 90]
Generated Node #2: [24, 44, 90] from Operation: 30*3=90
Current State: 70:[24, 44, 90], Operations: ['30*3=90']
Exploring Operation: 44-24=20, Resulting Numbers: [90, 20]
Generated Node #3: [90, 20] from Operation: 44-24=20
Current State: 70:[90, 20], Operations: ['30*3=90', '44-24=20']
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[30, 3, 24, 44], Operations: []
Exploring Operation: 24+44=68, Resulting Numbers: [30, 3, 68]
Generated Node #0,0: 70:[30, 3, 68] Operation: 24+44=68
Exploring Operation: 30-24=6, Resulting Numbers: [3, 44, 6]
Generated Node #0,1: 70:[3, 44, 6] Operation: 30-24=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[30, 3, 68], Operations: ['24+44=68']
Exploring Operation: 30+3=33, Resulting Numbers: [68, 33]
Generated Node #0,0,0: 70:[68, 33] Operation: 30+3=33
Exploring Operation: 30/3=10, Resulting Numbers: [68, 10]
Generated Node #0,0,1: 70:[68, 10] Operation: 30/3=10
Moving to Node #0,0,1
Current State: 70:[68, 10], Operations: ['24+44=68', '30/3=10']
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[68, 33], Operations: ['24+44=68', '30+3=33']
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 68+33=101, Resulting Numbers: [101]
101,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[3, 44, 6], Operations: ['30-24=6']
Exploring Operation: 44-6=38, Resulting Numbers: [3, 38]
Generated Node #0,1,0: 70:[3, 38] Operation: 44-6=38
Exploring Operation: 44-3=41, Resulting Numbers: [6, 41]
Generated Node #0,1,1: 70:[6, 41] Operation: 44-3=41
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[3, 38], Operations: ['30-24=6', '44-6=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[6, 41], Operations: ['30-24=6', '44-3=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,70 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
11,
86,
2,
64
] | 97 | [
"11+64=75",
"86*2=172",
"172-75=97"
] | Current State: 97:[11, 86, 2, 64], Operations: []
Exploring Operation: 11+64=75, Resulting Numbers: [86, 2, 75]
Generated Node #2: [86, 2, 75] from Operation: 11+64=75
Current State: 97:[86, 2, 75], Operations: ['11+64=75']
Exploring Operation: 86*2=172, Resulting Numbers: [75, 172]
Generated Node #3: [75, 172] from Operation: 86*2=172
Current State: 97:[75, 172], Operations: ['11+64=75', '86*2=172']
Exploring Operation: 172-75=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[11, 86, 2, 64], Operations: []
Exploring Operation: 11+2=13, Resulting Numbers: [86, 64, 13]
Generated Node #0,0: 97:[86, 64, 13] Operation: 11+2=13
Exploring Operation: 11+86=97, Resulting Numbers: [2, 64, 97]
Generated Node #0,1: 97:[2, 64, 97] Operation: 11+86=97
Exploring Operation: 11*2=22, Resulting Numbers: [86, 64, 22]
Generated Node #0,2: 97:[86, 64, 22] Operation: 11*2=22
Moving to Node #0,2
Current State: 97:[86, 64, 22], Operations: ['11*2=22']
Exploring Operation: 64+22=86, Resulting Numbers: [86, 86]
Generated Node #0,2,0: 97:[86, 86] Operation: 64+22=86
Exploring Operation: 86-22=64, Resulting Numbers: [64, 64]
Generated Node #0,2,1: 97:[64, 64] Operation: 86-22=64
Exploring Operation: 86+22=108, Resulting Numbers: [64, 108]
Generated Node #0,2,2: 97:[64, 108] Operation: 86+22=108
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[86, 86], Operations: ['11*2=22', '64+22=86']
Exploring Operation: 86/86=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 86-86=0, Resulting Numbers: [0]
0,97 unequal: No Solution
Exploring Operation: 86+86=172, Resulting Numbers: [172]
172,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[64, 108], Operations: ['11*2=22', '86+22=108']
Exploring Operation: 108-64=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 64+108=172, Resulting Numbers: [172]
172,97 unequal: No Solution
Exploring Operation: 64*108=6912, Resulting Numbers: [6912]
6912,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[64, 64], Operations: ['11*2=22', '86-22=64']
Exploring Operation: 64-64=0, Resulting Numbers: [0]
0,97 unequal: No Solution
Exploring Operation: 64+64=128, Resulting Numbers: [128]
128,97 unequal: No Solution
Exploring Operation: 64/64=1, Resulting Numbers: [1]
1,97 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: 97:[86, 64, 13], Operations: ['11+2=13']
Exploring Operation: 64+13=77, Resulting Numbers: [86, 77]
Generated Node #0,0,0: 97:[86, 77] Operation: 64+13=77
Exploring Operation: 86+13=99, Resulting Numbers: [64, 99]
Generated Node #0,0,1: 97:[64, 99] Operation: 86+13=99
Exploring Operation: 86-13=73, Resulting Numbers: [64, 73]
Generated Node #0,0,2: 97:[64, 73] Operation: 86-13=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[86, 77], Operations: ['11+2=13', '64+13=77']
Exploring Operation: 86+77=163, Resulting Numbers: [163]
163,97 unequal: No Solution
Exploring Operation: 86*77=6622, Resulting Numbers: [6622]
6622,97 unequal: No Solution
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[64, 99], Operations: ['11+2=13', '86+13=99']
Exploring Operation: 64*99=6336, Resulting Numbers: [6336]
6336,97 unequal: No Solution
Exploring Operation: 99-64=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 64+99=163, Resulting Numbers: [163]
163,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[64, 73], Operations: ['11+2=13', '86-13=73']
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,97 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,97 unequal: No Solution
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[2, 64, 97], Operations: ['11+86=97']
Exploring Operation: 64-2=62, Resulting Numbers: [97, 62]
Generated Node #0,1,0: 97:[97, 62] Operation: 64-2=62
Exploring Operation: 2*64=128, Resulting Numbers: [97, 128]
Generated Node #0,1,1: 97:[97, 128] Operation: 2*64=128
Exploring Operation: 2+64=66, Resulting Numbers: [97, 66]
Generated Node #0,1,2: 97:[97, 66] Operation: 2+64=66
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[97, 128], Operations: ['11+86=97', '2*64=128']
Exploring Operation: 128-97=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 97*128=12416, Resulting Numbers: [12416]
12416,97 unequal: No Solution
Exploring Operation: 97+128=225, Resulting Numbers: [225]
225,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[97, 66], Operations: ['11+86=97', '2+64=66']
Exploring Operation: 97+66=163, Resulting Numbers: [163]
163,97 unequal: No Solution
Exploring Operation: 97*66=6402, Resulting Numbers: [6402]
6402,97 unequal: No Solution
Exploring Operation: 97-66=31, Resulting Numbers: [31]
31,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[97, 62], Operations: ['11+86=97', '64-2=62']
Exploring Operation: 97-62=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 97+62=159, Resulting Numbers: [159]
159,97 unequal: No Solution
Exploring Operation: 97*62=6014, Resulting Numbers: [6014]
6014,97 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 |
[
73,
11,
23,
70
] | 15 | [
"73-11=62",
"70-23=47",
"62-47=15"
] | Current State: 15:[73, 11, 23, 70], Operations: []
Exploring Operation: 73-11=62, Resulting Numbers: [23, 70, 62]
Generated Node #2: [23, 70, 62] from Operation: 73-11=62
Current State: 15:[23, 70, 62], Operations: ['73-11=62']
Exploring Operation: 70-23=47, Resulting Numbers: [62, 47]
Generated Node #3: [62, 47] from Operation: 70-23=47
Current State: 15:[62, 47], Operations: ['73-11=62', '70-23=47']
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[73, 11, 23, 70], Operations: []
Exploring Operation: 73-23=50, Resulting Numbers: [11, 70, 50]
Generated Node #0,0: 15:[11, 70, 50] Operation: 73-23=50
Exploring Operation: 73-70=3, Resulting Numbers: [11, 23, 3]
Generated Node #0,1: 15:[11, 23, 3] Operation: 73-70=3
Exploring Operation: 70-11=59, Resulting Numbers: [73, 23, 59]
Generated Node #0,2: 15:[73, 23, 59] Operation: 70-11=59
Exploring Operation: 70-23=47, Resulting Numbers: [73, 11, 47]
Generated Node #0,3: 15:[73, 11, 47] Operation: 70-23=47
Exploring Operation: 73-11=62, Resulting Numbers: [23, 70, 62]
Generated Node #0,4: 15:[23, 70, 62] Operation: 73-11=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[11, 23, 3], Operations: ['73-70=3']
Exploring Operation: 23+3=26, Resulting Numbers: [11, 26]
Generated Node #0,1,0: 15:[11, 26] Operation: 23+3=26
Exploring Operation: 11-3=8, Resulting Numbers: [23, 8]
Generated Node #0,1,1: 15:[23, 8] Operation: 11-3=8
Exploring Operation: 23-11=12, Resulting Numbers: [3, 12]
Generated Node #0,1,2: 15:[3, 12] Operation: 23-11=12
Exploring Operation: 11+3=14, Resulting Numbers: [23, 14]
Generated Node #0,1,3: 15:[23, 14] Operation: 11+3=14
Exploring Operation: 23-3=20, Resulting Numbers: [11, 20]
Generated Node #0,1,4: 15:[11, 20] Operation: 23-3=20
Moving to Node #0,1,2
Current State: 15:[3, 12], Operations: ['73-70=3', '23-11=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[73, 11, 23, 70], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [11, 23, 3]
Generated Node #0,1: 15:[11, 23, 3] Operation: 73-70=3
Moving to Node #0,1
Current State: 15:[11, 23, 3], Operations: ['73-70=3']
Exploring Operation: 23-11=12, Resulting Numbers: [3, 12]
Generated Node #0,1,2: 15:[3, 12] Operation: 23-11=12
Moving to Node #0,1,2
Current State: 15:[3, 12], Operations: ['73-70=3', '23-11=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
35,
61,
75,
85
] | 34 | [
"75-61=14",
"85*14=1190",
"1190/35=34"
] | Current State: 34:[35, 61, 75, 85], Operations: []
Exploring Operation: 75-61=14, Resulting Numbers: [35, 85, 14]
Generated Node #2: [35, 85, 14] from Operation: 75-61=14
Current State: 34:[35, 85, 14], Operations: ['75-61=14']
Exploring Operation: 85*14=1190, Resulting Numbers: [35, 1190]
Generated Node #3: [35, 1190] from Operation: 85*14=1190
Current State: 34:[35, 1190], Operations: ['75-61=14', '85*14=1190']
Exploring Operation: 1190/35=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[35, 61, 75, 85], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [35, 61, 10]
Generated Node #0,0: 34:[35, 61, 10] Operation: 85-75=10
Exploring Operation: 85-61=24, Resulting Numbers: [35, 75, 24]
Generated Node #0,1: 34:[35, 75, 24] Operation: 85-61=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[35, 61, 10], Operations: ['85-75=10']
Exploring Operation: 61-10=51, Resulting Numbers: [35, 51]
Generated Node #0,0,0: 34:[35, 51] Operation: 61-10=51
Exploring Operation: 61-35=26, Resulting Numbers: [10, 26]
Generated Node #0,0,1: 34:[10, 26] Operation: 61-35=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[10, 26], Operations: ['85-75=10', '61-35=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[35, 51], Operations: ['85-75=10', '61-10=51']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[35, 75, 24], Operations: ['85-61=24']
Exploring Operation: 75-24=51, Resulting Numbers: [35, 51]
Generated Node #0,1,0: 34:[35, 51] Operation: 75-24=51
Exploring Operation: 75-35=40, Resulting Numbers: [24, 40]
Generated Node #0,1,1: 34:[24, 40] Operation: 75-35=40
Moving to Node #0,1,1
Current State: 34:[24, 40], Operations: ['85-61=24', '75-35=40']
Exploring Operation: 24+40=64, Resulting Numbers: [64]
64,34 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[35, 51], Operations: ['85-61=24', '75-24=51']
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
92,
45,
86,
36
] | 87 | [
"92+45=137",
"86-36=50",
"137-50=87"
] | Current State: 87:[92, 45, 86, 36], Operations: []
Exploring Operation: 92+45=137, Resulting Numbers: [86, 36, 137]
Generated Node #2: [86, 36, 137] from Operation: 92+45=137
Current State: 87:[86, 36, 137], Operations: ['92+45=137']
Exploring Operation: 86-36=50, Resulting Numbers: [137, 50]
Generated Node #3: [137, 50] from Operation: 86-36=50
Current State: 87:[137, 50], Operations: ['92+45=137', '86-36=50']
Exploring Operation: 137-50=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[92, 45, 86, 36], Operations: []
Exploring Operation: 45-36=9, Resulting Numbers: [92, 86, 9]
Generated Node #0,0: 87:[92, 86, 9] Operation: 45-36=9
Exploring Operation: 86-45=41, Resulting Numbers: [92, 36, 41]
Generated Node #0,1: 87:[92, 36, 41] Operation: 86-45=41
Exploring Operation: 45+36=81, Resulting Numbers: [92, 86, 81]
Generated Node #0,2: 87:[92, 86, 81] Operation: 45+36=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[92, 86, 9], Operations: ['45-36=9']
Exploring Operation: 92-9=83, Resulting Numbers: [86, 83]
Generated Node #0,0,0: 87:[86, 83] Operation: 92-9=83
Exploring Operation: 86+9=95, Resulting Numbers: [92, 95]
Generated Node #0,0,1: 87:[92, 95] Operation: 86+9=95
Exploring Operation: 92-86=6, Resulting Numbers: [9, 6]
Generated Node #0,0,2: 87:[9, 6] Operation: 92-86=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[86, 83], Operations: ['45-36=9', '92-9=83']
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 86+83=169, Resulting Numbers: [169]
169,87 unequal: No Solution
Exploring Operation: 86*83=7138, Resulting Numbers: [7138]
7138,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[9, 6], Operations: ['45-36=9', '92-86=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,87 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[92, 95], Operations: ['45-36=9', '86+9=95']
Exploring Operation: 92*95=8740, Resulting Numbers: [8740]
8740,87 unequal: No Solution
Exploring Operation: 95-92=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 92+95=187, Resulting Numbers: [187]
187,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[92, 86, 81], Operations: ['45+36=81']
Exploring Operation: 86-81=5, Resulting Numbers: [92, 5]
Generated Node #0,2,0: 87:[92, 5] Operation: 86-81=5
Exploring Operation: 92-86=6, Resulting Numbers: [81, 6]
Generated Node #0,2,1: 87:[81, 6] Operation: 92-86=6
Exploring Operation: 92-81=11, Resulting Numbers: [86, 11]
Generated Node #0,2,2: 87:[86, 11] Operation: 92-81=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 87:[92, 5], Operations: ['45+36=81', '86-81=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,87 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[92, 45, 86, 36], Operations: []
Exploring Operation: 45+36=81, Resulting Numbers: [92, 86, 81]
Generated Node #0,2: 87:[92, 86, 81] Operation: 45+36=81
Moving to Node #0,2
Current State: 87:[92, 86, 81], Operations: ['45+36=81']
Exploring Operation: 86-81=5, Resulting Numbers: [92, 5]
Generated Node #0,2,0: 87:[92, 5] Operation: 86-81=5
Moving to Node #0,2,0
Current State: 87:[92, 5], Operations: ['45+36=81', '86-81=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
96,
83,
58,
34
] | 37 | [
"96-83=13",
"58-34=24",
"13+24=37"
] | Current State: 37:[96, 83, 58, 34], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [58, 34, 13]
Generated Node #2: [58, 34, 13] from Operation: 96-83=13
Current State: 37:[58, 34, 13], Operations: ['96-83=13']
Exploring Operation: 58-34=24, Resulting Numbers: [13, 24]
Generated Node #3: [13, 24] from Operation: 58-34=24
Current State: 37:[13, 24], Operations: ['96-83=13', '58-34=24']
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[96, 83, 58, 34], Operations: []
Exploring Operation: 96-34=62, Resulting Numbers: [83, 58, 62]
Generated Node #0,0: 37:[83, 58, 62] Operation: 96-34=62
Exploring Operation: 96-83=13, Resulting Numbers: [58, 34, 13]
Generated Node #0,1: 37:[58, 34, 13] Operation: 96-83=13
Exploring Operation: 83-58=25, Resulting Numbers: [96, 34, 25]
Generated Node #0,2: 37:[96, 34, 25] Operation: 83-58=25
Exploring Operation: 96-58=38, Resulting Numbers: [83, 34, 38]
Generated Node #0,3: 37:[83, 34, 38] Operation: 96-58=38
Moving to Node #0,1
Current State: 37:[58, 34, 13], Operations: ['96-83=13']
Exploring Operation: 58+13=71, Resulting Numbers: [34, 71]
Generated Node #0,1,0: 37:[34, 71] Operation: 58+13=71
Exploring Operation: 34+13=47, Resulting Numbers: [58, 47]
Generated Node #0,1,1: 37:[58, 47] Operation: 34+13=47
Exploring Operation: 58-34=24, Resulting Numbers: [13, 24]
Generated Node #0,1,2: 37:[13, 24] Operation: 58-34=24
Exploring Operation: 58-13=45, Resulting Numbers: [34, 45]
Generated Node #0,1,3: 37:[34, 45] Operation: 58-13=45
Moving to Node #0,3
Current State: 37:[83, 34, 38], Operations: ['96-58=38']
Exploring Operation: 83-38=45, Resulting Numbers: [34, 45]
Generated Node #0,3,0: 37:[34, 45] Operation: 83-38=45
Exploring Operation: 83-34=49, Resulting Numbers: [38, 49]
Generated Node #0,3,1: 37:[38, 49] Operation: 83-34=49
Exploring Operation: 83+34=117, Resulting Numbers: [38, 117]
Generated Node #0,3,2: 37:[38, 117] Operation: 83+34=117
Exploring Operation: 38-34=4, Resulting Numbers: [83, 4]
Generated Node #0,3,3: 37:[83, 4] Operation: 38-34=4
Moving to Node #0,2
Current State: 37:[96, 34, 25], Operations: ['83-58=25']
Exploring Operation: 96-34=62, Resulting Numbers: [25, 62]
Generated Node #0,2,0: 37:[25, 62] Operation: 96-34=62
Exploring Operation: 34+25=59, Resulting Numbers: [96, 59]
Generated Node #0,2,1: 37:[96, 59] Operation: 34+25=59
Exploring Operation: 96+25=121, Resulting Numbers: [34, 121]
Generated Node #0,2,2: 37:[34, 121] Operation: 96+25=121
Exploring Operation: 96-25=71, Resulting Numbers: [34, 71]
Generated Node #0,2,3: 37:[34, 71] Operation: 96-25=71
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[25, 62], Operations: ['83-58=25', '96-34=62']
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[96, 83, 58, 34], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [96, 34, 25]
Generated Node #0,2: 37:[96, 34, 25] Operation: 83-58=25
Moving to Node #0,2
Current State: 37:[96, 34, 25], Operations: ['83-58=25']
Exploring Operation: 96-34=62, Resulting Numbers: [25, 62]
Generated Node #0,2,0: 37:[25, 62] Operation: 96-34=62
Moving to Node #0,2,0
Current State: 37:[25, 62], Operations: ['83-58=25', '96-34=62']
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
85,
34,
88,
68
] | 86 | [
"85-68=17",
"34/17=2",
"88-2=86"
] | Current State: 86:[85, 34, 88, 68], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [34, 88, 17]
Generated Node #2: [34, 88, 17] from Operation: 85-68=17
Current State: 86:[34, 88, 17], Operations: ['85-68=17']
Exploring Operation: 34/17=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 34/17=2
Current State: 86:[88, 2], Operations: ['85-68=17', '34/17=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[85, 34, 88, 68], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [85, 88, 2]
Generated Node #0,0: 86:[85, 88, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [85, 88, 34]
Generated Node #0,1: 86:[85, 88, 34] Operation: 68-34=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[85, 88, 2], Operations: ['68/34=2']
Exploring Operation: 88-85=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 86:[2, 3] Operation: 88-85=3
Exploring Operation: 88-2=86, Resulting Numbers: [85, 86]
Generated Node #0,0,1: 86:[85, 86] Operation: 88-2=86
Moving to Node #0,0,0
Current State: 86:[2, 3], Operations: ['68/34=2', '88-85=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[85, 86], Operations: ['68/34=2', '88-2=86']
Exploring Operation: 86-85=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 85+86=171, Resulting Numbers: [171]
171,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[85, 88, 34], Operations: ['68-34=34']
Exploring Operation: 88-85=3, Resulting Numbers: [34, 3]
Generated Node #0,1,0: 86:[34, 3] Operation: 88-85=3
Exploring Operation: 85-34=51, Resulting Numbers: [88, 51]
Generated Node #0,1,1: 86:[88, 51] Operation: 85-34=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[34, 3], Operations: ['68-34=34', '88-85=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,86 unequal: No Solution
No 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: 86:[88, 51], Operations: ['68-34=34', '85-34=51']
Exploring Operation: 88-51=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 88+51=139, Resulting Numbers: [139]
139,86 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 |
[
3,
39,
7,
72
] | 29 | [
"39-3=36",
"72-7=65",
"65-36=29"
] | Current State: 29:[3, 39, 7, 72], Operations: []
Exploring Operation: 39-3=36, Resulting Numbers: [7, 72, 36]
Generated Node #2: [7, 72, 36] from Operation: 39-3=36
Current State: 29:[7, 72, 36], Operations: ['39-3=36']
Exploring Operation: 72-7=65, Resulting Numbers: [36, 65]
Generated Node #3: [36, 65] from Operation: 72-7=65
Current State: 29:[36, 65], Operations: ['39-3=36', '72-7=65']
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[3, 39, 7, 72], Operations: []
Exploring Operation: 3*7=21, Resulting Numbers: [39, 72, 21]
Generated Node #0,0: 29:[39, 72, 21] Operation: 3*7=21
Exploring Operation: 72-39=33, Resulting Numbers: [3, 7, 33]
Generated Node #0,1: 29:[3, 7, 33] Operation: 72-39=33
Exploring Operation: 72/3=24, Resulting Numbers: [39, 7, 24]
Generated Node #0,2: 29:[39, 7, 24] Operation: 72/3=24
Moving to Node #0,2
Current State: 29:[39, 7, 24], Operations: ['72/3=24']
Exploring Operation: 39-7=32, Resulting Numbers: [24, 32]
Generated Node #0,2,0: 29:[24, 32] Operation: 39-7=32
Exploring Operation: 39+7=46, Resulting Numbers: [24, 46]
Generated Node #0,2,1: 29:[24, 46] Operation: 39+7=46
Exploring Operation: 7+24=31, Resulting Numbers: [39, 31]
Generated Node #0,2,2: 29:[39, 31] Operation: 7+24=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[24, 32], Operations: ['72/3=24', '39-7=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,29 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[39, 31], Operations: ['72/3=24', '7+24=31']
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,29 unequal: No Solution
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[24, 46], Operations: ['72/3=24', '39+7=46']
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,29 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,29 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: 29:[3, 7, 33], Operations: ['72-39=33']
Exploring Operation: 3*7=21, Resulting Numbers: [33, 21]
Generated Node #0,1,0: 29:[33, 21] Operation: 3*7=21
Exploring Operation: 33-3=30, Resulting Numbers: [7, 30]
Generated Node #0,1,1: 29:[7, 30] Operation: 33-3=30
Exploring Operation: 3+7=10, Resulting Numbers: [33, 10]
Generated Node #0,1,2: 29:[33, 10] Operation: 3+7=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[33, 21], Operations: ['72-39=33', '3*7=21']
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,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,1,1
Current State: 29:[7, 30], Operations: ['72-39=33', '33-3=30']
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,29 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[33, 10], Operations: ['72-39=33', '3+7=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 29:[39, 72, 21], Operations: ['3*7=21']
Exploring Operation: 39-21=18, Resulting Numbers: [72, 18]
Generated Node #0,0,0: 29:[72, 18] Operation: 39-21=18
Exploring Operation: 72-39=33, Resulting Numbers: [21, 33]
Generated Node #0,0,1: 29:[21, 33] Operation: 72-39=33
Exploring Operation: 72-21=51, Resulting Numbers: [39, 51]
Generated Node #0,0,2: 29:[39, 51] Operation: 72-21=51
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[21, 33], Operations: ['3*7=21', '72-39=33']
Exploring Operation: 21*33=693, Resulting Numbers: [693]
693,29 unequal: No Solution
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[39, 51], Operations: ['3*7=21', '72-21=51']
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,29 unequal: No Solution
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,29 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[72, 18], Operations: ['3*7=21', '39-21=18']
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,29 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,29 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 |
[
78,
92,
79,
26
] | 76 | [
"92-79=13",
"26/13=2",
"78-2=76"
] | Current State: 76:[78, 92, 79, 26], Operations: []
Exploring Operation: 92-79=13, Resulting Numbers: [78, 26, 13]
Generated Node #2: [78, 26, 13] from Operation: 92-79=13
Current State: 76:[78, 26, 13], Operations: ['92-79=13']
Exploring Operation: 26/13=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 26/13=2
Current State: 76:[78, 2], Operations: ['92-79=13', '26/13=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[78, 92, 79, 26], Operations: []
Exploring Operation: 92-79=13, Resulting Numbers: [78, 26, 13]
Generated Node #0,0: 76:[78, 26, 13] Operation: 92-79=13
Exploring Operation: 92-78=14, Resulting Numbers: [79, 26, 14]
Generated Node #0,1: 76:[79, 26, 14] Operation: 92-78=14
Exploring Operation: 92-26=66, Resulting Numbers: [78, 79, 66]
Generated Node #0,2: 76:[78, 79, 66] Operation: 92-26=66
Moving to Node #0,0
Current State: 76:[78, 26, 13], Operations: ['92-79=13']
Exploring Operation: 26/13=2, Resulting Numbers: [78, 2]
Generated Node #0,0,0: 76:[78, 2] Operation: 26/13=2
Exploring Operation: 78/26=3, Resulting Numbers: [13, 3]
Generated Node #0,0,1: 76:[13, 3] Operation: 78/26=3
Exploring Operation: 26+13=39, Resulting Numbers: [78, 39]
Generated Node #0,0,2: 76:[78, 39] Operation: 26+13=39
Moving to Node #0,1
Current State: 76:[79, 26, 14], Operations: ['92-78=14']
Exploring Operation: 26+14=40, Resulting Numbers: [79, 40]
Generated Node #0,1,0: 76:[79, 40] Operation: 26+14=40
Exploring Operation: 79-14=65, Resulting Numbers: [26, 65]
Generated Node #0,1,1: 76:[26, 65] Operation: 79-14=65
Exploring Operation: 26-14=12, Resulting Numbers: [79, 12]
Generated Node #0,1,2: 76:[79, 12] Operation: 26-14=12
Moving to Node #0,2
Current State: 76:[78, 79, 66], Operations: ['92-26=66']
Exploring Operation: 79-78=1, Resulting Numbers: [66, 1]
Generated Node #0,2,0: 76:[66, 1] Operation: 79-78=1
Exploring Operation: 79-66=13, Resulting Numbers: [78, 13]
Generated Node #0,2,1: 76:[78, 13] Operation: 79-66=13
Exploring Operation: 78-66=12, Resulting Numbers: [79, 12]
Generated Node #0,2,2: 76:[79, 12] Operation: 78-66=12
Moving to Node #0,0,0
Current State: 76:[78, 2], Operations: ['92-79=13', '26/13=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[78, 92, 79, 26], Operations: []
Exploring Operation: 92-79=13, Resulting Numbers: [78, 26, 13]
Generated Node #0,0: 76:[78, 26, 13] Operation: 92-79=13
Moving to Node #0,0
Current State: 76:[78, 26, 13], Operations: ['92-79=13']
Exploring Operation: 26/13=2, Resulting Numbers: [78, 2]
Generated Node #0,0,0: 76:[78, 2] Operation: 26/13=2
Moving to Node #0,0,0
Current State: 76:[78, 2], Operations: ['92-79=13', '26/13=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
23,
35,
8,
13
] | 80 | [
"13-8=5",
"23*5=115",
"115-35=80"
] | Current State: 80:[23, 35, 8, 13], Operations: []
Exploring Operation: 13-8=5, Resulting Numbers: [23, 35, 5]
Generated Node #2: [23, 35, 5] from Operation: 13-8=5
Current State: 80:[23, 35, 5], Operations: ['13-8=5']
Exploring Operation: 23*5=115, Resulting Numbers: [35, 115]
Generated Node #3: [35, 115] from Operation: 23*5=115
Current State: 80:[35, 115], Operations: ['13-8=5', '23*5=115']
Exploring Operation: 115-35=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[23, 35, 8, 13], Operations: []
Exploring Operation: 35-13=22, Resulting Numbers: [23, 8, 22]
Generated Node #0,0: 80:[23, 8, 22] Operation: 35-13=22
Exploring Operation: 35-23=12, Resulting Numbers: [8, 13, 12]
Generated Node #0,1: 80:[8, 13, 12] Operation: 35-23=12
Exploring Operation: 23-13=10, Resulting Numbers: [35, 8, 10]
Generated Node #0,2: 80:[35, 8, 10] Operation: 23-13=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[23, 8, 22], Operations: ['35-13=22']
Exploring Operation: 23-22=1, Resulting Numbers: [8, 1]
Generated Node #0,0,0: 80:[8, 1] Operation: 23-22=1
Exploring Operation: 23+22=45, Resulting Numbers: [8, 45]
Generated Node #0,0,1: 80:[8, 45] Operation: 23+22=45
Exploring Operation: 23-8=15, Resulting Numbers: [22, 15]
Generated Node #0,0,2: 80:[22, 15] Operation: 23-8=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[8, 1], Operations: ['35-13=22', '23-22=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[22, 15], Operations: ['35-13=22', '23-8=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[8, 45], Operations: ['35-13=22', '23+22=45']
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[8, 13, 12], Operations: ['35-23=12']
Exploring Operation: 13-12=1, Resulting Numbers: [8, 1]
Generated Node #0,1,0: 80:[8, 1] Operation: 13-12=1
Exploring Operation: 13-8=5, Resulting Numbers: [12, 5]
Generated Node #0,1,1: 80:[12, 5] Operation: 13-8=5
Exploring Operation: 8+13=21, Resulting Numbers: [12, 21]
Generated Node #0,1,2: 80:[12, 21] Operation: 8+13=21
Moving to Node #0,1,0
Current State: 80:[8, 1], Operations: ['35-23=12', '13-12=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[12, 5], Operations: ['35-23=12', '13-8=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[12, 21], Operations: ['35-23=12', '8+13=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,80 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,80 unequal: No Solution
No 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: 80:[35, 8, 10], Operations: ['23-13=10']
Exploring Operation: 35+10=45, Resulting Numbers: [8, 45]
Generated Node #0,2,0: 80:[8, 45] Operation: 35+10=45
Exploring Operation: 35+8=43, Resulting Numbers: [10, 43]
Generated Node #0,2,1: 80:[10, 43] Operation: 35+8=43
Exploring Operation: 35-10=25, Resulting Numbers: [8, 25]
Generated Node #0,2,2: 80:[8, 25] Operation: 35-10=25
Moving to Node #0,2,1
Current State: 80:[10, 43], Operations: ['23-13=10', '35+8=43']
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,80 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[8, 45], Operations: ['23-13=10', '35+10=45']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,80 unequal: No Solution
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[8, 25], Operations: ['23-13=10', '35-10=25']
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,80 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,80 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 |
[
74,
72,
29,
80
] | 17 | [
"80-74=6",
"72/6=12",
"29-12=17"
] | Current State: 17:[74, 72, 29, 80], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [72, 29, 6]
Generated Node #2: [72, 29, 6] from Operation: 80-74=6
Current State: 17:[72, 29, 6], Operations: ['80-74=6']
Exploring Operation: 72/6=12, Resulting Numbers: [29, 12]
Generated Node #3: [29, 12] from Operation: 72/6=12
Current State: 17:[29, 12], Operations: ['80-74=6', '72/6=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[74, 72, 29, 80], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [74, 29, 8]
Generated Node #0,0: 17:[74, 29, 8] Operation: 80-72=8
Exploring Operation: 80-74=6, Resulting Numbers: [72, 29, 6]
Generated Node #0,1: 17:[72, 29, 6] Operation: 80-74=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[74, 29, 8], Operations: ['80-72=8']
Exploring Operation: 74-29=45, Resulting Numbers: [8, 45]
Generated Node #0,0,0: 17:[8, 45] Operation: 74-29=45
Exploring Operation: 74-8=66, Resulting Numbers: [29, 66]
Generated Node #0,0,1: 17:[29, 66] Operation: 74-8=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[8, 45], Operations: ['80-72=8', '74-29=45']
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,17 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,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:[29, 66], Operations: ['80-72=8', '74-8=66']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,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:[72, 29, 6], Operations: ['80-74=6']
Exploring Operation: 72/6=12, Resulting Numbers: [29, 12]
Generated Node #0,1,0: 17:[29, 12] Operation: 72/6=12
Exploring Operation: 72-29=43, Resulting Numbers: [6, 43]
Generated Node #0,1,1: 17:[6, 43] Operation: 72-29=43
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[29, 12], Operations: ['80-74=6', '72/6=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[74, 72, 29, 80], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [72, 29, 6]
Generated Node #0,1: 17:[72, 29, 6] Operation: 80-74=6
Moving to Node #0,1
Current State: 17:[72, 29, 6], Operations: ['80-74=6']
Exploring Operation: 72/6=12, Resulting Numbers: [29, 12]
Generated Node #0,1,0: 17:[29, 12] Operation: 72/6=12
Moving to Node #0,1,0
Current State: 17:[29, 12], Operations: ['80-74=6', '72/6=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
99,
34,
55,
72
] | 74 | [
"55*72=3960",
"3960/99=40",
"34+40=74"
] | Current State: 74:[99, 34, 55, 72], Operations: []
Exploring Operation: 55*72=3960, Resulting Numbers: [99, 34, 3960]
Generated Node #2: [99, 34, 3960] from Operation: 55*72=3960
Current State: 74:[99, 34, 3960], Operations: ['55*72=3960']
Exploring Operation: 3960/99=40, Resulting Numbers: [34, 40]
Generated Node #3: [34, 40] from Operation: 3960/99=40
Current State: 74:[34, 40], Operations: ['55*72=3960', '3960/99=40']
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[99, 34, 55, 72], Operations: []
Exploring Operation: 99-55=44, Resulting Numbers: [34, 72, 44]
Generated Node #0,0: 74:[34, 72, 44] Operation: 99-55=44
Moving to Node #0,0
Current State: 74:[34, 72, 44], Operations: ['99-55=44']
Exploring Operation: 34+44=78, Resulting Numbers: [72, 78]
Generated Node #0,0,0: 74:[72, 78] Operation: 34+44=78
Moving to Node #0,0,0
Current State: 74:[72, 78], Operations: ['99-55=44', '34+44=78']
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,74 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
75,
2,
40,
60
] | 85 | [
"75+40=115",
"60/2=30",
"115-30=85"
] | Current State: 85:[75, 2, 40, 60], Operations: []
Exploring Operation: 75+40=115, Resulting Numbers: [2, 60, 115]
Generated Node #2: [2, 60, 115] from Operation: 75+40=115
Current State: 85:[2, 60, 115], Operations: ['75+40=115']
Exploring Operation: 60/2=30, Resulting Numbers: [115, 30]
Generated Node #3: [115, 30] from Operation: 60/2=30
Current State: 85:[115, 30], Operations: ['75+40=115', '60/2=30']
Exploring Operation: 115-30=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[75, 2, 40, 60], Operations: []
Exploring Operation: 40+60=100, Resulting Numbers: [75, 2, 100]
Generated Node #0,0: 85:[75, 2, 100] Operation: 40+60=100
Exploring Operation: 75-60=15, Resulting Numbers: [2, 40, 15]
Generated Node #0,1: 85:[2, 40, 15] Operation: 75-60=15
Exploring Operation: 60-40=20, Resulting Numbers: [75, 2, 20]
Generated Node #0,2: 85:[75, 2, 20] Operation: 60-40=20
Moving to Node #0,2
Current State: 85:[75, 2, 20], Operations: ['60-40=20']
Exploring Operation: 20-2=18, Resulting Numbers: [75, 18]
Generated Node #0,2,0: 85:[75, 18] Operation: 20-2=18
Exploring Operation: 75+20=95, Resulting Numbers: [2, 95]
Generated Node #0,2,1: 85:[2, 95] Operation: 75+20=95
Exploring Operation: 75+2=77, Resulting Numbers: [20, 77]
Generated Node #0,2,2: 85:[20, 77] Operation: 75+2=77
Moving to Node #0,0
Current State: 85:[75, 2, 100], Operations: ['40+60=100']
Exploring Operation: 100-2=98, Resulting Numbers: [75, 98]
Generated Node #0,0,0: 85:[75, 98] Operation: 100-2=98
Exploring Operation: 75+2=77, Resulting Numbers: [100, 77]
Generated Node #0,0,1: 85:[100, 77] Operation: 75+2=77
Exploring Operation: 100-75=25, Resulting Numbers: [2, 25]
Generated Node #0,0,2: 85:[2, 25] Operation: 100-75=25
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[2, 25], Operations: ['40+60=100', '100-75=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[75, 98], Operations: ['40+60=100', '100-2=98']
Exploring Operation: 75*98=7350, Resulting Numbers: [7350]
7350,85 unequal: No Solution
Exploring Operation: 98-75=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 75+98=173, Resulting Numbers: [173]
173,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[100, 77], Operations: ['40+60=100', '75+2=77']
Exploring Operation: 100*77=7700, Resulting Numbers: [7700]
7700,85 unequal: No Solution
Exploring Operation: 100+77=177, Resulting Numbers: [177]
177,85 unequal: No Solution
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 85:[2, 40, 15], Operations: ['75-60=15']
Exploring Operation: 2*40=80, Resulting Numbers: [15, 80]
Generated Node #0,1,0: 85:[15, 80] Operation: 2*40=80
Exploring Operation: 40/2=20, Resulting Numbers: [15, 20]
Generated Node #0,1,1: 85:[15, 20] Operation: 40/2=20
Exploring Operation: 40-15=25, Resulting Numbers: [2, 25]
Generated Node #0,1,2: 85:[2, 25] Operation: 40-15=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[15, 20], Operations: ['75-60=15', '40/2=20']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,85 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[15, 80], Operations: ['75-60=15', '2*40=80']
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 15*80=1200, Resulting Numbers: [1200]
1200,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[2, 25], Operations: ['75-60=15', '40-15=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 85:[75, 18], Operations: ['60-40=20', '20-2=18']
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,85 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[20, 77], Operations: ['60-40=20', '75+2=77']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,85 unequal: No Solution
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[2, 95], Operations: ['60-40=20', '75+20=95']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,85 unequal: No Solution
Exploring Operation: 2*95=190, Resulting Numbers: [190]
190,85 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
83,
69,
99,
21
] | 66 | [
"83-69=14",
"99*14=1386",
"1386/21=66"
] | Current State: 66:[83, 69, 99, 21], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [99, 21, 14]
Generated Node #2: [99, 21, 14] from Operation: 83-69=14
Current State: 66:[99, 21, 14], Operations: ['83-69=14']
Exploring Operation: 99*14=1386, Resulting Numbers: [21, 1386]
Generated Node #3: [21, 1386] from Operation: 99*14=1386
Current State: 66:[21, 1386], Operations: ['83-69=14', '99*14=1386']
Exploring Operation: 1386/21=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[83, 69, 99, 21], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [69, 21, 16]
Generated Node #0,0: 66:[69, 21, 16] Operation: 99-83=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[69, 21, 16], Operations: ['99-83=16']
Exploring Operation: 21-16=5, Resulting Numbers: [69, 5]
Generated Node #0,0,0: 66:[69, 5] Operation: 21-16=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[69, 5], Operations: ['99-83=16', '21-16=5']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
19,
46,
17,
88
] | 90 | [
"19-17=2",
"88/2=44",
"46+44=90"
] | Current State: 90:[19, 46, 17, 88], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [46, 88, 2]
Generated Node #2: [46, 88, 2] from Operation: 19-17=2
Current State: 90:[46, 88, 2], Operations: ['19-17=2']
Exploring Operation: 88/2=44, Resulting Numbers: [46, 44]
Generated Node #3: [46, 44] from Operation: 88/2=44
Current State: 90:[46, 44], Operations: ['19-17=2', '88/2=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[19, 46, 17, 88], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [46, 88, 2]
Generated Node #0,0: 90:[46, 88, 2] Operation: 19-17=2
Moving to Node #0,0
Current State: 90:[46, 88, 2], Operations: ['19-17=2']
Exploring Operation: 88+2=90, Resulting Numbers: [46, 90]
Generated Node #0,0,0: 90:[46, 90] Operation: 88+2=90
Moving to Node #0,0,0
Current State: 90:[46, 90], Operations: ['19-17=2', '88+2=90']
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,90 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
88,
5,
55
] | 26 | [
"88-64=24",
"55-5=50",
"50-24=26"
] | Current State: 26:[64, 88, 5, 55], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [5, 55, 24]
Generated Node #2: [5, 55, 24] from Operation: 88-64=24
Current State: 26:[5, 55, 24], Operations: ['88-64=24']
Exploring Operation: 55-5=50, Resulting Numbers: [24, 50]
Generated Node #3: [24, 50] from Operation: 55-5=50
Current State: 26:[24, 50], Operations: ['88-64=24', '55-5=50']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[64, 88, 5, 55], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [5, 55, 24]
Generated Node #0,0: 26:[5, 55, 24] Operation: 88-64=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[5, 55, 24], Operations: ['88-64=24']
Exploring Operation: 55/5=11, Resulting Numbers: [24, 11]
Generated Node #0,0,0: 26:[24, 11] Operation: 55/5=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[24, 11], Operations: ['88-64=24', '55/5=11']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
22,
5,
3
] | 38 | [
"68-22=46",
"5+3=8",
"46-8=38"
] | Current State: 38:[68, 22, 5, 3], Operations: []
Exploring Operation: 68-22=46, Resulting Numbers: [5, 3, 46]
Generated Node #2: [5, 3, 46] from Operation: 68-22=46
Current State: 38:[5, 3, 46], Operations: ['68-22=46']
Exploring Operation: 5+3=8, Resulting Numbers: [46, 8]
Generated Node #3: [46, 8] from Operation: 5+3=8
Current State: 38:[46, 8], Operations: ['68-22=46', '5+3=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[68, 22, 5, 3], Operations: []
Exploring Operation: 68-22=46, Resulting Numbers: [5, 3, 46]
Generated Node #0,0: 38:[5, 3, 46] Operation: 68-22=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[5, 3, 46], Operations: ['68-22=46']
Exploring Operation: 46-5=41, Resulting Numbers: [3, 41]
Generated Node #0,0,0: 38:[3, 41] Operation: 46-5=41
Moving to Node #0,0,0
Current State: 38:[3, 41], Operations: ['68-22=46', '46-5=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[68, 22, 5, 3], Operations: []
Exploring Operation: 68-22=46, Resulting Numbers: [5, 3, 46]
Generated Node #0,0: 38:[5, 3, 46] Operation: 68-22=46
Moving to Node #0,0
Current State: 38:[5, 3, 46], Operations: ['68-22=46']
Exploring Operation: 46-5=41, Resulting Numbers: [3, 41]
Generated Node #0,0,0: 38:[3, 41] Operation: 46-5=41
Moving to Node #0,0,0
Current State: 38:[3, 41], Operations: ['68-22=46', '46-5=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
41,
76,
32,
82
] | 88 | [
"82/41=2",
"76-32=44",
"2*44=88"
] | Current State: 88:[41, 76, 32, 82], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [76, 32, 2]
Generated Node #2: [76, 32, 2] from Operation: 82/41=2
Current State: 88:[76, 32, 2], Operations: ['82/41=2']
Exploring Operation: 76-32=44, Resulting Numbers: [2, 44]
Generated Node #3: [2, 44] from Operation: 76-32=44
Current State: 88:[2, 44], Operations: ['82/41=2', '76-32=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[41, 76, 32, 82], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [41, 32, 6]
Generated Node #0,0: 88:[41, 32, 6] Operation: 82-76=6
Exploring Operation: 76-32=44, Resulting Numbers: [41, 82, 44]
Generated Node #0,1: 88:[41, 82, 44] Operation: 76-32=44
Exploring Operation: 41-32=9, Resulting Numbers: [76, 82, 9]
Generated Node #0,2: 88:[76, 82, 9] Operation: 41-32=9
Moving to Node #0,1
Current State: 88:[41, 82, 44], Operations: ['76-32=44']
Exploring Operation: 44-41=3, Resulting Numbers: [82, 3]
Generated Node #0,1,0: 88:[82, 3] Operation: 44-41=3
Exploring Operation: 82/41=2, Resulting Numbers: [44, 2]
Generated Node #0,1,1: 88:[44, 2] Operation: 82/41=2
Exploring Operation: 82-41=41, Resulting Numbers: [44, 41]
Generated Node #0,1,2: 88:[44, 41] Operation: 82-41=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[44, 2], Operations: ['76-32=44', '82/41=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[41, 76, 32, 82], Operations: []
Exploring Operation: 76-32=44, Resulting Numbers: [41, 82, 44]
Generated Node #0,1: 88:[41, 82, 44] Operation: 76-32=44
Moving to Node #0,1
Current State: 88:[41, 82, 44], Operations: ['76-32=44']
Exploring Operation: 82/41=2, Resulting Numbers: [44, 2]
Generated Node #0,1,1: 88:[44, 2] Operation: 82/41=2
Moving to Node #0,1,1
Current State: 88:[44, 2], Operations: ['76-32=44', '82/41=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
61,
89,
48,
29
] | 35 | [
"61*29=1769",
"1769-89=1680",
"1680/48=35"
] | Current State: 35:[61, 89, 48, 29], Operations: []
Exploring Operation: 61*29=1769, Resulting Numbers: [89, 48, 1769]
Generated Node #2: [89, 48, 1769] from Operation: 61*29=1769
Current State: 35:[89, 48, 1769], Operations: ['61*29=1769']
Exploring Operation: 1769-89=1680, Resulting Numbers: [48, 1680]
Generated Node #3: [48, 1680] from Operation: 1769-89=1680
Current State: 35:[48, 1680], Operations: ['61*29=1769', '1769-89=1680']
Exploring Operation: 1680/48=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[61, 89, 48, 29], Operations: []
Exploring Operation: 89-48=41, Resulting Numbers: [61, 29, 41]
Generated Node #0,0: 35:[61, 29, 41] Operation: 89-48=41
Exploring Operation: 89-29=60, Resulting Numbers: [61, 48, 60]
Generated Node #0,1: 35:[61, 48, 60] Operation: 89-29=60
Exploring Operation: 89-61=28, Resulting Numbers: [48, 29, 28]
Generated Node #0,2: 35:[48, 29, 28] Operation: 89-61=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[48, 29, 28], Operations: ['89-61=28']
Exploring Operation: 48-29=19, Resulting Numbers: [28, 19]
Generated Node #0,2,0: 35:[28, 19] Operation: 48-29=19
Exploring Operation: 48-28=20, Resulting Numbers: [29, 20]
Generated Node #0,2,1: 35:[29, 20] Operation: 48-28=20
Exploring Operation: 29-28=1, Resulting Numbers: [48, 1]
Generated Node #0,2,2: 35:[48, 1] Operation: 29-28=1
Moving to Node #0,2,2
Current State: 35:[48, 1], Operations: ['89-61=28', '29-28=1']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[28, 19], Operations: ['89-61=28', '48-29=19']
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,35 unequal: No Solution
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[29, 20], Operations: ['89-61=28', '48-28=20']
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,35 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[61, 29, 41], Operations: ['89-48=41']
Exploring Operation: 61-41=20, Resulting Numbers: [29, 20]
Generated Node #0,0,0: 35:[29, 20] Operation: 61-41=20
Exploring Operation: 41-29=12, Resulting Numbers: [61, 12]
Generated Node #0,0,1: 35:[61, 12] Operation: 41-29=12
Exploring Operation: 61-29=32, Resulting Numbers: [41, 32]
Generated Node #0,0,2: 35:[41, 32] Operation: 61-29=32
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[41, 32], Operations: ['89-48=41', '61-29=32']
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,35 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,35 unequal: No Solution
No 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: 35:[29, 20], Operations: ['89-48=41', '61-41=20']
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,35 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,35 unequal: No Solution
No 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: 35:[61, 12], Operations: ['89-48=41', '41-29=12']
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,35 unequal: No Solution
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,35 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: 35:[61, 48, 60], Operations: ['89-29=60']
Exploring Operation: 61-60=1, Resulting Numbers: [48, 1]
Generated Node #0,1,0: 35:[48, 1] Operation: 61-60=1
Exploring Operation: 60-48=12, Resulting Numbers: [61, 12]
Generated Node #0,1,1: 35:[61, 12] Operation: 60-48=12
Exploring Operation: 61-48=13, Resulting Numbers: [60, 13]
Generated Node #0,1,2: 35:[60, 13] Operation: 61-48=13
Moving to Node #0,1,0
Current State: 35:[48, 1], Operations: ['89-29=60', '61-60=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[61, 12], Operations: ['89-29=60', '60-48=12']
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,35 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[60, 13], Operations: ['89-29=60', '61-48=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,35 unequal: No Solution
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
40,
62,
13,
26
] | 51 | [
"40+62=102",
"26/13=2",
"102/2=51"
] | Current State: 51:[40, 62, 13, 26], Operations: []
Exploring Operation: 40+62=102, Resulting Numbers: [13, 26, 102]
Generated Node #2: [13, 26, 102] from Operation: 40+62=102
Current State: 51:[13, 26, 102], Operations: ['40+62=102']
Exploring Operation: 26/13=2, Resulting Numbers: [102, 2]
Generated Node #3: [102, 2] from Operation: 26/13=2
Current State: 51:[102, 2], Operations: ['40+62=102', '26/13=2']
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[40, 62, 13, 26], Operations: []
Exploring Operation: 40+13=53, Resulting Numbers: [62, 26, 53]
Generated Node #0,0: 51:[62, 26, 53] Operation: 40+13=53
Exploring Operation: 62-40=22, Resulting Numbers: [13, 26, 22]
Generated Node #0,1: 51:[13, 26, 22] Operation: 62-40=22
Exploring Operation: 40-26=14, Resulting Numbers: [62, 13, 14]
Generated Node #0,2: 51:[62, 13, 14] Operation: 40-26=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[13, 26, 22], Operations: ['62-40=22']
Exploring Operation: 26+22=48, Resulting Numbers: [13, 48]
Generated Node #0,1,0: 51:[13, 48] Operation: 26+22=48
Exploring Operation: 26/13=2, Resulting Numbers: [22, 2]
Generated Node #0,1,1: 51:[22, 2] Operation: 26/13=2
Exploring Operation: 26-22=4, Resulting Numbers: [13, 4]
Generated Node #0,1,2: 51:[13, 4] Operation: 26-22=4
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[13, 4], Operations: ['62-40=22', '26-22=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[22, 2], Operations: ['62-40=22', '26/13=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[13, 48], Operations: ['62-40=22', '26+22=48']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 13*48=624, Resulting Numbers: [624]
624,51 unequal: No Solution
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[62, 13, 14], Operations: ['40-26=14']
Exploring Operation: 62-13=49, Resulting Numbers: [14, 49]
Generated Node #0,2,0: 51:[14, 49] Operation: 62-13=49
Exploring Operation: 14-13=1, Resulting Numbers: [62, 1]
Generated Node #0,2,1: 51:[62, 1] Operation: 14-13=1
Exploring Operation: 62-14=48, Resulting Numbers: [13, 48]
Generated Node #0,2,2: 51:[13, 48] Operation: 62-14=48
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[14, 49], Operations: ['40-26=14', '62-13=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,51 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[13, 48], Operations: ['40-26=14', '62-14=48']
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 13*48=624, Resulting Numbers: [624]
624,51 unequal: No Solution
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[62, 1], Operations: ['40-26=14', '14-13=1']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[62, 26, 53], Operations: ['40+13=53']
Exploring Operation: 62-53=9, Resulting Numbers: [26, 9]
Generated Node #0,0,0: 51:[26, 9] Operation: 62-53=9
Exploring Operation: 62-26=36, Resulting Numbers: [53, 36]
Generated Node #0,0,1: 51:[53, 36] Operation: 62-26=36
Exploring Operation: 53-26=27, Resulting Numbers: [62, 27]
Generated Node #0,0,2: 51:[62, 27] Operation: 53-26=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[26, 9], Operations: ['40+13=53', '62-53=9']
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[53, 36], Operations: ['40+13=53', '62-26=36']
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,51 unequal: No Solution
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,51 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[62, 27], Operations: ['40+13=53', '53-26=27']
Exploring Operation: 62+27=89, Resulting Numbers: [89]
89,51 unequal: No Solution
Exploring Operation: 62*27=1674, Resulting Numbers: [1674]
1674,51 unequal: No Solution
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
46,
57,
43,
29
] | 23 | [
"46*43=1978",
"57+29=86",
"1978/86=23"
] | Current State: 23:[46, 57, 43, 29], Operations: []
Exploring Operation: 46*43=1978, Resulting Numbers: [57, 29, 1978]
Generated Node #2: [57, 29, 1978] from Operation: 46*43=1978
Current State: 23:[57, 29, 1978], Operations: ['46*43=1978']
Exploring Operation: 57+29=86, Resulting Numbers: [1978, 86]
Generated Node #3: [1978, 86] from Operation: 57+29=86
Current State: 23:[1978, 86], Operations: ['46*43=1978', '57+29=86']
Exploring Operation: 1978/86=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[46, 57, 43, 29], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [46, 29, 14]
Generated Node #0,0: 23:[46, 29, 14] Operation: 57-43=14
Exploring Operation: 57-29=28, Resulting Numbers: [46, 43, 28]
Generated Node #0,1: 23:[46, 43, 28] Operation: 57-29=28
Exploring Operation: 57-46=11, Resulting Numbers: [43, 29, 11]
Generated Node #0,2: 23:[43, 29, 11] Operation: 57-46=11
Exploring Operation: 46-43=3, Resulting Numbers: [57, 29, 3]
Generated Node #0,3: 23:[57, 29, 3] Operation: 46-43=3
Moving to Node #0,0
Current State: 23:[46, 29, 14], Operations: ['57-43=14']
Exploring Operation: 46+14=60, Resulting Numbers: [29, 60]
Generated Node #0,0,0: 23:[29, 60] Operation: 46+14=60
Exploring Operation: 46-14=32, Resulting Numbers: [29, 32]
Generated Node #0,0,1: 23:[29, 32] Operation: 46-14=32
Exploring Operation: 29-14=15, Resulting Numbers: [46, 15]
Generated Node #0,0,2: 23:[46, 15] Operation: 29-14=15
Exploring Operation: 46-29=17, Resulting Numbers: [14, 17]
Generated Node #0,0,3: 23:[14, 17] Operation: 46-29=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[29, 32], Operations: ['57-43=14', '46-14=32']
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,23 unequal: No Solution
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,23 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[14, 17], Operations: ['57-43=14', '46-29=17']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[46, 15], Operations: ['57-43=14', '29-14=15']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,23 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[29, 60], Operations: ['57-43=14', '46+14=60']
Exploring Operation: 29*60=1740, Resulting Numbers: [1740]
1740,23 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,23 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: 23:[43, 29, 11], Operations: ['57-46=11']
Exploring Operation: 43+11=54, Resulting Numbers: [29, 54]
Generated Node #0,2,0: 23:[29, 54] Operation: 43+11=54
Exploring Operation: 43-11=32, Resulting Numbers: [29, 32]
Generated Node #0,2,1: 23:[29, 32] Operation: 43-11=32
Exploring Operation: 43-29=14, Resulting Numbers: [11, 14]
Generated Node #0,2,2: 23:[11, 14] Operation: 43-29=14
Exploring Operation: 29-11=18, Resulting Numbers: [43, 18]
Generated Node #0,2,3: 23:[43, 18] Operation: 29-11=18
Moving to Node #0,1
Current State: 23:[46, 43, 28], Operations: ['57-29=28']
Exploring Operation: 46-43=3, Resulting Numbers: [28, 3]
Generated Node #0,1,0: 23:[28, 3] Operation: 46-43=3
Exploring Operation: 46-28=18, Resulting Numbers: [43, 18]
Generated Node #0,1,1: 23:[43, 18] Operation: 46-28=18
Exploring Operation: 43-28=15, Resulting Numbers: [46, 15]
Generated Node #0,1,2: 23:[46, 15] Operation: 43-28=15
Exploring Operation: 46+43=89, Resulting Numbers: [28, 89]
Generated Node #0,1,3: 23:[28, 89] Operation: 46+43=89
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[28, 3], Operations: ['57-29=28', '46-43=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,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:[43, 18], Operations: ['57-29=28', '46-28=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,23 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,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:[46, 15], Operations: ['57-29=28', '43-28=15']
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,23 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,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:[28, 89], Operations: ['57-29=28', '46+43=89']
Exploring Operation: 28+89=117, Resulting Numbers: [117]
117,23 unequal: No Solution
Exploring Operation: 28*89=2492, Resulting Numbers: [2492]
2492,23 unequal: No Solution
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 23:[57, 29, 3], Operations: ['46-43=3']
Exploring Operation: 57-29=28, Resulting Numbers: [3, 28]
Generated Node #0,3,0: 23:[3, 28] Operation: 57-29=28
Exploring Operation: 29-3=26, Resulting Numbers: [57, 26]
Generated Node #0,3,1: 23:[57, 26] Operation: 29-3=26
Exploring Operation: 57/3=19, Resulting Numbers: [29, 19]
Generated Node #0,3,2: 23:[29, 19] Operation: 57/3=19
Exploring Operation: 57-3=54, Resulting Numbers: [29, 54]
Generated Node #0,3,3: 23:[29, 54] Operation: 57-3=54
Moving to Node #0,3,2
Current State: 23:[29, 19], Operations: ['46-43=3', '57/3=19']
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[29, 32], Operations: ['57-46=11', '43-11=32']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,23 unequal: No Solution
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[11, 14], Operations: ['57-46=11', '43-29=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,23 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[43, 18], Operations: ['57-46=11', '29-11=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,23 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[3, 28], Operations: ['46-43=3', '57-29=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[57, 26], Operations: ['46-43=3', '29-3=26']
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[29, 54], Operations: ['46-43=3', '57-3=54']
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,23 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[29, 54], Operations: ['57-46=11', '43+11=54']
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,23 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,23 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
24,
4,
36,
12
] | 93 | [
"24*4=96",
"36/12=3",
"96-3=93"
] | Current State: 93:[24, 4, 36, 12], Operations: []
Exploring Operation: 24*4=96, Resulting Numbers: [36, 12, 96]
Generated Node #2: [36, 12, 96] from Operation: 24*4=96
Current State: 93:[36, 12, 96], Operations: ['24*4=96']
Exploring Operation: 36/12=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 36/12=3
Current State: 93:[96, 3], Operations: ['24*4=96', '36/12=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[24, 4, 36, 12], Operations: []
Exploring Operation: 24+12=36, Resulting Numbers: [4, 36, 36]
Generated Node #0,0: 93:[4, 36, 36] Operation: 24+12=36
Exploring Operation: 36/12=3, Resulting Numbers: [24, 4, 3]
Generated Node #0,1: 93:[24, 4, 3] Operation: 36/12=3
Exploring Operation: 24/12=2, Resulting Numbers: [4, 36, 2]
Generated Node #0,2: 93:[4, 36, 2] Operation: 24/12=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[4, 36, 2], Operations: ['24/12=2']
Exploring Operation: 36-4=32, Resulting Numbers: [2, 32]
Generated Node #0,2,0: 93:[2, 32] Operation: 36-4=32
Exploring Operation: 4-2=2, Resulting Numbers: [36, 2]
Generated Node #0,2,1: 93:[36, 2] Operation: 4-2=2
Exploring Operation: 36-2=34, Resulting Numbers: [4, 34]
Generated Node #0,2,2: 93:[4, 34] Operation: 36-2=34
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[2, 32], Operations: ['24/12=2', '36-4=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[4, 34], Operations: ['24/12=2', '36-2=34']
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,93 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 93:[36, 2], Operations: ['24/12=2', '4-2=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[24, 4, 3], Operations: ['36/12=3']
Exploring Operation: 24*4=96, Resulting Numbers: [3, 96]
Generated Node #0,1,0: 93:[3, 96] Operation: 24*4=96
Exploring Operation: 24+4=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 93:[3, 28] Operation: 24+4=28
Exploring Operation: 24/4=6, Resulting Numbers: [3, 6]
Generated Node #0,1,2: 93:[3, 6] Operation: 24/4=6
Moving to Node #0,1,0
Current State: 93:[3, 96], Operations: ['36/12=3', '24*4=96']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,93 unequal: No Solution
Exploring Operation: 3+96=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[24, 4, 36, 12], Operations: []
Exploring Operation: 36/12=3, Resulting Numbers: [24, 4, 3]
Generated Node #0,1: 93:[24, 4, 3] Operation: 36/12=3
Moving to Node #0,1
Current State: 93:[24, 4, 3], Operations: ['36/12=3']
Exploring Operation: 24*4=96, Resulting Numbers: [3, 96]
Generated Node #0,1,0: 93:[3, 96] Operation: 24*4=96
Moving to Node #0,1,0
Current State: 93:[3, 96], Operations: ['36/12=3', '24*4=96']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
45,
41,
45,
7
] | 47 | [
"45/45=1",
"41+7=48",
"48-1=47"
] | Current State: 47:[45, 41, 45, 7], Operations: []
Exploring Operation: 45/45=1, Resulting Numbers: [41, 7, 1]
Generated Node #2: [41, 7, 1] from Operation: 45/45=1
Current State: 47:[41, 7, 1], Operations: ['45/45=1']
Exploring Operation: 41+7=48, Resulting Numbers: [1, 48]
Generated Node #3: [1, 48] from Operation: 41+7=48
Current State: 47:[1, 48], Operations: ['45/45=1', '41+7=48']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[45, 41, 45, 7], Operations: []
Exploring Operation: 41+7=48, Resulting Numbers: [45, 45, 48]
Generated Node #0,0: 47:[45, 45, 48] Operation: 41+7=48
Exploring Operation: 45+7=52, Resulting Numbers: [41, 45, 52]
Generated Node #0,1: 47:[41, 45, 52] Operation: 45+7=52
Moving to Node #0,0
Current State: 47:[45, 45, 48], Operations: ['41+7=48']
Exploring Operation: 48-45=3, Resulting Numbers: [45, 3]
Generated Node #0,0,0: 47:[45, 3] Operation: 48-45=3
Exploring Operation: 45+45=90, Resulting Numbers: [48, 90]
Generated Node #0,0,1: 47:[48, 90] Operation: 45+45=90
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[48, 90], Operations: ['41+7=48', '45+45=90']
Exploring Operation: 48+90=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[45, 3], Operations: ['41+7=48', '48-45=3']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,47 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: 47:[41, 45, 52], Operations: ['45+7=52']
Exploring Operation: 41+45=86, Resulting Numbers: [52, 86]
Generated Node #0,1,0: 47:[52, 86] Operation: 41+45=86
Exploring Operation: 52-41=11, Resulting Numbers: [45, 11]
Generated Node #0,1,1: 47:[45, 11] Operation: 52-41=11
Moving to Node #0,1,1
Current State: 47:[45, 11], Operations: ['45+7=52', '52-41=11']
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[52, 86], Operations: ['45+7=52', '41+45=86']
Exploring Operation: 52+86=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,47 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
36,
25,
49
] | 51 | [
"36-9=27",
"49-25=24",
"27+24=51"
] | Current State: 51:[9, 36, 25, 49], Operations: []
Exploring Operation: 36-9=27, Resulting Numbers: [25, 49, 27]
Generated Node #2: [25, 49, 27] from Operation: 36-9=27
Current State: 51:[25, 49, 27], Operations: ['36-9=27']
Exploring Operation: 49-25=24, Resulting Numbers: [27, 24]
Generated Node #3: [27, 24] from Operation: 49-25=24
Current State: 51:[27, 24], Operations: ['36-9=27', '49-25=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[9, 36, 25, 49], Operations: []
Exploring Operation: 36+25=61, Resulting Numbers: [9, 49, 61]
Generated Node #0,0: 51:[9, 49, 61] Operation: 36+25=61
Exploring Operation: 9+36=45, Resulting Numbers: [25, 49, 45]
Generated Node #0,1: 51:[25, 49, 45] Operation: 9+36=45
Exploring Operation: 36/9=4, Resulting Numbers: [25, 49, 4]
Generated Node #0,2: 51:[25, 49, 4] Operation: 36/9=4
Exploring Operation: 36-25=11, Resulting Numbers: [9, 49, 11]
Generated Node #0,3: 51:[9, 49, 11] Operation: 36-25=11
Exploring Operation: 25-9=16, Resulting Numbers: [36, 49, 16]
Generated Node #0,4: 51:[36, 49, 16] Operation: 25-9=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[25, 49, 4], Operations: ['36/9=4']
Exploring Operation: 49-4=45, Resulting Numbers: [25, 45]
Generated Node #0,2,0: 51:[25, 45] Operation: 49-4=45
Exploring Operation: 25+4=29, Resulting Numbers: [49, 29]
Generated Node #0,2,1: 51:[49, 29] Operation: 25+4=29
Exploring Operation: 49+4=53, Resulting Numbers: [25, 53]
Generated Node #0,2,2: 51:[25, 53] Operation: 49+4=53
Exploring Operation: 49-25=24, Resulting Numbers: [4, 24]
Generated Node #0,2,3: 51:[4, 24] Operation: 49-25=24
Exploring Operation: 25-4=21, Resulting Numbers: [49, 21]
Generated Node #0,2,4: 51:[49, 21] Operation: 25-4=21
Moving to Node #0,2,4
Current State: 51:[49, 21], Operations: ['36/9=4', '25-4=21']
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,51 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,51 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[4, 24], Operations: ['36/9=4', '49-25=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[25, 53], Operations: ['36/9=4', '49+4=53']
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 25*53=1325, Resulting Numbers: [1325]
1325,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[25, 45], Operations: ['36/9=4', '49-4=45']
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,51 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[49, 29], Operations: ['36/9=4', '25+4=29']
Exploring Operation: 49*29=1421, Resulting Numbers: [1421]
1421,51 unequal: No Solution
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[9, 49, 11], Operations: ['36-25=11']
Exploring Operation: 9+49=58, Resulting Numbers: [11, 58]
Generated Node #0,3,0: 51:[11, 58] Operation: 9+49=58
Exploring Operation: 9+11=20, Resulting Numbers: [49, 20]
Generated Node #0,3,1: 51:[49, 20] Operation: 9+11=20
Exploring Operation: 49+11=60, Resulting Numbers: [9, 60]
Generated Node #0,3,2: 51:[9, 60] Operation: 49+11=60
Exploring Operation: 11-9=2, Resulting Numbers: [49, 2]
Generated Node #0,3,3: 51:[49, 2] Operation: 11-9=2
Exploring Operation: 49-9=40, Resulting Numbers: [11, 40]
Generated Node #0,3,4: 51:[11, 40] Operation: 49-9=40
Moving to Node #0,3,3
Current State: 51:[49, 2], Operations: ['36-25=11', '11-9=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,51 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,51 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[9, 36, 25, 49], Operations: []
Exploring Operation: 36-25=11, Resulting Numbers: [9, 49, 11]
Generated Node #0,3: 51:[9, 49, 11] Operation: 36-25=11
Moving to Node #0,3
Current State: 51:[9, 49, 11], Operations: ['36-25=11']
Exploring Operation: 11-9=2, Resulting Numbers: [49, 2]
Generated Node #0,3,3: 51:[49, 2] Operation: 11-9=2
Moving to Node #0,3,3
Current State: 51:[49, 2], Operations: ['36-25=11', '11-9=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
6,
14,
14,
86
] | 81 | [
"86-6=80",
"14/14=1",
"80+1=81"
] | Current State: 81:[6, 14, 14, 86], Operations: []
Exploring Operation: 86-6=80, Resulting Numbers: [14, 14, 80]
Generated Node #2: [14, 14, 80] from Operation: 86-6=80
Current State: 81:[14, 14, 80], Operations: ['86-6=80']
Exploring Operation: 14/14=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 14/14=1
Current State: 81:[80, 1], Operations: ['86-6=80', '14/14=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[6, 14, 14, 86], Operations: []
Exploring Operation: 14+14=28, Resulting Numbers: [6, 86, 28]
Generated Node #0,0: 81:[6, 86, 28] Operation: 14+14=28
Exploring Operation: 14/14=1, Resulting Numbers: [6, 86, 1]
Generated Node #0,1: 81:[6, 86, 1] Operation: 14/14=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[6, 86, 28], Operations: ['14+14=28']
Exploring Operation: 28-6=22, Resulting Numbers: [86, 22]
Generated Node #0,0,0: 81:[86, 22] Operation: 28-6=22
Exploring Operation: 86-6=80, Resulting Numbers: [28, 80]
Generated Node #0,0,1: 81:[28, 80] Operation: 86-6=80
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[28, 80], Operations: ['14+14=28', '86-6=80']
Exploring Operation: 28+80=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[86, 22], Operations: ['14+14=28', '28-6=22']
Exploring Operation: 86+22=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,81 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: 81:[6, 86, 1], Operations: ['14/14=1']
Exploring Operation: 86-6=80, Resulting Numbers: [1, 80]
Generated Node #0,1,0: 81:[1, 80] Operation: 86-6=80
Exploring Operation: 6+1=7, Resulting Numbers: [86, 7]
Generated Node #0,1,1: 81:[86, 7] Operation: 6+1=7
Moving to Node #0,1,0
Current State: 81:[1, 80], Operations: ['14/14=1', '86-6=80']
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[6, 14, 14, 86], Operations: []
Exploring Operation: 14/14=1, Resulting Numbers: [6, 86, 1]
Generated Node #0,1: 81:[6, 86, 1] Operation: 14/14=1
Moving to Node #0,1
Current State: 81:[6, 86, 1], Operations: ['14/14=1']
Exploring Operation: 86-6=80, Resulting Numbers: [1, 80]
Generated Node #0,1,0: 81:[1, 80] Operation: 86-6=80
Moving to Node #0,1,0
Current State: 81:[1, 80], Operations: ['14/14=1', '86-6=80']
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
40,
69,
7,
51
] | 87 | [
"69-40=29",
"7+51=58",
"29+58=87"
] | Current State: 87:[40, 69, 7, 51], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [7, 51, 29]
Generated Node #2: [7, 51, 29] from Operation: 69-40=29
Current State: 87:[7, 51, 29], Operations: ['69-40=29']
Exploring Operation: 7+51=58, Resulting Numbers: [29, 58]
Generated Node #3: [29, 58] from Operation: 7+51=58
Current State: 87:[29, 58], Operations: ['69-40=29', '7+51=58']
Exploring Operation: 29+58=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[40, 69, 7, 51], Operations: []
Exploring Operation: 69-51=18, Resulting Numbers: [40, 7, 18]
Generated Node #0,0: 87:[40, 7, 18] Operation: 69-51=18
Exploring Operation: 69-40=29, Resulting Numbers: [7, 51, 29]
Generated Node #0,1: 87:[7, 51, 29] Operation: 69-40=29
Exploring Operation: 40+51=91, Resulting Numbers: [69, 7, 91]
Generated Node #0,2: 87:[69, 7, 91] Operation: 40+51=91
Moving to Node #0,0
Current State: 87:[40, 7, 18], Operations: ['69-51=18']
Exploring Operation: 40-7=33, Resulting Numbers: [18, 33]
Generated Node #0,0,0: 87:[18, 33] Operation: 40-7=33
Exploring Operation: 7+18=25, Resulting Numbers: [40, 25]
Generated Node #0,0,1: 87:[40, 25] Operation: 7+18=25
Exploring Operation: 40-18=22, Resulting Numbers: [7, 22]
Generated Node #0,0,2: 87:[7, 22] Operation: 40-18=22
Moving to Node #0,1
Current State: 87:[7, 51, 29], Operations: ['69-40=29']
Exploring Operation: 51+29=80, Resulting Numbers: [7, 80]
Generated Node #0,1,0: 87:[7, 80] Operation: 51+29=80
Exploring Operation: 51-29=22, Resulting Numbers: [7, 22]
Generated Node #0,1,1: 87:[7, 22] Operation: 51-29=22
Exploring Operation: 51-7=44, Resulting Numbers: [29, 44]
Generated Node #0,1,2: 87:[29, 44] Operation: 51-7=44
Moving to Node #0,2
Current State: 87:[69, 7, 91], Operations: ['40+51=91']
Exploring Operation: 91-7=84, Resulting Numbers: [69, 84]
Generated Node #0,2,0: 87:[69, 84] Operation: 91-7=84
Exploring Operation: 69+7=76, Resulting Numbers: [91, 76]
Generated Node #0,2,1: 87:[91, 76] Operation: 69+7=76
Exploring Operation: 91-69=22, Resulting Numbers: [7, 22]
Generated Node #0,2,2: 87:[7, 22] Operation: 91-69=22
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[7, 22], Operations: ['40+51=91', '91-69=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,87 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[91, 76], Operations: ['40+51=91', '69+7=76']
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,87 unequal: No Solution
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[69, 84], Operations: ['40+51=91', '91-7=84']
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 69+84=153, Resulting Numbers: [153]
153,87 unequal: No Solution
Exploring Operation: 69*84=5796, Resulting Numbers: [5796]
5796,87 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: 87:[7, 22], Operations: ['69-51=18', '40-18=22']
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,87 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[7, 80], Operations: ['69-40=29', '51+29=80']
Exploring Operation: 7*80=560, Resulting Numbers: [560]
560,87 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[40, 69, 7, 51], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [7, 51, 29]
Generated Node #0,1: 87:[7, 51, 29] Operation: 69-40=29
Moving to Node #0,1
Current State: 87:[7, 51, 29], Operations: ['69-40=29']
Exploring Operation: 51+29=80, Resulting Numbers: [7, 80]
Generated Node #0,1,0: 87:[7, 80] Operation: 51+29=80
Moving to Node #0,1,0
Current State: 87:[7, 80], Operations: ['69-40=29', '51+29=80']
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.97309 | hs_3 | mult_heuristic |
[
88,
7,
96,
6
] | 65 | [
"88-7=81",
"96/6=16",
"81-16=65"
] | Current State: 65:[88, 7, 96, 6], Operations: []
Exploring Operation: 88-7=81, Resulting Numbers: [96, 6, 81]
Generated Node #2: [96, 6, 81] from Operation: 88-7=81
Current State: 65:[96, 6, 81], Operations: ['88-7=81']
Exploring Operation: 96/6=16, Resulting Numbers: [81, 16]
Generated Node #3: [81, 16] from Operation: 96/6=16
Current State: 65:[81, 16], Operations: ['88-7=81', '96/6=16']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[88, 7, 96, 6], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [88, 7, 16]
Generated Node #0,0: 65:[88, 7, 16] Operation: 96/6=16
Exploring Operation: 96-88=8, Resulting Numbers: [7, 6, 8]
Generated Node #0,1: 65:[7, 6, 8] Operation: 96-88=8
Exploring Operation: 96-7=89, Resulting Numbers: [88, 6, 89]
Generated Node #0,2: 65:[88, 6, 89] Operation: 96-7=89
Exploring Operation: 88-7=81, Resulting Numbers: [96, 6, 81]
Generated Node #0,3: 65:[96, 6, 81] Operation: 88-7=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[7, 6, 8], Operations: ['96-88=8']
Exploring Operation: 6+8=14, Resulting Numbers: [7, 14]
Generated Node #0,1,0: 65:[7, 14] Operation: 6+8=14
Exploring Operation: 8-7=1, Resulting Numbers: [6, 1]
Generated Node #0,1,1: 65:[6, 1] Operation: 8-7=1
Exploring Operation: 7+6=13, Resulting Numbers: [8, 13]
Generated Node #0,1,2: 65:[8, 13] Operation: 7+6=13
Exploring Operation: 7+8=15, Resulting Numbers: [6, 15]
Generated Node #0,1,3: 65:[6, 15] Operation: 7+8=15
Moving to Node #0,1,0
Current State: 65:[7, 14], Operations: ['96-88=8', '6+8=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[6, 15], Operations: ['96-88=8', '7+8=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[8, 13], Operations: ['96-88=8', '7+6=13']
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[6, 1], Operations: ['96-88=8', '8-7=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[88, 7, 16], Operations: ['96/6=16']
Exploring Operation: 88-16=72, Resulting Numbers: [7, 72]
Generated Node #0,0,0: 65:[7, 72] Operation: 88-16=72
Exploring Operation: 88-7=81, Resulting Numbers: [16, 81]
Generated Node #0,0,1: 65:[16, 81] Operation: 88-7=81
Exploring Operation: 88+7=95, Resulting Numbers: [16, 95]
Generated Node #0,0,2: 65:[16, 95] Operation: 88+7=95
Exploring Operation: 16-7=9, Resulting Numbers: [88, 9]
Generated Node #0,0,3: 65:[88, 9] Operation: 16-7=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[7, 72], Operations: ['96/6=16', '88-16=72']
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,65 unequal: No Solution
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[88, 7, 96, 6], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [88, 7, 16]
Generated Node #0,0: 65:[88, 7, 16] Operation: 96/6=16
Moving to Node #0,0
Current State: 65:[88, 7, 16], Operations: ['96/6=16']
Exploring Operation: 88-16=72, Resulting Numbers: [7, 72]
Generated Node #0,0,0: 65:[7, 72] Operation: 88-16=72
Moving to Node #0,0,0
Current State: 65:[7, 72], Operations: ['96/6=16', '88-16=72']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
80,
84,
59,
50
] | 13 | [
"84-80=4",
"59-50=9",
"4+9=13"
] | Current State: 13:[80, 84, 59, 50], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [59, 50, 4]
Generated Node #2: [59, 50, 4] from Operation: 84-80=4
Current State: 13:[59, 50, 4], Operations: ['84-80=4']
Exploring Operation: 59-50=9, Resulting Numbers: [4, 9]
Generated Node #3: [4, 9] from Operation: 59-50=9
Current State: 13:[4, 9], Operations: ['84-80=4', '59-50=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[80, 84, 59, 50], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [59, 50, 4]
Generated Node #0,0: 13:[59, 50, 4] Operation: 84-80=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[59, 50, 4], Operations: ['84-80=4']
Exploring Operation: 59-50=9, Resulting Numbers: [4, 9]
Generated Node #0,0,0: 13:[4, 9] Operation: 59-50=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[4, 9], Operations: ['84-80=4', '59-50=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[80, 84, 59, 50], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [59, 50, 4]
Generated Node #0,0: 13:[59, 50, 4] Operation: 84-80=4
Moving to Node #0,0
Current State: 13:[59, 50, 4], Operations: ['84-80=4']
Exploring Operation: 59-50=9, Resulting Numbers: [4, 9]
Generated Node #0,0,0: 13:[4, 9] Operation: 59-50=9
Moving to Node #0,0,0
Current State: 13:[4, 9], Operations: ['84-80=4', '59-50=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
72,
87,
81,
2
] | 21 | [
"72+81=153",
"87*2=174",
"174-153=21"
] | Current State: 21:[72, 87, 81, 2], Operations: []
Exploring Operation: 72+81=153, Resulting Numbers: [87, 2, 153]
Generated Node #2: [87, 2, 153] from Operation: 72+81=153
Current State: 21:[87, 2, 153], Operations: ['72+81=153']
Exploring Operation: 87*2=174, Resulting Numbers: [153, 174]
Generated Node #3: [153, 174] from Operation: 87*2=174
Current State: 21:[153, 174], Operations: ['72+81=153', '87*2=174']
Exploring Operation: 174-153=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[72, 87, 81, 2], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [72, 2, 6]
Generated Node #0,0: 21:[72, 2, 6] Operation: 87-81=6
Exploring Operation: 81-72=9, Resulting Numbers: [87, 2, 9]
Generated Node #0,1: 21:[87, 2, 9] Operation: 81-72=9
Exploring Operation: 87-72=15, Resulting Numbers: [81, 2, 15]
Generated Node #0,2: 21:[81, 2, 15] Operation: 87-72=15
Moving to Node #0,0
Current State: 21:[72, 2, 6], Operations: ['87-81=6']
Exploring Operation: 72-6=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 21:[2, 66] Operation: 72-6=66
Exploring Operation: 72/6=12, Resulting Numbers: [2, 12]
Generated Node #0,0,1: 21:[2, 12] Operation: 72/6=12
Exploring Operation: 72/2=36, Resulting Numbers: [6, 36]
Generated Node #0,0,2: 21:[6, 36] Operation: 72/2=36
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[2, 12], Operations: ['87-81=6', '72/6=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No 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: 21:[6, 36], Operations: ['87-81=6', '72/2=36']
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,21 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No 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: 21:[2, 66], Operations: ['87-81=6', '72-6=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,21 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: 21:[81, 2, 15], Operations: ['87-72=15']
Exploring Operation: 2+15=17, Resulting Numbers: [81, 17]
Generated Node #0,2,0: 21:[81, 17] Operation: 2+15=17
Exploring Operation: 81-15=66, Resulting Numbers: [2, 66]
Generated Node #0,2,1: 21:[2, 66] Operation: 81-15=66
Exploring Operation: 81-2=79, Resulting Numbers: [15, 79]
Generated Node #0,2,2: 21:[15, 79] Operation: 81-2=79
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[2, 66], Operations: ['87-72=15', '81-15=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,21 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,21 unequal: No Solution
No 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: 21:[81, 17], Operations: ['87-72=15', '2+15=17']
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,21 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 81*17=1377, Resulting Numbers: [1377]
1377,21 unequal: No Solution
No 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: 21:[15, 79], Operations: ['87-72=15', '81-2=79']
Exploring Operation: 15+79=94, Resulting Numbers: [94]
94,21 unequal: No Solution
Exploring Operation: 15*79=1185, Resulting Numbers: [1185]
1185,21 unequal: No Solution
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,21 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: 21:[87, 2, 9], Operations: ['81-72=9']
Exploring Operation: 87-9=78, Resulting Numbers: [2, 78]
Generated Node #0,1,0: 21:[2, 78] Operation: 87-9=78
Exploring Operation: 9-2=7, Resulting Numbers: [87, 7]
Generated Node #0,1,1: 21:[87, 7] Operation: 9-2=7
Exploring Operation: 87-2=85, Resulting Numbers: [9, 85]
Generated Node #0,1,2: 21:[9, 85] Operation: 87-2=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[2, 78], Operations: ['81-72=9', '87-9=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,21 unequal: No Solution
No 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: 21:[87, 7], Operations: ['81-72=9', '9-2=7']
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,21 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,21 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,21 unequal: No Solution
No 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: 21:[9, 85], Operations: ['81-72=9', '87-2=85']
Exploring Operation: 9+85=94, Resulting Numbers: [94]
94,21 unequal: No Solution
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 9*85=765, Resulting Numbers: [765]
765,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
85,
57,
85,
52
] | 52 | [
"85-85=0",
"57*0=0",
"52+0=52"
] | Current State: 52:[85, 57, 85, 52], Operations: []
Exploring Operation: 85-85=0, Resulting Numbers: [57, 52, 0]
Generated Node #2: [57, 52, 0] from Operation: 85-85=0
Current State: 52:[57, 52, 0], Operations: ['85-85=0']
Exploring Operation: 57*0=0, Resulting Numbers: [52, 0]
Generated Node #3: [52, 0] from Operation: 57*0=0
Current State: 52:[52, 0], Operations: ['85-85=0', '57*0=0']
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[85, 57, 85, 52], Operations: []
Exploring Operation: 85-85=0, Resulting Numbers: [57, 52, 0]
Generated Node #0,0: 52:[57, 52, 0] Operation: 85-85=0
Exploring Operation: 85-57=28, Resulting Numbers: [85, 52, 28]
Generated Node #0,1: 52:[85, 52, 28] Operation: 85-57=28
Exploring Operation: 85/85=1, Resulting Numbers: [57, 52, 1]
Generated Node #0,2: 52:[57, 52, 1] Operation: 85/85=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[57, 52, 1], Operations: ['85/85=1']
Exploring Operation: 57-52=5, Resulting Numbers: [1, 5]
Generated Node #0,2,0: 52:[1, 5] Operation: 57-52=5
Exploring Operation: 57-1=56, Resulting Numbers: [52, 56]
Generated Node #0,2,1: 52:[52, 56] Operation: 57-1=56
Exploring Operation: 57*1=57, Resulting Numbers: [52, 57]
Generated Node #0,2,2: 52:[52, 57] Operation: 57*1=57
Moving to Node #0,2,0
Current State: 52:[1, 5], Operations: ['85/85=1', '57-52=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[52, 56], Operations: ['85/85=1', '57-1=56']
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,52 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[52, 57], Operations: ['85/85=1', '57*1=57']
Exploring Operation: 52*57=2964, Resulting Numbers: [2964]
2964,52 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 52+57=109, Resulting Numbers: [109]
109,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[57, 52, 0], Operations: ['85-85=0']
Exploring Operation: 57*0=0, Resulting Numbers: [52, 0]
Generated Node #0,0,0: 52:[52, 0] Operation: 57*0=0
Exploring Operation: 57-52=5, Resulting Numbers: [0, 5]
Generated Node #0,0,1: 52:[0, 5] Operation: 57-52=5
Exploring Operation: 57+0=57, Resulting Numbers: [52, 57]
Generated Node #0,0,2: 52:[52, 57] Operation: 57+0=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[52, 0], Operations: ['85-85=0', '57*0=0']
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[85, 57, 85, 52], Operations: []
Exploring Operation: 85-85=0, Resulting Numbers: [57, 52, 0]
Generated Node #0,0: 52:[57, 52, 0] Operation: 85-85=0
Moving to Node #0,0
Current State: 52:[57, 52, 0], Operations: ['85-85=0']
Exploring Operation: 57*0=0, Resulting Numbers: [52, 0]
Generated Node #0,0,0: 52:[52, 0] Operation: 57*0=0
Moving to Node #0,0,0
Current State: 52:[52, 0], Operations: ['85-85=0', '57*0=0']
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
1,
86,
5,
63
] | 92 | [
"5-1=4",
"86-63=23",
"4*23=92"
] | Current State: 92:[1, 86, 5, 63], Operations: []
Exploring Operation: 5-1=4, Resulting Numbers: [86, 63, 4]
Generated Node #2: [86, 63, 4] from Operation: 5-1=4
Current State: 92:[86, 63, 4], Operations: ['5-1=4']
Exploring Operation: 86-63=23, Resulting Numbers: [4, 23]
Generated Node #3: [4, 23] from Operation: 86-63=23
Current State: 92:[4, 23], Operations: ['5-1=4', '86-63=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[1, 86, 5, 63], Operations: []
Exploring Operation: 86+5=91, Resulting Numbers: [1, 63, 91]
Generated Node #0,0: 92:[1, 63, 91] Operation: 86+5=91
Exploring Operation: 63-5=58, Resulting Numbers: [1, 86, 58]
Generated Node #0,1: 92:[1, 86, 58] Operation: 63-5=58
Exploring Operation: 5-1=4, Resulting Numbers: [86, 63, 4]
Generated Node #0,2: 92:[86, 63, 4] Operation: 5-1=4
Exploring Operation: 1+86=87, Resulting Numbers: [5, 63, 87]
Generated Node #0,3: 92:[5, 63, 87] Operation: 1+86=87
Exploring Operation: 86-63=23, Resulting Numbers: [1, 5, 23]
Generated Node #0,4: 92:[1, 5, 23] Operation: 86-63=23
Moving to Node #0,4
Current State: 92:[1, 5, 23], Operations: ['86-63=23']
Exploring Operation: 5-1=4, Resulting Numbers: [23, 4]
Generated Node #0,4,0: 92:[23, 4] Operation: 5-1=4
Exploring Operation: 1*23=23, Resulting Numbers: [5, 23]
Generated Node #0,4,1: 92:[5, 23] Operation: 1*23=23
Exploring Operation: 23/1=23, Resulting Numbers: [5, 23]
Generated Node #0,4,2: 92:[5, 23] Operation: 23/1=23
Exploring Operation: 1*5=5, Resulting Numbers: [23, 5]
Generated Node #0,4,3: 92:[23, 5] Operation: 1*5=5
Exploring Operation: 5/1=5, Resulting Numbers: [23, 5]
Generated Node #0,4,4: 92:[23, 5] Operation: 5/1=5
Moving to Node #0,1
Current State: 92:[1, 86, 58], Operations: ['63-5=58']
Exploring Operation: 1*86=86, Resulting Numbers: [58, 86]
Generated Node #0,1,0: 92:[58, 86] Operation: 1*86=86
Exploring Operation: 86/1=86, Resulting Numbers: [58, 86]
Generated Node #0,1,1: 92:[58, 86] Operation: 86/1=86
Exploring Operation: 58-1=57, Resulting Numbers: [86, 57]
Generated Node #0,1,2: 92:[86, 57] Operation: 58-1=57
Exploring Operation: 86-58=28, Resulting Numbers: [1, 28]
Generated Node #0,1,3: 92:[1, 28] Operation: 86-58=28
Exploring Operation: 1+86=87, Resulting Numbers: [58, 87]
Generated Node #0,1,4: 92:[58, 87] Operation: 1+86=87
Moving to Node #0,0
Current State: 92:[1, 63, 91], Operations: ['86+5=91']
Exploring Operation: 1*63=63, Resulting Numbers: [91, 63]
Generated Node #0,0,0: 92:[91, 63] Operation: 1*63=63
Exploring Operation: 63-1=62, Resulting Numbers: [91, 62]
Generated Node #0,0,1: 92:[91, 62] Operation: 63-1=62
Exploring Operation: 1+91=92, Resulting Numbers: [63, 92]
Generated Node #0,0,2: 92:[63, 92] Operation: 1+91=92
Exploring Operation: 91-63=28, Resulting Numbers: [1, 28]
Generated Node #0,0,3: 92:[1, 28] Operation: 91-63=28
Exploring Operation: 63/1=63, Resulting Numbers: [91, 63]
Generated Node #0,0,4: 92:[91, 63] Operation: 63/1=63
Moving to Node #0,2
Current State: 92:[86, 63, 4], Operations: ['5-1=4']
Exploring Operation: 86-63=23, Resulting Numbers: [4, 23]
Generated Node #0,2,0: 92:[4, 23] Operation: 86-63=23
Exploring Operation: 63-4=59, Resulting Numbers: [86, 59]
Generated Node #0,2,1: 92:[86, 59] Operation: 63-4=59
Exploring Operation: 63+4=67, Resulting Numbers: [86, 67]
Generated Node #0,2,2: 92:[86, 67] Operation: 63+4=67
Exploring Operation: 86-4=82, Resulting Numbers: [63, 82]
Generated Node #0,2,3: 92:[63, 82] Operation: 86-4=82
Exploring Operation: 86+4=90, Resulting Numbers: [63, 90]
Generated Node #0,2,4: 92:[63, 90] Operation: 86+4=90
Moving to Node #0,3
Current State: 92:[5, 63, 87], Operations: ['1+86=87']
Exploring Operation: 63-5=58, Resulting Numbers: [87, 58]
Generated Node #0,3,0: 92:[87, 58] Operation: 63-5=58
Exploring Operation: 87-63=24, Resulting Numbers: [5, 24]
Generated Node #0,3,1: 92:[5, 24] Operation: 87-63=24
Exploring Operation: 87-5=82, Resulting Numbers: [63, 82]
Generated Node #0,3,2: 92:[63, 82] Operation: 87-5=82
Exploring Operation: 5+63=68, Resulting Numbers: [87, 68]
Generated Node #0,3,3: 92:[87, 68] Operation: 5+63=68
Exploring Operation: 5+87=92, Resulting Numbers: [63, 92]
Generated Node #0,3,4: 92:[63, 92] Operation: 5+87=92
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[5, 24], Operations: ['1+86=87', '87-63=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,92 unequal: No Solution
No 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: 92:[87, 58], Operations: ['1+86=87', '63-5=58']
Exploring Operation: 87*58=5046, Resulting Numbers: [5046]
5046,92 unequal: No Solution
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 87+58=145, Resulting Numbers: [145]
145,92 unequal: No Solution
No 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: 92:[63, 92], Operations: ['1+86=87', '5+87=92']
Exploring Operation: 63*92=5796, Resulting Numbers: [5796]
5796,92 unequal: No Solution
Exploring Operation: 63+92=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No 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: 92:[63, 82], Operations: ['1+86=87', '87-5=82']
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 63*82=5166, Resulting Numbers: [5166]
5166,92 unequal: No Solution
Exploring Operation: 63+82=145, Resulting Numbers: [145]
145,92 unequal: No Solution
No 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: 92:[87, 68], Operations: ['1+86=87', '5+63=68']
Exploring Operation: 87+68=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 87*68=5916, Resulting Numbers: [5916]
5916,92 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: 92:[23, 4], Operations: ['86-63=23', '5-1=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[1, 86, 5, 63], Operations: []
Exploring Operation: 86-63=23, Resulting Numbers: [1, 5, 23]
Generated Node #0,4: 92:[1, 5, 23] Operation: 86-63=23
Moving to Node #0,4
Current State: 92:[1, 5, 23], Operations: ['86-63=23']
Exploring Operation: 5-1=4, Resulting Numbers: [23, 4]
Generated Node #0,4,0: 92:[23, 4] Operation: 5-1=4
Moving to Node #0,4,0
Current State: 92:[23, 4], Operations: ['86-63=23', '5-1=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
36,
50,
48,
28
] | 92 | [
"50-48=2",
"28*2=56",
"36+56=92"
] | Current State: 92:[36, 50, 48, 28], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [36, 28, 2]
Generated Node #2: [36, 28, 2] from Operation: 50-48=2
Current State: 92:[36, 28, 2], Operations: ['50-48=2']
Exploring Operation: 28*2=56, Resulting Numbers: [36, 56]
Generated Node #3: [36, 56] from Operation: 28*2=56
Current State: 92:[36, 56], Operations: ['50-48=2', '28*2=56']
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[36, 50, 48, 28], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [36, 28, 2]
Generated Node #0,0: 92:[36, 28, 2] Operation: 50-48=2
Exploring Operation: 50-28=22, Resulting Numbers: [36, 48, 22]
Generated Node #0,1: 92:[36, 48, 22] Operation: 50-28=22
Exploring Operation: 36-28=8, Resulting Numbers: [50, 48, 8]
Generated Node #0,2: 92:[50, 48, 8] Operation: 36-28=8
Exploring Operation: 50-36=14, Resulting Numbers: [48, 28, 14]
Generated Node #0,3: 92:[48, 28, 14] Operation: 50-36=14
Exploring Operation: 36+50=86, Resulting Numbers: [48, 28, 86]
Generated Node #0,4: 92:[48, 28, 86] Operation: 36+50=86
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[50, 48, 8], Operations: ['36-28=8']
Exploring Operation: 48/8=6, Resulting Numbers: [50, 6]
Generated Node #0,2,0: 92:[50, 6] Operation: 48/8=6
Exploring Operation: 50+48=98, Resulting Numbers: [8, 98]
Generated Node #0,2,1: 92:[8, 98] Operation: 50+48=98
Exploring Operation: 50-8=42, Resulting Numbers: [48, 42]
Generated Node #0,2,2: 92:[48, 42] Operation: 50-8=42
Exploring Operation: 50-48=2, Resulting Numbers: [8, 2]
Generated Node #0,2,3: 92:[8, 2] Operation: 50-48=2
Exploring Operation: 48-8=40, Resulting Numbers: [50, 40]
Generated Node #0,2,4: 92:[50, 40] Operation: 48-8=40
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[8, 2], Operations: ['36-28=8', '50-48=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No 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: 92:[50, 6], Operations: ['36-28=8', '48/8=6']
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,92 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,92 unequal: No Solution
No 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: 92:[48, 42], Operations: ['36-28=8', '50-8=42']
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 48*42=2016, Resulting Numbers: [2016]
2016,92 unequal: No Solution
No 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: 92:[8, 98], Operations: ['36-28=8', '50+48=98']
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 8*98=784, Resulting Numbers: [784]
784,92 unequal: No Solution
Exploring Operation: 8+98=106, Resulting Numbers: [106]
106,92 unequal: No Solution
No 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: 92:[50, 40], Operations: ['36-28=8', '48-8=40']
Exploring Operation: 50+40=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 50*40=2000, Resulting Numbers: [2000]
2000,92 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: 92:[36, 48, 22], Operations: ['50-28=22']
Exploring Operation: 36+48=84, Resulting Numbers: [22, 84]
Generated Node #0,1,0: 92:[22, 84] Operation: 36+48=84
Exploring Operation: 36+22=58, Resulting Numbers: [48, 58]
Generated Node #0,1,1: 92:[48, 58] Operation: 36+22=58
Exploring Operation: 48-36=12, Resulting Numbers: [22, 12]
Generated Node #0,1,2: 92:[22, 12] Operation: 48-36=12
Exploring Operation: 36-22=14, Resulting Numbers: [48, 14]
Generated Node #0,1,3: 92:[48, 14] Operation: 36-22=14
Exploring Operation: 48-22=26, Resulting Numbers: [36, 26]
Generated Node #0,1,4: 92:[36, 26] Operation: 48-22=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[22, 84], Operations: ['50-28=22', '36+48=84']
Exploring Operation: 22*84=1848, Resulting Numbers: [1848]
1848,92 unequal: No Solution
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,92 unequal: No Solution
No 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: 92:[22, 12], Operations: ['50-28=22', '48-36=12']
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,92 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,92 unequal: No Solution
No 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: 92:[48, 14], Operations: ['50-28=22', '36-22=14']
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,92 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,92 unequal: No Solution
No 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: 92:[36, 26], Operations: ['50-28=22', '48-22=26']
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,92 unequal: No Solution
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,92 unequal: No Solution
No 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: 92:[48, 58], Operations: ['50-28=22', '36+22=58']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 48*58=2784, Resulting Numbers: [2784]
2784,92 unequal: No Solution
Exploring Operation: 48+58=106, Resulting Numbers: [106]
106,92 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: 92:[48, 28, 86], Operations: ['36+50=86']
Exploring Operation: 86-28=58, Resulting Numbers: [48, 58]
Generated Node #0,4,0: 92:[48, 58] Operation: 86-28=58
Exploring Operation: 48-28=20, Resulting Numbers: [86, 20]
Generated Node #0,4,1: 92:[86, 20] Operation: 48-28=20
Exploring Operation: 28+86=114, Resulting Numbers: [48, 114]
Generated Node #0,4,2: 92:[48, 114] Operation: 28+86=114
Exploring Operation: 48+28=76, Resulting Numbers: [86, 76]
Generated Node #0,4,3: 92:[86, 76] Operation: 48+28=76
Exploring Operation: 86-48=38, Resulting Numbers: [28, 38]
Generated Node #0,4,4: 92:[28, 38] Operation: 86-48=38
Moving to Node #0,4,1
Current State: 92:[86, 20], Operations: ['36+50=86', '48-28=20']
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[28, 38], Operations: ['36+50=86', '86-48=38']
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[48, 58], Operations: ['36+50=86', '86-28=58']
Exploring Operation: 48+58=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 48*58=2784, Resulting Numbers: [2784]
2784,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[86, 76], Operations: ['36+50=86', '48+28=76']
Exploring Operation: 86+76=162, Resulting Numbers: [162]
162,92 unequal: No Solution
Exploring Operation: 86*76=6536, Resulting Numbers: [6536]
6536,92 unequal: No Solution
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[48, 114], Operations: ['36+50=86', '28+86=114']
Exploring Operation: 48*114=5472, Resulting Numbers: [5472]
5472,92 unequal: No Solution
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 48+114=162, Resulting Numbers: [162]
162,92 unequal: No Solution
No 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: 92:[36, 28, 2], Operations: ['50-48=2']
Exploring Operation: 36+2=38, Resulting Numbers: [28, 38]
Generated Node #0,0,0: 92:[28, 38] Operation: 36+2=38
Exploring Operation: 36-2=34, Resulting Numbers: [28, 34]
Generated Node #0,0,1: 92:[28, 34] Operation: 36-2=34
Exploring Operation: 28-2=26, Resulting Numbers: [36, 26]
Generated Node #0,0,2: 92:[36, 26] Operation: 28-2=26
Exploring Operation: 36-28=8, Resulting Numbers: [2, 8]
Generated Node #0,0,3: 92:[2, 8] Operation: 36-28=8
Exploring Operation: 36/2=18, Resulting Numbers: [28, 18]
Generated Node #0,0,4: 92:[28, 18] Operation: 36/2=18
Moving to Node #0,0,3
Current State: 92:[2, 8], Operations: ['50-48=2', '36-28=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[28, 18], Operations: ['50-48=2', '36/2=18']
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,92 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[28, 38], Operations: ['50-48=2', '36+2=38']
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,92 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[36, 26], Operations: ['50-48=2', '28-2=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,92 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[28, 34], Operations: ['50-48=2', '36-2=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,92 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No 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: 92:[48, 28, 14], Operations: ['50-36=14']
Exploring Operation: 48-14=34, Resulting Numbers: [28, 34]
Generated Node #0,3,0: 92:[28, 34] Operation: 48-14=34
Exploring Operation: 28-14=14, Resulting Numbers: [48, 14]
Generated Node #0,3,1: 92:[48, 14] Operation: 28-14=14
Exploring Operation: 48-28=20, Resulting Numbers: [14, 20]
Generated Node #0,3,2: 92:[14, 20] Operation: 48-28=20
Exploring Operation: 28+14=42, Resulting Numbers: [48, 42]
Generated Node #0,3,3: 92:[48, 42] Operation: 28+14=42
Exploring Operation: 28/14=2, Resulting Numbers: [48, 2]
Generated Node #0,3,4: 92:[48, 2] Operation: 28/14=2
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 92:[48, 2], Operations: ['50-36=14', '28/14=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,92 unequal: No Solution
No 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: 92:[48, 42], Operations: ['50-36=14', '28+14=42']
Exploring Operation: 48*42=2016, Resulting Numbers: [2016]
2016,92 unequal: No Solution
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No 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: 92:[48, 14], Operations: ['50-36=14', '28-14=14']
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,92 unequal: No Solution
No 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: 92:[14, 20], Operations: ['50-36=14', '48-28=20']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,92 unequal: No Solution
No 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: 92:[28, 34], Operations: ['50-36=14', '48-14=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,92 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,92 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 |
[
28,
22,
2,
20
] | 59 | [
"28+20=48",
"22/2=11",
"48+11=59"
] | Current State: 59:[28, 22, 2, 20], Operations: []
Exploring Operation: 28+20=48, Resulting Numbers: [22, 2, 48]
Generated Node #2: [22, 2, 48] from Operation: 28+20=48
Current State: 59:[22, 2, 48], Operations: ['28+20=48']
Exploring Operation: 22/2=11, Resulting Numbers: [48, 11]
Generated Node #3: [48, 11] from Operation: 22/2=11
Current State: 59:[48, 11], Operations: ['28+20=48', '22/2=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[28, 22, 2, 20], Operations: []
Exploring Operation: 2*20=40, Resulting Numbers: [28, 22, 40]
Generated Node #0,0: 59:[28, 22, 40] Operation: 2*20=40
Exploring Operation: 28*2=56, Resulting Numbers: [22, 20, 56]
Generated Node #0,1: 59:[22, 20, 56] Operation: 28*2=56
Exploring Operation: 22*2=44, Resulting Numbers: [28, 20, 44]
Generated Node #0,2: 59:[28, 20, 44] Operation: 22*2=44
Moving to Node #0,1
Current State: 59:[22, 20, 56], Operations: ['28*2=56']
Exploring Operation: 20+56=76, Resulting Numbers: [22, 76]
Generated Node #0,1,0: 59:[22, 76] Operation: 20+56=76
Exploring Operation: 22+20=42, Resulting Numbers: [56, 42]
Generated Node #0,1,1: 59:[56, 42] Operation: 22+20=42
Exploring Operation: 22+56=78, Resulting Numbers: [20, 78]
Generated Node #0,1,2: 59:[20, 78] Operation: 22+56=78
Moving to Node #0,2
Current State: 59:[28, 20, 44], Operations: ['22*2=44']
Exploring Operation: 28+44=72, Resulting Numbers: [20, 72]
Generated Node #0,2,0: 59:[20, 72] Operation: 28+44=72
Exploring Operation: 20+44=64, Resulting Numbers: [28, 64]
Generated Node #0,2,1: 59:[28, 64] Operation: 20+44=64
Exploring Operation: 28+20=48, Resulting Numbers: [44, 48]
Generated Node #0,2,2: 59:[44, 48] Operation: 28+20=48
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[44, 48], Operations: ['22*2=44', '28+20=48']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[28, 64], Operations: ['22*2=44', '20+44=64']
Exploring Operation: 28+64=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 28*64=1792, Resulting Numbers: [1792]
1792,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[20, 72], Operations: ['22*2=44', '28+44=72']
Exploring Operation: 20+72=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 20*72=1440, Resulting Numbers: [1440]
1440,59 unequal: No Solution
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,59 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: 59:[28, 22, 40], Operations: ['2*20=40']
Exploring Operation: 22+40=62, Resulting Numbers: [28, 62]
Generated Node #0,0,0: 59:[28, 62] Operation: 22+40=62
Exploring Operation: 28+40=68, Resulting Numbers: [22, 68]
Generated Node #0,0,1: 59:[22, 68] Operation: 28+40=68
Exploring Operation: 28+22=50, Resulting Numbers: [40, 50]
Generated Node #0,0,2: 59:[40, 50] Operation: 28+22=50
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[40, 50], Operations: ['2*20=40', '28+22=50']
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[28, 62], Operations: ['2*20=40', '22+40=62']
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[22, 68], Operations: ['2*20=40', '28+40=68']
Exploring Operation: 22*68=1496, Resulting Numbers: [1496]
1496,59 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 59:[56, 42], Operations: ['28*2=56', '22+20=42']
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,59 unequal: No Solution
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[22, 76], Operations: ['28*2=56', '20+56=76']
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[20, 78], Operations: ['28*2=56', '22+56=78']
Exploring Operation: 20+78=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 20*78=1560, Resulting Numbers: [1560]
1560,59 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
89,
71,
67,
63
] | 91 | [
"71+63=134",
"134/67=2",
"89+2=91"
] | Current State: 91:[89, 71, 67, 63], Operations: []
Exploring Operation: 71+63=134, Resulting Numbers: [89, 67, 134]
Generated Node #2: [89, 67, 134] from Operation: 71+63=134
Current State: 91:[89, 67, 134], Operations: ['71+63=134']
Exploring Operation: 134/67=2, Resulting Numbers: [89, 2]
Generated Node #3: [89, 2] from Operation: 134/67=2
Current State: 91:[89, 2], Operations: ['71+63=134', '134/67=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[89, 71, 67, 63], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [89, 63, 4]
Generated Node #0,0: 91:[89, 63, 4] Operation: 71-67=4
Exploring Operation: 67-63=4, Resulting Numbers: [89, 71, 4]
Generated Node #0,1: 91:[89, 71, 4] Operation: 67-63=4
Exploring Operation: 71-63=8, Resulting Numbers: [89, 67, 8]
Generated Node #0,2: 91:[89, 67, 8] Operation: 71-63=8
Moving to Node #0,1
Current State: 91:[89, 71, 4], Operations: ['67-63=4']
Exploring Operation: 89-71=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 91:[4, 18] Operation: 89-71=18
Exploring Operation: 89+4=93, Resulting Numbers: [71, 93]
Generated Node #0,1,1: 91:[71, 93] Operation: 89+4=93
Exploring Operation: 71+4=75, Resulting Numbers: [89, 75]
Generated Node #0,1,2: 91:[89, 75] Operation: 71+4=75
Moving to Node #0,2
Current State: 91:[89, 67, 8], Operations: ['71-63=8']
Exploring Operation: 67+8=75, Resulting Numbers: [89, 75]
Generated Node #0,2,0: 91:[89, 75] Operation: 67+8=75
Exploring Operation: 89+8=97, Resulting Numbers: [67, 97]
Generated Node #0,2,1: 91:[67, 97] Operation: 89+8=97
Exploring Operation: 89-67=22, Resulting Numbers: [8, 22]
Generated Node #0,2,2: 91:[8, 22] Operation: 89-67=22
Moving to Node #0,0
Current State: 91:[89, 63, 4], Operations: ['71-67=4']
Exploring Operation: 89-63=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 91:[4, 26] Operation: 89-63=26
Exploring Operation: 89+4=93, Resulting Numbers: [63, 93]
Generated Node #0,0,1: 91:[63, 93] Operation: 89+4=93
Exploring Operation: 63+4=67, Resulting Numbers: [89, 67]
Generated Node #0,0,2: 91:[89, 67] Operation: 63+4=67
Moving to Node #0,1,0
Current State: 91:[4, 18], Operations: ['67-63=4', '89-71=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[8, 22], Operations: ['71-63=8', '89-67=22']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[4, 26], Operations: ['71-67=4', '89-63=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[89, 75], Operations: ['71-63=8', '67+8=75']
Exploring Operation: 89-75=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 89+75=164, Resulting Numbers: [164]
164,91 unequal: No Solution
Exploring Operation: 89*75=6675, Resulting Numbers: [6675]
6675,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[89, 75], Operations: ['67-63=4', '71+4=75']
Exploring Operation: 89-75=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 89*75=6675, Resulting Numbers: [6675]
6675,91 unequal: No Solution
Exploring Operation: 89+75=164, Resulting Numbers: [164]
164,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[71, 93], Operations: ['67-63=4', '89+4=93']
Exploring Operation: 71+93=164, Resulting Numbers: [164]
164,91 unequal: No Solution
Exploring Operation: 71*93=6603, Resulting Numbers: [6603]
6603,91 unequal: No Solution
Exploring Operation: 93-71=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[89, 67], Operations: ['71-67=4', '63+4=67']
Exploring Operation: 89*67=5963, Resulting Numbers: [5963]
5963,91 unequal: No Solution
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 89+67=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[67, 97], Operations: ['71-63=8', '89+8=97']
Exploring Operation: 67*97=6499, Resulting Numbers: [6499]
6499,91 unequal: No Solution
Exploring Operation: 97-67=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 67+97=164, Resulting Numbers: [164]
164,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[63, 93], Operations: ['71-67=4', '89+4=93']
Exploring Operation: 63*93=5859, Resulting Numbers: [5859]
5859,91 unequal: No Solution
Exploring Operation: 63+93=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,91 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
68,
65,
74,
90
] | 80 | [
"74-68=6",
"90/6=15",
"65+15=80"
] | Current State: 80:[68, 65, 74, 90], Operations: []
Exploring Operation: 74-68=6, Resulting Numbers: [65, 90, 6]
Generated Node #2: [65, 90, 6] from Operation: 74-68=6
Current State: 80:[65, 90, 6], Operations: ['74-68=6']
Exploring Operation: 90/6=15, Resulting Numbers: [65, 15]
Generated Node #3: [65, 15] from Operation: 90/6=15
Current State: 80:[65, 15], Operations: ['74-68=6', '90/6=15']
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[68, 65, 74, 90], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [74, 90, 3]
Generated Node #0,0: 80:[74, 90, 3] Operation: 68-65=3
Exploring Operation: 74-68=6, Resulting Numbers: [65, 90, 6]
Generated Node #0,1: 80:[65, 90, 6] Operation: 74-68=6
Exploring Operation: 90-68=22, Resulting Numbers: [65, 74, 22]
Generated Node #0,2: 80:[65, 74, 22] Operation: 90-68=22
Exploring Operation: 74-65=9, Resulting Numbers: [68, 90, 9]
Generated Node #0,3: 80:[68, 90, 9] Operation: 74-65=9
Exploring Operation: 90-65=25, Resulting Numbers: [68, 74, 25]
Generated Node #0,4: 80:[68, 74, 25] Operation: 90-65=25
Moving to Node #0,0
Current State: 80:[74, 90, 3], Operations: ['68-65=3']
Exploring Operation: 74+3=77, Resulting Numbers: [90, 77]
Generated Node #0,0,0: 80:[90, 77] Operation: 74+3=77
Exploring Operation: 90-74=16, Resulting Numbers: [3, 16]
Generated Node #0,0,1: 80:[3, 16] Operation: 90-74=16
Exploring Operation: 90/3=30, Resulting Numbers: [74, 30]
Generated Node #0,0,2: 80:[74, 30] Operation: 90/3=30
Exploring Operation: 74-3=71, Resulting Numbers: [90, 71]
Generated Node #0,0,3: 80:[90, 71] Operation: 74-3=71
Exploring Operation: 90-3=87, Resulting Numbers: [74, 87]
Generated Node #0,0,4: 80:[74, 87] Operation: 90-3=87
Moving to Node #0,3
Current State: 80:[68, 90, 9], Operations: ['74-65=9']
Exploring Operation: 90/9=10, Resulting Numbers: [68, 10]
Generated Node #0,3,0: 80:[68, 10] Operation: 90/9=10
Exploring Operation: 68+9=77, Resulting Numbers: [90, 77]
Generated Node #0,3,1: 80:[90, 77] Operation: 68+9=77
Exploring Operation: 90-9=81, Resulting Numbers: [68, 81]
Generated Node #0,3,2: 80:[68, 81] Operation: 90-9=81
Exploring Operation: 68-9=59, Resulting Numbers: [90, 59]
Generated Node #0,3,3: 80:[90, 59] Operation: 68-9=59
Exploring Operation: 90-68=22, Resulting Numbers: [9, 22]
Generated Node #0,3,4: 80:[9, 22] Operation: 90-68=22
Moving to Node #0,2
Current State: 80:[65, 74, 22], Operations: ['90-68=22']
Exploring Operation: 65-22=43, Resulting Numbers: [74, 43]
Generated Node #0,2,0: 80:[74, 43] Operation: 65-22=43
Exploring Operation: 74-65=9, Resulting Numbers: [22, 9]
Generated Node #0,2,1: 80:[22, 9] Operation: 74-65=9
Exploring Operation: 74-22=52, Resulting Numbers: [65, 52]
Generated Node #0,2,2: 80:[65, 52] Operation: 74-22=52
Exploring Operation: 74+22=96, Resulting Numbers: [65, 96]
Generated Node #0,2,3: 80:[65, 96] Operation: 74+22=96
Exploring Operation: 65+22=87, Resulting Numbers: [74, 87]
Generated Node #0,2,4: 80:[74, 87] Operation: 65+22=87
Moving to Node #0,4
Current State: 80:[68, 74, 25], Operations: ['90-65=25']
Exploring Operation: 74+25=99, Resulting Numbers: [68, 99]
Generated Node #0,4,0: 80:[68, 99] Operation: 74+25=99
Exploring Operation: 74-25=49, Resulting Numbers: [68, 49]
Generated Node #0,4,1: 80:[68, 49] Operation: 74-25=49
Exploring Operation: 68+25=93, Resulting Numbers: [74, 93]
Generated Node #0,4,2: 80:[74, 93] Operation: 68+25=93
Exploring Operation: 74-68=6, Resulting Numbers: [25, 6]
Generated Node #0,4,3: 80:[25, 6] Operation: 74-68=6
Exploring Operation: 68-25=43, Resulting Numbers: [74, 43]
Generated Node #0,4,4: 80:[74, 43] Operation: 68-25=43
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 80:[25, 6], Operations: ['90-65=25', '74-68=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 80:[74, 43], Operations: ['90-65=25', '68-25=43']
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 74+43=117, Resulting Numbers: [117]
117,80 unequal: No Solution
Exploring Operation: 74*43=3182, Resulting Numbers: [3182]
3182,80 unequal: No Solution
No 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: 80:[74, 93], Operations: ['90-65=25', '68+25=93']
Exploring Operation: 74*93=6882, Resulting Numbers: [6882]
6882,80 unequal: No Solution
Exploring Operation: 74+93=167, Resulting Numbers: [167]
167,80 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,80 unequal: No Solution
No 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: 80:[68, 49], Operations: ['90-65=25', '74-25=49']
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 68*49=3332, Resulting Numbers: [3332]
3332,80 unequal: No Solution
Exploring Operation: 68+49=117, Resulting Numbers: [117]
117,80 unequal: No Solution
No 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: 80:[68, 99], Operations: ['90-65=25', '74+25=99']
Exploring Operation: 68*99=6732, Resulting Numbers: [6732]
6732,80 unequal: No Solution
Exploring Operation: 99-68=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 68+99=167, Resulting Numbers: [167]
167,80 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: 80:[65, 90, 6], Operations: ['74-68=6']
Exploring Operation: 90/6=15, Resulting Numbers: [65, 15]
Generated Node #0,1,0: 80:[65, 15] Operation: 90/6=15
Exploring Operation: 65-6=59, Resulting Numbers: [90, 59]
Generated Node #0,1,1: 80:[90, 59] Operation: 65-6=59
Exploring Operation: 90-65=25, Resulting Numbers: [6, 25]
Generated Node #0,1,2: 80:[6, 25] Operation: 90-65=25
Exploring Operation: 90-6=84, Resulting Numbers: [65, 84]
Generated Node #0,1,3: 80:[65, 84] Operation: 90-6=84
Exploring Operation: 65+6=71, Resulting Numbers: [90, 71]
Generated Node #0,1,4: 80:[90, 71] Operation: 65+6=71
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[6, 25], Operations: ['74-68=6', '90-65=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,80 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,80 unequal: No Solution
No 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: 80:[65, 15], Operations: ['74-68=6', '90/6=15']
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[68, 65, 74, 90], Operations: []
Exploring Operation: 74-68=6, Resulting Numbers: [65, 90, 6]
Generated Node #0,1: 80:[65, 90, 6] Operation: 74-68=6
Moving to Node #0,1
Current State: 80:[65, 90, 6], Operations: ['74-68=6']
Exploring Operation: 90/6=15, Resulting Numbers: [65, 15]
Generated Node #0,1,0: 80:[65, 15] Operation: 90/6=15
Moving to Node #0,1,0
Current State: 80:[65, 15], Operations: ['74-68=6', '90/6=15']
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_5 | mult_heuristic |
[
2,
20,
29,
62
] | 51 | [
"2*20=40",
"29+62=91",
"91-40=51"
] | Current State: 51:[2, 20, 29, 62], Operations: []
Exploring Operation: 2*20=40, Resulting Numbers: [29, 62, 40]
Generated Node #2: [29, 62, 40] from Operation: 2*20=40
Current State: 51:[29, 62, 40], Operations: ['2*20=40']
Exploring Operation: 29+62=91, Resulting Numbers: [40, 91]
Generated Node #3: [40, 91] from Operation: 29+62=91
Current State: 51:[40, 91], Operations: ['2*20=40', '29+62=91']
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[2, 20, 29, 62], Operations: []
Exploring Operation: 20+29=49, Resulting Numbers: [2, 62, 49]
Generated Node #0,0: 51:[2, 62, 49] Operation: 20+29=49
Moving to Node #0,0
Current State: 51:[2, 62, 49], Operations: ['20+29=49']
Exploring Operation: 62-49=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 51:[2, 13] Operation: 62-49=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[2, 13], Operations: ['20+29=49', '62-49=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,51 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 |
[
35,
78,
24,
97
] | 19 | [
"78+97=175",
"175/35=5",
"24-5=19"
] | Current State: 19:[35, 78, 24, 97], Operations: []
Exploring Operation: 78+97=175, Resulting Numbers: [35, 24, 175]
Generated Node #2: [35, 24, 175] from Operation: 78+97=175
Current State: 19:[35, 24, 175], Operations: ['78+97=175']
Exploring Operation: 175/35=5, Resulting Numbers: [24, 5]
Generated Node #3: [24, 5] from Operation: 175/35=5
Current State: 19:[24, 5], Operations: ['78+97=175', '175/35=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[35, 78, 24, 97], Operations: []
Exploring Operation: 97-35=62, Resulting Numbers: [78, 24, 62]
Generated Node #0,0: 19:[78, 24, 62] Operation: 97-35=62
Exploring Operation: 78-24=54, Resulting Numbers: [35, 97, 54]
Generated Node #0,1: 19:[35, 97, 54] Operation: 78-24=54
Exploring Operation: 97-78=19, Resulting Numbers: [35, 24, 19]
Generated Node #0,2: 19:[35, 24, 19] Operation: 97-78=19
Exploring Operation: 78-35=43, Resulting Numbers: [24, 97, 43]
Generated Node #0,3: 19:[24, 97, 43] Operation: 78-35=43
Moving to Node #0,2
Current State: 19:[35, 24, 19], Operations: ['97-78=19']
Exploring Operation: 35-24=11, Resulting Numbers: [19, 11]
Generated Node #0,2,0: 19:[19, 11] Operation: 35-24=11
Exploring Operation: 35+24=59, Resulting Numbers: [19, 59]
Generated Node #0,2,1: 19:[19, 59] Operation: 35+24=59
Exploring Operation: 24-19=5, Resulting Numbers: [35, 5]
Generated Node #0,2,2: 19:[35, 5] Operation: 24-19=5
Exploring Operation: 35-19=16, Resulting Numbers: [24, 16]
Generated Node #0,2,3: 19:[24, 16] Operation: 35-19=16
Moving to Node #0,3
Current State: 19:[24, 97, 43], Operations: ['78-35=43']
Exploring Operation: 97-24=73, Resulting Numbers: [43, 73]
Generated Node #0,3,0: 19:[43, 73] Operation: 97-24=73
Exploring Operation: 24+97=121, Resulting Numbers: [43, 121]
Generated Node #0,3,1: 19:[43, 121] Operation: 24+97=121
Exploring Operation: 97-43=54, Resulting Numbers: [24, 54]
Generated Node #0,3,2: 19:[24, 54] Operation: 97-43=54
Exploring Operation: 43-24=19, Resulting Numbers: [97, 19]
Generated Node #0,3,3: 19:[97, 19] Operation: 43-24=19
Moving to Node #0,0
Current State: 19:[78, 24, 62], Operations: ['97-35=62']
Exploring Operation: 78+24=102, Resulting Numbers: [62, 102]
Generated Node #0,0,0: 19:[62, 102] Operation: 78+24=102
Exploring Operation: 78-62=16, Resulting Numbers: [24, 16]
Generated Node #0,0,1: 19:[24, 16] Operation: 78-62=16
Exploring Operation: 62-24=38, Resulting Numbers: [78, 38]
Generated Node #0,0,2: 19:[78, 38] Operation: 62-24=38
Exploring Operation: 78-24=54, Resulting Numbers: [62, 54]
Generated Node #0,0,3: 19:[62, 54] Operation: 78-24=54
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[24, 16], Operations: ['97-35=62', '78-62=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,19 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[78, 38], Operations: ['97-35=62', '62-24=38']
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,19 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 78*38=2964, Resulting Numbers: [2964]
2964,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[62, 54], Operations: ['97-35=62', '78-24=54']
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,19 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[62, 102], Operations: ['97-35=62', '78+24=102']
Exploring Operation: 62+102=164, Resulting Numbers: [164]
164,19 unequal: No Solution
Exploring Operation: 62*102=6324, Resulting Numbers: [6324]
6324,19 unequal: No Solution
Exploring Operation: 102-62=40, Resulting Numbers: [40]
40,19 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: 19:[35, 97, 54], Operations: ['78-24=54']
Exploring Operation: 97-35=62, Resulting Numbers: [54, 62]
Generated Node #0,1,0: 19:[54, 62] Operation: 97-35=62
Exploring Operation: 97-54=43, Resulting Numbers: [35, 43]
Generated Node #0,1,1: 19:[35, 43] Operation: 97-54=43
Exploring Operation: 35+97=132, Resulting Numbers: [54, 132]
Generated Node #0,1,2: 19:[54, 132] Operation: 35+97=132
Exploring Operation: 54-35=19, Resulting Numbers: [97, 19]
Generated Node #0,1,3: 19:[97, 19] Operation: 54-35=19
Moving to Node #0,2,0
Current State: 19:[19, 11], Operations: ['97-78=19', '35-24=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[24, 16], Operations: ['97-78=19', '35-19=16']
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,19 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[35, 5], Operations: ['97-78=19', '24-19=5']
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[24, 54], Operations: ['78-35=43', '97-43=54']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[19, 59], Operations: ['97-78=19', '35+24=59']
Exploring Operation: 19+59=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 19*59=1121, Resulting Numbers: [1121]
1121,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[35, 43], Operations: ['78-24=54', '97-54=43']
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,19 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[97, 19], Operations: ['78-35=43', '43-24=19']
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,19 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[43, 73], Operations: ['78-35=43', '97-24=73']
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,19 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[97, 19], Operations: ['78-24=54', '54-35=19']
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,19 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,19 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[54, 62], Operations: ['78-24=54', '97-35=62']
Exploring Operation: 54*62=3348, Resulting Numbers: [3348]
3348,19 unequal: No Solution
Exploring Operation: 54+62=116, Resulting Numbers: [116]
116,19 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[43, 121], Operations: ['78-35=43', '24+97=121']
Exploring Operation: 121-43=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Exploring Operation: 43*121=5203, Resulting Numbers: [5203]
5203,19 unequal: No Solution
Exploring Operation: 43+121=164, Resulting Numbers: [164]
164,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[54, 132], Operations: ['78-24=54', '35+97=132']
Exploring Operation: 132-54=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Exploring Operation: 54*132=7128, Resulting Numbers: [7128]
7128,19 unequal: No Solution
Exploring Operation: 54+132=186, Resulting Numbers: [186]
186,19 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
19,
10,
67
] | 31 | [
"19-10=9",
"4*9=36",
"67-36=31"
] | Current State: 31:[4, 19, 10, 67], Operations: []
Exploring Operation: 19-10=9, Resulting Numbers: [4, 67, 9]
Generated Node #2: [4, 67, 9] from Operation: 19-10=9
Current State: 31:[4, 67, 9], Operations: ['19-10=9']
Exploring Operation: 4*9=36, Resulting Numbers: [67, 36]
Generated Node #3: [67, 36] from Operation: 4*9=36
Current State: 31:[67, 36], Operations: ['19-10=9', '4*9=36']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[4, 19, 10, 67], Operations: []
Exploring Operation: 4*10=40, Resulting Numbers: [19, 67, 40]
Generated Node #0,0: 31:[19, 67, 40] Operation: 4*10=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[19, 67, 40], Operations: ['4*10=40']
Exploring Operation: 67-40=27, Resulting Numbers: [19, 27]
Generated Node #0,0,0: 31:[19, 27] Operation: 67-40=27
Moving to Node #0,0,0
Current State: 31:[19, 27], Operations: ['4*10=40', '67-40=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,31 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 |
[
51,
51,
14,
54
] | 41 | [
"51/51=1",
"54-14=40",
"1+40=41"
] | Current State: 41:[51, 51, 14, 54], Operations: []
Exploring Operation: 51/51=1, Resulting Numbers: [14, 54, 1]
Generated Node #2: [14, 54, 1] from Operation: 51/51=1
Current State: 41:[14, 54, 1], Operations: ['51/51=1']
Exploring Operation: 54-14=40, Resulting Numbers: [1, 40]
Generated Node #3: [1, 40] from Operation: 54-14=40
Current State: 41:[1, 40], Operations: ['51/51=1', '54-14=40']
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[51, 51, 14, 54], Operations: []
Exploring Operation: 51-14=37, Resulting Numbers: [51, 54, 37]
Generated Node #0,0: 41:[51, 54, 37] Operation: 51-14=37
Exploring Operation: 54-14=40, Resulting Numbers: [51, 51, 40]
Generated Node #0,1: 41:[51, 51, 40] Operation: 54-14=40
Moving to Node #0,1
Current State: 41:[51, 51, 40], Operations: ['54-14=40']
Exploring Operation: 51-40=11, Resulting Numbers: [51, 11]
Generated Node #0,1,0: 41:[51, 11] Operation: 51-40=11
Exploring Operation: 51-40=11, Resulting Numbers: [51, 11]
Generated Node #0,1,1: 41:[51, 11] Operation: 51-40=11
Moving to Node #0,0
Current State: 41:[51, 54, 37], Operations: ['51-14=37']
Exploring Operation: 54-37=17, Resulting Numbers: [51, 17]
Generated Node #0,0,0: 41:[51, 17] Operation: 54-37=17
Exploring Operation: 51-37=14, Resulting Numbers: [54, 14]
Generated Node #0,0,1: 41:[54, 14] Operation: 51-37=14
Moving to Node #0,0,0
Current State: 41:[51, 17], Operations: ['51-14=37', '54-37=17']
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[51, 11], Operations: ['54-14=40', '51-40=11']
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[51, 11], Operations: ['54-14=40', '51-40=11']
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[54, 14], Operations: ['51-14=37', '51-37=14']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,41 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
2,
47,
3
] | 31 | [
"47+3=50",
"2*50=100",
"100-69=31"
] | Current State: 31:[69, 2, 47, 3], Operations: []
Exploring Operation: 47+3=50, Resulting Numbers: [69, 2, 50]
Generated Node #2: [69, 2, 50] from Operation: 47+3=50
Current State: 31:[69, 2, 50], Operations: ['47+3=50']
Exploring Operation: 2*50=100, Resulting Numbers: [69, 100]
Generated Node #3: [69, 100] from Operation: 2*50=100
Current State: 31:[69, 100], Operations: ['47+3=50', '2*50=100']
Exploring Operation: 100-69=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[69, 2, 47, 3], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [2, 3, 22]
Generated Node #0,0: 31:[2, 3, 22] Operation: 69-47=22
Exploring Operation: 2*3=6, Resulting Numbers: [69, 47, 6]
Generated Node #0,1: 31:[69, 47, 6] Operation: 2*3=6
Exploring Operation: 69-3=66, Resulting Numbers: [2, 47, 66]
Generated Node #0,2: 31:[2, 47, 66] Operation: 69-3=66
Exploring Operation: 69-2=67, Resulting Numbers: [47, 3, 67]
Generated Node #0,3: 31:[47, 3, 67] Operation: 69-2=67
Exploring Operation: 69/3=23, Resulting Numbers: [2, 47, 23]
Generated Node #0,4: 31:[2, 47, 23] Operation: 69/3=23
Moving to Node #0,4
Current State: 31:[2, 47, 23], Operations: ['69/3=23']
Exploring Operation: 47-2=45, Resulting Numbers: [23, 45]
Generated Node #0,4,0: 31:[23, 45] Operation: 47-2=45
Exploring Operation: 2+47=49, Resulting Numbers: [23, 49]
Generated Node #0,4,1: 31:[23, 49] Operation: 2+47=49
Exploring Operation: 23-2=21, Resulting Numbers: [47, 21]
Generated Node #0,4,2: 31:[47, 21] Operation: 23-2=21
Exploring Operation: 2+23=25, Resulting Numbers: [47, 25]
Generated Node #0,4,3: 31:[47, 25] Operation: 2+23=25
Exploring Operation: 2*23=46, Resulting Numbers: [47, 46]
Generated Node #0,4,4: 31:[47, 46] Operation: 2*23=46
Moving to Node #0,0
Current State: 31:[2, 3, 22], Operations: ['69-47=22']
Exploring Operation: 3-2=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 31:[22, 1] Operation: 3-2=1
Exploring Operation: 2+22=24, Resulting Numbers: [3, 24]
Generated Node #0,0,1: 31:[3, 24] Operation: 2+22=24
Exploring Operation: 2*3=6, Resulting Numbers: [22, 6]
Generated Node #0,0,2: 31:[22, 6] Operation: 2*3=6
Exploring Operation: 3+22=25, Resulting Numbers: [2, 25]
Generated Node #0,0,3: 31:[2, 25] Operation: 3+22=25
Exploring Operation: 2+3=5, Resulting Numbers: [22, 5]
Generated Node #0,0,4: 31:[22, 5] Operation: 2+3=5
Moving to Node #0,1
Current State: 31:[69, 47, 6], Operations: ['2*3=6']
Exploring Operation: 47+6=53, Resulting Numbers: [69, 53]
Generated Node #0,1,0: 31:[69, 53] Operation: 47+6=53
Exploring Operation: 69-47=22, Resulting Numbers: [6, 22]
Generated Node #0,1,1: 31:[6, 22] Operation: 69-47=22
Exploring Operation: 69+6=75, Resulting Numbers: [47, 75]
Generated Node #0,1,2: 31:[47, 75] Operation: 69+6=75
Exploring Operation: 69-6=63, Resulting Numbers: [47, 63]
Generated Node #0,1,3: 31:[47, 63] Operation: 69-6=63
Exploring Operation: 47-6=41, Resulting Numbers: [69, 41]
Generated Node #0,1,4: 31:[69, 41] Operation: 47-6=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[6, 22], Operations: ['2*3=6', '69-47=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,31 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 31:[47, 63], Operations: ['2*3=6', '69-6=63']
Exploring Operation: 47+63=110, Resulting Numbers: [110]
110,31 unequal: No Solution
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 47*63=2961, Resulting Numbers: [2961]
2961,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 31:[69, 41], Operations: ['2*3=6', '47-6=41']
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,31 unequal: No Solution
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[69, 53], Operations: ['2*3=6', '47+6=53']
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,31 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 69*53=3657, Resulting Numbers: [3657]
3657,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[47, 75], Operations: ['2*3=6', '69+6=75']
Exploring Operation: 47+75=122, Resulting Numbers: [122]
122,31 unequal: No Solution
Exploring Operation: 47*75=3525, Resulting Numbers: [3525]
3525,31 unequal: No Solution
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,31 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: 31:[2, 47, 66], Operations: ['69-3=66']
Exploring Operation: 2+47=49, Resulting Numbers: [66, 49]
Generated Node #0,2,0: 31:[66, 49] Operation: 2+47=49
Exploring Operation: 47-2=45, Resulting Numbers: [66, 45]
Generated Node #0,2,1: 31:[66, 45] Operation: 47-2=45
Exploring Operation: 66-47=19, Resulting Numbers: [2, 19]
Generated Node #0,2,2: 31:[2, 19] Operation: 66-47=19
Exploring Operation: 66-2=64, Resulting Numbers: [47, 64]
Generated Node #0,2,3: 31:[47, 64] Operation: 66-2=64
Exploring Operation: 66/2=33, Resulting Numbers: [47, 33]
Generated Node #0,2,4: 31:[47, 33] Operation: 66/2=33
Moving to Node #0,3
Current State: 31:[47, 3, 67], Operations: ['69-2=67']
Exploring Operation: 3+67=70, Resulting Numbers: [47, 70]
Generated Node #0,3,0: 31:[47, 70] Operation: 3+67=70
Exploring Operation: 47+3=50, Resulting Numbers: [67, 50]
Generated Node #0,3,1: 31:[67, 50] Operation: 47+3=50
Exploring Operation: 67-47=20, Resulting Numbers: [3, 20]
Generated Node #0,3,2: 31:[3, 20] Operation: 67-47=20
Exploring Operation: 47-3=44, Resulting Numbers: [67, 44]
Generated Node #0,3,3: 31:[67, 44] Operation: 47-3=44
Exploring Operation: 67-3=64, Resulting Numbers: [47, 64]
Generated Node #0,3,4: 31:[47, 64] Operation: 67-3=64
Moving to Node #0,2,4
Current State: 31:[47, 33], Operations: ['69-3=66', '66/2=33']
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,31 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Moving to Node #0,4,0
Current State: 31:[23, 45], Operations: ['69/3=23', '47-2=45']
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,31 unequal: No Solution
Moving to Node #0,4,3
Current State: 31:[47, 25], Operations: ['69/3=23', '2+23=25']
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,31 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Moving to Node #0,4,1
Current State: 31:[23, 49], Operations: ['69/3=23', '2+47=49']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,31 unequal: No Solution
Moving to Node #0,4,2
Current State: 31:[47, 21], Operations: ['69/3=23', '23-2=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[47, 46], Operations: ['69/3=23', '2*23=46']
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,31 unequal: No Solution
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,31 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[22, 6], Operations: ['69-47=22', '2*3=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,31 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[3, 24], Operations: ['69-47=22', '2+22=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[22, 5], Operations: ['69-47=22', '2+3=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[2, 25], Operations: ['69-47=22', '3+22=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[22, 1], Operations: ['69-47=22', '3-2=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[3, 20], Operations: ['69-2=67', '67-47=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[2, 19], Operations: ['69-3=66', '66-47=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[47, 64], Operations: ['69-3=66', '66-2=64']
Exploring Operation: 47*64=3008, Resulting Numbers: [3008]
3008,31 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[66, 45], Operations: ['69-3=66', '47-2=45']
Exploring Operation: 66+45=111, Resulting Numbers: [111]
111,31 unequal: No Solution
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 66*45=2970, Resulting Numbers: [2970]
2970,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[67, 44], Operations: ['69-2=67', '47-3=44']
Exploring Operation: 67+44=111, Resulting Numbers: [111]
111,31 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 67*44=2948, Resulting Numbers: [2948]
2948,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[47, 64], Operations: ['69-2=67', '67-3=64']
Exploring Operation: 47*64=3008, Resulting Numbers: [3008]
3008,31 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[66, 49], Operations: ['69-3=66', '2+47=49']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,31 unequal: No Solution
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[67, 50], Operations: ['69-2=67', '47+3=50']
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,31 unequal: No Solution
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[47, 70], Operations: ['69-2=67', '3+67=70']
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 47+70=117, Resulting Numbers: [117]
117,31 unequal: No Solution
Exploring Operation: 47*70=3290, Resulting Numbers: [3290]
3290,31 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
99,
76,
92,
64
] | 16 | [
"99-76=23",
"92/23=4",
"64/4=16"
] | Current State: 16:[99, 76, 92, 64], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [92, 64, 23]
Generated Node #2: [92, 64, 23] from Operation: 99-76=23
Current State: 16:[92, 64, 23], Operations: ['99-76=23']
Exploring Operation: 92/23=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 92/23=4
Current State: 16:[64, 4], Operations: ['99-76=23', '92/23=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[99, 76, 92, 64], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [92, 64, 23]
Generated Node #0,0: 16:[92, 64, 23] Operation: 99-76=23
Exploring Operation: 92-76=16, Resulting Numbers: [99, 64, 16]
Generated Node #0,1: 16:[99, 64, 16] Operation: 92-76=16
Exploring Operation: 99-64=35, Resulting Numbers: [76, 92, 35]
Generated Node #0,2: 16:[76, 92, 35] Operation: 99-64=35
Exploring Operation: 99-92=7, Resulting Numbers: [76, 64, 7]
Generated Node #0,3: 16:[76, 64, 7] Operation: 99-92=7
Moving to Node #0,3
Current State: 16:[76, 64, 7], Operations: ['99-92=7']
Exploring Operation: 76-7=69, Resulting Numbers: [64, 69]
Generated Node #0,3,0: 16:[64, 69] Operation: 76-7=69
Exploring Operation: 64-7=57, Resulting Numbers: [76, 57]
Generated Node #0,3,1: 16:[76, 57] Operation: 64-7=57
Exploring Operation: 76-64=12, Resulting Numbers: [7, 12]
Generated Node #0,3,2: 16:[7, 12] Operation: 76-64=12
Exploring Operation: 76+7=83, Resulting Numbers: [64, 83]
Generated Node #0,3,3: 16:[64, 83] Operation: 76+7=83
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[7, 12], Operations: ['99-92=7', '76-64=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,16 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,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,3,0
Current State: 16:[64, 69], Operations: ['99-92=7', '76-7=69']
Exploring Operation: 64+69=133, Resulting Numbers: [133]
133,16 unequal: No Solution
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 64*69=4416, Resulting Numbers: [4416]
4416,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,3,1
Current State: 16:[76, 57], Operations: ['99-92=7', '64-7=57']
Exploring Operation: 76+57=133, Resulting Numbers: [133]
133,16 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 76*57=4332, Resulting Numbers: [4332]
4332,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,3,3
Current State: 16:[64, 83], Operations: ['99-92=7', '76+7=83']
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 64*83=5312, Resulting Numbers: [5312]
5312,16 unequal: No Solution
Exploring Operation: 64+83=147, Resulting Numbers: [147]
147,16 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: 16:[99, 64, 16], Operations: ['92-76=16']
Exploring Operation: 64-16=48, Resulting Numbers: [99, 48]
Generated Node #0,1,0: 16:[99, 48] Operation: 64-16=48
Exploring Operation: 99-64=35, Resulting Numbers: [16, 35]
Generated Node #0,1,1: 16:[16, 35] Operation: 99-64=35
Exploring Operation: 64/16=4, Resulting Numbers: [99, 4]
Generated Node #0,1,2: 16:[99, 4] Operation: 64/16=4
Exploring Operation: 99-16=83, Resulting Numbers: [64, 83]
Generated Node #0,1,3: 16:[64, 83] Operation: 99-16=83
Moving to Node #0,0
Current State: 16:[92, 64, 23], Operations: ['99-76=23']
Exploring Operation: 64-23=41, Resulting Numbers: [92, 41]
Generated Node #0,0,0: 16:[92, 41] Operation: 64-23=41
Exploring Operation: 92-23=69, Resulting Numbers: [64, 69]
Generated Node #0,0,1: 16:[64, 69] Operation: 92-23=69
Exploring Operation: 92-64=28, Resulting Numbers: [23, 28]
Generated Node #0,0,2: 16:[23, 28] Operation: 92-64=28
Exploring Operation: 92/23=4, Resulting Numbers: [64, 4]
Generated Node #0,0,3: 16:[64, 4] Operation: 92/23=4
Moving to Node #0,2
Current State: 16:[76, 92, 35], Operations: ['99-64=35']
Exploring Operation: 76-35=41, Resulting Numbers: [92, 41]
Generated Node #0,2,0: 16:[92, 41] Operation: 76-35=41
Exploring Operation: 92-35=57, Resulting Numbers: [76, 57]
Generated Node #0,2,1: 16:[76, 57] Operation: 92-35=57
Exploring Operation: 76+92=168, Resulting Numbers: [35, 168]
Generated Node #0,2,2: 16:[35, 168] Operation: 76+92=168
Exploring Operation: 92-76=16, Resulting Numbers: [35, 16]
Generated Node #0,2,3: 16:[35, 16] Operation: 92-76=16
Moving to Node #0,1,1
Current State: 16:[16, 35], Operations: ['92-76=16', '99-64=35']
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,16 unequal: No Solution
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[23, 28], Operations: ['99-76=23', '92-64=28']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[35, 16], Operations: ['99-64=35', '92-76=16']
Exploring Operation: 35*16=560, Resulting Numbers: [560]
560,16 unequal: No Solution
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[64, 4], Operations: ['99-76=23', '92/23=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,16 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[99, 76, 92, 64], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [92, 64, 23]
Generated Node #0,0: 16:[92, 64, 23] Operation: 99-76=23
Moving to Node #0,0
Current State: 16:[92, 64, 23], Operations: ['99-76=23']
Exploring Operation: 92/23=4, Resulting Numbers: [64, 4]
Generated Node #0,0,3: 16:[64, 4] Operation: 92/23=4
Moving to Node #0,0,3
Current State: 16:[64, 4], Operations: ['99-76=23', '92/23=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.958333 | hs_4 | sum_heuristic |
[
76,
68,
22,
80
] | 50 | [
"76-68=8",
"80-22=58",
"58-8=50"
] | Current State: 50:[76, 68, 22, 80], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [22, 80, 8]
Generated Node #2: [22, 80, 8] from Operation: 76-68=8
Current State: 50:[22, 80, 8], Operations: ['76-68=8']
Exploring Operation: 80-22=58, Resulting Numbers: [8, 58]
Generated Node #3: [8, 58] from Operation: 80-22=58
Current State: 50:[8, 58], Operations: ['76-68=8', '80-22=58']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[76, 68, 22, 80], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [68, 22, 4]
Generated Node #0,0: 50:[68, 22, 4] Operation: 80-76=4
Exploring Operation: 80-68=12, Resulting Numbers: [76, 22, 12]
Generated Node #0,1: 50:[76, 22, 12] Operation: 80-68=12
Moving to Node #0,0
Current State: 50:[68, 22, 4], Operations: ['80-76=4']
Exploring Operation: 68-22=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 50:[4, 46] Operation: 68-22=46
Exploring Operation: 68/4=17, Resulting Numbers: [22, 17]
Generated Node #0,0,1: 50:[22, 17] Operation: 68/4=17
Moving to Node #0,1
Current State: 50:[76, 22, 12], Operations: ['80-68=12']
Exploring Operation: 76-22=54, Resulting Numbers: [12, 54]
Generated Node #0,1,0: 50:[12, 54] Operation: 76-22=54
Exploring Operation: 76-12=64, Resulting Numbers: [22, 64]
Generated Node #0,1,1: 50:[22, 64] Operation: 76-12=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[12, 54], Operations: ['80-68=12', '76-22=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,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,1,1
Current State: 50:[22, 64], Operations: ['80-68=12', '76-12=64']
Exploring Operation: 22+64=86, Resulting Numbers: [86]
86,50 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,50 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: 50:[4, 46], Operations: ['80-76=4', '68-22=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[76, 68, 22, 80], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [68, 22, 4]
Generated Node #0,0: 50:[68, 22, 4] Operation: 80-76=4
Moving to Node #0,0
Current State: 50:[68, 22, 4], Operations: ['80-76=4']
Exploring Operation: 68-22=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 50:[4, 46] Operation: 68-22=46
Moving to Node #0,0,0
Current State: 50:[4, 46], Operations: ['80-76=4', '68-22=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
80,
16,
4,
76
] | 24 | [
"80+16=96",
"76-4=72",
"96-72=24"
] | Current State: 24:[80, 16, 4, 76], Operations: []
Exploring Operation: 80+16=96, Resulting Numbers: [4, 76, 96]
Generated Node #2: [4, 76, 96] from Operation: 80+16=96
Current State: 24:[4, 76, 96], Operations: ['80+16=96']
Exploring Operation: 76-4=72, Resulting Numbers: [96, 72]
Generated Node #3: [96, 72] from Operation: 76-4=72
Current State: 24:[96, 72], Operations: ['80+16=96', '76-4=72']
Exploring Operation: 96-72=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[80, 16, 4, 76], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [16, 4, 4]
Generated Node #0,0: 24:[16, 4, 4] Operation: 80-76=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[16, 4, 4], Operations: ['80-76=4']
Exploring Operation: 16-4=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 24:[4, 12] Operation: 16-4=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[4, 12], Operations: ['80-76=4', '16-4=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
44,
55,
11,
50
] | 99 | [
"44+50=94",
"55/11=5",
"94+5=99"
] | Current State: 99:[44, 55, 11, 50], Operations: []
Exploring Operation: 44+50=94, Resulting Numbers: [55, 11, 94]
Generated Node #2: [55, 11, 94] from Operation: 44+50=94
Current State: 99:[55, 11, 94], Operations: ['44+50=94']
Exploring Operation: 55/11=5, Resulting Numbers: [94, 5]
Generated Node #3: [94, 5] from Operation: 55/11=5
Current State: 99:[94, 5], Operations: ['44+50=94', '55/11=5']
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[44, 55, 11, 50], Operations: []
Exploring Operation: 55-44=11, Resulting Numbers: [11, 50, 11]
Generated Node #0,0: 99:[11, 50, 11] Operation: 55-44=11
Exploring Operation: 50-44=6, Resulting Numbers: [55, 11, 6]
Generated Node #0,1: 99:[55, 11, 6] Operation: 50-44=6
Exploring Operation: 55+50=105, Resulting Numbers: [44, 11, 105]
Generated Node #0,2: 99:[44, 11, 105] Operation: 55+50=105
Exploring Operation: 55-50=5, Resulting Numbers: [44, 11, 5]
Generated Node #0,3: 99:[44, 11, 5] Operation: 55-50=5
Exploring Operation: 44+55=99, Resulting Numbers: [11, 50, 99]
Generated Node #0,4: 99:[11, 50, 99] Operation: 44+55=99
Moving to Node #0,3
Current State: 99:[44, 11, 5], Operations: ['55-50=5']
Exploring Operation: 44-5=39, Resulting Numbers: [11, 39]
Generated Node #0,3,0: 99:[11, 39] Operation: 44-5=39
Exploring Operation: 11-5=6, Resulting Numbers: [44, 6]
Generated Node #0,3,1: 99:[44, 6] Operation: 11-5=6
Exploring Operation: 44/11=4, Resulting Numbers: [5, 4]
Generated Node #0,3,2: 99:[5, 4] Operation: 44/11=4
Exploring Operation: 44-11=33, Resulting Numbers: [5, 33]
Generated Node #0,3,3: 99:[5, 33] Operation: 44-11=33
Exploring Operation: 44+5=49, Resulting Numbers: [11, 49]
Generated Node #0,3,4: 99:[11, 49] Operation: 44+5=49
Moving to Node #0,2
Current State: 99:[44, 11, 105], Operations: ['55+50=105']
Exploring Operation: 44/11=4, Resulting Numbers: [105, 4]
Generated Node #0,2,0: 99:[105, 4] Operation: 44/11=4
Exploring Operation: 105-11=94, Resulting Numbers: [44, 94]
Generated Node #0,2,1: 99:[44, 94] Operation: 105-11=94
Exploring Operation: 44+11=55, Resulting Numbers: [105, 55]
Generated Node #0,2,2: 99:[105, 55] Operation: 44+11=55
Exploring Operation: 44-11=33, Resulting Numbers: [105, 33]
Generated Node #0,2,3: 99:[105, 33] Operation: 44-11=33
Exploring Operation: 105-44=61, Resulting Numbers: [11, 61]
Generated Node #0,2,4: 99:[11, 61] Operation: 105-44=61
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 99:[105, 33], Operations: ['55+50=105', '44-11=33']
Exploring Operation: 105+33=138, Resulting Numbers: [138]
138,99 unequal: No Solution
Exploring Operation: 105*33=3465, Resulting Numbers: [3465]
3465,99 unequal: No Solution
Exploring Operation: 105-33=72, Resulting Numbers: [72]
72,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 99:[105, 4], Operations: ['55+50=105', '44/11=4']
Exploring Operation: 105*4=420, Resulting Numbers: [420]
420,99 unequal: No Solution
Exploring Operation: 105-4=101, Resulting Numbers: [101]
101,99 unequal: No Solution
Exploring Operation: 105+4=109, Resulting Numbers: [109]
109,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 99:[44, 94], Operations: ['55+50=105', '105-11=94']
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 44*94=4136, Resulting Numbers: [4136]
4136,99 unequal: No Solution
Exploring Operation: 44+94=138, Resulting Numbers: [138]
138,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[105, 55], Operations: ['55+50=105', '44+11=55']
Exploring Operation: 105+55=160, Resulting Numbers: [160]
160,99 unequal: No Solution
Exploring Operation: 105-55=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 105*55=5775, Resulting Numbers: [5775]
5775,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 99:[11, 61], Operations: ['55+50=105', '105-44=61']
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,99 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,99 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: 99:[11, 50, 11], Operations: ['55-44=11']
Exploring Operation: 11-11=0, Resulting Numbers: [50, 0]
Generated Node #0,0,0: 99:[50, 0] Operation: 11-11=0
Exploring Operation: 50-11=39, Resulting Numbers: [11, 39]
Generated Node #0,0,1: 99:[11, 39] Operation: 50-11=39
Exploring Operation: 11+50=61, Resulting Numbers: [11, 61]
Generated Node #0,0,2: 99:[11, 61] Operation: 11+50=61
Exploring Operation: 11/11=1, Resulting Numbers: [50, 1]
Generated Node #0,0,3: 99:[50, 1] Operation: 11/11=1
Exploring Operation: 50-11=39, Resulting Numbers: [11, 39]
Generated Node #0,0,4: 99:[11, 39] Operation: 50-11=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[11, 39], Operations: ['55-44=11', '50-11=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 99:[11, 39], Operations: ['55-44=11', '50-11=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 99:[50, 1], Operations: ['55-44=11', '11/11=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[50, 0], Operations: ['55-44=11', '11-11=0']
Exploring Operation: 50*0=0, Resulting Numbers: [0]
0,99 unequal: No Solution
Exploring Operation: 50+0=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 50-0=50, Resulting Numbers: [50]
50,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[11, 61], Operations: ['55-44=11', '11+50=61']
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,99 unequal: No Solution
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,99 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: 99:[11, 50, 99], Operations: ['44+55=99']
Exploring Operation: 99-50=49, Resulting Numbers: [11, 49]
Generated Node #0,4,0: 99:[11, 49] Operation: 99-50=49
Exploring Operation: 11+99=110, Resulting Numbers: [50, 110]
Generated Node #0,4,1: 99:[50, 110] Operation: 11+99=110
Exploring Operation: 11+50=61, Resulting Numbers: [99, 61]
Generated Node #0,4,2: 99:[99, 61] Operation: 11+50=61
Exploring Operation: 50-11=39, Resulting Numbers: [99, 39]
Generated Node #0,4,3: 99:[99, 39] Operation: 50-11=39
Exploring Operation: 99/11=9, Resulting Numbers: [50, 9]
Generated Node #0,4,4: 99:[50, 9] Operation: 99/11=9
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 99:[99, 39], Operations: ['44+55=99', '50-11=39']
Exploring Operation: 99+39=138, Resulting Numbers: [138]
138,99 unequal: No Solution
Exploring Operation: 99*39=3861, Resulting Numbers: [3861]
3861,99 unequal: No Solution
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 99:[11, 49], Operations: ['44+55=99', '99-50=49']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 99:[50, 9], Operations: ['44+55=99', '99/11=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,99 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 99:[50, 110], Operations: ['44+55=99', '11+99=110']
Exploring Operation: 50+110=160, Resulting Numbers: [160]
160,99 unequal: No Solution
Exploring Operation: 110-50=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 50*110=5500, Resulting Numbers: [5500]
5500,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 99:[99, 61], Operations: ['44+55=99', '11+50=61']
Exploring Operation: 99-61=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 99+61=160, Resulting Numbers: [160]
160,99 unequal: No Solution
Exploring Operation: 99*61=6039, Resulting Numbers: [6039]
6039,99 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: 99:[55, 11, 6], Operations: ['50-44=6']
Exploring Operation: 55-6=49, Resulting Numbers: [11, 49]
Generated Node #0,1,0: 99:[11, 49] Operation: 55-6=49
Exploring Operation: 55-11=44, Resulting Numbers: [6, 44]
Generated Node #0,1,1: 99:[6, 44] Operation: 55-11=44
Exploring Operation: 55/11=5, Resulting Numbers: [6, 5]
Generated Node #0,1,2: 99:[6, 5] Operation: 55/11=5
Exploring Operation: 55+6=61, Resulting Numbers: [11, 61]
Generated Node #0,1,3: 99:[11, 61] Operation: 55+6=61
Exploring Operation: 11-6=5, Resulting Numbers: [55, 5]
Generated Node #0,1,4: 99:[55, 5] Operation: 11-6=5
Moving to Node #0,3,3
Current State: 99:[5, 33], Operations: ['55-50=5', '44-11=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[5, 4], Operations: ['55-50=5', '44/11=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[6, 5], Operations: ['50-44=6', '55/11=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[11, 39], Operations: ['55-50=5', '44-5=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[6, 44], Operations: ['50-44=6', '55-11=44']
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,99 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[44, 6], Operations: ['55-50=5', '11-5=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,99 unequal: No Solution
Moving to Node #0,3,4
Current State: 99:[11, 49], Operations: ['55-50=5', '44+5=49']
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[11, 49], Operations: ['50-44=6', '55-6=49']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,99 unequal: No Solution
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Moving to Node #0,1,4
Current State: 99:[55, 5], Operations: ['50-44=6', '11-6=5']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,99 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[11, 61], Operations: ['50-44=6', '55+6=61']
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,99 unequal: No Solution
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,99 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
15,
19,
98,
73
] | 100 | [
"19-15=4",
"98-73=25",
"4*25=100"
] | Current State: 100:[15, 19, 98, 73], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [98, 73, 4]
Generated Node #2: [98, 73, 4] from Operation: 19-15=4
Current State: 100:[98, 73, 4], Operations: ['19-15=4']
Exploring Operation: 98-73=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 98-73=25
Current State: 100:[4, 25], Operations: ['19-15=4', '98-73=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[15, 19, 98, 73], Operations: []
Exploring Operation: 98-73=25, Resulting Numbers: [15, 19, 25]
Generated Node #0,0: 100:[15, 19, 25] Operation: 98-73=25
Exploring Operation: 73-15=58, Resulting Numbers: [19, 98, 58]
Generated Node #0,1: 100:[19, 98, 58] Operation: 73-15=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[15, 19, 25], Operations: ['98-73=25']
Exploring Operation: 19-15=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 100:[25, 4] Operation: 19-15=4
Exploring Operation: 25-15=10, Resulting Numbers: [19, 10]
Generated Node #0,0,1: 100:[19, 10] Operation: 25-15=10
Moving to Node #0,0,0
Current State: 100:[25, 4], Operations: ['98-73=25', '19-15=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[15, 19, 98, 73], Operations: []
Exploring Operation: 98-73=25, Resulting Numbers: [15, 19, 25]
Generated Node #0,0: 100:[15, 19, 25] Operation: 98-73=25
Moving to Node #0,0
Current State: 100:[15, 19, 25], Operations: ['98-73=25']
Exploring Operation: 19-15=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 100:[25, 4] Operation: 19-15=4
Moving to Node #0,0,0
Current State: 100:[25, 4], Operations: ['98-73=25', '19-15=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
68,
88,
76,
24
] | 70 | [
"88-76=12",
"24/12=2",
"68+2=70"
] | Current State: 70:[68, 88, 76, 24], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [68, 24, 12]
Generated Node #2: [68, 24, 12] from Operation: 88-76=12
Current State: 70:[68, 24, 12], Operations: ['88-76=12']
Exploring Operation: 24/12=2, Resulting Numbers: [68, 2]
Generated Node #3: [68, 2] from Operation: 24/12=2
Current State: 70:[68, 2], Operations: ['88-76=12', '24/12=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[68, 88, 76, 24], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [76, 24, 20]
Generated Node #0,0: 70:[76, 24, 20] Operation: 88-68=20
Exploring Operation: 88-24=64, Resulting Numbers: [68, 76, 64]
Generated Node #0,1: 70:[68, 76, 64] Operation: 88-24=64
Exploring Operation: 88-76=12, Resulting Numbers: [68, 24, 12]
Generated Node #0,2: 70:[68, 24, 12] Operation: 88-76=12
Moving to Node #0,1
Current State: 70:[68, 76, 64], Operations: ['88-24=64']
Exploring Operation: 68-64=4, Resulting Numbers: [76, 4]
Generated Node #0,1,0: 70:[76, 4] Operation: 68-64=4
Exploring Operation: 76-68=8, Resulting Numbers: [64, 8]
Generated Node #0,1,1: 70:[64, 8] Operation: 76-68=8
Exploring Operation: 76-64=12, Resulting Numbers: [68, 12]
Generated Node #0,1,2: 70:[68, 12] Operation: 76-64=12
Moving to Node #0,2
Current State: 70:[68, 24, 12], Operations: ['88-76=12']
Exploring Operation: 24/12=2, Resulting Numbers: [68, 2]
Generated Node #0,2,0: 70:[68, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [68, 12]
Generated Node #0,2,1: 70:[68, 12] Operation: 24-12=12
Exploring Operation: 24+12=36, Resulting Numbers: [68, 36]
Generated Node #0,2,2: 70:[68, 36] Operation: 24+12=36
Moving to Node #0,0
Current State: 70:[76, 24, 20], Operations: ['88-68=20']
Exploring Operation: 76-24=52, Resulting Numbers: [20, 52]
Generated Node #0,0,0: 70:[20, 52] Operation: 76-24=52
Exploring Operation: 24-20=4, Resulting Numbers: [76, 4]
Generated Node #0,0,1: 70:[76, 4] Operation: 24-20=4
Exploring Operation: 24+20=44, Resulting Numbers: [76, 44]
Generated Node #0,0,2: 70:[76, 44] Operation: 24+20=44
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[76, 4], Operations: ['88-68=20', '24-20=4']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[76, 44], Operations: ['88-68=20', '24+20=44']
Exploring Operation: 76*44=3344, Resulting Numbers: [3344]
3344,70 unequal: No Solution
Exploring Operation: 76+44=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[20, 52], Operations: ['88-68=20', '76-24=52']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,70 unequal: No Solution
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 70:[68, 2], Operations: ['88-76=12', '24/12=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[68, 88, 76, 24], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [68, 24, 12]
Generated Node #0,2: 70:[68, 24, 12] Operation: 88-76=12
Moving to Node #0,2
Current State: 70:[68, 24, 12], Operations: ['88-76=12']
Exploring Operation: 24/12=2, Resulting Numbers: [68, 2]
Generated Node #0,2,0: 70:[68, 2] Operation: 24/12=2
Moving to Node #0,2,0
Current State: 70:[68, 2], Operations: ['88-76=12', '24/12=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
79,
41,
96,
3
] | 92 | [
"96-79=17",
"3*17=51",
"41+51=92"
] | Current State: 92:[79, 41, 96, 3], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [41, 3, 17]
Generated Node #2: [41, 3, 17] from Operation: 96-79=17
Current State: 92:[41, 3, 17], Operations: ['96-79=17']
Exploring Operation: 3*17=51, Resulting Numbers: [41, 51]
Generated Node #3: [41, 51] from Operation: 3*17=51
Current State: 92:[41, 51], Operations: ['96-79=17', '3*17=51']
Exploring Operation: 41+51=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[79, 41, 96, 3], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [41, 3, 17]
Generated Node #0,0: 92:[41, 3, 17] Operation: 96-79=17
Exploring Operation: 79-41=38, Resulting Numbers: [96, 3, 38]
Generated Node #0,1: 92:[96, 3, 38] Operation: 79-41=38
Moving to Node #0,0
Current State: 92:[41, 3, 17], Operations: ['96-79=17']
Exploring Operation: 41-17=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 92:[3, 24] Operation: 41-17=24
Exploring Operation: 41+3=44, Resulting Numbers: [17, 44]
Generated Node #0,0,1: 92:[17, 44] Operation: 41+3=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[3, 24], Operations: ['96-79=17', '41-17=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,92 unequal: No Solution
No 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: 92:[17, 44], Operations: ['96-79=17', '41+3=44']
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,92 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: 92:[96, 3, 38], Operations: ['79-41=38']
Exploring Operation: 3+38=41, Resulting Numbers: [96, 41]
Generated Node #0,1,0: 92:[96, 41] Operation: 3+38=41
Exploring Operation: 96-3=93, Resulting Numbers: [38, 93]
Generated Node #0,1,1: 92:[38, 93] Operation: 96-3=93
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[96, 41], Operations: ['79-41=38', '3+38=41']
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,92 unequal: No Solution
No 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: 92:[38, 93], Operations: ['79-41=38', '96-3=93']
Exploring Operation: 38+93=131, Resulting Numbers: [131]
131,92 unequal: No Solution
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
13,
91,
14,
41
] | 77 | [
"13+91=104",
"41-14=27",
"104-27=77"
] | Current State: 77:[13, 91, 14, 41], Operations: []
Exploring Operation: 13+91=104, Resulting Numbers: [14, 41, 104]
Generated Node #2: [14, 41, 104] from Operation: 13+91=104
Current State: 77:[14, 41, 104], Operations: ['13+91=104']
Exploring Operation: 41-14=27, Resulting Numbers: [104, 27]
Generated Node #3: [104, 27] from Operation: 41-14=27
Current State: 77:[104, 27], Operations: ['13+91=104', '41-14=27']
Exploring Operation: 104-27=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[13, 91, 14, 41], Operations: []
Exploring Operation: 91-41=50, Resulting Numbers: [13, 14, 50]
Generated Node #0,0: 77:[13, 14, 50] Operation: 91-41=50
Exploring Operation: 41-14=27, Resulting Numbers: [13, 91, 27]
Generated Node #0,1: 77:[13, 91, 27] Operation: 41-14=27
Exploring Operation: 91-14=77, Resulting Numbers: [13, 41, 77]
Generated Node #0,2: 77:[13, 41, 77] Operation: 91-14=77
Moving to Node #0,0
Current State: 77:[13, 14, 50], Operations: ['91-41=50']
Exploring Operation: 14+50=64, Resulting Numbers: [13, 64]
Generated Node #0,0,0: 77:[13, 64] Operation: 14+50=64
Exploring Operation: 50-14=36, Resulting Numbers: [13, 36]
Generated Node #0,0,1: 77:[13, 36] Operation: 50-14=36
Exploring Operation: 13+50=63, Resulting Numbers: [14, 63]
Generated Node #0,0,2: 77:[14, 63] Operation: 13+50=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[13, 64], Operations: ['91-41=50', '14+50=64']
Exploring Operation: 13+64=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[13, 91, 14, 41], Operations: []
Exploring Operation: 91-41=50, Resulting Numbers: [13, 14, 50]
Generated Node #0,0: 77:[13, 14, 50] Operation: 91-41=50
Moving to Node #0,0
Current State: 77:[13, 14, 50], Operations: ['91-41=50']
Exploring Operation: 14+50=64, Resulting Numbers: [13, 64]
Generated Node #0,0,0: 77:[13, 64] Operation: 14+50=64
Moving to Node #0,0,0
Current State: 77:[13, 64], Operations: ['91-41=50', '14+50=64']
Exploring Operation: 13+64=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
82,
2,
21,
77
] | 54 | [
"77-21=56",
"56/2=28",
"82-28=54"
] | Current State: 54:[82, 2, 21, 77], Operations: []
Exploring Operation: 77-21=56, Resulting Numbers: [82, 2, 56]
Generated Node #2: [82, 2, 56] from Operation: 77-21=56
Current State: 54:[82, 2, 56], Operations: ['77-21=56']
Exploring Operation: 56/2=28, Resulting Numbers: [82, 28]
Generated Node #3: [82, 28] from Operation: 56/2=28
Current State: 54:[82, 28], Operations: ['77-21=56', '56/2=28']
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[82, 2, 21, 77], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [2, 21, 5]
Generated Node #0,0: 54:[2, 21, 5] Operation: 82-77=5
Moving to Node #0,0
Current State: 54:[2, 21, 5], Operations: ['82-77=5']
Exploring Operation: 21+5=26, Resulting Numbers: [2, 26]
Generated Node #0,0,0: 54:[2, 26] Operation: 21+5=26
Moving to Node #0,0,0
Current State: 54:[2, 26], Operations: ['82-77=5', '21+5=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,54 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
9,
6,
14
] | 27 | [
"36+6=42",
"9*42=378",
"378/14=27"
] | Current State: 27:[36, 9, 6, 14], Operations: []
Exploring Operation: 36+6=42, Resulting Numbers: [9, 14, 42]
Generated Node #2: [9, 14, 42] from Operation: 36+6=42
Current State: 27:[9, 14, 42], Operations: ['36+6=42']
Exploring Operation: 9*42=378, Resulting Numbers: [14, 378]
Generated Node #3: [14, 378] from Operation: 9*42=378
Current State: 27:[14, 378], Operations: ['36+6=42', '9*42=378']
Exploring Operation: 378/14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[36, 9, 6, 14], Operations: []
Exploring Operation: 36-9=27, Resulting Numbers: [6, 14, 27]
Generated Node #0,0: 27:[6, 14, 27] Operation: 36-9=27
Exploring Operation: 36/6=6, Resulting Numbers: [9, 14, 6]
Generated Node #0,1: 27:[9, 14, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [9, 14, 30]
Generated Node #0,2: 27:[9, 14, 30] Operation: 36-6=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[6, 14, 27], Operations: ['36-9=27']
Exploring Operation: 27-14=13, Resulting Numbers: [6, 13]
Generated Node #0,0,0: 27:[6, 13] Operation: 27-14=13
Exploring Operation: 6+14=20, Resulting Numbers: [27, 20]
Generated Node #0,0,1: 27:[27, 20] Operation: 6+14=20
Exploring Operation: 14-6=8, Resulting Numbers: [27, 8]
Generated Node #0,0,2: 27:[27, 8] Operation: 14-6=8
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[27, 8], Operations: ['36-9=27', '14-6=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,27 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,27 unequal: No Solution
No 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: 27:[6, 13], Operations: ['36-9=27', '27-14=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,27 unequal: No Solution
No 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: 27:[27, 20], Operations: ['36-9=27', '6+14=20']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,27 unequal: No Solution
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,27 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: 27:[9, 14, 6], Operations: ['36/6=6']
Exploring Operation: 9-6=3, Resulting Numbers: [14, 3]
Generated Node #0,1,0: 27:[14, 3] Operation: 9-6=3
Exploring Operation: 14-9=5, Resulting Numbers: [6, 5]
Generated Node #0,1,1: 27:[6, 5] Operation: 14-9=5
Exploring Operation: 14-6=8, Resulting Numbers: [9, 8]
Generated Node #0,1,2: 27:[9, 8] Operation: 14-6=8
Moving to Node #0,1,2
Current State: 27:[9, 8], Operations: ['36/6=6', '14-6=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[14, 3], Operations: ['36/6=6', '9-6=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[6, 5], Operations: ['36/6=6', '14-9=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[9, 14, 30], Operations: ['36-6=30']
Exploring Operation: 9+14=23, Resulting Numbers: [30, 23]
Generated Node #0,2,0: 27:[30, 23] Operation: 9+14=23
Exploring Operation: 14-9=5, Resulting Numbers: [30, 5]
Generated Node #0,2,1: 27:[30, 5] Operation: 14-9=5
Exploring Operation: 30-14=16, Resulting Numbers: [9, 16]
Generated Node #0,2,2: 27:[9, 16] Operation: 30-14=16
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[30, 5], Operations: ['36-6=30', '14-9=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,27 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No 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: 27:[30, 23], Operations: ['36-6=30', '9+14=23']
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,27 unequal: No Solution
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,27 unequal: No Solution
No 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: 27:[9, 16], Operations: ['36-6=30', '30-14=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,27 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
68,
62,
55,
14
] | 89 | [
"68+62=130",
"55-14=41",
"130-41=89"
] | Current State: 89:[68, 62, 55, 14], Operations: []
Exploring Operation: 68+62=130, Resulting Numbers: [55, 14, 130]
Generated Node #2: [55, 14, 130] from Operation: 68+62=130
Current State: 89:[55, 14, 130], Operations: ['68+62=130']
Exploring Operation: 55-14=41, Resulting Numbers: [130, 41]
Generated Node #3: [130, 41] from Operation: 55-14=41
Current State: 89:[130, 41], Operations: ['68+62=130', '55-14=41']
Exploring Operation: 130-41=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[68, 62, 55, 14], Operations: []
Exploring Operation: 62-14=48, Resulting Numbers: [68, 55, 48]
Generated Node #0,0: 89:[68, 55, 48] Operation: 62-14=48
Exploring Operation: 68-14=54, Resulting Numbers: [62, 55, 54]
Generated Node #0,1: 89:[62, 55, 54] Operation: 68-14=54
Exploring Operation: 68+14=82, Resulting Numbers: [62, 55, 82]
Generated Node #0,2: 89:[62, 55, 82] Operation: 68+14=82
Exploring Operation: 55+14=69, Resulting Numbers: [68, 62, 69]
Generated Node #0,3: 89:[68, 62, 69] Operation: 55+14=69
Exploring Operation: 62+14=76, Resulting Numbers: [68, 55, 76]
Generated Node #0,4: 89:[68, 55, 76] Operation: 62+14=76
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[62, 55, 82], Operations: ['68+14=82']
Exploring Operation: 62+55=117, Resulting Numbers: [82, 117]
Generated Node #0,2,0: 89:[82, 117] Operation: 62+55=117
Exploring Operation: 55+82=137, Resulting Numbers: [62, 137]
Generated Node #0,2,1: 89:[62, 137] Operation: 55+82=137
Exploring Operation: 82-55=27, Resulting Numbers: [62, 27]
Generated Node #0,2,2: 89:[62, 27] Operation: 82-55=27
Exploring Operation: 62-55=7, Resulting Numbers: [82, 7]
Generated Node #0,2,3: 89:[82, 7] Operation: 62-55=7
Exploring Operation: 62+82=144, Resulting Numbers: [55, 144]
Generated Node #0,2,4: 89:[55, 144] Operation: 62+82=144
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[82, 117], Operations: ['68+14=82', '62+55=117']
Exploring Operation: 117-82=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 82*117=9594, Resulting Numbers: [9594]
9594,89 unequal: No Solution
Exploring Operation: 82+117=199, Resulting Numbers: [199]
199,89 unequal: No Solution
No 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: 89:[62, 137], Operations: ['68+14=82', '55+82=137']
Exploring Operation: 62+137=199, Resulting Numbers: [199]
199,89 unequal: No Solution
Exploring Operation: 137-62=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 62*137=8494, Resulting Numbers: [8494]
8494,89 unequal: No Solution
No 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: 89:[62, 27], Operations: ['68+14=82', '82-55=27']
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 62*27=1674, Resulting Numbers: [1674]
1674,89 unequal: No Solution
Exploring Operation: 62+27=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[68, 62, 55, 14], Operations: []
Exploring Operation: 68+14=82, Resulting Numbers: [62, 55, 82]
Generated Node #0,2: 89:[62, 55, 82] Operation: 68+14=82
Moving to Node #0,2
Current State: 89:[62, 55, 82], Operations: ['68+14=82']
Exploring Operation: 82-55=27, Resulting Numbers: [62, 27]
Generated Node #0,2,2: 89:[62, 27] Operation: 82-55=27
Moving to Node #0,2,2
Current State: 89:[62, 27], Operations: ['68+14=82', '82-55=27']
Exploring Operation: 62+27=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
15,
67,
78,
9
] | 74 | [
"78-15=63",
"63/9=7",
"67+7=74"
] | Current State: 74:[15, 67, 78, 9], Operations: []
Exploring Operation: 78-15=63, Resulting Numbers: [67, 9, 63]
Generated Node #2: [67, 9, 63] from Operation: 78-15=63
Current State: 74:[67, 9, 63], Operations: ['78-15=63']
Exploring Operation: 63/9=7, Resulting Numbers: [67, 7]
Generated Node #3: [67, 7] from Operation: 63/9=7
Current State: 74:[67, 7], Operations: ['78-15=63', '63/9=7']
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[15, 67, 78, 9], Operations: []
Exploring Operation: 15-9=6, Resulting Numbers: [67, 78, 6]
Generated Node #0,0: 74:[67, 78, 6] Operation: 15-9=6
Moving to Node #0,0
Current State: 74:[67, 78, 6], Operations: ['15-9=6']
Exploring Operation: 67+6=73, Resulting Numbers: [78, 73]
Generated Node #0,0,0: 74:[78, 73] Operation: 67+6=73
Moving to Node #0,0,0
Current State: 74:[78, 73], Operations: ['15-9=6', '67+6=73']
Exploring Operation: 78-73=5, Resulting Numbers: [5]
5,74 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
81,
22,
99,
55
] | 23 | [
"81*55=4455",
"4455/99=45",
"45-22=23"
] | Current State: 23:[81, 22, 99, 55], Operations: []
Exploring Operation: 81*55=4455, Resulting Numbers: [22, 99, 4455]
Generated Node #2: [22, 99, 4455] from Operation: 81*55=4455
Current State: 23:[22, 99, 4455], Operations: ['81*55=4455']
Exploring Operation: 4455/99=45, Resulting Numbers: [22, 45]
Generated Node #3: [22, 45] from Operation: 4455/99=45
Current State: 23:[22, 45], Operations: ['81*55=4455', '4455/99=45']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[81, 22, 99, 55], Operations: []
Exploring Operation: 81-55=26, Resulting Numbers: [22, 99, 26]
Generated Node #0,0: 23:[22, 99, 26] Operation: 81-55=26
Exploring Operation: 99-81=18, Resulting Numbers: [22, 55, 18]
Generated Node #0,1: 23:[22, 55, 18] Operation: 99-81=18
Exploring Operation: 99-22=77, Resulting Numbers: [81, 55, 77]
Generated Node #0,2: 23:[81, 55, 77] Operation: 99-22=77
Exploring Operation: 81-22=59, Resulting Numbers: [99, 55, 59]
Generated Node #0,3: 23:[99, 55, 59] Operation: 81-22=59
Exploring Operation: 99-55=44, Resulting Numbers: [81, 22, 44]
Generated Node #0,4: 23:[81, 22, 44] Operation: 99-55=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[22, 55, 18], Operations: ['99-81=18']
Exploring Operation: 55-22=33, Resulting Numbers: [18, 33]
Generated Node #0,1,0: 23:[18, 33] Operation: 55-22=33
Exploring Operation: 22+18=40, Resulting Numbers: [55, 40]
Generated Node #0,1,1: 23:[55, 40] Operation: 22+18=40
Exploring Operation: 22-18=4, Resulting Numbers: [55, 4]
Generated Node #0,1,2: 23:[55, 4] Operation: 22-18=4
Exploring Operation: 55+18=73, Resulting Numbers: [22, 73]
Generated Node #0,1,3: 23:[22, 73] Operation: 55+18=73
Exploring Operation: 55-18=37, Resulting Numbers: [22, 37]
Generated Node #0,1,4: 23:[22, 37] Operation: 55-18=37
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[18, 33], Operations: ['99-81=18', '55-22=33']
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,23 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,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,4
Current State: 23:[22, 37], Operations: ['99-81=18', '55-18=37']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,23 unequal: No Solution
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,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, 40], Operations: ['99-81=18', '22+18=40']
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,23 unequal: No Solution
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,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:[55, 4], Operations: ['99-81=18', '22-18=4']
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,23 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,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:[22, 73], Operations: ['99-81=18', '55+18=73']
Exploring Operation: 22*73=1606, Resulting Numbers: [1606]
1606,23 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 22+73=95, Resulting Numbers: [95]
95,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:[22, 99, 26], Operations: ['81-55=26']
Exploring Operation: 22+99=121, Resulting Numbers: [26, 121]
Generated Node #0,0,0: 23:[26, 121] Operation: 22+99=121
Exploring Operation: 26-22=4, Resulting Numbers: [99, 4]
Generated Node #0,0,1: 23:[99, 4] Operation: 26-22=4
Exploring Operation: 22+26=48, Resulting Numbers: [99, 48]
Generated Node #0,0,2: 23:[99, 48] Operation: 22+26=48
Exploring Operation: 99-26=73, Resulting Numbers: [22, 73]
Generated Node #0,0,3: 23:[22, 73] Operation: 99-26=73
Exploring Operation: 99-22=77, Resulting Numbers: [26, 77]
Generated Node #0,0,4: 23:[26, 77] Operation: 99-22=77
Moving to Node #0,0,3
Current State: 23:[22, 73], Operations: ['81-55=26', '99-26=73']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 22+73=95, Resulting Numbers: [95]
95,23 unequal: No Solution
Exploring Operation: 22*73=1606, Resulting Numbers: [1606]
1606,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[26, 77], Operations: ['81-55=26', '99-22=77']
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 26*77=2002, Resulting Numbers: [2002]
2002,23 unequal: No Solution
Exploring Operation: 26+77=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[99, 4], Operations: ['81-55=26', '26-22=4']
Exploring Operation: 99*4=396, Resulting Numbers: [396]
396,23 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,23 unequal: No Solution
Exploring Operation: 99+4=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[26, 121], Operations: ['81-55=26', '22+99=121']
Exploring Operation: 26*121=3146, Resulting Numbers: [3146]
3146,23 unequal: No Solution
Exploring Operation: 26+121=147, Resulting Numbers: [147]
147,23 unequal: No Solution
Exploring Operation: 121-26=95, Resulting Numbers: [95]
95,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[99, 48], Operations: ['81-55=26', '22+26=48']
Exploring Operation: 99*48=4752, Resulting Numbers: [4752]
4752,23 unequal: No Solution
Exploring Operation: 99+48=147, Resulting Numbers: [147]
147,23 unequal: No Solution
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 23:[81, 22, 44], Operations: ['99-55=44']
Exploring Operation: 81+22=103, Resulting Numbers: [44, 103]
Generated Node #0,4,0: 23:[44, 103] Operation: 81+22=103
Exploring Operation: 44/22=2, Resulting Numbers: [81, 2]
Generated Node #0,4,1: 23:[81, 2] Operation: 44/22=2
Exploring Operation: 81-22=59, Resulting Numbers: [44, 59]
Generated Node #0,4,2: 23:[44, 59] Operation: 81-22=59
Exploring Operation: 44-22=22, Resulting Numbers: [81, 22]
Generated Node #0,4,3: 23:[81, 22] Operation: 44-22=22
Exploring Operation: 81-44=37, Resulting Numbers: [22, 37]
Generated Node #0,4,4: 23:[22, 37] Operation: 81-44=37
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 23:[22, 37], Operations: ['99-55=44', '81-44=37']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,23 unequal: No Solution
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,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:[44, 59], Operations: ['99-55=44', '81-22=59']
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 44+59=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Exploring Operation: 44*59=2596, Resulting Numbers: [2596]
2596,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:[81, 22], Operations: ['99-55=44', '44-22=22']
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 81+22=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Exploring Operation: 81*22=1782, Resulting Numbers: [1782]
1782,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:[81, 2], Operations: ['99-55=44', '44/22=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,23 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,23 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,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:[44, 103], Operations: ['99-55=44', '81+22=103']
Exploring Operation: 44+103=147, Resulting Numbers: [147]
147,23 unequal: No Solution
Exploring Operation: 103-44=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 44*103=4532, Resulting Numbers: [4532]
4532,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,2
Current State: 23:[81, 55, 77], Operations: ['99-22=77']
Exploring Operation: 81-55=26, Resulting Numbers: [77, 26]
Generated Node #0,2,0: 23:[77, 26] Operation: 81-55=26
Exploring Operation: 81+55=136, Resulting Numbers: [77, 136]
Generated Node #0,2,1: 23:[77, 136] Operation: 81+55=136
Exploring Operation: 77-55=22, Resulting Numbers: [81, 22]
Generated Node #0,2,2: 23:[81, 22] Operation: 77-55=22
Exploring Operation: 81+77=158, Resulting Numbers: [55, 158]
Generated Node #0,2,3: 23:[55, 158] Operation: 81+77=158
Exploring Operation: 81-77=4, Resulting Numbers: [55, 4]
Generated Node #0,2,4: 23:[55, 4] Operation: 81-77=4
Moving to Node #0,2,4
Current State: 23:[55, 4], Operations: ['99-22=77', '81-77=4']
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,23 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[77, 26], Operations: ['99-22=77', '81-55=26']
Exploring Operation: 77*26=2002, Resulting Numbers: [2002]
2002,23 unequal: No Solution
Exploring Operation: 77+26=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[81, 22], Operations: ['99-22=77', '77-55=22']
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 81*22=1782, Resulting Numbers: [1782]
1782,23 unequal: No Solution
Exploring Operation: 81+22=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[77, 136], Operations: ['99-22=77', '81+55=136']
Exploring Operation: 77*136=10472, Resulting Numbers: [10472]
10472,23 unequal: No Solution
Exploring Operation: 136-77=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 77+136=213, Resulting Numbers: [213]
213,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[55, 158], Operations: ['99-22=77', '81+77=158']
Exploring Operation: 55+158=213, Resulting Numbers: [213]
213,23 unequal: No Solution
Exploring Operation: 158-55=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Exploring Operation: 55*158=8690, Resulting Numbers: [8690]
8690,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[99, 55, 59], Operations: ['81-22=59']
Exploring Operation: 99-55=44, Resulting Numbers: [59, 44]
Generated Node #0,3,0: 23:[59, 44] Operation: 99-55=44
Exploring Operation: 99+55=154, Resulting Numbers: [59, 154]
Generated Node #0,3,1: 23:[59, 154] Operation: 99+55=154
Exploring Operation: 99-59=40, Resulting Numbers: [55, 40]
Generated Node #0,3,2: 23:[55, 40] Operation: 99-59=40
Exploring Operation: 99+59=158, Resulting Numbers: [55, 158]
Generated Node #0,3,3: 23:[55, 158] Operation: 99+59=158
Exploring Operation: 59-55=4, Resulting Numbers: [99, 4]
Generated Node #0,3,4: 23:[99, 4] Operation: 59-55=4
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 23:[55, 40], Operations: ['81-22=59', '99-59=40']
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,23 unequal: No Solution
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,23 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,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:[59, 44], Operations: ['81-22=59', '99-55=44']
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,23 unequal: No Solution
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,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:[99, 4], Operations: ['81-22=59', '59-55=4']
Exploring Operation: 99+4=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,23 unequal: No Solution
Exploring Operation: 99*4=396, Resulting Numbers: [396]
396,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:[59, 154], Operations: ['81-22=59', '99+55=154']
Exploring Operation: 59+154=213, Resulting Numbers: [213]
213,23 unequal: No Solution
Exploring Operation: 59*154=9086, Resulting Numbers: [9086]
9086,23 unequal: No Solution
Exploring Operation: 154-59=95, Resulting Numbers: [95]
95,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:[55, 158], Operations: ['81-22=59', '99+59=158']
Exploring Operation: 158-55=103, Resulting Numbers: [103]
103,23 unequal: No Solution
Exploring Operation: 55+158=213, Resulting Numbers: [213]
213,23 unequal: No Solution
Exploring Operation: 55*158=8690, Resulting Numbers: [8690]
8690,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 | sum_heuristic |
[
26,
40,
22,
7
] | 60 | [
"26+7=33",
"40*33=1320",
"1320/22=60"
] | Current State: 60:[26, 40, 22, 7], Operations: []
Exploring Operation: 26+7=33, Resulting Numbers: [40, 22, 33]
Generated Node #2: [40, 22, 33] from Operation: 26+7=33
Current State: 60:[40, 22, 33], Operations: ['26+7=33']
Exploring Operation: 40*33=1320, Resulting Numbers: [22, 1320]
Generated Node #3: [22, 1320] from Operation: 40*33=1320
Current State: 60:[22, 1320], Operations: ['26+7=33', '40*33=1320']
Exploring Operation: 1320/22=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[26, 40, 22, 7], Operations: []
Exploring Operation: 40+22=62, Resulting Numbers: [26, 7, 62]
Generated Node #0,0: 60:[26, 7, 62] Operation: 40+22=62
Exploring Operation: 40-22=18, Resulting Numbers: [26, 7, 18]
Generated Node #0,1: 60:[26, 7, 18] Operation: 40-22=18
Exploring Operation: 40-26=14, Resulting Numbers: [22, 7, 14]
Generated Node #0,2: 60:[22, 7, 14] Operation: 40-26=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[22, 7, 14], Operations: ['40-26=14']
Exploring Operation: 14/7=2, Resulting Numbers: [22, 2]
Generated Node #0,2,0: 60:[22, 2] Operation: 14/7=2
Exploring Operation: 22+7=29, Resulting Numbers: [14, 29]
Generated Node #0,2,1: 60:[14, 29] Operation: 22+7=29
Exploring Operation: 22-7=15, Resulting Numbers: [14, 15]
Generated Node #0,2,2: 60:[14, 15] Operation: 22-7=15
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[14, 15], Operations: ['40-26=14', '22-7=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[22, 2], Operations: ['40-26=14', '14/7=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[14, 29], Operations: ['40-26=14', '22+7=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,60 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[26, 7, 62], Operations: ['40+22=62']
Exploring Operation: 26+7=33, Resulting Numbers: [62, 33]
Generated Node #0,0,0: 60:[62, 33] Operation: 26+7=33
Exploring Operation: 26-7=19, Resulting Numbers: [62, 19]
Generated Node #0,0,1: 60:[62, 19] Operation: 26-7=19
Exploring Operation: 62-26=36, Resulting Numbers: [7, 36]
Generated Node #0,0,2: 60:[7, 36] Operation: 62-26=36
Moving to Node #0,0,1
Current State: 60:[62, 19], Operations: ['40+22=62', '26-7=19']
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,60 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[62, 33], Operations: ['40+22=62', '26+7=33']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,60 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[7, 36], Operations: ['40+22=62', '62-26=36']
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,60 unequal: No Solution
Exploring Operation: 36-7=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,1
Current State: 60:[26, 7, 18], Operations: ['40-22=18']
Exploring Operation: 26-18=8, Resulting Numbers: [7, 8]
Generated Node #0,1,0: 60:[7, 8] Operation: 26-18=8
Exploring Operation: 26-7=19, Resulting Numbers: [18, 19]
Generated Node #0,1,1: 60:[18, 19] Operation: 26-7=19
Exploring Operation: 26+7=33, Resulting Numbers: [18, 33]
Generated Node #0,1,2: 60:[18, 33] Operation: 26+7=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[7, 8], Operations: ['40-22=18', '26-18=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[18, 19], Operations: ['40-22=18', '26-7=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[18, 33], Operations: ['40-22=18', '26+7=33']
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,60 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
31,
23,
9,
10
] | 53 | [
"31+23=54",
"10-9=1",
"54-1=53"
] | Current State: 53:[31, 23, 9, 10], Operations: []
Exploring Operation: 31+23=54, Resulting Numbers: [9, 10, 54]
Generated Node #2: [9, 10, 54] from Operation: 31+23=54
Current State: 53:[9, 10, 54], Operations: ['31+23=54']
Exploring Operation: 10-9=1, Resulting Numbers: [54, 1]
Generated Node #3: [54, 1] from Operation: 10-9=1
Current State: 53:[54, 1], Operations: ['31+23=54', '10-9=1']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[31, 23, 9, 10], Operations: []
Exploring Operation: 31+10=41, Resulting Numbers: [23, 9, 41]
Generated Node #0,0: 53:[23, 9, 41] Operation: 31+10=41
Exploring Operation: 31+9=40, Resulting Numbers: [23, 10, 40]
Generated Node #0,1: 53:[23, 10, 40] Operation: 31+9=40
Exploring Operation: 23+9=32, Resulting Numbers: [31, 10, 32]
Generated Node #0,2: 53:[31, 10, 32] Operation: 23+9=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[23, 9, 41], Operations: ['31+10=41']
Exploring Operation: 23+9=32, Resulting Numbers: [41, 32]
Generated Node #0,0,0: 53:[41, 32] Operation: 23+9=32
Exploring Operation: 23-9=14, Resulting Numbers: [41, 14]
Generated Node #0,0,1: 53:[41, 14] Operation: 23-9=14
Exploring Operation: 9+41=50, Resulting Numbers: [23, 50]
Generated Node #0,0,2: 53:[23, 50] Operation: 9+41=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[41, 32], Operations: ['31+10=41', '23+9=32']
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,53 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,53 unequal: No Solution
No 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: 53:[23, 50], Operations: ['31+10=41', '9+41=50']
Exploring Operation: 23*50=1150, Resulting Numbers: [1150]
1150,53 unequal: No Solution
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,53 unequal: No Solution
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,53 unequal: No Solution
No 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: 53:[41, 14], Operations: ['31+10=41', '23-9=14']
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,53 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,53 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: 53:[23, 10, 40], Operations: ['31+9=40']
Exploring Operation: 23+10=33, Resulting Numbers: [40, 33]
Generated Node #0,1,0: 53:[40, 33] Operation: 23+10=33
Exploring Operation: 10+40=50, Resulting Numbers: [23, 50]
Generated Node #0,1,1: 53:[23, 50] Operation: 10+40=50
Exploring Operation: 23-10=13, Resulting Numbers: [40, 13]
Generated Node #0,1,2: 53:[40, 13] Operation: 23-10=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[40, 33], Operations: ['31+9=40', '23+10=33']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,53 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,53 unequal: No Solution
No 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: 53:[23, 50], Operations: ['31+9=40', '10+40=50']
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 23*50=1150, Resulting Numbers: [1150]
1150,53 unequal: No Solution
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,53 unequal: No Solution
No 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: 53:[40, 13], Operations: ['31+9=40', '23-10=13']
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,53 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[31, 23, 9, 10], Operations: []
Exploring Operation: 31+9=40, Resulting Numbers: [23, 10, 40]
Generated Node #0,1: 53:[23, 10, 40] Operation: 31+9=40
Moving to Node #0,1
Current State: 53:[23, 10, 40], Operations: ['31+9=40']
Exploring Operation: 23-10=13, Resulting Numbers: [40, 13]
Generated Node #0,1,2: 53:[40, 13] Operation: 23-10=13
Moving to Node #0,1,2
Current State: 53:[40, 13], Operations: ['31+9=40', '23-10=13']
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
19,
2,
98,
15
] | 25 | [
"19-15=4",
"2+98=100",
"100/4=25"
] | Current State: 25:[19, 2, 98, 15], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [2, 98, 4]
Generated Node #2: [2, 98, 4] from Operation: 19-15=4
Current State: 25:[2, 98, 4], Operations: ['19-15=4']
Exploring Operation: 2+98=100, Resulting Numbers: [4, 100]
Generated Node #3: [4, 100] from Operation: 2+98=100
Current State: 25:[4, 100], Operations: ['19-15=4', '2+98=100']
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[19, 2, 98, 15], Operations: []
Exploring Operation: 98-15=83, Resulting Numbers: [19, 2, 83]
Generated Node #0,0: 25:[19, 2, 83] Operation: 98-15=83
Exploring Operation: 19-15=4, Resulting Numbers: [2, 98, 4]
Generated Node #0,1: 25:[2, 98, 4] Operation: 19-15=4
Exploring Operation: 98-19=79, Resulting Numbers: [2, 15, 79]
Generated Node #0,2: 25:[2, 15, 79] Operation: 98-19=79
Exploring Operation: 2*15=30, Resulting Numbers: [19, 98, 30]
Generated Node #0,3: 25:[19, 98, 30] Operation: 2*15=30
Exploring Operation: 98/2=49, Resulting Numbers: [19, 15, 49]
Generated Node #0,4: 25:[19, 15, 49] Operation: 98/2=49
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[19, 15, 49], Operations: ['98/2=49']
Exploring Operation: 19+15=34, Resulting Numbers: [49, 34]
Generated Node #0,4,0: 25:[49, 34] Operation: 19+15=34
Exploring Operation: 15+49=64, Resulting Numbers: [19, 64]
Generated Node #0,4,1: 25:[19, 64] Operation: 15+49=64
Exploring Operation: 49-19=30, Resulting Numbers: [15, 30]
Generated Node #0,4,2: 25:[15, 30] Operation: 49-19=30
Exploring Operation: 19-15=4, Resulting Numbers: [49, 4]
Generated Node #0,4,3: 25:[49, 4] Operation: 19-15=4
Exploring Operation: 49-15=34, Resulting Numbers: [19, 34]
Generated Node #0,4,4: 25:[19, 34] Operation: 49-15=34
Moving to Node #0,4,2
Current State: 25:[15, 30], Operations: ['98/2=49', '49-19=30']
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 15*30=450, Resulting Numbers: [450]
450,25 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Moving to Node #0,4,4
Current State: 25:[19, 34], Operations: ['98/2=49', '49-15=34']
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,25 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[49, 4], Operations: ['98/2=49', '19-15=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[49, 34], Operations: ['98/2=49', '19+15=34']
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,25 unequal: No Solution
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,25 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Moving to Node #0,4,1
Current State: 25:[19, 64], Operations: ['98/2=49', '15+49=64']
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,25 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[19, 2, 83], Operations: ['98-15=83']
Exploring Operation: 83-19=64, Resulting Numbers: [2, 64]
Generated Node #0,0,0: 25:[2, 64] Operation: 83-19=64
Exploring Operation: 19+2=21, Resulting Numbers: [83, 21]
Generated Node #0,0,1: 25:[83, 21] Operation: 19+2=21
Exploring Operation: 19-2=17, Resulting Numbers: [83, 17]
Generated Node #0,0,2: 25:[83, 17] Operation: 19-2=17
Exploring Operation: 2+83=85, Resulting Numbers: [19, 85]
Generated Node #0,0,3: 25:[19, 85] Operation: 2+83=85
Exploring Operation: 83-2=81, Resulting Numbers: [19, 81]
Generated Node #0,0,4: 25:[19, 81] Operation: 83-2=81
Moving to Node #0,0,0
Current State: 25:[2, 64], Operations: ['98-15=83', '83-19=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[19, 81], Operations: ['98-15=83', '83-2=81']
Exploring Operation: 19+81=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 19*81=1539, Resulting Numbers: [1539]
1539,25 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[83, 21], Operations: ['98-15=83', '19+2=21']
Exploring Operation: 83*21=1743, Resulting Numbers: [1743]
1743,25 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 83+21=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[83, 17], Operations: ['98-15=83', '19-2=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[19, 85], Operations: ['98-15=83', '2+83=85']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 19+85=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 19*85=1615, Resulting Numbers: [1615]
1615,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[2, 15, 79], Operations: ['98-19=79']
Exploring Operation: 79-2=77, Resulting Numbers: [15, 77]
Generated Node #0,2,0: 25:[15, 77] Operation: 79-2=77
Exploring Operation: 2+15=17, Resulting Numbers: [79, 17]
Generated Node #0,2,1: 25:[79, 17] Operation: 2+15=17
Exploring Operation: 15-2=13, Resulting Numbers: [79, 13]
Generated Node #0,2,2: 25:[79, 13] Operation: 15-2=13
Exploring Operation: 2*15=30, Resulting Numbers: [79, 30]
Generated Node #0,2,3: 25:[79, 30] Operation: 2*15=30
Exploring Operation: 79-15=64, Resulting Numbers: [2, 64]
Generated Node #0,2,4: 25:[2, 64] Operation: 79-15=64
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 25:[2, 64], Operations: ['98-19=79', '79-15=64']
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,25 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,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,2,3
Current State: 25:[79, 30], Operations: ['98-19=79', '2*15=30']
Exploring Operation: 79*30=2370, Resulting Numbers: [2370]
2370,25 unequal: No Solution
Exploring Operation: 79+30=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,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,2,0
Current State: 25:[15, 77], Operations: ['98-19=79', '79-2=77']
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 15*77=1155, Resulting Numbers: [1155]
1155,25 unequal: No Solution
Exploring Operation: 15+77=92, Resulting Numbers: [92]
92,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,2,1
Current State: 25:[79, 17], Operations: ['98-19=79', '2+15=17']
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,25 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,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,2,2
Current State: 25:[79, 13], Operations: ['98-19=79', '15-2=13']
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 79*13=1027, Resulting Numbers: [1027]
1027,25 unequal: No Solution
Exploring Operation: 79+13=92, Resulting Numbers: [92]
92,25 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: 25:[2, 98, 4], Operations: ['19-15=4']
Exploring Operation: 98-4=94, Resulting Numbers: [2, 94]
Generated Node #0,1,0: 25:[2, 94] Operation: 98-4=94
Exploring Operation: 98/2=49, Resulting Numbers: [4, 49]
Generated Node #0,1,1: 25:[4, 49] Operation: 98/2=49
Exploring Operation: 98-2=96, Resulting Numbers: [4, 96]
Generated Node #0,1,2: 25:[4, 96] Operation: 98-2=96
Exploring Operation: 2+4=6, Resulting Numbers: [98, 6]
Generated Node #0,1,3: 25:[98, 6] Operation: 2+4=6
Exploring Operation: 2+98=100, Resulting Numbers: [4, 100]
Generated Node #0,1,4: 25:[4, 100] Operation: 2+98=100
Moving to Node #0,1,1
Current State: 25:[4, 49], Operations: ['19-15=4', '98/2=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[4, 96], Operations: ['19-15=4', '98-2=96']
Exploring Operation: 4+96=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 4*96=384, Resulting Numbers: [384]
384,25 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[2, 94], Operations: ['19-15=4', '98-4=94']
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 2*94=188, Resulting Numbers: [188]
188,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[98, 6], Operations: ['19-15=4', '2+4=6']
Exploring Operation: 98*6=588, Resulting Numbers: [588]
588,25 unequal: No Solution
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Exploring Operation: 98+6=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[4, 100], Operations: ['19-15=4', '2+98=100']
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[19, 2, 98, 15], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [2, 98, 4]
Generated Node #0,1: 25:[2, 98, 4] Operation: 19-15=4
Moving to Node #0,1
Current State: 25:[2, 98, 4], Operations: ['19-15=4']
Exploring Operation: 2+98=100, Resulting Numbers: [4, 100]
Generated Node #0,1,4: 25:[4, 100] Operation: 2+98=100
Moving to Node #0,1,4
Current State: 25:[4, 100], Operations: ['19-15=4', '2+98=100']
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.920139 | hs_5 | sum_heuristic |
[
82,
73,
78,
34
] | 53 | [
"82-73=9",
"78-34=44",
"9+44=53"
] | Current State: 53:[82, 73, 78, 34], Operations: []
Exploring Operation: 82-73=9, Resulting Numbers: [78, 34, 9]
Generated Node #2: [78, 34, 9] from Operation: 82-73=9
Current State: 53:[78, 34, 9], Operations: ['82-73=9']
Exploring Operation: 78-34=44, Resulting Numbers: [9, 44]
Generated Node #3: [9, 44] from Operation: 78-34=44
Current State: 53:[9, 44], Operations: ['82-73=9', '78-34=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[82, 73, 78, 34], Operations: []
Exploring Operation: 73-34=39, Resulting Numbers: [82, 78, 39]
Generated Node #0,0: 53:[82, 78, 39] Operation: 73-34=39
Exploring Operation: 82-34=48, Resulting Numbers: [73, 78, 48]
Generated Node #0,1: 53:[73, 78, 48] Operation: 82-34=48
Exploring Operation: 78-34=44, Resulting Numbers: [82, 73, 44]
Generated Node #0,2: 53:[82, 73, 44] Operation: 78-34=44
Moving to Node #0,1
Current State: 53:[73, 78, 48], Operations: ['82-34=48']
Exploring Operation: 78-73=5, Resulting Numbers: [48, 5]
Generated Node #0,1,0: 53:[48, 5] Operation: 78-73=5
Exploring Operation: 73-48=25, Resulting Numbers: [78, 25]
Generated Node #0,1,1: 53:[78, 25] Operation: 73-48=25
Exploring Operation: 78-48=30, Resulting Numbers: [73, 30]
Generated Node #0,1,2: 53:[73, 30] Operation: 78-48=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[73, 30], Operations: ['82-34=48', '78-48=30']
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,53 unequal: No Solution
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 73*30=2190, Resulting Numbers: [2190]
2190,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:[48, 5], Operations: ['82-34=48', '78-73=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,53 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[82, 73, 78, 34], Operations: []
Exploring Operation: 82-34=48, Resulting Numbers: [73, 78, 48]
Generated Node #0,1: 53:[73, 78, 48] Operation: 82-34=48
Moving to Node #0,1
Current State: 53:[73, 78, 48], Operations: ['82-34=48']
Exploring Operation: 78-73=5, Resulting Numbers: [48, 5]
Generated Node #0,1,0: 53:[48, 5] Operation: 78-73=5
Moving to Node #0,1,0
Current State: 53:[48, 5], Operations: ['82-34=48', '78-73=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
52,
42,
55,
3
] | 11 | [
"55-52=3",
"42/3=14",
"14-3=11"
] | Current State: 11:[52, 42, 55, 3], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [42, 3, 3]
Generated Node #2: [42, 3, 3] from Operation: 55-52=3
Current State: 11:[42, 3, 3], Operations: ['55-52=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,11 equal: Goal Reached
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[52, 42, 55, 3], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [42, 3, 3]
Generated Node #0,0: 11:[42, 3, 3] Operation: 55-52=3
Exploring Operation: 55-42=13, Resulting Numbers: [52, 3, 13]
Generated Node #0,1: 11:[52, 3, 13] Operation: 55-42=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[42, 3, 3], Operations: ['55-52=3']
Exploring Operation: 42/3=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 11:[3, 14] Operation: 42/3=14
Exploring Operation: 42/3=14, Resulting Numbers: [3, 14]
Generated Node #0,0,1: 11:[3, 14] Operation: 42/3=14
Moving to Node #0,0,0
Current State: 11:[3, 14], Operations: ['55-52=3', '42/3=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[52, 42, 55, 3], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [42, 3, 3]
Generated Node #0,0: 11:[42, 3, 3] Operation: 55-52=3
Moving to Node #0,0
Current State: 11:[42, 3, 3], Operations: ['55-52=3']
Exploring Operation: 42/3=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 11:[3, 14] Operation: 42/3=14
Moving to Node #0,0,0
Current State: 11:[3, 14], Operations: ['55-52=3', '42/3=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
22,
44,
6,
34
] | 74 | [
"44/22=2",
"34*2=68",
"6+68=74"
] | Current State: 74:[22, 44, 6, 34], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [6, 34, 2]
Generated Node #2: [6, 34, 2] from Operation: 44/22=2
Current State: 74:[6, 34, 2], Operations: ['44/22=2']
Exploring Operation: 34*2=68, Resulting Numbers: [6, 68]
Generated Node #3: [6, 68] from Operation: 34*2=68
Current State: 74:[6, 68], Operations: ['44/22=2', '34*2=68']
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[22, 44, 6, 34], Operations: []
Exploring Operation: 22+44=66, Resulting Numbers: [6, 34, 66]
Generated Node #0,0: 74:[6, 34, 66] Operation: 22+44=66
Exploring Operation: 44-6=38, Resulting Numbers: [22, 34, 38]
Generated Node #0,1: 74:[22, 34, 38] Operation: 44-6=38
Exploring Operation: 22+6=28, Resulting Numbers: [44, 34, 28]
Generated Node #0,2: 74:[44, 34, 28] Operation: 22+6=28
Exploring Operation: 34-22=12, Resulting Numbers: [44, 6, 12]
Generated Node #0,3: 74:[44, 6, 12] Operation: 34-22=12
Exploring Operation: 44/22=2, Resulting Numbers: [6, 34, 2]
Generated Node #0,4: 74:[6, 34, 2] Operation: 44/22=2
Moving to Node #0,4
Current State: 74:[6, 34, 2], Operations: ['44/22=2']
Exploring Operation: 34-6=28, Resulting Numbers: [2, 28]
Generated Node #0,4,0: 74:[2, 28] Operation: 34-6=28
Exploring Operation: 6+34=40, Resulting Numbers: [2, 40]
Generated Node #0,4,1: 74:[2, 40] Operation: 6+34=40
Exploring Operation: 6/2=3, Resulting Numbers: [34, 3]
Generated Node #0,4,2: 74:[34, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [34, 4]
Generated Node #0,4,3: 74:[34, 4] Operation: 6-2=4
Exploring Operation: 34+2=36, Resulting Numbers: [6, 36]
Generated Node #0,4,4: 74:[6, 36] Operation: 34+2=36
Moving to Node #0,0
Current State: 74:[6, 34, 66], Operations: ['22+44=66']
Exploring Operation: 6+66=72, Resulting Numbers: [34, 72]
Generated Node #0,0,0: 74:[34, 72] Operation: 6+66=72
Exploring Operation: 6+34=40, Resulting Numbers: [66, 40]
Generated Node #0,0,1: 74:[66, 40] Operation: 6+34=40
Exploring Operation: 66-34=32, Resulting Numbers: [6, 32]
Generated Node #0,0,2: 74:[6, 32] Operation: 66-34=32
Exploring Operation: 66/6=11, Resulting Numbers: [34, 11]
Generated Node #0,0,3: 74:[34, 11] Operation: 66/6=11
Exploring Operation: 34-6=28, Resulting Numbers: [66, 28]
Generated Node #0,0,4: 74:[66, 28] Operation: 34-6=28
Moving to Node #0,1
Current State: 74:[22, 34, 38], Operations: ['44-6=38']
Exploring Operation: 34+38=72, Resulting Numbers: [22, 72]
Generated Node #0,1,0: 74:[22, 72] Operation: 34+38=72
Exploring Operation: 38-22=16, Resulting Numbers: [34, 16]
Generated Node #0,1,1: 74:[34, 16] Operation: 38-22=16
Exploring Operation: 22+38=60, Resulting Numbers: [34, 60]
Generated Node #0,1,2: 74:[34, 60] Operation: 22+38=60
Exploring Operation: 38-34=4, Resulting Numbers: [22, 4]
Generated Node #0,1,3: 74:[22, 4] Operation: 38-34=4
Exploring Operation: 34-22=12, Resulting Numbers: [38, 12]
Generated Node #0,1,4: 74:[38, 12] Operation: 34-22=12
Moving to Node #0,2
Current State: 74:[44, 34, 28], Operations: ['22+6=28']
Exploring Operation: 44-34=10, Resulting Numbers: [28, 10]
Generated Node #0,2,0: 74:[28, 10] Operation: 44-34=10
Exploring Operation: 34-28=6, Resulting Numbers: [44, 6]
Generated Node #0,2,1: 74:[44, 6] Operation: 34-28=6
Exploring Operation: 44+28=72, Resulting Numbers: [34, 72]
Generated Node #0,2,2: 74:[34, 72] Operation: 44+28=72
Exploring Operation: 44+34=78, Resulting Numbers: [28, 78]
Generated Node #0,2,3: 74:[28, 78] Operation: 44+34=78
Exploring Operation: 44-28=16, Resulting Numbers: [34, 16]
Generated Node #0,2,4: 74:[34, 16] Operation: 44-28=16
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[34, 72], Operations: ['22+6=28', '44+28=72']
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,74 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[44, 6], Operations: ['22+6=28', '34-28=6']
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,74 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[28, 78], Operations: ['22+6=28', '44+34=78']
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[28, 10], Operations: ['22+6=28', '44-34=10']
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,74 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 74:[34, 16], Operations: ['22+6=28', '44-28=16']
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,74 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,74 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: 74:[44, 6, 12], Operations: ['34-22=12']
Exploring Operation: 12-6=6, Resulting Numbers: [44, 6]
Generated Node #0,3,0: 74:[44, 6] Operation: 12-6=6
Exploring Operation: 44-12=32, Resulting Numbers: [6, 32]
Generated Node #0,3,1: 74:[6, 32] Operation: 44-12=32
Exploring Operation: 44-6=38, Resulting Numbers: [12, 38]
Generated Node #0,3,2: 74:[12, 38] Operation: 44-6=38
Exploring Operation: 6*12=72, Resulting Numbers: [44, 72]
Generated Node #0,3,3: 74:[44, 72] Operation: 6*12=72
Exploring Operation: 12/6=2, Resulting Numbers: [44, 2]
Generated Node #0,3,4: 74:[44, 2] Operation: 12/6=2
Moving to Node #0,4,1
Current State: 74:[2, 40], Operations: ['44/22=2', '6+34=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[34, 3], Operations: ['44/22=2', '6/2=3']
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[34, 4], Operations: ['44/22=2', '6-2=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[34, 72], Operations: ['22+44=66', '6+66=72']
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,74 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[6, 36], Operations: ['44/22=2', '34+2=36']
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,74 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[44, 2], Operations: ['34-22=12', '12/6=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[6, 32], Operations: ['22+44=66', '66-34=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,74 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Moving to Node #0,4,0
Current State: 74:[2, 28], Operations: ['44/22=2', '34-6=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[44, 72], Operations: ['34-22=12', '6*12=72']
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[6, 32], Operations: ['34-22=12', '44-12=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,74 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[44, 6], Operations: ['34-22=12', '12-6=6']
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,74 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Moving to Node #0,1,4
Current State: 74:[38, 12], Operations: ['44-6=38', '34-22=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[66, 40], Operations: ['22+44=66', '6+34=40']
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 66*40=2640, Resulting Numbers: [2640]
2640,74 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[12, 38], Operations: ['34-22=12', '44-6=38']
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,74 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[34, 11], Operations: ['22+44=66', '66/6=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[34, 16], Operations: ['44-6=38', '38-22=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,74 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[22, 72], Operations: ['44-6=38', '34+38=72']
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[34, 60], Operations: ['44-6=38', '22+38=60']
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 34*60=2040, Resulting Numbers: [2040]
2040,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[22, 4], Operations: ['44-6=38', '38-34=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[66, 28], Operations: ['22+44=66', '34-6=28']
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,74 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
14,
81,
21,
4
] | 29 | [
"14+81=95",
"21+95=116",
"116/4=29"
] | Current State: 29:[14, 81, 21, 4], Operations: []
Exploring Operation: 14+81=95, Resulting Numbers: [21, 4, 95]
Generated Node #2: [21, 4, 95] from Operation: 14+81=95
Current State: 29:[21, 4, 95], Operations: ['14+81=95']
Exploring Operation: 21+95=116, Resulting Numbers: [4, 116]
Generated Node #3: [4, 116] from Operation: 21+95=116
Current State: 29:[4, 116], Operations: ['14+81=95', '21+95=116']
Exploring Operation: 116/4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[14, 81, 21, 4], Operations: []
Exploring Operation: 81-14=67, Resulting Numbers: [21, 4, 67]
Generated Node #0,0: 29:[21, 4, 67] Operation: 81-14=67
Exploring Operation: 14+4=18, Resulting Numbers: [81, 21, 18]
Generated Node #0,1: 29:[81, 21, 18] Operation: 14+4=18
Moving to Node #0,0
Current State: 29:[21, 4, 67], Operations: ['81-14=67']
Exploring Operation: 67-21=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 29:[4, 46] Operation: 67-21=46
Exploring Operation: 21+4=25, Resulting Numbers: [67, 25]
Generated Node #0,0,1: 29:[67, 25] Operation: 21+4=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[4, 46], Operations: ['81-14=67', '67-21=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[67, 25], Operations: ['81-14=67', '21+4=25']
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,29 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: 29:[81, 21, 18], Operations: ['14+4=18']
Exploring Operation: 81-21=60, Resulting Numbers: [18, 60]
Generated Node #0,1,0: 29:[18, 60] Operation: 81-21=60
Exploring Operation: 81-18=63, Resulting Numbers: [21, 63]
Generated Node #0,1,1: 29:[21, 63] Operation: 81-18=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[18, 60], Operations: ['14+4=18', '81-21=60']
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,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,1,1
Current State: 29:[21, 63], Operations: ['14+4=18', '81-18=63']
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
32,
52,
63,
16
] | 59 | [
"52-32=20",
"63+16=79",
"79-20=59"
] | Current State: 59:[32, 52, 63, 16], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [63, 16, 20]
Generated Node #2: [63, 16, 20] from Operation: 52-32=20
Current State: 59:[63, 16, 20], Operations: ['52-32=20']
Exploring Operation: 63+16=79, Resulting Numbers: [20, 79]
Generated Node #3: [20, 79] from Operation: 63+16=79
Current State: 59:[20, 79], Operations: ['52-32=20', '63+16=79']
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[32, 52, 63, 16], Operations: []
Exploring Operation: 52+16=68, Resulting Numbers: [32, 63, 68]
Generated Node #0,0: 59:[32, 63, 68] Operation: 52+16=68
Exploring Operation: 63-16=47, Resulting Numbers: [32, 52, 47]
Generated Node #0,1: 59:[32, 52, 47] Operation: 63-16=47
Exploring Operation: 32+16=48, Resulting Numbers: [52, 63, 48]
Generated Node #0,2: 59:[52, 63, 48] Operation: 32+16=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[52, 63, 48], Operations: ['32+16=48']
Exploring Operation: 63-52=11, Resulting Numbers: [48, 11]
Generated Node #0,2,0: 59:[48, 11] Operation: 63-52=11
Exploring Operation: 63-48=15, Resulting Numbers: [52, 15]
Generated Node #0,2,1: 59:[52, 15] Operation: 63-48=15
Exploring Operation: 52+48=100, Resulting Numbers: [63, 100]
Generated Node #0,2,2: 59:[63, 100] Operation: 52+48=100
Moving to Node #0,2,2
Current State: 59:[63, 100], Operations: ['32+16=48', '52+48=100']
Exploring Operation: 63*100=6300, Resulting Numbers: [6300]
6300,59 unequal: No Solution
Exploring Operation: 63+100=163, Resulting Numbers: [163]
163,59 unequal: No Solution
Exploring Operation: 100-63=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[52, 15], Operations: ['32+16=48', '63-48=15']
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,59 unequal: No Solution
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[48, 11], Operations: ['32+16=48', '63-52=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[32, 52, 63, 16], Operations: []
Exploring Operation: 32+16=48, Resulting Numbers: [52, 63, 48]
Generated Node #0,2: 59:[52, 63, 48] Operation: 32+16=48
Moving to Node #0,2
Current State: 59:[52, 63, 48], Operations: ['32+16=48']
Exploring Operation: 63-52=11, Resulting Numbers: [48, 11]
Generated Node #0,2,0: 59:[48, 11] Operation: 63-52=11
Moving to Node #0,2,0
Current State: 59:[48, 11], Operations: ['32+16=48', '63-52=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
70,
58,
9,
42
] | 73 | [
"70*9=630",
"630/42=15",
"58+15=73"
] | Current State: 73:[70, 58, 9, 42], Operations: []
Exploring Operation: 70*9=630, Resulting Numbers: [58, 42, 630]
Generated Node #2: [58, 42, 630] from Operation: 70*9=630
Current State: 73:[58, 42, 630], Operations: ['70*9=630']
Exploring Operation: 630/42=15, Resulting Numbers: [58, 15]
Generated Node #3: [58, 15] from Operation: 630/42=15
Current State: 73:[58, 15], Operations: ['70*9=630', '630/42=15']
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[70, 58, 9, 42], Operations: []
Exploring Operation: 58+9=67, Resulting Numbers: [70, 42, 67]
Generated Node #0,0: 73:[70, 42, 67] Operation: 58+9=67
Exploring Operation: 70+9=79, Resulting Numbers: [58, 42, 79]
Generated Node #0,1: 73:[58, 42, 79] Operation: 70+9=79
Exploring Operation: 9+42=51, Resulting Numbers: [70, 58, 51]
Generated Node #0,2: 73:[70, 58, 51] Operation: 9+42=51
Exploring Operation: 70-9=61, Resulting Numbers: [58, 42, 61]
Generated Node #0,3: 73:[58, 42, 61] Operation: 70-9=61
Moving to Node #0,0
Current State: 73:[70, 42, 67], Operations: ['58+9=67']
Exploring Operation: 67-42=25, Resulting Numbers: [70, 25]
Generated Node #0,0,0: 73:[70, 25] Operation: 67-42=25
Exploring Operation: 42+67=109, Resulting Numbers: [70, 109]
Generated Node #0,0,1: 73:[70, 109] Operation: 42+67=109
Exploring Operation: 70+42=112, Resulting Numbers: [67, 112]
Generated Node #0,0,2: 73:[67, 112] Operation: 70+42=112
Exploring Operation: 70-42=28, Resulting Numbers: [67, 28]
Generated Node #0,0,3: 73:[67, 28] Operation: 70-42=28
Moving to Node #0,2
Current State: 73:[70, 58, 51], Operations: ['9+42=51']
Exploring Operation: 70-51=19, Resulting Numbers: [58, 19]
Generated Node #0,2,0: 73:[58, 19] Operation: 70-51=19
Exploring Operation: 70+51=121, Resulting Numbers: [58, 121]
Generated Node #0,2,1: 73:[58, 121] Operation: 70+51=121
Exploring Operation: 58+51=109, Resulting Numbers: [70, 109]
Generated Node #0,2,2: 73:[70, 109] Operation: 58+51=109
Exploring Operation: 58-51=7, Resulting Numbers: [70, 7]
Generated Node #0,2,3: 73:[70, 7] Operation: 58-51=7
Moving to Node #0,1
Current State: 73:[58, 42, 79], Operations: ['70+9=79']
Exploring Operation: 58+42=100, Resulting Numbers: [79, 100]
Generated Node #0,1,0: 73:[79, 100] Operation: 58+42=100
Exploring Operation: 58-42=16, Resulting Numbers: [79, 16]
Generated Node #0,1,1: 73:[79, 16] Operation: 58-42=16
Exploring Operation: 42+79=121, Resulting Numbers: [58, 121]
Generated Node #0,1,2: 73:[58, 121] Operation: 42+79=121
Exploring Operation: 79-42=37, Resulting Numbers: [58, 37]
Generated Node #0,1,3: 73:[58, 37] Operation: 79-42=37
Moving to Node #0,3
Current State: 73:[58, 42, 61], Operations: ['70-9=61']
Exploring Operation: 58-42=16, Resulting Numbers: [61, 16]
Generated Node #0,3,0: 73:[61, 16] Operation: 58-42=16
Exploring Operation: 58+42=100, Resulting Numbers: [61, 100]
Generated Node #0,3,1: 73:[61, 100] Operation: 58+42=100
Exploring Operation: 42+61=103, Resulting Numbers: [58, 103]
Generated Node #0,3,2: 73:[58, 103] Operation: 42+61=103
Exploring Operation: 61-42=19, Resulting Numbers: [58, 19]
Generated Node #0,3,3: 73:[58, 19] Operation: 61-42=19
Moving to Node #0,1,0
Current State: 73:[79, 100], Operations: ['70+9=79', '58+42=100']
Exploring Operation: 79*100=7900, Resulting Numbers: [7900]
7900,73 unequal: No Solution
Exploring Operation: 79+100=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 100-79=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[61, 100], Operations: ['70-9=61', '58+42=100']
Exploring Operation: 61+100=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Exploring Operation: 61*100=6100, Resulting Numbers: [6100]
6100,73 unequal: No Solution
Exploring Operation: 100-61=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[70, 109], Operations: ['58+9=67', '42+67=109']
Exploring Operation: 70*109=7630, Resulting Numbers: [7630]
7630,73 unequal: No Solution
Exploring Operation: 109-70=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 70+109=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[70, 109], Operations: ['9+42=51', '58+51=109']
Exploring Operation: 70*109=7630, Resulting Numbers: [7630]
7630,73 unequal: No Solution
Exploring Operation: 109-70=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 70+109=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[58, 103], Operations: ['70-9=61', '42+61=103']
Exploring Operation: 58+103=161, Resulting Numbers: [161]
161,73 unequal: No Solution
Exploring Operation: 103-58=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 58*103=5974, Resulting Numbers: [5974]
5974,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[67, 112], Operations: ['58+9=67', '70+42=112']
Exploring Operation: 67+112=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 112-67=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 67*112=7504, Resulting Numbers: [7504]
7504,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[70, 25], Operations: ['58+9=67', '67-42=25']
Exploring Operation: 70+25=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 70*25=1750, Resulting Numbers: [1750]
1750,73 unequal: No Solution
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[58, 37], Operations: ['70+9=79', '79-42=37']
Exploring Operation: 58*37=2146, Resulting Numbers: [2146]
2146,73 unequal: No Solution
Exploring Operation: 58+37=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[67, 28], Operations: ['58+9=67', '70-42=28']
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,73 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[58, 121], Operations: ['70+9=79', '42+79=121']
Exploring Operation: 58+121=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Exploring Operation: 58*121=7018, Resulting Numbers: [7018]
7018,73 unequal: No Solution
Exploring Operation: 121-58=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[58, 121], Operations: ['9+42=51', '70+51=121']
Exploring Operation: 121-58=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 58*121=7018, Resulting Numbers: [7018]
7018,73 unequal: No Solution
Exploring Operation: 58+121=179, Resulting Numbers: [179]
179,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[79, 16], Operations: ['70+9=79', '58-42=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,73 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[70, 7], Operations: ['9+42=51', '58-51=7']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,73 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[61, 16], Operations: ['70-9=61', '58-42=16']
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,73 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 61*16=976, Resulting Numbers: [976]
976,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[58, 19], Operations: ['9+42=51', '70-51=19']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,73 unequal: No Solution
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[58, 19], Operations: ['70-9=61', '61-42=19']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,73 unequal: No Solution
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,73 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
27,
11,
55,
30
] | 41 | [
"27-11=16",
"55-30=25",
"16+25=41"
] | Current State: 41:[27, 11, 55, 30], Operations: []
Exploring Operation: 27-11=16, Resulting Numbers: [55, 30, 16]
Generated Node #2: [55, 30, 16] from Operation: 27-11=16
Current State: 41:[55, 30, 16], Operations: ['27-11=16']
Exploring Operation: 55-30=25, Resulting Numbers: [16, 25]
Generated Node #3: [16, 25] from Operation: 55-30=25
Current State: 41:[16, 25], Operations: ['27-11=16', '55-30=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[27, 11, 55, 30], Operations: []
Exploring Operation: 27+11=38, Resulting Numbers: [55, 30, 38]
Generated Node #0,0: 41:[55, 30, 38] Operation: 27+11=38
Exploring Operation: 11+55=66, Resulting Numbers: [27, 30, 66]
Generated Node #0,1: 41:[27, 30, 66] Operation: 11+55=66
Exploring Operation: 27-11=16, Resulting Numbers: [55, 30, 16]
Generated Node #0,2: 41:[55, 30, 16] Operation: 27-11=16
Exploring Operation: 11+30=41, Resulting Numbers: [27, 55, 41]
Generated Node #0,3: 41:[27, 55, 41] Operation: 11+30=41
Exploring Operation: 55-11=44, Resulting Numbers: [27, 30, 44]
Generated Node #0,4: 41:[27, 30, 44] Operation: 55-11=44
Moving to Node #0,0
Current State: 41:[55, 30, 38], Operations: ['27+11=38']
Exploring Operation: 38-30=8, Resulting Numbers: [55, 8]
Generated Node #0,0,0: 41:[55, 8] Operation: 38-30=8
Exploring Operation: 55-38=17, Resulting Numbers: [30, 17]
Generated Node #0,0,1: 41:[30, 17] Operation: 55-38=17
Exploring Operation: 55+30=85, Resulting Numbers: [38, 85]
Generated Node #0,0,2: 41:[38, 85] Operation: 55+30=85
Exploring Operation: 55-30=25, Resulting Numbers: [38, 25]
Generated Node #0,0,3: 41:[38, 25] Operation: 55-30=25
Exploring Operation: 30+38=68, Resulting Numbers: [55, 68]
Generated Node #0,0,4: 41:[55, 68] Operation: 30+38=68
Moving to Node #0,4
Current State: 41:[27, 30, 44], Operations: ['55-11=44']
Exploring Operation: 44-30=14, Resulting Numbers: [27, 14]
Generated Node #0,4,0: 41:[27, 14] Operation: 44-30=14
Exploring Operation: 30-27=3, Resulting Numbers: [44, 3]
Generated Node #0,4,1: 41:[44, 3] Operation: 30-27=3
Exploring Operation: 44-27=17, Resulting Numbers: [30, 17]
Generated Node #0,4,2: 41:[30, 17] Operation: 44-27=17
Exploring Operation: 27+30=57, Resulting Numbers: [44, 57]
Generated Node #0,4,3: 41:[44, 57] Operation: 27+30=57
Exploring Operation: 27+44=71, Resulting Numbers: [30, 71]
Generated Node #0,4,4: 41:[30, 71] Operation: 27+44=71
Moving to Node #0,3
Current State: 41:[27, 55, 41], Operations: ['11+30=41']
Exploring Operation: 27+55=82, Resulting Numbers: [41, 82]
Generated Node #0,3,0: 41:[41, 82] Operation: 27+55=82
Exploring Operation: 55-41=14, Resulting Numbers: [27, 14]
Generated Node #0,3,1: 41:[27, 14] Operation: 55-41=14
Exploring Operation: 27+41=68, Resulting Numbers: [55, 68]
Generated Node #0,3,2: 41:[55, 68] Operation: 27+41=68
Exploring Operation: 55-27=28, Resulting Numbers: [41, 28]
Generated Node #0,3,3: 41:[41, 28] Operation: 55-27=28
Exploring Operation: 41-27=14, Resulting Numbers: [55, 14]
Generated Node #0,3,4: 41:[55, 14] Operation: 41-27=14
Moving to Node #0,1
Current State: 41:[27, 30, 66], Operations: ['11+55=66']
Exploring Operation: 27+66=93, Resulting Numbers: [30, 93]
Generated Node #0,1,0: 41:[30, 93] Operation: 27+66=93
Exploring Operation: 66-30=36, Resulting Numbers: [27, 36]
Generated Node #0,1,1: 41:[27, 36] Operation: 66-30=36
Exploring Operation: 66-27=39, Resulting Numbers: [30, 39]
Generated Node #0,1,2: 41:[30, 39] Operation: 66-27=39
Exploring Operation: 27+30=57, Resulting Numbers: [66, 57]
Generated Node #0,1,3: 41:[66, 57] Operation: 27+30=57
Exploring Operation: 30-27=3, Resulting Numbers: [66, 3]
Generated Node #0,1,4: 41:[66, 3] Operation: 30-27=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[30, 39], Operations: ['11+55=66', '66-27=39']
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,41 unequal: No Solution
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[27, 36], Operations: ['11+55=66', '66-30=36']
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,41 unequal: No Solution
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,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,3
Current State: 41:[66, 57], Operations: ['11+55=66', '27+30=57']
Exploring Operation: 66+57=123, Resulting Numbers: [123]
123,41 unequal: No Solution
Exploring Operation: 66*57=3762, Resulting Numbers: [3762]
3762,41 unequal: No Solution
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,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,0
Current State: 41:[30, 93], Operations: ['11+55=66', '27+66=93']
Exploring Operation: 30+93=123, Resulting Numbers: [123]
123,41 unequal: No Solution
Exploring Operation: 30*93=2790, Resulting Numbers: [2790]
2790,41 unequal: No Solution
Exploring Operation: 93-30=63, Resulting Numbers: [63]
63,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,4
Current State: 41:[66, 3], Operations: ['11+55=66', '30-27=3']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 66*3=198, Resulting Numbers: [198]
198,41 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,41 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: 41:[55, 30, 16], Operations: ['27-11=16']
Exploring Operation: 30+16=46, Resulting Numbers: [55, 46]
Generated Node #0,2,0: 41:[55, 46] Operation: 30+16=46
Exploring Operation: 55+16=71, Resulting Numbers: [30, 71]
Generated Node #0,2,1: 41:[30, 71] Operation: 55+16=71
Exploring Operation: 30-16=14, Resulting Numbers: [55, 14]
Generated Node #0,2,2: 41:[55, 14] Operation: 30-16=14
Exploring Operation: 55-30=25, Resulting Numbers: [16, 25]
Generated Node #0,2,3: 41:[16, 25] Operation: 55-30=25
Exploring Operation: 55-16=39, Resulting Numbers: [30, 39]
Generated Node #0,2,4: 41:[30, 39] Operation: 55-16=39
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 41:[30, 39], Operations: ['27-11=16', '55-16=39']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[55, 46], Operations: ['27-11=16', '30+16=46']
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 55*46=2530, Resulting Numbers: [2530]
2530,41 unequal: No Solution
Exploring Operation: 55+46=101, Resulting Numbers: [101]
101,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[30, 71], Operations: ['27-11=16', '55+16=71']
Exploring Operation: 30*71=2130, Resulting Numbers: [2130]
2130,41 unequal: No Solution
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[27, 11, 55, 30], Operations: []
Exploring Operation: 27-11=16, Resulting Numbers: [55, 30, 16]
Generated Node #0,2: 41:[55, 30, 16] Operation: 27-11=16
Moving to Node #0,2
Current State: 41:[55, 30, 16], Operations: ['27-11=16']
Exploring Operation: 55+16=71, Resulting Numbers: [30, 71]
Generated Node #0,2,1: 41:[30, 71] Operation: 55+16=71
Moving to Node #0,2,1
Current State: 41:[30, 71], Operations: ['27-11=16', '55+16=71']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 | hs_5 | sum_heuristic |
[
88,
62,
64,
86
] | 48 | [
"88*62=5456",
"64*86=5504",
"5504-5456=48"
] | Current State: 48:[88, 62, 64, 86], Operations: []
Exploring Operation: 88*62=5456, Resulting Numbers: [64, 86, 5456]
Generated Node #2: [64, 86, 5456] from Operation: 88*62=5456
Current State: 48:[64, 86, 5456], Operations: ['88*62=5456']
Exploring Operation: 64*86=5504, Resulting Numbers: [5456, 5504]
Generated Node #3: [5456, 5504] from Operation: 64*86=5504
Current State: 48:[5456, 5504], Operations: ['88*62=5456', '64*86=5504']
Exploring Operation: 5504-5456=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[88, 62, 64, 86], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [88, 62, 22]
Generated Node #0,0: 48:[88, 62, 22] Operation: 86-64=22
Exploring Operation: 86-62=24, Resulting Numbers: [88, 64, 24]
Generated Node #0,1: 48:[88, 64, 24] Operation: 86-62=24
Exploring Operation: 88-62=26, Resulting Numbers: [64, 86, 26]
Generated Node #0,2: 48:[64, 86, 26] Operation: 88-62=26
Exploring Operation: 88-64=24, Resulting Numbers: [62, 86, 24]
Generated Node #0,3: 48:[62, 86, 24] Operation: 88-64=24
Exploring Operation: 88-86=2, Resulting Numbers: [62, 64, 2]
Generated Node #0,4: 48:[62, 64, 2] Operation: 88-86=2
Moving to Node #0,4
Current State: 48:[62, 64, 2], Operations: ['88-86=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62, 62]
Generated Node #0,4,0: 48:[62, 62] Operation: 64-2=62
Exploring Operation: 64-62=2, Resulting Numbers: [2, 2]
Generated Node #0,4,1: 48:[2, 2] Operation: 64-62=2
Exploring Operation: 64/2=32, Resulting Numbers: [62, 32]
Generated Node #0,4,2: 48:[62, 32] Operation: 64/2=32
Exploring Operation: 62/2=31, Resulting Numbers: [64, 31]
Generated Node #0,4,3: 48:[64, 31] Operation: 62/2=31
Exploring Operation: 62-2=60, Resulting Numbers: [64, 60]
Generated Node #0,4,4: 48:[64, 60] Operation: 62-2=60
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 48:[2, 2], Operations: ['88-86=2', '64-62=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 48:[62, 32], Operations: ['88-86=2', '64/2=32']
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 62*32=1984, Resulting Numbers: [1984]
1984,48 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 48:[64, 31], Operations: ['88-86=2', '62/2=31']
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,48 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,48 unequal: No Solution
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[62, 62], Operations: ['88-86=2', '64-2=62']
Exploring Operation: 62-62=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 62*62=3844, Resulting Numbers: [3844]
3844,48 unequal: No Solution
Exploring Operation: 62+62=124, Resulting Numbers: [124]
124,48 unequal: No Solution
Exploring Operation: 62/62=1, Resulting Numbers: [1]
1,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 48:[64, 60], Operations: ['88-86=2', '62-2=60']
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,48 unequal: No Solution
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,48 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: 48:[62, 86, 24], Operations: ['88-64=24']
Exploring Operation: 62+24=86, Resulting Numbers: [86, 86]
Generated Node #0,3,0: 48:[86, 86] Operation: 62+24=86
Exploring Operation: 62-24=38, Resulting Numbers: [86, 38]
Generated Node #0,3,1: 48:[86, 38] Operation: 62-24=38
Exploring Operation: 86-24=62, Resulting Numbers: [62, 62]
Generated Node #0,3,2: 48:[62, 62] Operation: 86-24=62
Exploring Operation: 86-62=24, Resulting Numbers: [24, 24]
Generated Node #0,3,3: 48:[24, 24] Operation: 86-62=24
Exploring Operation: 86+24=110, Resulting Numbers: [62, 110]
Generated Node #0,3,4: 48:[62, 110] Operation: 86+24=110
Moving to Node #0,0
Current State: 48:[88, 62, 22], Operations: ['86-64=22']
Exploring Operation: 62-22=40, Resulting Numbers: [88, 40]
Generated Node #0,0,0: 48:[88, 40] Operation: 62-22=40
Exploring Operation: 88-22=66, Resulting Numbers: [62, 66]
Generated Node #0,0,1: 48:[62, 66] Operation: 88-22=66
Exploring Operation: 88+22=110, Resulting Numbers: [62, 110]
Generated Node #0,0,2: 48:[62, 110] Operation: 88+22=110
Exploring Operation: 88/22=4, Resulting Numbers: [62, 4]
Generated Node #0,0,3: 48:[62, 4] Operation: 88/22=4
Exploring Operation: 88-62=26, Resulting Numbers: [22, 26]
Generated Node #0,0,4: 48:[22, 26] Operation: 88-62=26
Moving to Node #0,1
Current State: 48:[88, 64, 24], Operations: ['86-62=24']
Exploring Operation: 88+24=112, Resulting Numbers: [64, 112]
Generated Node #0,1,0: 48:[64, 112] Operation: 88+24=112
Exploring Operation: 64+24=88, Resulting Numbers: [88, 88]
Generated Node #0,1,1: 48:[88, 88] Operation: 64+24=88
Exploring Operation: 88-24=64, Resulting Numbers: [64, 64]
Generated Node #0,1,2: 48:[64, 64] Operation: 88-24=64
Exploring Operation: 64-24=40, Resulting Numbers: [88, 40]
Generated Node #0,1,3: 48:[88, 40] Operation: 64-24=40
Exploring Operation: 88-64=24, Resulting Numbers: [24, 24]
Generated Node #0,1,4: 48:[24, 24] Operation: 88-64=24
Moving to Node #0,2
Current State: 48:[64, 86, 26], Operations: ['88-62=26']
Exploring Operation: 64-26=38, Resulting Numbers: [86, 38]
Generated Node #0,2,0: 48:[86, 38] Operation: 64-26=38
Exploring Operation: 64+26=90, Resulting Numbers: [86, 90]
Generated Node #0,2,1: 48:[86, 90] Operation: 64+26=90
Exploring Operation: 86-64=22, Resulting Numbers: [26, 22]
Generated Node #0,2,2: 48:[26, 22] Operation: 86-64=22
Exploring Operation: 86-26=60, Resulting Numbers: [64, 60]
Generated Node #0,2,3: 48:[64, 60] Operation: 86-26=60
Exploring Operation: 86+26=112, Resulting Numbers: [64, 112]
Generated Node #0,2,4: 48:[64, 112] Operation: 86+26=112
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[26, 22], Operations: ['88-62=26', '86-64=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[88, 62, 64, 86], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [64, 86, 26]
Generated Node #0,2: 48:[64, 86, 26] Operation: 88-62=26
Moving to Node #0,2
Current State: 48:[64, 86, 26], Operations: ['88-62=26']
Exploring Operation: 86-64=22, Resulting Numbers: [26, 22]
Generated Node #0,2,2: 48:[26, 22] Operation: 86-64=22
Moving to Node #0,2,2
Current State: 48:[26, 22], Operations: ['88-62=26', '86-64=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_5 | mult_heuristic |
[
93,
42,
95,
72
] | 32 | [
"93+42=135",
"95+72=167",
"167-135=32"
] | Current State: 32:[93, 42, 95, 72], Operations: []
Exploring Operation: 93+42=135, Resulting Numbers: [95, 72, 135]
Generated Node #2: [95, 72, 135] from Operation: 93+42=135
Current State: 32:[95, 72, 135], Operations: ['93+42=135']
Exploring Operation: 95+72=167, Resulting Numbers: [135, 167]
Generated Node #3: [135, 167] from Operation: 95+72=167
Current State: 32:[135, 167], Operations: ['93+42=135', '95+72=167']
Exploring Operation: 167-135=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[93, 42, 95, 72], Operations: []
Exploring Operation: 95-72=23, Resulting Numbers: [93, 42, 23]
Generated Node #0,0: 32:[93, 42, 23] Operation: 95-72=23
Exploring Operation: 93-42=51, Resulting Numbers: [95, 72, 51]
Generated Node #0,1: 32:[95, 72, 51] Operation: 93-42=51
Exploring Operation: 93-72=21, Resulting Numbers: [42, 95, 21]
Generated Node #0,2: 32:[42, 95, 21] Operation: 93-72=21
Exploring Operation: 95-42=53, Resulting Numbers: [93, 72, 53]
Generated Node #0,3: 32:[93, 72, 53] Operation: 95-42=53
Exploring Operation: 95-93=2, Resulting Numbers: [42, 72, 2]
Generated Node #0,4: 32:[42, 72, 2] Operation: 95-93=2
Moving to Node #0,4
Current State: 32:[42, 72, 2], Operations: ['95-93=2']
Exploring Operation: 72-2=70, Resulting Numbers: [42, 70]
Generated Node #0,4,0: 32:[42, 70] Operation: 72-2=70
Exploring Operation: 42/2=21, Resulting Numbers: [72, 21]
Generated Node #0,4,1: 32:[72, 21] Operation: 42/2=21
Exploring Operation: 72/2=36, Resulting Numbers: [42, 36]
Generated Node #0,4,2: 32:[42, 36] Operation: 72/2=36
Exploring Operation: 42-2=40, Resulting Numbers: [72, 40]
Generated Node #0,4,3: 32:[72, 40] Operation: 42-2=40
Exploring Operation: 72-42=30, Resulting Numbers: [2, 30]
Generated Node #0,4,4: 32:[2, 30] Operation: 72-42=30
Moving to Node #0,2
Current State: 32:[42, 95, 21], Operations: ['93-72=21']
Exploring Operation: 42-21=21, Resulting Numbers: [95, 21]
Generated Node #0,2,0: 32:[95, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [95, 2]
Generated Node #0,2,1: 32:[95, 2] Operation: 42/21=2
Exploring Operation: 42+21=63, Resulting Numbers: [95, 63]
Generated Node #0,2,2: 32:[95, 63] Operation: 42+21=63
Exploring Operation: 95-21=74, Resulting Numbers: [42, 74]
Generated Node #0,2,3: 32:[42, 74] Operation: 95-21=74
Exploring Operation: 95-42=53, Resulting Numbers: [21, 53]
Generated Node #0,2,4: 32:[21, 53] Operation: 95-42=53
Moving to Node #0,0
Current State: 32:[93, 42, 23], Operations: ['95-72=23']
Exploring Operation: 42+23=65, Resulting Numbers: [93, 65]
Generated Node #0,0,0: 32:[93, 65] Operation: 42+23=65
Exploring Operation: 93-23=70, Resulting Numbers: [42, 70]
Generated Node #0,0,1: 32:[42, 70] Operation: 93-23=70
Exploring Operation: 93+23=116, Resulting Numbers: [42, 116]
Generated Node #0,0,2: 32:[42, 116] Operation: 93+23=116
Exploring Operation: 93-42=51, Resulting Numbers: [23, 51]
Generated Node #0,0,3: 32:[23, 51] Operation: 93-42=51
Exploring Operation: 42-23=19, Resulting Numbers: [93, 19]
Generated Node #0,0,4: 32:[93, 19] Operation: 42-23=19
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 32:[23, 51], Operations: ['95-72=23', '93-42=51']
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Exploring Operation: 23*51=1173, Resulting Numbers: [1173]
1173,32 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,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,1
Current State: 32:[42, 70], Operations: ['95-72=23', '93-23=70']
Exploring Operation: 42+70=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 42*70=2940, Resulting Numbers: [2940]
2940,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:[93, 19], Operations: ['95-72=23', '42-23=19']
Exploring Operation: 93-19=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Exploring Operation: 93+19=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 93*19=1767, Resulting Numbers: [1767]
1767,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:[93, 65], Operations: ['95-72=23', '42+23=65']
Exploring Operation: 93+65=158, Resulting Numbers: [158]
158,32 unequal: No Solution
Exploring Operation: 93*65=6045, Resulting Numbers: [6045]
6045,32 unequal: No Solution
Exploring Operation: 93-65=28, Resulting Numbers: [28]
28,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:[42, 116], Operations: ['95-72=23', '93+23=116']
Exploring Operation: 42+116=158, Resulting Numbers: [158]
158,32 unequal: No Solution
Exploring Operation: 42*116=4872, Resulting Numbers: [4872]
4872,32 unequal: No Solution
Exploring Operation: 116-42=74, Resulting Numbers: [74]
74,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:[95, 72, 51], Operations: ['93-42=51']
Exploring Operation: 95+51=146, Resulting Numbers: [72, 146]
Generated Node #0,1,0: 32:[72, 146] Operation: 95+51=146
Exploring Operation: 72-51=21, Resulting Numbers: [95, 21]
Generated Node #0,1,1: 32:[95, 21] Operation: 72-51=21
Exploring Operation: 95+72=167, Resulting Numbers: [51, 167]
Generated Node #0,1,2: 32:[51, 167] Operation: 95+72=167
Exploring Operation: 95-51=44, Resulting Numbers: [72, 44]
Generated Node #0,1,3: 32:[72, 44] Operation: 95-51=44
Exploring Operation: 95-72=23, Resulting Numbers: [51, 23]
Generated Node #0,1,4: 32:[51, 23] Operation: 95-72=23
Moving to Node #0,3
Current State: 32:[93, 72, 53], Operations: ['95-42=53']
Exploring Operation: 93+72=165, Resulting Numbers: [53, 165]
Generated Node #0,3,0: 32:[53, 165] Operation: 93+72=165
Exploring Operation: 93-53=40, Resulting Numbers: [72, 40]
Generated Node #0,3,1: 32:[72, 40] Operation: 93-53=40
Exploring Operation: 93+53=146, Resulting Numbers: [72, 146]
Generated Node #0,3,2: 32:[72, 146] Operation: 93+53=146
Exploring Operation: 93-72=21, Resulting Numbers: [53, 21]
Generated Node #0,3,3: 32:[53, 21] Operation: 93-72=21
Exploring Operation: 72-53=19, Resulting Numbers: [93, 19]
Generated Node #0,3,4: 32:[93, 19] Operation: 72-53=19
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 32:[53, 21], Operations: ['95-42=53', '93-72=21']
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[93, 42, 95, 72], Operations: []
Exploring Operation: 95-42=53, Resulting Numbers: [93, 72, 53]
Generated Node #0,3: 32:[93, 72, 53] Operation: 95-42=53
Moving to Node #0,3
Current State: 32:[93, 72, 53], Operations: ['95-42=53']
Exploring Operation: 93-72=21, Resulting Numbers: [53, 21]
Generated Node #0,3,3: 32:[53, 21] Operation: 93-72=21
Moving to Node #0,3,3
Current State: 32:[53, 21], Operations: ['95-42=53', '93-72=21']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_5 | mult_heuristic |
[
84,
33,
18,
22
] | 48 | [
"22-18=4",
"33*4=132",
"132-84=48"
] | Current State: 48:[84, 33, 18, 22], Operations: []
Exploring Operation: 22-18=4, Resulting Numbers: [84, 33, 4]
Generated Node #2: [84, 33, 4] from Operation: 22-18=4
Current State: 48:[84, 33, 4], Operations: ['22-18=4']
Exploring Operation: 33*4=132, Resulting Numbers: [84, 132]
Generated Node #3: [84, 132] from Operation: 33*4=132
Current State: 48:[84, 132], Operations: ['22-18=4', '33*4=132']
Exploring Operation: 132-84=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[84, 33, 18, 22], Operations: []
Exploring Operation: 84-22=62, Resulting Numbers: [33, 18, 62]
Generated Node #0,0: 48:[33, 18, 62] Operation: 84-22=62
Exploring Operation: 84-18=66, Resulting Numbers: [33, 22, 66]
Generated Node #0,1: 48:[33, 22, 66] Operation: 84-18=66
Exploring Operation: 84-33=51, Resulting Numbers: [18, 22, 51]
Generated Node #0,2: 48:[18, 22, 51] Operation: 84-33=51
Moving to Node #0,2
Current State: 48:[18, 22, 51], Operations: ['84-33=51']
Exploring Operation: 51-22=29, Resulting Numbers: [18, 29]
Generated Node #0,2,0: 48:[18, 29] Operation: 51-22=29
Exploring Operation: 18+22=40, Resulting Numbers: [51, 40]
Generated Node #0,2,1: 48:[51, 40] Operation: 18+22=40
Exploring Operation: 22-18=4, Resulting Numbers: [51, 4]
Generated Node #0,2,2: 48:[51, 4] Operation: 22-18=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[51, 4], Operations: ['84-33=51', '22-18=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,48 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[18, 29], Operations: ['84-33=51', '51-22=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,48 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[51, 40], Operations: ['84-33=51', '18+22=40']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,48 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,48 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: 48:[33, 18, 62], Operations: ['84-22=62']
Exploring Operation: 62-33=29, Resulting Numbers: [18, 29]
Generated Node #0,0,0: 48:[18, 29] Operation: 62-33=29
Exploring Operation: 33-18=15, Resulting Numbers: [62, 15]
Generated Node #0,0,1: 48:[62, 15] Operation: 33-18=15
Exploring Operation: 62-18=44, Resulting Numbers: [33, 44]
Generated Node #0,0,2: 48:[33, 44] Operation: 62-18=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[18, 29], Operations: ['84-22=62', '62-33=29']
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,48 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[33, 44], Operations: ['84-22=62', '62-18=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,48 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[62, 15], Operations: ['84-22=62', '33-18=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,48 unequal: No Solution
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,48 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: 48:[33, 22, 66], Operations: ['84-18=66']
Exploring Operation: 66/33=2, Resulting Numbers: [22, 2]
Generated Node #0,1,0: 48:[22, 2] Operation: 66/33=2
Exploring Operation: 66/22=3, Resulting Numbers: [33, 3]
Generated Node #0,1,1: 48:[33, 3] Operation: 66/22=3
Exploring Operation: 66-33=33, Resulting Numbers: [22, 33]
Generated Node #0,1,2: 48:[22, 33] Operation: 66-33=33
Moving to Node #0,1,0
Current State: 48:[22, 2], Operations: ['84-18=66', '66/33=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[33, 3], Operations: ['84-18=66', '66/22=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[22, 33], Operations: ['84-18=66', '66-33=33']
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,48 unequal: No Solution
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,48 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
5,
54,
97,
73
] | 66 | [
"97-73=24",
"5*24=120",
"120-54=66"
] | Current State: 66:[5, 54, 97, 73], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [5, 54, 24]
Generated Node #2: [5, 54, 24] from Operation: 97-73=24
Current State: 66:[5, 54, 24], Operations: ['97-73=24']
Exploring Operation: 5*24=120, Resulting Numbers: [54, 120]
Generated Node #3: [54, 120] from Operation: 5*24=120
Current State: 66:[54, 120], Operations: ['97-73=24', '5*24=120']
Exploring Operation: 120-54=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[5, 54, 97, 73], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [5, 54, 24]
Generated Node #0,0: 66:[5, 54, 24] Operation: 97-73=24
Exploring Operation: 97-54=43, Resulting Numbers: [5, 73, 43]
Generated Node #0,1: 66:[5, 73, 43] Operation: 97-54=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[5, 54, 24], Operations: ['97-73=24']
Exploring Operation: 54-24=30, Resulting Numbers: [5, 30]
Generated Node #0,0,0: 66:[5, 30] Operation: 54-24=30
Exploring Operation: 5+54=59, Resulting Numbers: [24, 59]
Generated Node #0,0,1: 66:[24, 59] Operation: 5+54=59
Moving to Node #0,0,0
Current State: 66:[5, 30], Operations: ['97-73=24', '54-24=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[24, 59], Operations: ['97-73=24', '5+54=59']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[5, 73, 43], Operations: ['97-54=43']
Exploring Operation: 73-5=68, Resulting Numbers: [43, 68]
Generated Node #0,1,0: 66:[43, 68] Operation: 73-5=68
Exploring Operation: 73-43=30, Resulting Numbers: [5, 30]
Generated Node #0,1,1: 66:[5, 30] Operation: 73-43=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[5, 30], Operations: ['97-54=43', '73-43=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[43, 68], Operations: ['97-54=43', '73-5=68']
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,66 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
64,
63,
48
] | 57 | [
"64-57=7",
"63/7=9",
"48+9=57"
] | Current State: 57:[57, 64, 63, 48], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [63, 48, 7]
Generated Node #2: [63, 48, 7] from Operation: 64-57=7
Current State: 57:[63, 48, 7], Operations: ['64-57=7']
Exploring Operation: 63/7=9, Resulting Numbers: [48, 9]
Generated Node #3: [48, 9] from Operation: 63/7=9
Current State: 57:[48, 9], Operations: ['64-57=7', '63/7=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[57, 64, 63, 48], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [63, 48, 7]
Generated Node #0,0: 57:[63, 48, 7] Operation: 64-57=7
Exploring Operation: 64-48=16, Resulting Numbers: [57, 63, 16]
Generated Node #0,1: 57:[57, 63, 16] Operation: 64-48=16
Exploring Operation: 63-48=15, Resulting Numbers: [57, 64, 15]
Generated Node #0,2: 57:[57, 64, 15] Operation: 63-48=15
Exploring Operation: 64-63=1, Resulting Numbers: [57, 48, 1]
Generated Node #0,3: 57:[57, 48, 1] Operation: 64-63=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[57, 63, 16], Operations: ['64-48=16']
Exploring Operation: 57+16=73, Resulting Numbers: [63, 73]
Generated Node #0,1,0: 57:[63, 73] Operation: 57+16=73
Exploring Operation: 57-16=41, Resulting Numbers: [63, 41]
Generated Node #0,1,1: 57:[63, 41] Operation: 57-16=41
Exploring Operation: 63-57=6, Resulting Numbers: [16, 6]
Generated Node #0,1,2: 57:[16, 6] Operation: 63-57=6
Exploring Operation: 63-16=47, Resulting Numbers: [57, 47]
Generated Node #0,1,3: 57:[57, 47] Operation: 63-16=47
Moving to Node #0,1,2
Current State: 57:[16, 6], Operations: ['64-48=16', '63-57=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[57, 47], Operations: ['64-48=16', '63-16=47']
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 57*47=2679, Resulting Numbers: [2679]
2679,57 unequal: No Solution
Exploring Operation: 57+47=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[63, 41], Operations: ['64-48=16', '57-16=41']
Exploring Operation: 63*41=2583, Resulting Numbers: [2583]
2583,57 unequal: No Solution
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 63+41=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[63, 73], Operations: ['64-48=16', '57+16=73']
Exploring Operation: 63*73=4599, Resulting Numbers: [4599]
4599,57 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 63+73=136, Resulting Numbers: [136]
136,57 unequal: No Solution
No 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:[57, 64, 15], Operations: ['63-48=15']
Exploring Operation: 57+15=72, Resulting Numbers: [64, 72]
Generated Node #0,2,0: 57:[64, 72] Operation: 57+15=72
Exploring Operation: 64-57=7, Resulting Numbers: [15, 7]
Generated Node #0,2,1: 57:[15, 7] Operation: 64-57=7
Exploring Operation: 64-15=49, Resulting Numbers: [57, 49]
Generated Node #0,2,2: 57:[57, 49] Operation: 64-15=49
Exploring Operation: 57-15=42, Resulting Numbers: [64, 42]
Generated Node #0,2,3: 57:[64, 42] Operation: 57-15=42
Moving to Node #0,2,1
Current State: 57:[15, 7], Operations: ['63-48=15', '64-57=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,57 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[57, 49], Operations: ['63-48=15', '64-15=49']
Exploring Operation: 57*49=2793, Resulting Numbers: [2793]
2793,57 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 57+49=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[64, 42], Operations: ['63-48=15', '57-15=42']
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[64, 72], Operations: ['63-48=15', '57+15=72']
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,57 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,57 unequal: No Solution
No 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: 57:[57, 48, 1], Operations: ['64-63=1']
Exploring Operation: 57-48=9, Resulting Numbers: [1, 9]
Generated Node #0,3,0: 57:[1, 9] Operation: 57-48=9
Exploring Operation: 57*1=57, Resulting Numbers: [48, 57]
Generated Node #0,3,1: 57:[48, 57] Operation: 57*1=57
Exploring Operation: 57/1=57, Resulting Numbers: [48, 57]
Generated Node #0,3,2: 57:[48, 57] Operation: 57/1=57
Exploring Operation: 48+1=49, Resulting Numbers: [57, 49]
Generated Node #0,3,3: 57:[57, 49] Operation: 48+1=49
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[1, 9], Operations: ['64-63=1', '57-48=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,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,3,3
Current State: 57:[57, 49], Operations: ['64-63=1', '48+1=49']
Exploring Operation: 57*49=2793, Resulting Numbers: [2793]
2793,57 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 57+49=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,3,1
Current State: 57:[48, 57], Operations: ['64-63=1', '57*1=57']
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,57 unequal: No Solution
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,57 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,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,3,2
Current State: 57:[48, 57], Operations: ['64-63=1', '57/1=57']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,57 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,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,0
Current State: 57:[63, 48, 7], Operations: ['64-57=7']
Exploring Operation: 63-7=56, Resulting Numbers: [48, 56]
Generated Node #0,0,0: 57:[48, 56] Operation: 63-7=56
Exploring Operation: 63/7=9, Resulting Numbers: [48, 9]
Generated Node #0,0,1: 57:[48, 9] Operation: 63/7=9
Exploring Operation: 48+7=55, Resulting Numbers: [63, 55]
Generated Node #0,0,2: 57:[63, 55] Operation: 48+7=55
Exploring Operation: 63-48=15, Resulting Numbers: [7, 15]
Generated Node #0,0,3: 57:[7, 15] Operation: 63-48=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[63, 55], Operations: ['64-57=7', '48+7=55']
Exploring Operation: 63+55=118, Resulting Numbers: [118]
118,57 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 63*55=3465, Resulting Numbers: [3465]
3465,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,3
Current State: 57:[7, 15], Operations: ['64-57=7', '63-48=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,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:[48, 56], Operations: ['64-57=7', '63-7=56']
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,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:[48, 9], Operations: ['64-57=7', '63/7=9']
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,57 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[57, 64, 63, 48], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [63, 48, 7]
Generated Node #0,0: 57:[63, 48, 7] Operation: 64-57=7
Moving to Node #0,0
Current State: 57:[63, 48, 7], Operations: ['64-57=7']
Exploring Operation: 63/7=9, Resulting Numbers: [48, 9]
Generated Node #0,0,1: 57:[48, 9] Operation: 63/7=9
Moving to Node #0,0,1
Current State: 57:[48, 9], Operations: ['64-57=7', '63/7=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.936632 | hs_4 | sum_heuristic |
[
82,
94,
11,
65
] | 88 | [
"94-82=12",
"11+65=76",
"12+76=88"
] | Current State: 88:[82, 94, 11, 65], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [11, 65, 12]
Generated Node #2: [11, 65, 12] from Operation: 94-82=12
Current State: 88:[11, 65, 12], Operations: ['94-82=12']
Exploring Operation: 11+65=76, Resulting Numbers: [12, 76]
Generated Node #3: [12, 76] from Operation: 11+65=76
Current State: 88:[12, 76], Operations: ['94-82=12', '11+65=76']
Exploring Operation: 12+76=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[82, 94, 11, 65], Operations: []
Exploring Operation: 82-65=17, Resulting Numbers: [94, 11, 17]
Generated Node #0,0: 88:[94, 11, 17] Operation: 82-65=17
Exploring Operation: 94-65=29, Resulting Numbers: [82, 11, 29]
Generated Node #0,1: 88:[82, 11, 29] Operation: 94-65=29
Exploring Operation: 65-11=54, Resulting Numbers: [82, 94, 54]
Generated Node #0,2: 88:[82, 94, 54] Operation: 65-11=54
Exploring Operation: 94-82=12, Resulting Numbers: [11, 65, 12]
Generated Node #0,3: 88:[11, 65, 12] Operation: 94-82=12
Moving to Node #0,0
Current State: 88:[94, 11, 17], Operations: ['82-65=17']
Exploring Operation: 11+17=28, Resulting Numbers: [94, 28]
Generated Node #0,0,0: 88:[94, 28] Operation: 11+17=28
Exploring Operation: 94-11=83, Resulting Numbers: [17, 83]
Generated Node #0,0,1: 88:[17, 83] Operation: 94-11=83
Exploring Operation: 17-11=6, Resulting Numbers: [94, 6]
Generated Node #0,0,2: 88:[94, 6] Operation: 17-11=6
Exploring Operation: 94-17=77, Resulting Numbers: [11, 77]
Generated Node #0,0,3: 88:[11, 77] Operation: 94-17=77
Moving to Node #0,1
Current State: 88:[82, 11, 29], Operations: ['94-65=29']
Exploring Operation: 82+11=93, Resulting Numbers: [29, 93]
Generated Node #0,1,0: 88:[29, 93] Operation: 82+11=93
Exploring Operation: 11+29=40, Resulting Numbers: [82, 40]
Generated Node #0,1,1: 88:[82, 40] Operation: 11+29=40
Exploring Operation: 82-29=53, Resulting Numbers: [11, 53]
Generated Node #0,1,2: 88:[11, 53] Operation: 82-29=53
Exploring Operation: 29-11=18, Resulting Numbers: [82, 18]
Generated Node #0,1,3: 88:[82, 18] Operation: 29-11=18
Moving to Node #0,3
Current State: 88:[11, 65, 12], Operations: ['94-82=12']
Exploring Operation: 65-12=53, Resulting Numbers: [11, 53]
Generated Node #0,3,0: 88:[11, 53] Operation: 65-12=53
Exploring Operation: 11+65=76, Resulting Numbers: [12, 76]
Generated Node #0,3,1: 88:[12, 76] Operation: 11+65=76
Exploring Operation: 65-11=54, Resulting Numbers: [12, 54]
Generated Node #0,3,2: 88:[12, 54] Operation: 65-11=54
Exploring Operation: 65+12=77, Resulting Numbers: [11, 77]
Generated Node #0,3,3: 88:[11, 77] Operation: 65+12=77
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[11, 53], Operations: ['94-82=12', '65-12=53']
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,88 unequal: No Solution
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,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:[12, 54], Operations: ['94-82=12', '65-11=54']
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,88 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 12+54=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,3
Current State: 88:[11, 77], Operations: ['94-82=12', '65+12=77']
Exploring Operation: 11+77=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[82, 94, 11, 65], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [11, 65, 12]
Generated Node #0,3: 88:[11, 65, 12] Operation: 94-82=12
Moving to Node #0,3
Current State: 88:[11, 65, 12], Operations: ['94-82=12']
Exploring Operation: 65+12=77, Resulting Numbers: [11, 77]
Generated Node #0,3,3: 88:[11, 77] Operation: 65+12=77
Moving to Node #0,3,3
Current State: 88:[11, 77], Operations: ['94-82=12', '65+12=77']
Exploring Operation: 11+77=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | mult_heuristic |
[
17,
53,
74,
4
] | 70 | [
"53-17=36",
"4*36=144",
"144-74=70"
] | Current State: 70:[17, 53, 74, 4], Operations: []
Exploring Operation: 53-17=36, Resulting Numbers: [74, 4, 36]
Generated Node #2: [74, 4, 36] from Operation: 53-17=36
Current State: 70:[74, 4, 36], Operations: ['53-17=36']
Exploring Operation: 4*36=144, Resulting Numbers: [74, 144]
Generated Node #3: [74, 144] from Operation: 4*36=144
Current State: 70:[74, 144], Operations: ['53-17=36', '4*36=144']
Exploring Operation: 144-74=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[17, 53, 74, 4], Operations: []
Exploring Operation: 74-53=21, Resulting Numbers: [17, 4, 21]
Generated Node #0,0: 70:[17, 4, 21] Operation: 74-53=21
Exploring Operation: 17+53=70, Resulting Numbers: [74, 4, 70]
Generated Node #0,1: 70:[74, 4, 70] Operation: 17+53=70
Exploring Operation: 53+4=57, Resulting Numbers: [17, 74, 57]
Generated Node #0,2: 70:[17, 74, 57] Operation: 53+4=57
Exploring Operation: 53-17=36, Resulting Numbers: [74, 4, 36]
Generated Node #0,3: 70:[74, 4, 36] Operation: 53-17=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[74, 4, 70], Operations: ['17+53=70']
Exploring Operation: 74+4=78, Resulting Numbers: [70, 78]
Generated Node #0,1,0: 70:[70, 78] Operation: 74+4=78
Exploring Operation: 4+70=74, Resulting Numbers: [74, 74]
Generated Node #0,1,1: 70:[74, 74] Operation: 4+70=74
Exploring Operation: 74-70=4, Resulting Numbers: [4, 4]
Generated Node #0,1,2: 70:[4, 4] Operation: 74-70=4
Exploring Operation: 74-4=70, Resulting Numbers: [70, 70]
Generated Node #0,1,3: 70:[70, 70] Operation: 74-4=70
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[70, 70], Operations: ['17+53=70', '74-4=70']
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 70*70=4900, Resulting Numbers: [4900]
4900,70 unequal: No Solution
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[4, 4], Operations: ['17+53=70', '74-70=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[70, 78], Operations: ['17+53=70', '74+4=78']
Exploring Operation: 70*78=5460, Resulting Numbers: [5460]
5460,70 unequal: No Solution
Exploring Operation: 70+78=148, Resulting Numbers: [148]
148,70 unequal: No Solution
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[74, 74], Operations: ['17+53=70', '4+70=74']
Exploring Operation: 74+74=148, Resulting Numbers: [148]
148,70 unequal: No Solution
Exploring Operation: 74-74=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 74*74=5476, Resulting Numbers: [5476]
5476,70 unequal: No Solution
Exploring Operation: 74/74=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[74, 4, 36], Operations: ['53-17=36']
Exploring Operation: 74-4=70, Resulting Numbers: [36, 70]
Generated Node #0,3,0: 70:[36, 70] Operation: 74-4=70
Exploring Operation: 36-4=32, Resulting Numbers: [74, 32]
Generated Node #0,3,1: 70:[74, 32] Operation: 36-4=32
Exploring Operation: 74-36=38, Resulting Numbers: [4, 38]
Generated Node #0,3,2: 70:[4, 38] Operation: 74-36=38
Exploring Operation: 36/4=9, Resulting Numbers: [74, 9]
Generated Node #0,3,3: 70:[74, 9] Operation: 36/4=9
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[36, 70], Operations: ['53-17=36', '74-4=70']
Exploring Operation: 36+70=106, Resulting Numbers: [106]
106,70 unequal: No Solution
Exploring Operation: 36*70=2520, Resulting Numbers: [2520]
2520,70 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[4, 38], Operations: ['53-17=36', '74-36=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[74, 9], Operations: ['53-17=36', '36/4=9']
Exploring Operation: 74*9=666, Resulting Numbers: [666]
666,70 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 74+9=83, Resulting Numbers: [83]
83,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[74, 32], Operations: ['53-17=36', '36-4=32']
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,70 unequal: No Solution
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,70 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[17, 4, 21], Operations: ['74-53=21']
Exploring Operation: 17-4=13, Resulting Numbers: [21, 13]
Generated Node #0,0,0: 70:[21, 13] Operation: 17-4=13
Exploring Operation: 17+21=38, Resulting Numbers: [4, 38]
Generated Node #0,0,1: 70:[4, 38] Operation: 17+21=38
Exploring Operation: 21-4=17, Resulting Numbers: [17, 17]
Generated Node #0,0,2: 70:[17, 17] Operation: 21-4=17
Exploring Operation: 21-17=4, Resulting Numbers: [4, 4]
Generated Node #0,0,3: 70:[4, 4] Operation: 21-17=4
Moving to Node #0,0,3
Current State: 70:[4, 4], Operations: ['74-53=21', '21-17=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[4, 38], Operations: ['74-53=21', '17+21=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[17, 17], Operations: ['74-53=21', '21-4=17']
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 17*17=289, Resulting Numbers: [289]
289,70 unequal: No Solution
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[21, 13], Operations: ['74-53=21', '17-4=13']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,70 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[17, 74, 57], Operations: ['53+4=57']
Exploring Operation: 17+57=74, Resulting Numbers: [74, 74]
Generated Node #0,2,0: 70:[74, 74] Operation: 17+57=74
Exploring Operation: 74-57=17, Resulting Numbers: [17, 17]
Generated Node #0,2,1: 70:[17, 17] Operation: 74-57=17
Exploring Operation: 74-17=57, Resulting Numbers: [57, 57]
Generated Node #0,2,2: 70:[57, 57] Operation: 74-17=57
Exploring Operation: 57-17=40, Resulting Numbers: [74, 40]
Generated Node #0,2,3: 70:[74, 40] Operation: 57-17=40
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[17, 17], Operations: ['53+4=57', '74-57=17']
Exploring Operation: 17*17=289, Resulting Numbers: [289]
289,70 unequal: No Solution
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[74, 74], Operations: ['53+4=57', '17+57=74']
Exploring Operation: 74/74=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 74-74=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 74+74=148, Resulting Numbers: [148]
148,70 unequal: No Solution
Exploring Operation: 74*74=5476, Resulting Numbers: [5476]
5476,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[74, 40], Operations: ['53+4=57', '57-17=40']
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,70 unequal: No Solution
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[57, 57], Operations: ['53+4=57', '74-17=57']
Exploring Operation: 57/57=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 57+57=114, Resulting Numbers: [114]
114,70 unequal: No Solution
Exploring Operation: 57*57=3249, Resulting Numbers: [3249]
3249,70 unequal: No Solution
Exploring Operation: 57-57=0, Resulting Numbers: [0]
0,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
6,
47,
31,
89
] | 50 | [
"6*31=186",
"47+89=136",
"186-136=50"
] | Current State: 50:[6, 47, 31, 89], Operations: []
Exploring Operation: 6*31=186, Resulting Numbers: [47, 89, 186]
Generated Node #2: [47, 89, 186] from Operation: 6*31=186
Current State: 50:[47, 89, 186], Operations: ['6*31=186']
Exploring Operation: 47+89=136, Resulting Numbers: [186, 136]
Generated Node #3: [186, 136] from Operation: 47+89=136
Current State: 50:[186, 136], Operations: ['6*31=186', '47+89=136']
Exploring Operation: 186-136=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[6, 47, 31, 89], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [6, 31, 42]
Generated Node #0,0: 50:[6, 31, 42] Operation: 89-47=42
Exploring Operation: 89-31=58, Resulting Numbers: [6, 47, 58]
Generated Node #0,1: 50:[6, 47, 58] Operation: 89-31=58
Exploring Operation: 31-6=25, Resulting Numbers: [47, 89, 25]
Generated Node #0,2: 50:[47, 89, 25] Operation: 31-6=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[6, 47, 58], Operations: ['89-31=58']
Exploring Operation: 58-47=11, Resulting Numbers: [6, 11]
Generated Node #0,1,0: 50:[6, 11] Operation: 58-47=11
Exploring Operation: 58-6=52, Resulting Numbers: [47, 52]
Generated Node #0,1,1: 50:[47, 52] Operation: 58-6=52
Exploring Operation: 6+47=53, Resulting Numbers: [58, 53]
Generated Node #0,1,2: 50:[58, 53] Operation: 6+47=53
Moving to Node #0,1,0
Current State: 50:[6, 11], Operations: ['89-31=58', '58-47=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,50 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[47, 52], Operations: ['89-31=58', '58-6=52']
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,50 unequal: No Solution
Exploring Operation: 47*52=2444, Resulting Numbers: [2444]
2444,50 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[58, 53], Operations: ['89-31=58', '6+47=53']
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 58+53=111, Resulting Numbers: [111]
111,50 unequal: No Solution
Exploring Operation: 58*53=3074, Resulting Numbers: [3074]
3074,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
Current State: 50:[6, 31, 42], Operations: ['89-47=42']
Exploring Operation: 31-6=25, Resulting Numbers: [42, 25]
Generated Node #0,0,0: 50:[42, 25] Operation: 31-6=25
Exploring Operation: 42-31=11, Resulting Numbers: [6, 11]
Generated Node #0,0,1: 50:[6, 11] Operation: 42-31=11
Exploring Operation: 6+42=48, Resulting Numbers: [31, 48]
Generated Node #0,0,2: 50:[31, 48] Operation: 6+42=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[6, 11], Operations: ['89-47=42', '42-31=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,50 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[42, 25], Operations: ['89-47=42', '31-6=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[31, 48], Operations: ['89-47=42', '6+42=48']
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 31*48=1488, Resulting Numbers: [1488]
1488,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[47, 89, 25], Operations: ['31-6=25']
Exploring Operation: 89-47=42, Resulting Numbers: [25, 42]
Generated Node #0,2,0: 50:[25, 42] Operation: 89-47=42
Exploring Operation: 47-25=22, Resulting Numbers: [89, 22]
Generated Node #0,2,1: 50:[89, 22] Operation: 47-25=22
Exploring Operation: 89-25=64, Resulting Numbers: [47, 64]
Generated Node #0,2,2: 50:[47, 64] Operation: 89-25=64
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 50:[25, 42], Operations: ['31-6=25', '89-47=42']
Exploring Operation: 25*42=1050, Resulting Numbers: [1050]
1050,50 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 50:[47, 64], Operations: ['31-6=25', '89-25=64']
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,50 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 47*64=3008, Resulting Numbers: [3008]
3008,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 50:[89, 22], Operations: ['31-6=25', '47-25=22']
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,50 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
62,
30,
12,
67
] | 23 | [
"62-30=32",
"67-12=55",
"55-32=23"
] | Current State: 23:[62, 30, 12, 67], Operations: []
Exploring Operation: 62-30=32, Resulting Numbers: [12, 67, 32]
Generated Node #2: [12, 67, 32] from Operation: 62-30=32
Current State: 23:[12, 67, 32], Operations: ['62-30=32']
Exploring Operation: 67-12=55, Resulting Numbers: [32, 55]
Generated Node #3: [32, 55] from Operation: 67-12=55
Current State: 23:[32, 55], Operations: ['62-30=32', '67-12=55']
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[62, 30, 12, 67], Operations: []
Exploring Operation: 67-62=5, Resulting Numbers: [30, 12, 5]
Generated Node #0,0: 23:[30, 12, 5] Operation: 67-62=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[30, 12, 5], Operations: ['67-62=5']
Exploring Operation: 30-5=25, Resulting Numbers: [12, 25]
Generated Node #0,0,0: 23:[12, 25] Operation: 30-5=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[12, 25], Operations: ['67-62=5', '30-5=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,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_1 | mult_heuristic |
[
96,
64,
36,
90
] | 58 | [
"96-90=6",
"36/6=6",
"64-6=58"
] | Current State: 58:[96, 64, 36, 90], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [64, 36, 6]
Generated Node #2: [64, 36, 6] from Operation: 96-90=6
Current State: 58:[64, 36, 6], Operations: ['96-90=6']
Exploring Operation: 36/6=6, Resulting Numbers: [64, 6]
Generated Node #3: [64, 6] from Operation: 36/6=6
Current State: 58:[64, 6], Operations: ['96-90=6', '36/6=6']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[96, 64, 36, 90], Operations: []
Exploring Operation: 96-64=32, Resulting Numbers: [36, 90, 32]
Generated Node #0,0: 58:[36, 90, 32] Operation: 96-64=32
Exploring Operation: 96-36=60, Resulting Numbers: [64, 90, 60]
Generated Node #0,1: 58:[64, 90, 60] Operation: 96-36=60
Exploring Operation: 96-90=6, Resulting Numbers: [64, 36, 6]
Generated Node #0,2: 58:[64, 36, 6] Operation: 96-90=6
Moving to Node #0,2
Current State: 58:[64, 36, 6], Operations: ['96-90=6']
Exploring Operation: 64-36=28, Resulting Numbers: [6, 28]
Generated Node #0,2,0: 58:[6, 28] Operation: 64-36=28
Exploring Operation: 64-6=58, Resulting Numbers: [36, 58]
Generated Node #0,2,1: 58:[36, 58] Operation: 64-6=58
Exploring Operation: 36-6=30, Resulting Numbers: [64, 30]
Generated Node #0,2,2: 58:[64, 30] Operation: 36-6=30
Moving to Node #0,1
Current State: 58:[64, 90, 60], Operations: ['96-36=60']
Exploring Operation: 90-60=30, Resulting Numbers: [64, 30]
Generated Node #0,1,0: 58:[64, 30] Operation: 90-60=30
Exploring Operation: 90-64=26, Resulting Numbers: [60, 26]
Generated Node #0,1,1: 58:[60, 26] Operation: 90-64=26
Exploring Operation: 64-60=4, Resulting Numbers: [90, 4]
Generated Node #0,1,2: 58:[90, 4] Operation: 64-60=4
Moving to Node #0,0
Current State: 58:[36, 90, 32], Operations: ['96-64=32']
Exploring Operation: 36-32=4, Resulting Numbers: [90, 4]
Generated Node #0,0,0: 58:[90, 4] Operation: 36-32=4
Exploring Operation: 90-32=58, Resulting Numbers: [36, 58]
Generated Node #0,0,1: 58:[36, 58] Operation: 90-32=58
Exploring Operation: 90-36=54, Resulting Numbers: [32, 54]
Generated Node #0,0,2: 58:[32, 54] Operation: 90-36=54
Moving to Node #0,2,0
Current State: 58:[6, 28], Operations: ['96-90=6', '64-36=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,58 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[60, 26], Operations: ['96-36=60', '90-64=26']
Exploring Operation: 60*26=1560, Resulting Numbers: [1560]
1560,58 unequal: No Solution
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[64, 30], Operations: ['96-90=6', '36-6=30']
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,58 unequal: No Solution
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,58 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[36, 58], Operations: ['96-64=32', '90-32=58']
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,58 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[32, 54], Operations: ['96-64=32', '90-36=54']
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,58 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[64, 30], Operations: ['96-36=60', '90-60=30']
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,58 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[36, 58], Operations: ['96-90=6', '64-6=58']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,58 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[90, 4], Operations: ['96-64=32', '36-32=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,58 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[90, 4], Operations: ['96-36=60', '64-60=4']
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,58 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,58 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
6,
18,
94,
20
] | 50 | [
"6+18=24",
"94-20=74",
"74-24=50"
] | Current State: 50:[6, 18, 94, 20], Operations: []
Exploring Operation: 6+18=24, Resulting Numbers: [94, 20, 24]
Generated Node #2: [94, 20, 24] from Operation: 6+18=24
Current State: 50:[94, 20, 24], Operations: ['6+18=24']
Exploring Operation: 94-20=74, Resulting Numbers: [24, 74]
Generated Node #3: [24, 74] from Operation: 94-20=74
Current State: 50:[24, 74], Operations: ['6+18=24', '94-20=74']
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[6, 18, 94, 20], Operations: []
Exploring Operation: 94-18=76, Resulting Numbers: [6, 20, 76]
Generated Node #0,0: 50:[6, 20, 76] Operation: 94-18=76
Exploring Operation: 94-20=74, Resulting Numbers: [6, 18, 74]
Generated Node #0,1: 50:[6, 18, 74] Operation: 94-20=74
Exploring Operation: 20-18=2, Resulting Numbers: [6, 94, 2]
Generated Node #0,2: 50:[6, 94, 2] Operation: 20-18=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[6, 20, 76], Operations: ['94-18=76']
Exploring Operation: 6+20=26, Resulting Numbers: [76, 26]
Generated Node #0,0,0: 50:[76, 26] Operation: 6+20=26
Exploring Operation: 76-6=70, Resulting Numbers: [20, 70]
Generated Node #0,0,1: 50:[20, 70] Operation: 76-6=70
Exploring Operation: 76-20=56, Resulting Numbers: [6, 56]
Generated Node #0,0,2: 50:[6, 56] Operation: 76-20=56
Moving to Node #0,0,2
Current State: 50:[6, 56], Operations: ['94-18=76', '76-20=56']
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,50 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,50 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[6, 18, 94, 20], Operations: []
Exploring Operation: 94-18=76, Resulting Numbers: [6, 20, 76]
Generated Node #0,0: 50:[6, 20, 76] Operation: 94-18=76
Moving to Node #0,0
Current State: 50:[6, 20, 76], Operations: ['94-18=76']
Exploring Operation: 76-20=56, Resulting Numbers: [6, 56]
Generated Node #0,0,2: 50:[6, 56] Operation: 76-20=56
Moving to Node #0,0,2
Current State: 50:[6, 56], Operations: ['94-18=76', '76-20=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
34,
12,
9,
20
] | 51 | [
"34-12=22",
"9+20=29",
"22+29=51"
] | Current State: 51:[34, 12, 9, 20], Operations: []
Exploring Operation: 34-12=22, Resulting Numbers: [9, 20, 22]
Generated Node #2: [9, 20, 22] from Operation: 34-12=22
Current State: 51:[9, 20, 22], Operations: ['34-12=22']
Exploring Operation: 9+20=29, Resulting Numbers: [22, 29]
Generated Node #3: [22, 29] from Operation: 9+20=29
Current State: 51:[22, 29], Operations: ['34-12=22', '9+20=29']
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[34, 12, 9, 20], Operations: []
Exploring Operation: 34+12=46, Resulting Numbers: [9, 20, 46]
Generated Node #0,0: 51:[9, 20, 46] Operation: 34+12=46
Exploring Operation: 34-12=22, Resulting Numbers: [9, 20, 22]
Generated Node #0,1: 51:[9, 20, 22] Operation: 34-12=22
Exploring Operation: 34+20=54, Resulting Numbers: [12, 9, 54]
Generated Node #0,2: 51:[12, 9, 54] Operation: 34+20=54
Moving to Node #0,0
Current State: 51:[9, 20, 46], Operations: ['34+12=46']
Exploring Operation: 9+46=55, Resulting Numbers: [20, 55]
Generated Node #0,0,0: 51:[20, 55] Operation: 9+46=55
Exploring Operation: 46-20=26, Resulting Numbers: [9, 26]
Generated Node #0,0,1: 51:[9, 26] Operation: 46-20=26
Exploring Operation: 20-9=11, Resulting Numbers: [46, 11]
Generated Node #0,0,2: 51:[46, 11] Operation: 20-9=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[20, 55], Operations: ['34+12=46', '9+46=55']
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 20+55=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 20*55=1100, Resulting Numbers: [1100]
1100,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[46, 11], Operations: ['34+12=46', '20-9=11']
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,51 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[9, 26], Operations: ['34+12=46', '46-20=26']
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 51:[9, 20, 22], Operations: ['34-12=22']
Exploring Operation: 22-9=13, Resulting Numbers: [20, 13]
Generated Node #0,1,0: 51:[20, 13] Operation: 22-9=13
Exploring Operation: 20-9=11, Resulting Numbers: [22, 11]
Generated Node #0,1,1: 51:[22, 11] Operation: 20-9=11
Exploring Operation: 22-20=2, Resulting Numbers: [9, 2]
Generated Node #0,1,2: 51:[9, 2] Operation: 22-20=2
Moving to Node #0,2
Current State: 51:[12, 9, 54], Operations: ['34+20=54']
Exploring Operation: 54/9=6, Resulting Numbers: [12, 6]
Generated Node #0,2,0: 51:[12, 6] Operation: 54/9=6
Exploring Operation: 12+9=21, Resulting Numbers: [54, 21]
Generated Node #0,2,1: 51:[54, 21] Operation: 12+9=21
Exploring Operation: 12-9=3, Resulting Numbers: [54, 3]
Generated Node #0,2,2: 51:[54, 3] Operation: 12-9=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[54, 3], Operations: ['34+20=54', '12-9=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[34, 12, 9, 20], Operations: []
Exploring Operation: 34+20=54, Resulting Numbers: [12, 9, 54]
Generated Node #0,2: 51:[12, 9, 54] Operation: 34+20=54
Moving to Node #0,2
Current State: 51:[12, 9, 54], Operations: ['34+20=54']
Exploring Operation: 12-9=3, Resulting Numbers: [54, 3]
Generated Node #0,2,2: 51:[54, 3] Operation: 12-9=3
Moving to Node #0,2,2
Current State: 51:[54, 3], Operations: ['34+20=54', '12-9=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
43,
39,
2,
38
] | 60 | [
"43+39=82",
"38+82=120",
"120/2=60"
] | Current State: 60:[43, 39, 2, 38], Operations: []
Exploring Operation: 43+39=82, Resulting Numbers: [2, 38, 82]
Generated Node #2: [2, 38, 82] from Operation: 43+39=82
Current State: 60:[2, 38, 82], Operations: ['43+39=82']
Exploring Operation: 38+82=120, Resulting Numbers: [2, 120]
Generated Node #3: [2, 120] from Operation: 38+82=120
Current State: 60:[2, 120], Operations: ['43+39=82', '38+82=120']
Exploring Operation: 120/2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[43, 39, 2, 38], Operations: []
Exploring Operation: 43-38=5, Resulting Numbers: [39, 2, 5]
Generated Node #0,0: 60:[39, 2, 5] Operation: 43-38=5
Exploring Operation: 39-38=1, Resulting Numbers: [43, 2, 1]
Generated Node #0,1: 60:[43, 2, 1] Operation: 39-38=1
Exploring Operation: 43-39=4, Resulting Numbers: [2, 38, 4]
Generated Node #0,2: 60:[2, 38, 4] Operation: 43-39=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[2, 38, 4], Operations: ['43-39=4']
Exploring Operation: 38-4=34, Resulting Numbers: [2, 34]
Generated Node #0,2,0: 60:[2, 34] Operation: 38-4=34
Exploring Operation: 38/2=19, Resulting Numbers: [4, 19]
Generated Node #0,2,1: 60:[4, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [4, 36]
Generated Node #0,2,2: 60:[4, 36] Operation: 38-2=36
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[4, 19], Operations: ['43-39=4', '38/2=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[2, 34], Operations: ['43-39=4', '38-4=34']
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: 34-2=32, Resulting Numbers: [32]
32,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[4, 36], Operations: ['43-39=4', '38-2=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[39, 2, 5], Operations: ['43-38=5']
Exploring Operation: 39-2=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 60:[5, 37] Operation: 39-2=37
Exploring Operation: 39-5=34, Resulting Numbers: [2, 34]
Generated Node #0,0,1: 60:[2, 34] Operation: 39-5=34
Exploring Operation: 2*5=10, Resulting Numbers: [39, 10]
Generated Node #0,0,2: 60:[39, 10] Operation: 2*5=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[2, 34], Operations: ['43-38=5', '39-5=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[5, 37], Operations: ['43-38=5', '39-2=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,60 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[39, 10], Operations: ['43-38=5', '2*5=10']
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,60 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[43, 2, 1], Operations: ['39-38=1']
Exploring Operation: 43*1=43, Resulting Numbers: [2, 43]
Generated Node #0,1,0: 60:[2, 43] Operation: 43*1=43
Exploring Operation: 43-1=42, Resulting Numbers: [2, 42]
Generated Node #0,1,1: 60:[2, 42] Operation: 43-1=42
Exploring Operation: 43-2=41, Resulting Numbers: [1, 41]
Generated Node #0,1,2: 60:[1, 41] Operation: 43-2=41
Moving to Node #0,1,1
Current State: 60:[2, 42], Operations: ['39-38=1', '43-1=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[1, 41], Operations: ['39-38=1', '43-2=41']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[2, 43], Operations: ['39-38=1', '43*1=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
2,
72,
23
] | 62 | [
"72-18=54",
"54-23=31",
"2*31=62"
] | Current State: 62:[18, 2, 72, 23], Operations: []
Exploring Operation: 72-18=54, Resulting Numbers: [2, 23, 54]
Generated Node #2: [2, 23, 54] from Operation: 72-18=54
Current State: 62:[2, 23, 54], Operations: ['72-18=54']
Exploring Operation: 54-23=31, Resulting Numbers: [2, 31]
Generated Node #3: [2, 31] from Operation: 54-23=31
Current State: 62:[2, 31], Operations: ['72-18=54', '54-23=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[18, 2, 72, 23], Operations: []
Exploring Operation: 18+23=41, Resulting Numbers: [2, 72, 41]
Generated Node #0,0: 62:[2, 72, 41] Operation: 18+23=41
Exploring Operation: 72/18=4, Resulting Numbers: [2, 23, 4]
Generated Node #0,1: 62:[2, 23, 4] Operation: 72/18=4
Exploring Operation: 72-18=54, Resulting Numbers: [2, 23, 54]
Generated Node #0,2: 62:[2, 23, 54] Operation: 72-18=54
Exploring Operation: 23-18=5, Resulting Numbers: [2, 72, 5]
Generated Node #0,3: 62:[2, 72, 5] Operation: 23-18=5
Moving to Node #0,1
Current State: 62:[2, 23, 4], Operations: ['72/18=4']
Exploring Operation: 2+23=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 62:[4, 25] Operation: 2+23=25
Exploring Operation: 4/2=2, Resulting Numbers: [23, 2]
Generated Node #0,1,1: 62:[23, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [23, 2]
Generated Node #0,1,2: 62:[23, 2] Operation: 4-2=2
Exploring Operation: 23+4=27, Resulting Numbers: [2, 27]
Generated Node #0,1,3: 62:[2, 27] Operation: 23+4=27
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 62:[2, 27], Operations: ['72/18=4', '23+4=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,62 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,62 unequal: No Solution
No 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: 62:[4, 25], Operations: ['72/18=4', '2+23=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,62 unequal: No Solution
No 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: 62:[23, 2], Operations: ['72/18=4', '4/2=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,62 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,62 unequal: No Solution
No 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: 62:[23, 2], Operations: ['72/18=4', '4-2=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,62 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: 62:[2, 72, 5], Operations: ['23-18=5']
Exploring Operation: 72-2=70, Resulting Numbers: [5, 70]
Generated Node #0,3,0: 62:[5, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [5, 36]
Generated Node #0,3,1: 62:[5, 36] Operation: 72/2=36
Exploring Operation: 5-2=3, Resulting Numbers: [72, 3]
Generated Node #0,3,2: 62:[72, 3] Operation: 5-2=3
Exploring Operation: 72-5=67, Resulting Numbers: [2, 67]
Generated Node #0,3,3: 62:[2, 67] Operation: 72-5=67
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 62:[2, 67], Operations: ['23-18=5', '72-5=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,62 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,62 unequal: No Solution
No 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: 62:[5, 36], Operations: ['23-18=5', '72/2=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,62 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,62 unequal: No Solution
No 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: 62:[5, 70], Operations: ['23-18=5', '72-2=70']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,62 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,62 unequal: No Solution
No 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: 62:[72, 3], Operations: ['23-18=5', '5-2=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,62 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,62 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: 62:[2, 23, 54], Operations: ['72-18=54']
Exploring Operation: 54-23=31, Resulting Numbers: [2, 31]
Generated Node #0,2,0: 62:[2, 31] Operation: 54-23=31
Exploring Operation: 54/2=27, Resulting Numbers: [23, 27]
Generated Node #0,2,1: 62:[23, 27] Operation: 54/2=27
Exploring Operation: 2+54=56, Resulting Numbers: [23, 56]
Generated Node #0,2,2: 62:[23, 56] Operation: 2+54=56
Exploring Operation: 2+23=25, Resulting Numbers: [54, 25]
Generated Node #0,2,3: 62:[54, 25] Operation: 2+23=25
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[2, 31], Operations: ['72-18=54', '54-23=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[18, 2, 72, 23], Operations: []
Exploring Operation: 72-18=54, Resulting Numbers: [2, 23, 54]
Generated Node #0,2: 62:[2, 23, 54] Operation: 72-18=54
Moving to Node #0,2
Current State: 62:[2, 23, 54], Operations: ['72-18=54']
Exploring Operation: 54-23=31, Resulting Numbers: [2, 31]
Generated Node #0,2,0: 62:[2, 31] Operation: 54-23=31
Moving to Node #0,2,0
Current State: 62:[2, 31], Operations: ['72-18=54', '54-23=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_4 | mult_heuristic |
[
39,
13,
44,
48
] | 11 | [
"39+13=52",
"52-48=4",
"44/4=11"
] | Current State: 11:[39, 13, 44, 48], Operations: []
Exploring Operation: 39+13=52, Resulting Numbers: [44, 48, 52]
Generated Node #2: [44, 48, 52] from Operation: 39+13=52
Current State: 11:[44, 48, 52], Operations: ['39+13=52']
Exploring Operation: 52-48=4, Resulting Numbers: [44, 4]
Generated Node #3: [44, 4] from Operation: 52-48=4
Current State: 11:[44, 4], Operations: ['39+13=52', '52-48=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[39, 13, 44, 48], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [44, 48, 3]
Generated Node #0,0: 11:[44, 48, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [44, 48, 26]
Generated Node #0,1: 11:[44, 48, 26] Operation: 39-13=26
Exploring Operation: 48-44=4, Resulting Numbers: [39, 13, 4]
Generated Node #0,2: 11:[39, 13, 4] Operation: 48-44=4
Exploring Operation: 48-39=9, Resulting Numbers: [13, 44, 9]
Generated Node #0,3: 11:[13, 44, 9] Operation: 48-39=9
Exploring Operation: 44-39=5, Resulting Numbers: [13, 48, 5]
Generated Node #0,4: 11:[13, 48, 5] Operation: 44-39=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[39, 13, 4], Operations: ['48-44=4']
Exploring Operation: 39-13=26, Resulting Numbers: [4, 26]
Generated Node #0,2,0: 11:[4, 26] Operation: 39-13=26
Exploring Operation: 39-4=35, Resulting Numbers: [13, 35]
Generated Node #0,2,1: 11:[13, 35] Operation: 39-4=35
Exploring Operation: 13-4=9, Resulting Numbers: [39, 9]
Generated Node #0,2,2: 11:[39, 9] Operation: 13-4=9
Exploring Operation: 39+4=43, Resulting Numbers: [13, 43]
Generated Node #0,2,3: 11:[13, 43] Operation: 39+4=43
Exploring Operation: 39/13=3, Resulting Numbers: [4, 3]
Generated Node #0,2,4: 11:[4, 3] Operation: 39/13=3
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 11:[4, 3], Operations: ['48-44=4', '39/13=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[4, 26], Operations: ['48-44=4', '39-13=26']
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,11 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[13, 35], Operations: ['48-44=4', '39-4=35']
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,11 unequal: No Solution
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[39, 9], Operations: ['48-44=4', '13-4=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,11 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 11:[13, 43], Operations: ['48-44=4', '39+4=43']
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,11 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[13, 44, 9], Operations: ['48-39=9']
Exploring Operation: 13-9=4, Resulting Numbers: [44, 4]
Generated Node #0,3,0: 11:[44, 4] Operation: 13-9=4
Exploring Operation: 44-9=35, Resulting Numbers: [13, 35]
Generated Node #0,3,1: 11:[13, 35] Operation: 44-9=35
Exploring Operation: 44-13=31, Resulting Numbers: [9, 31]
Generated Node #0,3,2: 11:[9, 31] Operation: 44-13=31
Exploring Operation: 44+9=53, Resulting Numbers: [13, 53]
Generated Node #0,3,3: 11:[13, 53] Operation: 44+9=53
Exploring Operation: 13+9=22, Resulting Numbers: [44, 22]
Generated Node #0,3,4: 11:[44, 22] Operation: 13+9=22
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 11:[9, 31], Operations: ['48-39=9', '44-13=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 11:[13, 35], Operations: ['48-39=9', '44-9=35']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 11:[44, 4], Operations: ['48-39=9', '13-9=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[39, 13, 44, 48], Operations: []
Exploring Operation: 48-39=9, Resulting Numbers: [13, 44, 9]
Generated Node #0,3: 11:[13, 44, 9] Operation: 48-39=9
Moving to Node #0,3
Current State: 11:[13, 44, 9], Operations: ['48-39=9']
Exploring Operation: 13-9=4, Resulting Numbers: [44, 4]
Generated Node #0,3,0: 11:[44, 4] Operation: 13-9=4
Moving to Node #0,3,0
Current State: 11:[44, 4], Operations: ['48-39=9', '13-9=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
25,
95,
74,
22
] | 25 | [
"95-74=21",
"22-21=1",
"25*1=25"
] | Current State: 25:[25, 95, 74, 22], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [25, 22, 21]
Generated Node #2: [25, 22, 21] from Operation: 95-74=21
Current State: 25:[25, 22, 21], Operations: ['95-74=21']
Exploring Operation: 22-21=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 22-21=1
Current State: 25:[25, 1], Operations: ['95-74=21', '22-21=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[25, 95, 74, 22], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [25, 22, 21]
Generated Node #0,0: 25:[25, 22, 21] Operation: 95-74=21
Exploring Operation: 95-25=70, Resulting Numbers: [74, 22, 70]
Generated Node #0,1: 25:[74, 22, 70] Operation: 95-25=70
Exploring Operation: 74-25=49, Resulting Numbers: [95, 22, 49]
Generated Node #0,2: 25:[95, 22, 49] Operation: 74-25=49
Moving to Node #0,0
Current State: 25:[25, 22, 21], Operations: ['95-74=21']
Exploring Operation: 25-21=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 25:[22, 4] Operation: 25-21=4
Exploring Operation: 22-21=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 25:[25, 1] Operation: 22-21=1
Exploring Operation: 25-22=3, Resulting Numbers: [21, 3]
Generated Node #0,0,2: 25:[21, 3] Operation: 25-22=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[22, 4], Operations: ['95-74=21', '25-21=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[25, 1], Operations: ['95-74=21', '22-21=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[25, 95, 74, 22], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [25, 22, 21]
Generated Node #0,0: 25:[25, 22, 21] Operation: 95-74=21
Moving to Node #0,0
Current State: 25:[25, 22, 21], Operations: ['95-74=21']
Exploring Operation: 22-21=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 25:[25, 1] Operation: 22-21=1
Moving to Node #0,0,1
Current State: 25:[25, 1], Operations: ['95-74=21', '22-21=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
12,
56,
40,
11
] | 17 | [
"12+56=68",
"40+11=51",
"68-51=17"
] | Current State: 17:[12, 56, 40, 11], Operations: []
Exploring Operation: 12+56=68, Resulting Numbers: [40, 11, 68]
Generated Node #2: [40, 11, 68] from Operation: 12+56=68
Current State: 17:[40, 11, 68], Operations: ['12+56=68']
Exploring Operation: 40+11=51, Resulting Numbers: [68, 51]
Generated Node #3: [68, 51] from Operation: 40+11=51
Current State: 17:[68, 51], Operations: ['12+56=68', '40+11=51']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[12, 56, 40, 11], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [12, 11, 16]
Generated Node #0,0: 17:[12, 11, 16] Operation: 56-40=16
Exploring Operation: 40-12=28, Resulting Numbers: [56, 11, 28]
Generated Node #0,1: 17:[56, 11, 28] Operation: 40-12=28
Exploring Operation: 56-11=45, Resulting Numbers: [12, 40, 45]
Generated Node #0,2: 17:[12, 40, 45] Operation: 56-11=45
Exploring Operation: 56-12=44, Resulting Numbers: [40, 11, 44]
Generated Node #0,3: 17:[40, 11, 44] Operation: 56-12=44
Moving to Node #0,0
Current State: 17:[12, 11, 16], Operations: ['56-40=16']
Exploring Operation: 12-11=1, Resulting Numbers: [16, 1]
Generated Node #0,0,0: 17:[16, 1] Operation: 12-11=1
Exploring Operation: 12+11=23, Resulting Numbers: [16, 23]
Generated Node #0,0,1: 17:[16, 23] Operation: 12+11=23
Exploring Operation: 11+16=27, Resulting Numbers: [12, 27]
Generated Node #0,0,2: 17:[12, 27] Operation: 11+16=27
Exploring Operation: 12+16=28, Resulting Numbers: [11, 28]
Generated Node #0,0,3: 17:[11, 28] Operation: 12+16=28
Moving to Node #0,2
Current State: 17:[12, 40, 45], Operations: ['56-11=45']
Exploring Operation: 45-12=33, Resulting Numbers: [40, 33]
Generated Node #0,2,0: 17:[40, 33] Operation: 45-12=33
Exploring Operation: 40-12=28, Resulting Numbers: [45, 28]
Generated Node #0,2,1: 17:[45, 28] Operation: 40-12=28
Exploring Operation: 45-40=5, Resulting Numbers: [12, 5]
Generated Node #0,2,2: 17:[12, 5] Operation: 45-40=5
Exploring Operation: 12+40=52, Resulting Numbers: [45, 52]
Generated Node #0,2,3: 17:[45, 52] Operation: 12+40=52
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[12, 5], Operations: ['56-11=45', '45-40=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,17 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[12, 56, 40, 11], Operations: []
Exploring Operation: 56-11=45, Resulting Numbers: [12, 40, 45]
Generated Node #0,2: 17:[12, 40, 45] Operation: 56-11=45
Moving to Node #0,2
Current State: 17:[12, 40, 45], Operations: ['56-11=45']
Exploring Operation: 45-40=5, Resulting Numbers: [12, 5]
Generated Node #0,2,2: 17:[12, 5] Operation: 45-40=5
Moving to Node #0,2,2
Current State: 17:[12, 5], Operations: ['56-11=45', '45-40=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
42,
34,
5,
75
] | 62 | [
"42-34=8",
"75-5=70",
"70-8=62"
] | Current State: 62:[42, 34, 5, 75], Operations: []
Exploring Operation: 42-34=8, Resulting Numbers: [5, 75, 8]
Generated Node #2: [5, 75, 8] from Operation: 42-34=8
Current State: 62:[5, 75, 8], Operations: ['42-34=8']
Exploring Operation: 75-5=70, Resulting Numbers: [8, 70]
Generated Node #3: [8, 70] from Operation: 75-5=70
Current State: 62:[8, 70], Operations: ['42-34=8', '75-5=70']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[42, 34, 5, 75], Operations: []
Exploring Operation: 42-34=8, Resulting Numbers: [5, 75, 8]
Generated Node #0,0: 62:[5, 75, 8] Operation: 42-34=8
Exploring Operation: 75-42=33, Resulting Numbers: [34, 5, 33]
Generated Node #0,1: 62:[34, 5, 33] Operation: 75-42=33
Moving to Node #0,1
Current State: 62:[34, 5, 33], Operations: ['75-42=33']
Exploring Operation: 34-33=1, Resulting Numbers: [5, 1]
Generated Node #0,1,0: 62:[5, 1] Operation: 34-33=1
Exploring Operation: 34-5=29, Resulting Numbers: [33, 29]
Generated Node #0,1,1: 62:[33, 29] Operation: 34-5=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[5, 1], Operations: ['75-42=33', '34-33=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,62 unequal: No Solution
No 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: 62:[33, 29], Operations: ['75-42=33', '34-5=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[42, 34, 5, 75], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [34, 5, 33]
Generated Node #0,1: 62:[34, 5, 33] Operation: 75-42=33
Moving to Node #0,1
Current State: 62:[34, 5, 33], Operations: ['75-42=33']
Exploring Operation: 34-5=29, Resulting Numbers: [33, 29]
Generated Node #0,1,1: 62:[33, 29] Operation: 34-5=29
Moving to Node #0,1,1
Current State: 62:[33, 29], Operations: ['75-42=33', '34-5=29']
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
76,
85,
39,
13
] | 43 | [
"85-76=9",
"39+13=52",
"52-9=43"
] | Current State: 43:[76, 85, 39, 13], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [39, 13, 9]
Generated Node #2: [39, 13, 9] from Operation: 85-76=9
Current State: 43:[39, 13, 9], Operations: ['85-76=9']
Exploring Operation: 39+13=52, Resulting Numbers: [9, 52]
Generated Node #3: [9, 52] from Operation: 39+13=52
Current State: 43:[9, 52], Operations: ['85-76=9', '39+13=52']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[76, 85, 39, 13], Operations: []
Exploring Operation: 85-13=72, Resulting Numbers: [76, 39, 72]
Generated Node #0,0: 43:[76, 39, 72] Operation: 85-13=72
Exploring Operation: 85-39=46, Resulting Numbers: [76, 13, 46]
Generated Node #0,1: 43:[76, 13, 46] Operation: 85-39=46
Exploring Operation: 85-76=9, Resulting Numbers: [39, 13, 9]
Generated Node #0,2: 43:[39, 13, 9] Operation: 85-76=9
Exploring Operation: 76-13=63, Resulting Numbers: [85, 39, 63]
Generated Node #0,3: 43:[85, 39, 63] Operation: 76-13=63
Moving to Node #0,0
Current State: 43:[76, 39, 72], Operations: ['85-13=72']
Exploring Operation: 76+39=115, Resulting Numbers: [72, 115]
Generated Node #0,0,0: 43:[72, 115] Operation: 76+39=115
Exploring Operation: 76-39=37, Resulting Numbers: [72, 37]
Generated Node #0,0,1: 43:[72, 37] Operation: 76-39=37
Exploring Operation: 72-39=33, Resulting Numbers: [76, 33]
Generated Node #0,0,2: 43:[76, 33] Operation: 72-39=33
Exploring Operation: 76-72=4, Resulting Numbers: [39, 4]
Generated Node #0,0,3: 43:[39, 4] Operation: 76-72=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[72, 37], Operations: ['85-13=72', '76-39=37']
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,43 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,43 unequal: No Solution
No 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: 43:[76, 33], Operations: ['85-13=72', '72-39=33']
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,43 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[76, 85, 39, 13], Operations: []
Exploring Operation: 85-13=72, Resulting Numbers: [76, 39, 72]
Generated Node #0,0: 43:[76, 39, 72] Operation: 85-13=72
Moving to Node #0,0
Current State: 43:[76, 39, 72], Operations: ['85-13=72']
Exploring Operation: 72-39=33, Resulting Numbers: [76, 33]
Generated Node #0,0,2: 43:[76, 33] Operation: 72-39=33
Moving to Node #0,0,2
Current State: 43:[76, 33], Operations: ['85-13=72', '72-39=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
21,
49,
70,
91
] | 91 | [
"21+49=70",
"70+91=161",
"161-70=91"
] | Current State: 91:[21, 49, 70, 91], Operations: []
Exploring Operation: 21+49=70, Resulting Numbers: [70, 91, 70]
Generated Node #2: [70, 91, 70] from Operation: 21+49=70
Current State: 91:[70, 91, 70], Operations: ['21+49=70']
Exploring Operation: 70+91=161, Resulting Numbers: [161]
161,91 equal: Goal Reached
Exploring Operation: 161-70=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[21, 49, 70, 91], Operations: []
Exploring Operation: 21+70=91, Resulting Numbers: [49, 91, 91]
Generated Node #0,0: 91:[49, 91, 91] Operation: 21+70=91
Exploring Operation: 49-21=28, Resulting Numbers: [70, 91, 28]
Generated Node #0,1: 91:[70, 91, 28] Operation: 49-21=28
Exploring Operation: 70-49=21, Resulting Numbers: [21, 91, 21]
Generated Node #0,2: 91:[21, 91, 21] Operation: 70-49=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[21, 91, 21], Operations: ['70-49=21']
Exploring Operation: 21+91=112, Resulting Numbers: [21, 112]
Generated Node #0,2,0: 91:[21, 112] Operation: 21+91=112
Exploring Operation: 21-21=0, Resulting Numbers: [91, 0]
Generated Node #0,2,1: 91:[91, 0] Operation: 21-21=0
Exploring Operation: 21/21=1, Resulting Numbers: [91, 1]
Generated Node #0,2,2: 91:[91, 1] Operation: 21/21=1
Moving to Node #0,2,2
Current State: 91:[91, 1], Operations: ['70-49=21', '21/21=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[21, 49, 70, 91], Operations: []
Exploring Operation: 70-49=21, Resulting Numbers: [21, 91, 21]
Generated Node #0,2: 91:[21, 91, 21] Operation: 70-49=21
Moving to Node #0,2
Current State: 91:[21, 91, 21], Operations: ['70-49=21']
Exploring Operation: 21/21=1, Resulting Numbers: [91, 1]
Generated Node #0,2,2: 91:[91, 1] Operation: 21/21=1
Moving to Node #0,2,2
Current State: 91:[91, 1], Operations: ['70-49=21', '21/21=1']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
95,
10,
75,
85
] | 93 | [
"95+85=180",
"180/10=18",
"75+18=93"
] | Current State: 93:[95, 10, 75, 85], Operations: []
Exploring Operation: 95+85=180, Resulting Numbers: [10, 75, 180]
Generated Node #2: [10, 75, 180] from Operation: 95+85=180
Current State: 93:[10, 75, 180], Operations: ['95+85=180']
Exploring Operation: 180/10=18, Resulting Numbers: [75, 18]
Generated Node #3: [75, 18] from Operation: 180/10=18
Current State: 93:[75, 18], Operations: ['95+85=180', '180/10=18']
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[95, 10, 75, 85], Operations: []
Exploring Operation: 10+75=85, Resulting Numbers: [95, 85, 85]
Generated Node #0,0: 93:[95, 85, 85] Operation: 10+75=85
Exploring Operation: 85-75=10, Resulting Numbers: [95, 10, 10]
Generated Node #0,1: 93:[95, 10, 10] Operation: 85-75=10
Exploring Operation: 95-75=20, Resulting Numbers: [10, 85, 20]
Generated Node #0,2: 93:[10, 85, 20] Operation: 95-75=20
Exploring Operation: 10+85=95, Resulting Numbers: [95, 75, 95]
Generated Node #0,3: 93:[95, 75, 95] Operation: 10+85=95
Moving to Node #0,1
Current State: 93:[95, 10, 10], Operations: ['85-75=10']
Exploring Operation: 10*10=100, Resulting Numbers: [95, 100]
Generated Node #0,1,0: 93:[95, 100] Operation: 10*10=100
Exploring Operation: 10+10=20, Resulting Numbers: [95, 20]
Generated Node #0,1,1: 93:[95, 20] Operation: 10+10=20
Exploring Operation: 10-10=0, Resulting Numbers: [95, 0]
Generated Node #0,1,2: 93:[95, 0] Operation: 10-10=0
Exploring Operation: 10/10=1, Resulting Numbers: [95, 1]
Generated Node #0,1,3: 93:[95, 1] Operation: 10/10=1
Moving to Node #0,0
Current State: 93:[95, 85, 85], Operations: ['10+75=85']
Exploring Operation: 85-85=0, Resulting Numbers: [95, 0]
Generated Node #0,0,0: 93:[95, 0] Operation: 85-85=0
Exploring Operation: 85/85=1, Resulting Numbers: [95, 1]
Generated Node #0,0,1: 93:[95, 1] Operation: 85/85=1
Exploring Operation: 95-85=10, Resulting Numbers: [85, 10]
Generated Node #0,0,2: 93:[85, 10] Operation: 95-85=10
Exploring Operation: 95-85=10, Resulting Numbers: [85, 10]
Generated Node #0,0,3: 93:[85, 10] Operation: 95-85=10
Moving to Node #0,3
Current State: 93:[95, 75, 95], Operations: ['10+85=95']
Exploring Operation: 95-75=20, Resulting Numbers: [95, 20]
Generated Node #0,3,0: 93:[95, 20] Operation: 95-75=20
Exploring Operation: 95/95=1, Resulting Numbers: [75, 1]
Generated Node #0,3,1: 93:[75, 1] Operation: 95/95=1
Exploring Operation: 95-75=20, Resulting Numbers: [95, 20]
Generated Node #0,3,2: 93:[95, 20] Operation: 95-75=20
Exploring Operation: 95-95=0, Resulting Numbers: [75, 0]
Generated Node #0,3,3: 93:[75, 0] Operation: 95-95=0
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[95, 20], Operations: ['10+85=95', '95-75=20']
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 95*20=1900, Resulting Numbers: [1900]
1900,93 unequal: No Solution
Exploring Operation: 95+20=115, Resulting Numbers: [115]
115,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[95, 20], Operations: ['10+85=95', '95-75=20']
Exploring Operation: 95+20=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 95*20=1900, Resulting Numbers: [1900]
1900,93 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[75, 1], Operations: ['10+85=95', '95/95=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,93 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 93:[75, 0], Operations: ['10+85=95', '95-95=0']
Exploring Operation: 75*0=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 75-0=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 75+0=75, Resulting Numbers: [75]
75,93 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: 93:[10, 85, 20], Operations: ['95-75=20']
Exploring Operation: 10+85=95, Resulting Numbers: [20, 95]
Generated Node #0,2,0: 93:[20, 95] Operation: 10+85=95
Exploring Operation: 20-10=10, Resulting Numbers: [85, 10]
Generated Node #0,2,1: 93:[85, 10] Operation: 20-10=10
Exploring Operation: 10+20=30, Resulting Numbers: [85, 30]
Generated Node #0,2,2: 93:[85, 30] Operation: 10+20=30
Exploring Operation: 20/10=2, Resulting Numbers: [85, 2]
Generated Node #0,2,3: 93:[85, 2] Operation: 20/10=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[85, 30], Operations: ['95-75=20', '10+20=30']
Exploring Operation: 85*30=2550, Resulting Numbers: [2550]
2550,93 unequal: No Solution
Exploring Operation: 85+30=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 93:[85, 2], Operations: ['95-75=20', '20/10=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,93 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[20, 95], Operations: ['95-75=20', '10+85=95']
Exploring Operation: 20*95=1900, Resulting Numbers: [1900]
1900,93 unequal: No Solution
Exploring Operation: 20+95=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[85, 10], Operations: ['95-75=20', '20-10=10']
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 93:[95, 1], Operations: ['85-75=10', '10/10=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[95, 1], Operations: ['10+75=85', '85/85=1']
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[95, 0], Operations: ['10+75=85', '85-85=0']
Exploring Operation: 95*0=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[95, 0], Operations: ['85-75=10', '10-10=0']
Exploring Operation: 95*0=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[95, 100], Operations: ['85-75=10', '10*10=100']
Exploring Operation: 95+100=195, Resulting Numbers: [195]
195,93 unequal: No Solution
Exploring Operation: 95*100=9500, Resulting Numbers: [9500]
9500,93 unequal: No Solution
Exploring Operation: 100-95=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[95, 20], Operations: ['85-75=10', '10+10=20']
Exploring Operation: 95+20=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 95*20=1900, Resulting Numbers: [1900]
1900,93 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[85, 10], Operations: ['10+75=85', '95-85=10']
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,93 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[85, 10], Operations: ['10+75=85', '95-85=10']
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,93 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,93 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
35,
60,
89,
10
] | 60 | [
"35+60=95",
"95-89=6",
"10*6=60"
] | Current State: 60:[35, 60, 89, 10], Operations: []
Exploring Operation: 35+60=95, Resulting Numbers: [89, 10, 95]
Generated Node #2: [89, 10, 95] from Operation: 35+60=95
Current State: 60:[89, 10, 95], Operations: ['35+60=95']
Exploring Operation: 95-89=6, Resulting Numbers: [10, 6]
Generated Node #3: [10, 6] from Operation: 95-89=6
Current State: 60:[10, 6], Operations: ['35+60=95', '95-89=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[35, 60, 89, 10], Operations: []
Exploring Operation: 89-10=79, Resulting Numbers: [35, 60, 79]
Generated Node #0,0: 60:[35, 60, 79] Operation: 89-10=79
Exploring Operation: 89-35=54, Resulting Numbers: [60, 10, 54]
Generated Node #0,1: 60:[60, 10, 54] Operation: 89-35=54
Exploring Operation: 60-35=25, Resulting Numbers: [89, 10, 25]
Generated Node #0,2: 60:[89, 10, 25] Operation: 60-35=25
Exploring Operation: 89-60=29, Resulting Numbers: [35, 10, 29]
Generated Node #0,3: 60:[35, 10, 29] Operation: 89-60=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[60, 10, 54], Operations: ['89-35=54']
Exploring Operation: 60/10=6, Resulting Numbers: [54, 6]
Generated Node #0,1,0: 60:[54, 6] Operation: 60/10=6
Exploring Operation: 10+54=64, Resulting Numbers: [60, 64]
Generated Node #0,1,1: 60:[60, 64] Operation: 10+54=64
Exploring Operation: 54-10=44, Resulting Numbers: [60, 44]
Generated Node #0,1,2: 60:[60, 44] Operation: 54-10=44
Exploring Operation: 60-54=6, Resulting Numbers: [10, 6]
Generated Node #0,1,3: 60:[10, 6] Operation: 60-54=6
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[10, 6], Operations: ['89-35=54', '60-54=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[35, 60, 89, 10], Operations: []
Exploring Operation: 89-35=54, Resulting Numbers: [60, 10, 54]
Generated Node #0,1: 60:[60, 10, 54] Operation: 89-35=54
Moving to Node #0,1
Current State: 60:[60, 10, 54], Operations: ['89-35=54']
Exploring Operation: 60-54=6, Resulting Numbers: [10, 6]
Generated Node #0,1,3: 60:[10, 6] Operation: 60-54=6
Moving to Node #0,1,3
Current State: 60:[10, 6], Operations: ['89-35=54', '60-54=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
32,
49,
62,
27
] | 46 | [
"32+49=81",
"62-27=35",
"81-35=46"
] | Current State: 46:[32, 49, 62, 27], Operations: []
Exploring Operation: 32+49=81, Resulting Numbers: [62, 27, 81]
Generated Node #2: [62, 27, 81] from Operation: 32+49=81
Current State: 46:[62, 27, 81], Operations: ['32+49=81']
Exploring Operation: 62-27=35, Resulting Numbers: [81, 35]
Generated Node #3: [81, 35] from Operation: 62-27=35
Current State: 46:[81, 35], Operations: ['32+49=81', '62-27=35']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[32, 49, 62, 27], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [49, 27, 30]
Generated Node #0,0: 46:[49, 27, 30] Operation: 62-32=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[49, 27, 30], Operations: ['62-32=30']
Exploring Operation: 30-27=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 46:[49, 3] Operation: 30-27=3
Moving to Node #0,0,0
Current State: 46:[49, 3], Operations: ['62-32=30', '30-27=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[32, 49, 62, 27], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [49, 27, 30]
Generated Node #0,0: 46:[49, 27, 30] Operation: 62-32=30
Moving to Node #0,0
Current State: 46:[49, 27, 30], Operations: ['62-32=30']
Exploring Operation: 30-27=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 46:[49, 3] Operation: 30-27=3
Moving to Node #0,0,0
Current State: 46:[49, 3], Operations: ['62-32=30', '30-27=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
63,
61,
87,
12
] | 63 | [
"63-61=2",
"12*2=24",
"87-24=63"
] | Current State: 63:[63, 61, 87, 12], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [87, 12, 2]
Generated Node #2: [87, 12, 2] from Operation: 63-61=2
Current State: 63:[87, 12, 2], Operations: ['63-61=2']
Exploring Operation: 12*2=24, Resulting Numbers: [87, 24]
Generated Node #3: [87, 24] from Operation: 12*2=24
Current State: 63:[87, 24], Operations: ['63-61=2', '12*2=24']
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[63, 61, 87, 12], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [61, 12, 24]
Generated Node #0,0: 63:[61, 12, 24] Operation: 87-63=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[61, 12, 24], Operations: ['87-63=24']
Exploring Operation: 24/12=2, Resulting Numbers: [61, 2]
Generated Node #0,0,0: 63:[61, 2] Operation: 24/12=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[61, 2], Operations: ['87-63=24', '24/12=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[63, 61, 87, 12], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [61, 12, 24]
Generated Node #0,0: 63:[61, 12, 24] Operation: 87-63=24
Moving to Node #0,0
Current State: 63:[61, 12, 24], Operations: ['87-63=24']
Exploring Operation: 24/12=2, Resulting Numbers: [61, 2]
Generated Node #0,0,0: 63:[61, 2] Operation: 24/12=2
Moving to Node #0,0,0
Current State: 63:[61, 2], Operations: ['87-63=24', '24/12=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
43,
17,
8,
51
] | 54 | [
"43+8=51",
"51/17=3",
"51+3=54"
] | Current State: 54:[43, 17, 8, 51], Operations: []
Exploring Operation: 43+8=51, Resulting Numbers: [17, 51, 51]
Generated Node #2: [17, 51, 51] from Operation: 43+8=51
Current State: 54:[17, 51, 51], Operations: ['43+8=51']
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,54 equal: Goal Reached
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[43, 17, 8, 51], Operations: []
Exploring Operation: 43+8=51, Resulting Numbers: [17, 51, 51]
Generated Node #0,0: 54:[17, 51, 51] Operation: 43+8=51
Exploring Operation: 51-43=8, Resulting Numbers: [17, 8, 8]
Generated Node #0,1: 54:[17, 8, 8] Operation: 51-43=8
Exploring Operation: 43+17=60, Resulting Numbers: [8, 51, 60]
Generated Node #0,2: 54:[8, 51, 60] Operation: 43+17=60
Exploring Operation: 43-17=26, Resulting Numbers: [8, 51, 26]
Generated Node #0,3: 54:[8, 51, 26] Operation: 43-17=26
Moving to Node #0,1
Current State: 54:[17, 8, 8], Operations: ['51-43=8']
Exploring Operation: 17-8=9, Resulting Numbers: [8, 9]
Generated Node #0,1,0: 54:[8, 9] Operation: 17-8=9
Exploring Operation: 17+8=25, Resulting Numbers: [8, 25]
Generated Node #0,1,1: 54:[8, 25] Operation: 17+8=25
Exploring Operation: 17-8=9, Resulting Numbers: [8, 9]
Generated Node #0,1,2: 54:[8, 9] Operation: 17-8=9
Exploring Operation: 8/8=1, Resulting Numbers: [17, 1]
Generated Node #0,1,3: 54:[17, 1] Operation: 8/8=1
Moving to Node #0,3
Current State: 54:[8, 51, 26], Operations: ['43-17=26']
Exploring Operation: 8+26=34, Resulting Numbers: [51, 34]
Generated Node #0,3,0: 54:[51, 34] Operation: 8+26=34
Exploring Operation: 51-26=25, Resulting Numbers: [8, 25]
Generated Node #0,3,1: 54:[8, 25] Operation: 51-26=25
Exploring Operation: 8+51=59, Resulting Numbers: [26, 59]
Generated Node #0,3,2: 54:[26, 59] Operation: 8+51=59
Exploring Operation: 26-8=18, Resulting Numbers: [51, 18]
Generated Node #0,3,3: 54:[51, 18] Operation: 26-8=18
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[8, 25], Operations: ['43-17=26', '51-26=25']
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,54 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[51, 18], Operations: ['43-17=26', '26-8=18']
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,54 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 54:[26, 59], Operations: ['43-17=26', '8+51=59']
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,54 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[51, 34], Operations: ['43-17=26', '8+26=34']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 51*34=1734, Resulting Numbers: [1734]
1734,54 unequal: No Solution
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,54 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: 54:[17, 51, 51], Operations: ['43+8=51']
Exploring Operation: 51/17=3, Resulting Numbers: [51, 3]
Generated Node #0,0,0: 54:[51, 3] Operation: 51/17=3
Exploring Operation: 51-51=0, Resulting Numbers: [17, 0]
Generated Node #0,0,1: 54:[17, 0] Operation: 51-51=0
Exploring Operation: 51/17=3, Resulting Numbers: [51, 3]
Generated Node #0,0,2: 54:[51, 3] Operation: 51/17=3
Exploring Operation: 51/51=1, Resulting Numbers: [17, 1]
Generated Node #0,0,3: 54:[17, 1] Operation: 51/51=1
Moving to Node #0,2
Current State: 54:[8, 51, 60], Operations: ['43+17=60']
Exploring Operation: 8+51=59, Resulting Numbers: [60, 59]
Generated Node #0,2,0: 54:[60, 59] Operation: 8+51=59
Exploring Operation: 60-51=9, Resulting Numbers: [8, 9]
Generated Node #0,2,1: 54:[8, 9] Operation: 60-51=9
Exploring Operation: 51-8=43, Resulting Numbers: [60, 43]
Generated Node #0,2,2: 54:[60, 43] Operation: 51-8=43
Exploring Operation: 60-8=52, Resulting Numbers: [51, 52]
Generated Node #0,2,3: 54:[51, 52] Operation: 60-8=52
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[8, 9], Operations: ['43+17=60', '60-51=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[51, 52], Operations: ['43+17=60', '60-8=52']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,54 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[60, 59], Operations: ['43+17=60', '8+51=59']
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,54 unequal: No Solution
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,54 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[60, 43], Operations: ['43+17=60', '51-8=43']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 60+43=103, Resulting Numbers: [103]
103,54 unequal: No Solution
Exploring Operation: 60*43=2580, Resulting Numbers: [2580]
2580,54 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: 54:[8, 9], Operations: ['51-43=8', '17-8=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[8, 9], Operations: ['51-43=8', '17-8=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[17, 1], Operations: ['51-43=8', '8/8=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[17, 1], Operations: ['43+8=51', '51/51=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[51, 3], Operations: ['43+8=51', '51/17=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[43, 17, 8, 51], Operations: []
Exploring Operation: 43+8=51, Resulting Numbers: [17, 51, 51]
Generated Node #0,0: 54:[17, 51, 51] Operation: 43+8=51
Moving to Node #0,0
Current State: 54:[17, 51, 51], Operations: ['43+8=51']
Exploring Operation: 51/17=3, Resulting Numbers: [51, 3]
Generated Node #0,0,0: 54:[51, 3] Operation: 51/17=3
Moving to Node #0,0,0
Current State: 54:[51, 3], Operations: ['43+8=51', '51/17=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.945313 | hs_4 | mult_heuristic |
[
1,
78,
70,
12
] | 88 | [
"12-1=11",
"78-70=8",
"11*8=88"
] | Current State: 88:[1, 78, 70, 12], Operations: []
Exploring Operation: 12-1=11, Resulting Numbers: [78, 70, 11]
Generated Node #2: [78, 70, 11] from Operation: 12-1=11
Current State: 88:[78, 70, 11], Operations: ['12-1=11']
Exploring Operation: 78-70=8, Resulting Numbers: [11, 8]
Generated Node #3: [11, 8] from Operation: 78-70=8
Current State: 88:[11, 8], Operations: ['12-1=11', '78-70=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[1, 78, 70, 12], Operations: []
Exploring Operation: 78+12=90, Resulting Numbers: [1, 70, 90]
Generated Node #0,0: 88:[1, 70, 90] Operation: 78+12=90
Exploring Operation: 78-70=8, Resulting Numbers: [1, 12, 8]
Generated Node #0,1: 88:[1, 12, 8] Operation: 78-70=8
Exploring Operation: 70+12=82, Resulting Numbers: [1, 78, 82]
Generated Node #0,2: 88:[1, 78, 82] Operation: 70+12=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[1, 12, 8], Operations: ['78-70=8']
Exploring Operation: 12-1=11, Resulting Numbers: [8, 11]
Generated Node #0,1,0: 88:[8, 11] Operation: 12-1=11
Exploring Operation: 1*12=12, Resulting Numbers: [8, 12]
Generated Node #0,1,1: 88:[8, 12] Operation: 1*12=12
Exploring Operation: 12/1=12, Resulting Numbers: [8, 12]
Generated Node #0,1,2: 88:[8, 12] Operation: 12/1=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[8, 11], Operations: ['78-70=8', '12-1=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[1, 78, 70, 12], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [1, 12, 8]
Generated Node #0,1: 88:[1, 12, 8] Operation: 78-70=8
Moving to Node #0,1
Current State: 88:[1, 12, 8], Operations: ['78-70=8']
Exploring Operation: 12-1=11, Resulting Numbers: [8, 11]
Generated Node #0,1,0: 88:[8, 11] Operation: 12-1=11
Moving to Node #0,1,0
Current State: 88:[8, 11], Operations: ['78-70=8', '12-1=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
64,
30,
11,
57
] | 19 | [
"64+57=121",
"121/11=11",
"30-11=19"
] | Current State: 19:[64, 30, 11, 57], Operations: []
Exploring Operation: 64+57=121, Resulting Numbers: [30, 11, 121]
Generated Node #2: [30, 11, 121] from Operation: 64+57=121
Current State: 19:[30, 11, 121], Operations: ['64+57=121']
Exploring Operation: 121/11=11, Resulting Numbers: [30, 11]
Generated Node #3: [30, 11] from Operation: 121/11=11
Current State: 19:[30, 11], Operations: ['64+57=121', '121/11=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[64, 30, 11, 57], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [30, 11, 7]
Generated Node #0,0: 19:[30, 11, 7] Operation: 64-57=7
Moving to Node #0,0
Current State: 19:[30, 11, 7], Operations: ['64-57=7']
Exploring Operation: 30-11=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 19:[7, 19] Operation: 30-11=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[7, 19], Operations: ['64-57=7', '30-11=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,19 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 |
[
49,
33,
86,
27
] | 97 | [
"49-33=16",
"86+27=113",
"113-16=97"
] | Current State: 97:[49, 33, 86, 27], Operations: []
Exploring Operation: 49-33=16, Resulting Numbers: [86, 27, 16]
Generated Node #2: [86, 27, 16] from Operation: 49-33=16
Current State: 97:[86, 27, 16], Operations: ['49-33=16']
Exploring Operation: 86+27=113, Resulting Numbers: [16, 113]
Generated Node #3: [16, 113] from Operation: 86+27=113
Current State: 97:[16, 113], Operations: ['49-33=16', '86+27=113']
Exploring Operation: 113-16=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[49, 33, 86, 27], Operations: []
Exploring Operation: 49+33=82, Resulting Numbers: [86, 27, 82]
Generated Node #0,0: 97:[86, 27, 82] Operation: 49+33=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[86, 27, 82], Operations: ['49+33=82']
Exploring Operation: 27+82=109, Resulting Numbers: [86, 109]
Generated Node #0,0,0: 97:[86, 109] Operation: 27+82=109
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[86, 109], Operations: ['49+33=82', '27+82=109']
Exploring Operation: 109-86=23, Resulting Numbers: [23]
23,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
2,
85,
72
] | 38 | [
"85-72=13",
"2*13=26",
"64-26=38"
] | Current State: 38:[64, 2, 85, 72], Operations: []
Exploring Operation: 85-72=13, Resulting Numbers: [64, 2, 13]
Generated Node #2: [64, 2, 13] from Operation: 85-72=13
Current State: 38:[64, 2, 13], Operations: ['85-72=13']
Exploring Operation: 2*13=26, Resulting Numbers: [64, 26]
Generated Node #3: [64, 26] from Operation: 2*13=26
Current State: 38:[64, 26], Operations: ['85-72=13', '2*13=26']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[64, 2, 85, 72], Operations: []
Exploring Operation: 85-64=21, Resulting Numbers: [2, 72, 21]
Generated Node #0,0: 38:[2, 72, 21] Operation: 85-64=21
Exploring Operation: 85-72=13, Resulting Numbers: [64, 2, 13]
Generated Node #0,1: 38:[64, 2, 13] Operation: 85-72=13
Exploring Operation: 72-64=8, Resulting Numbers: [2, 85, 8]
Generated Node #0,2: 38:[2, 85, 8] Operation: 72-64=8
Exploring Operation: 72/2=36, Resulting Numbers: [64, 85, 36]
Generated Node #0,3: 38:[64, 85, 36] Operation: 72/2=36
Moving to Node #0,1
Current State: 38:[64, 2, 13], Operations: ['85-72=13']
Exploring Operation: 64-2=62, Resulting Numbers: [13, 62]
Generated Node #0,1,0: 38:[13, 62] Operation: 64-2=62
Exploring Operation: 64-13=51, Resulting Numbers: [2, 51]
Generated Node #0,1,1: 38:[2, 51] Operation: 64-13=51
Exploring Operation: 2+13=15, Resulting Numbers: [64, 15]
Generated Node #0,1,2: 38:[64, 15] Operation: 2+13=15
Exploring Operation: 64/2=32, Resulting Numbers: [13, 32]
Generated Node #0,1,3: 38:[13, 32] Operation: 64/2=32
Moving to Node #0,0
Current State: 38:[2, 72, 21], Operations: ['85-64=21']
Exploring Operation: 72-2=70, Resulting Numbers: [21, 70]
Generated Node #0,0,0: 38:[21, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [21, 36]
Generated Node #0,0,1: 38:[21, 36] Operation: 72/2=36
Exploring Operation: 21-2=19, Resulting Numbers: [72, 19]
Generated Node #0,0,2: 38:[72, 19] Operation: 21-2=19
Exploring Operation: 72-21=51, Resulting Numbers: [2, 51]
Generated Node #0,0,3: 38:[2, 51] Operation: 72-21=51
Moving to Node #0,2
Current State: 38:[2, 85, 8], Operations: ['72-64=8']
Exploring Operation: 2*8=16, Resulting Numbers: [85, 16]
Generated Node #0,2,0: 38:[85, 16] Operation: 2*8=16
Exploring Operation: 85-2=83, Resulting Numbers: [8, 83]
Generated Node #0,2,1: 38:[8, 83] Operation: 85-2=83
Exploring Operation: 85-8=77, Resulting Numbers: [2, 77]
Generated Node #0,2,2: 38:[2, 77] Operation: 85-8=77
Exploring Operation: 8/2=4, Resulting Numbers: [85, 4]
Generated Node #0,2,3: 38:[85, 4] Operation: 8/2=4
Moving to Node #0,3
Current State: 38:[64, 85, 36], Operations: ['72/2=36']
Exploring Operation: 85-64=21, Resulting Numbers: [36, 21]
Generated Node #0,3,0: 38:[36, 21] Operation: 85-64=21
Exploring Operation: 85-36=49, Resulting Numbers: [64, 49]
Generated Node #0,3,1: 38:[64, 49] Operation: 85-36=49
Exploring Operation: 64-36=28, Resulting Numbers: [85, 28]
Generated Node #0,3,2: 38:[85, 28] Operation: 64-36=28
Exploring Operation: 64+36=100, Resulting Numbers: [85, 100]
Generated Node #0,3,3: 38:[85, 100] Operation: 64+36=100
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[36, 21], Operations: ['72/2=36', '85-64=21']
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,38 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,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,3,1
Current State: 38:[64, 49], Operations: ['72/2=36', '85-36=49']
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,38 unequal: No Solution
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,38 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,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,3,2
Current State: 38:[85, 28], Operations: ['72/2=36', '64-36=28']
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,38 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,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,3,3
Current State: 38:[85, 100], Operations: ['72/2=36', '64+36=100']
Exploring Operation: 100-85=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 85+100=185, Resulting Numbers: [185]
185,38 unequal: No Solution
Exploring Operation: 85*100=8500, Resulting Numbers: [8500]
8500,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 38:[21, 36], Operations: ['85-64=21', '72/2=36']
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,38 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[13, 32], Operations: ['85-72=13', '64/2=32']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,38 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[2, 51], Operations: ['85-64=21', '72-21=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[2, 51], Operations: ['85-72=13', '64-13=51']
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,38 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[13, 62], Operations: ['85-72=13', '64-2=62']
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 13*62=806, Resulting Numbers: [806]
806,38 unequal: No Solution
Exploring Operation: 13+62=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[64, 15], Operations: ['85-72=13', '2+13=15']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 64*15=960, Resulting Numbers: [960]
960,38 unequal: No Solution
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[21, 70], Operations: ['85-64=21', '72-2=70']
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 21*70=1470, Resulting Numbers: [1470]
1470,38 unequal: No Solution
Exploring Operation: 21+70=91, Resulting Numbers: [91]
91,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[72, 19], Operations: ['85-64=21', '21-2=19']
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,38 unequal: No Solution
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,38 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[2, 77], Operations: ['72-64=8', '85-8=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,38 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,38 unequal: No Solution
Moving to Node #0,2,3
Current State: 38:[85, 4], Operations: ['72-64=8', '8/2=4']
Exploring Operation: 85*4=340, Resulting Numbers: [340]
340,38 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,38 unequal: No Solution
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[85, 16], Operations: ['72-64=8', '2*8=16']
Exploring Operation: 85*16=1360, Resulting Numbers: [1360]
1360,38 unequal: No Solution
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 85+16=101, Resulting Numbers: [101]
101,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[8, 83], Operations: ['72-64=8', '85-2=83']
Exploring Operation: 8+83=91, Resulting Numbers: [91]
91,38 unequal: No Solution
Exploring Operation: 8*83=664, Resulting Numbers: [664]
664,38 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,38 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
34,
38,
20,
17
] | 22 | [
"38-34=4",
"20/4=5",
"17+5=22"
] | Current State: 22:[34, 38, 20, 17], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [20, 17, 4]
Generated Node #2: [20, 17, 4] from Operation: 38-34=4
Current State: 22:[20, 17, 4], Operations: ['38-34=4']
Exploring Operation: 20/4=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 20/4=5
Current State: 22:[17, 5], Operations: ['38-34=4', '20/4=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[34, 38, 20, 17], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [20, 17, 4]
Generated Node #0,0: 22:[20, 17, 4] Operation: 38-34=4
Exploring Operation: 38-17=21, Resulting Numbers: [34, 20, 21]
Generated Node #0,1: 22:[34, 20, 21] Operation: 38-17=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[20, 17, 4], Operations: ['38-34=4']
Exploring Operation: 20-17=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 22:[4, 3] Operation: 20-17=3
Exploring Operation: 17+4=21, Resulting Numbers: [20, 21]
Generated Node #0,0,1: 22:[20, 21] Operation: 17+4=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[4, 3], Operations: ['38-34=4', '20-17=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No 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: 22:[20, 21], Operations: ['38-34=4', '17+4=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,22 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: 22:[34, 20, 21], Operations: ['38-17=21']
Exploring Operation: 34-21=13, Resulting Numbers: [20, 13]
Generated Node #0,1,0: 22:[20, 13] Operation: 34-21=13
Exploring Operation: 34-20=14, Resulting Numbers: [21, 14]
Generated Node #0,1,1: 22:[21, 14] Operation: 34-20=14
Moving to Node #0,1,0
Current State: 22:[20, 13], Operations: ['38-17=21', '34-21=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[21, 14], Operations: ['38-17=21', '34-20=14']
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
28,
20,
52
] | 77 | [
"17+28=45",
"52-20=32",
"45+32=77"
] | Current State: 77:[17, 28, 20, 52], Operations: []
Exploring Operation: 17+28=45, Resulting Numbers: [20, 52, 45]
Generated Node #2: [20, 52, 45] from Operation: 17+28=45
Current State: 77:[20, 52, 45], Operations: ['17+28=45']
Exploring Operation: 52-20=32, Resulting Numbers: [45, 32]
Generated Node #3: [45, 32] from Operation: 52-20=32
Current State: 77:[45, 32], Operations: ['17+28=45', '52-20=32']
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[17, 28, 20, 52], Operations: []
Exploring Operation: 28+52=80, Resulting Numbers: [17, 20, 80]
Generated Node #0,0: 77:[17, 20, 80] Operation: 28+52=80
Exploring Operation: 52-28=24, Resulting Numbers: [17, 20, 24]
Generated Node #0,1: 77:[17, 20, 24] Operation: 52-28=24
Moving to Node #0,0
Current State: 77:[17, 20, 80], Operations: ['28+52=80']
Exploring Operation: 20-17=3, Resulting Numbers: [80, 3]
Generated Node #0,0,0: 77:[80, 3] Operation: 20-17=3
Exploring Operation: 80/20=4, Resulting Numbers: [17, 4]
Generated Node #0,0,1: 77:[17, 4] Operation: 80/20=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[80, 3], Operations: ['28+52=80', '20-17=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[17, 28, 20, 52], Operations: []
Exploring Operation: 28+52=80, Resulting Numbers: [17, 20, 80]
Generated Node #0,0: 77:[17, 20, 80] Operation: 28+52=80
Moving to Node #0,0
Current State: 77:[17, 20, 80], Operations: ['28+52=80']
Exploring Operation: 20-17=3, Resulting Numbers: [80, 3]
Generated Node #0,0,0: 77:[80, 3] Operation: 20-17=3
Moving to Node #0,0,0
Current State: 77:[80, 3], Operations: ['28+52=80', '20-17=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
22,
49,
87,
25
] | 89 | [
"49-22=27",
"87-25=62",
"27+62=89"
] | Current State: 89:[22, 49, 87, 25], Operations: []
Exploring Operation: 49-22=27, Resulting Numbers: [87, 25, 27]
Generated Node #2: [87, 25, 27] from Operation: 49-22=27
Current State: 89:[87, 25, 27], Operations: ['49-22=27']
Exploring Operation: 87-25=62, Resulting Numbers: [27, 62]
Generated Node #3: [27, 62] from Operation: 87-25=62
Current State: 89:[27, 62], Operations: ['49-22=27', '87-25=62']
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[22, 49, 87, 25], Operations: []
Exploring Operation: 22+49=71, Resulting Numbers: [87, 25, 71]
Generated Node #0,0: 89:[87, 25, 71] Operation: 22+49=71
Moving to Node #0,0
Current State: 89:[87, 25, 71], Operations: ['22+49=71']
Exploring Operation: 25+71=96, Resulting Numbers: [87, 96]
Generated Node #0,0,0: 89:[87, 96] Operation: 25+71=96
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[87, 96], Operations: ['22+49=71', '25+71=96']
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
94,
5,
61,
60
] | 19 | [
"94+61=155",
"155-60=95",
"95/5=19"
] | Current State: 19:[94, 5, 61, 60], Operations: []
Exploring Operation: 94+61=155, Resulting Numbers: [5, 60, 155]
Generated Node #2: [5, 60, 155] from Operation: 94+61=155
Current State: 19:[5, 60, 155], Operations: ['94+61=155']
Exploring Operation: 155-60=95, Resulting Numbers: [5, 95]
Generated Node #3: [5, 95] from Operation: 155-60=95
Current State: 19:[5, 95], Operations: ['94+61=155', '155-60=95']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[94, 5, 61, 60], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [5, 61, 34]
Generated Node #0,0: 19:[5, 61, 34] Operation: 94-60=34
Exploring Operation: 94-61=33, Resulting Numbers: [5, 60, 33]
Generated Node #0,1: 19:[5, 60, 33] Operation: 94-61=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[5, 60, 33], Operations: ['94-61=33']
Exploring Operation: 60/5=12, Resulting Numbers: [33, 12]
Generated Node #0,1,0: 19:[33, 12] Operation: 60/5=12
Exploring Operation: 60-33=27, Resulting Numbers: [5, 27]
Generated Node #0,1,1: 19:[5, 27] Operation: 60-33=27
Moving to Node #0,1,0
Current State: 19:[33, 12], Operations: ['94-61=33', '60/5=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[5, 27], Operations: ['94-61=33', '60-33=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[5, 61, 34], Operations: ['94-60=34']
Exploring Operation: 61-34=27, Resulting Numbers: [5, 27]
Generated Node #0,0,0: 19:[5, 27] Operation: 61-34=27
Exploring Operation: 61-5=56, Resulting Numbers: [34, 56]
Generated Node #0,0,1: 19:[34, 56] Operation: 61-5=56
Moving to Node #0,0,0
Current State: 19:[5, 27], Operations: ['94-60=34', '61-34=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[34, 56], Operations: ['94-60=34', '61-5=56']
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
41,
11,
6
] | 47 | [
"12-11=1",
"41+6=47",
"1*47=47"
] | Current State: 47:[12, 41, 11, 6], Operations: []
Exploring Operation: 12-11=1, Resulting Numbers: [41, 6, 1]
Generated Node #2: [41, 6, 1] from Operation: 12-11=1
Current State: 47:[41, 6, 1], Operations: ['12-11=1']
Exploring Operation: 41+6=47, Resulting Numbers: [1, 47]
Generated Node #3: [1, 47] from Operation: 41+6=47
Current State: 47:[1, 47], Operations: ['12-11=1', '41+6=47']
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[12, 41, 11, 6], Operations: []
Exploring Operation: 12*6=72, Resulting Numbers: [41, 11, 72]
Generated Node #0,0: 47:[41, 11, 72] Operation: 12*6=72
Exploring Operation: 11*6=66, Resulting Numbers: [12, 41, 66]
Generated Node #0,1: 47:[12, 41, 66] Operation: 11*6=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[12, 41, 66], Operations: ['11*6=66']
Exploring Operation: 66-12=54, Resulting Numbers: [41, 54]
Generated Node #0,1,0: 47:[41, 54] Operation: 66-12=54
Exploring Operation: 12+41=53, Resulting Numbers: [66, 53]
Generated Node #0,1,1: 47:[66, 53] Operation: 12+41=53
Moving to Node #0,1,0
Current State: 47:[41, 54], Operations: ['11*6=66', '66-12=54']
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 41+54=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[66, 53], Operations: ['11*6=66', '12+41=53']
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 66+53=119, Resulting Numbers: [119]
119,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[41, 11, 72], Operations: ['12*6=72']
Exploring Operation: 41+11=52, Resulting Numbers: [72, 52]
Generated Node #0,0,0: 47:[72, 52] Operation: 41+11=52
Exploring Operation: 72-11=61, Resulting Numbers: [41, 61]
Generated Node #0,0,1: 47:[41, 61] Operation: 72-11=61
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[41, 61], Operations: ['12*6=72', '72-11=61']
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[72, 52], Operations: ['12*6=72', '41+11=52']
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,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 | mult_heuristic |
[
72,
61,
92,
5
] | 98 | [
"72-61=11",
"92-5=87",
"11+87=98"
] | Current State: 98:[72, 61, 92, 5], Operations: []
Exploring Operation: 72-61=11, Resulting Numbers: [92, 5, 11]
Generated Node #2: [92, 5, 11] from Operation: 72-61=11
Current State: 98:[92, 5, 11], Operations: ['72-61=11']
Exploring Operation: 92-5=87, Resulting Numbers: [11, 87]
Generated Node #3: [11, 87] from Operation: 92-5=87
Current State: 98:[11, 87], Operations: ['72-61=11', '92-5=87']
Exploring Operation: 11+87=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[72, 61, 92, 5], Operations: []
Exploring Operation: 72-5=67, Resulting Numbers: [61, 92, 67]
Generated Node #0,0: 98:[61, 92, 67] Operation: 72-5=67
Exploring Operation: 92-72=20, Resulting Numbers: [61, 5, 20]
Generated Node #0,1: 98:[61, 5, 20] Operation: 92-72=20
Exploring Operation: 72-61=11, Resulting Numbers: [92, 5, 11]
Generated Node #0,2: 98:[92, 5, 11] Operation: 72-61=11
Moving to Node #0,2
Current State: 98:[92, 5, 11], Operations: ['72-61=11']
Exploring Operation: 92+11=103, Resulting Numbers: [5, 103]
Generated Node #0,2,0: 98:[5, 103] Operation: 92+11=103
Exploring Operation: 92+5=97, Resulting Numbers: [11, 97]
Generated Node #0,2,1: 98:[11, 97] Operation: 92+5=97
Exploring Operation: 11-5=6, Resulting Numbers: [92, 6]
Generated Node #0,2,2: 98:[92, 6] Operation: 11-5=6
Moving to Node #0,1
Current State: 98:[61, 5, 20], Operations: ['92-72=20']
Exploring Operation: 61-5=56, Resulting Numbers: [20, 56]
Generated Node #0,1,0: 98:[20, 56] Operation: 61-5=56
Exploring Operation: 61-20=41, Resulting Numbers: [5, 41]
Generated Node #0,1,1: 98:[5, 41] Operation: 61-20=41
Exploring Operation: 20-5=15, Resulting Numbers: [61, 15]
Generated Node #0,1,2: 98:[61, 15] Operation: 20-5=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[5, 41], Operations: ['92-72=20', '61-20=41']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,98 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[20, 56], Operations: ['92-72=20', '61-5=56']
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 20*56=1120, Resulting Numbers: [1120]
1120,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[61, 15], Operations: ['92-72=20', '20-5=15']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,98 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: 98:[61, 92, 67], Operations: ['72-5=67']
Exploring Operation: 67-61=6, Resulting Numbers: [92, 6]
Generated Node #0,0,0: 98:[92, 6] Operation: 67-61=6
Exploring Operation: 92-67=25, Resulting Numbers: [61, 25]
Generated Node #0,0,1: 98:[61, 25] Operation: 92-67=25
Exploring Operation: 92-61=31, Resulting Numbers: [67, 31]
Generated Node #0,0,2: 98:[67, 31] Operation: 92-61=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[92, 6], Operations: ['72-5=67', '67-61=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,98 unequal: No Solution
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,98 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[72, 61, 92, 5], Operations: []
Exploring Operation: 72-5=67, Resulting Numbers: [61, 92, 67]
Generated Node #0,0: 98:[61, 92, 67] Operation: 72-5=67
Moving to Node #0,0
Current State: 98:[61, 92, 67], Operations: ['72-5=67']
Exploring Operation: 67-61=6, Resulting Numbers: [92, 6]
Generated Node #0,0,0: 98:[92, 6] Operation: 67-61=6
Moving to Node #0,0,0
Current State: 98:[92, 6], Operations: ['72-5=67', '67-61=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.