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 |
|---|---|---|---|---|---|---|---|---|
[
23,
32,
3,
10
] | 87 | [
"32-23=9",
"10*9=90",
"90-3=87"
] | Current State: 87:[23, 32, 3, 10], Operations: []
Exploring Operation: 32-23=9, Resulting Numbers: [3, 10, 9]
Generated Node #2: [3, 10, 9] from Operation: 32-23=9
Current State: 87:[3, 10, 9], Operations: ['32-23=9']
Exploring Operation: 10*9=90, Resulting Numbers: [3, 90]
Generated Node #3: [3, 90] from Operation: 10*9=90
Current State: 87:[3, 90], Operations: ['32-23=9', '10*9=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[23, 32, 3, 10], Operations: []
Exploring Operation: 23+3=26, Resulting Numbers: [32, 10, 26]
Generated Node #0,0: 87:[32, 10, 26] Operation: 23+3=26
Exploring Operation: 3*10=30, Resulting Numbers: [23, 32, 30]
Generated Node #0,1: 87:[23, 32, 30] Operation: 3*10=30
Exploring Operation: 32-23=9, Resulting Numbers: [3, 10, 9]
Generated Node #0,2: 87:[3, 10, 9] Operation: 32-23=9
Exploring Operation: 23+10=33, Resulting Numbers: [32, 3, 33]
Generated Node #0,3: 87:[32, 3, 33] Operation: 23+10=33
Moving to Node #0,3
Current State: 87:[32, 3, 33], Operations: ['23+10=33']
Exploring Operation: 33-3=30, Resulting Numbers: [32, 30]
Generated Node #0,3,0: 87:[32, 30] Operation: 33-3=30
Exploring Operation: 32-3=29, Resulting Numbers: [33, 29]
Generated Node #0,3,1: 87:[33, 29] Operation: 32-3=29
Exploring Operation: 33-32=1, Resulting Numbers: [3, 1]
Generated Node #0,3,2: 87:[3, 1] Operation: 33-32=1
Exploring Operation: 32+3=35, Resulting Numbers: [33, 35]
Generated Node #0,3,3: 87:[33, 35] Operation: 32+3=35
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 87:[3, 1], Operations: ['23+10=33', '33-32=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[32, 30], Operations: ['23+10=33', '33-3=30']
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,87 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[33, 29], Operations: ['23+10=33', '32-3=29']
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,87 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 33*29=957, Resulting Numbers: [957]
957,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 87:[33, 35], Operations: ['23+10=33', '32+3=35']
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,87 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,87 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: 87:[23, 32, 30], Operations: ['3*10=30']
Exploring Operation: 30-23=7, Resulting Numbers: [32, 7]
Generated Node #0,1,0: 87:[32, 7] Operation: 30-23=7
Exploring Operation: 23+32=55, Resulting Numbers: [30, 55]
Generated Node #0,1,1: 87:[30, 55] Operation: 23+32=55
Exploring Operation: 32-30=2, Resulting Numbers: [23, 2]
Generated Node #0,1,2: 87:[23, 2] Operation: 32-30=2
Exploring Operation: 32-23=9, Resulting Numbers: [30, 9]
Generated Node #0,1,3: 87:[30, 9] Operation: 32-23=9
Moving to Node #0,2
Current State: 87:[3, 10, 9], Operations: ['32-23=9']
Exploring Operation: 9/3=3, Resulting Numbers: [10, 3]
Generated Node #0,2,0: 87:[10, 3] Operation: 9/3=3
Exploring Operation: 10-9=1, Resulting Numbers: [3, 1]
Generated Node #0,2,1: 87:[3, 1] Operation: 10-9=1
Exploring Operation: 3*10=30, Resulting Numbers: [9, 30]
Generated Node #0,2,2: 87:[9, 30] Operation: 3*10=30
Exploring Operation: 10*9=90, Resulting Numbers: [3, 90]
Generated Node #0,2,3: 87:[3, 90] Operation: 10*9=90
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[3, 1], Operations: ['32-23=9', '10-9=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,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,3
Current State: 87:[3, 90], Operations: ['32-23=9', '10*9=90']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 3*90=270, Resulting Numbers: [270]
270,87 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[23, 32, 3, 10], Operations: []
Exploring Operation: 32-23=9, Resulting Numbers: [3, 10, 9]
Generated Node #0,2: 87:[3, 10, 9] Operation: 32-23=9
Moving to Node #0,2
Current State: 87:[3, 10, 9], Operations: ['32-23=9']
Exploring Operation: 10*9=90, Resulting Numbers: [3, 90]
Generated Node #0,2,3: 87:[3, 90] Operation: 10*9=90
Moving to Node #0,2,3
Current State: 87:[3, 90], Operations: ['32-23=9', '10*9=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | sum_heuristic |
[
27,
2,
1,
53
] | 26 | [
"53-27=26",
"2-1=1",
"26*1=26"
] | Current State: 26:[27, 2, 1, 53], Operations: []
Exploring Operation: 53-27=26, Resulting Numbers: [2, 1, 26]
Generated Node #2: [2, 1, 26] from Operation: 53-27=26
Current State: 26:[2, 1, 26], Operations: ['53-27=26']
Exploring Operation: 2-1=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 2-1=1
Current State: 26:[26, 1], Operations: ['53-27=26', '2-1=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[27, 2, 1, 53], Operations: []
Exploring Operation: 53-27=26, Resulting Numbers: [2, 1, 26]
Generated Node #0,0: 26:[2, 1, 26] Operation: 53-27=26
Moving to Node #0,0
Current State: 26:[2, 1, 26], Operations: ['53-27=26']
Exploring Operation: 2*1=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 26:[26, 2] Operation: 2*1=2
Moving to Node #0,0,0
Current State: 26:[26, 2], Operations: ['53-27=26', '2*1=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
34,
40,
20,
60
] | 37 | [
"40-20=20",
"60/20=3",
"34+3=37"
] | Current State: 37:[34, 40, 20, 60], Operations: []
Exploring Operation: 40-20=20, Resulting Numbers: [34, 60, 20]
Generated Node #2: [34, 60, 20] from Operation: 40-20=20
Current State: 37:[34, 60, 20], Operations: ['40-20=20']
Exploring Operation: 60/20=3, Resulting Numbers: [34, 3]
Generated Node #3: [34, 3] from Operation: 60/20=3
Current State: 37:[34, 3], Operations: ['40-20=20', '60/20=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[34, 40, 20, 60], Operations: []
Exploring Operation: 60-40=20, Resulting Numbers: [34, 20, 20]
Generated Node #0,0: 37:[34, 20, 20] Operation: 60-40=20
Exploring Operation: 60/20=3, Resulting Numbers: [34, 40, 3]
Generated Node #0,1: 37:[34, 40, 3] Operation: 60/20=3
Exploring Operation: 60-20=40, Resulting Numbers: [34, 40, 40]
Generated Node #0,2: 37:[34, 40, 40] Operation: 60-20=40
Exploring Operation: 60-34=26, Resulting Numbers: [40, 20, 26]
Generated Node #0,3: 37:[40, 20, 26] Operation: 60-34=26
Exploring Operation: 34+20=54, Resulting Numbers: [40, 60, 54]
Generated Node #0,4: 37:[40, 60, 54] Operation: 34+20=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[34, 40, 40], Operations: ['60-20=40']
Exploring Operation: 34+40=74, Resulting Numbers: [40, 74]
Generated Node #0,2,0: 37:[40, 74] Operation: 34+40=74
Exploring Operation: 40-34=6, Resulting Numbers: [40, 6]
Generated Node #0,2,1: 37:[40, 6] Operation: 40-34=6
Exploring Operation: 40-34=6, Resulting Numbers: [40, 6]
Generated Node #0,2,2: 37:[40, 6] Operation: 40-34=6
Exploring Operation: 40/40=1, Resulting Numbers: [34, 1]
Generated Node #0,2,3: 37:[34, 1] Operation: 40/40=1
Exploring Operation: 34+40=74, Resulting Numbers: [40, 74]
Generated Node #0,2,4: 37:[40, 74] Operation: 34+40=74
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[40, 6], Operations: ['60-20=40', '40-34=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,37 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 37:[40, 6], Operations: ['60-20=40', '40-34=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,37 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 37:[34, 1], Operations: ['60-20=40', '40/40=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[40, 74], Operations: ['60-20=40', '34+40=74']
Exploring Operation: 40+74=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 40*74=2960, Resulting Numbers: [2960]
2960,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 37:[40, 74], Operations: ['60-20=40', '34+40=74']
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 40+74=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 40*74=2960, Resulting Numbers: [2960]
2960,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[40, 20, 26], Operations: ['60-34=26']
Exploring Operation: 40+20=60, Resulting Numbers: [26, 60]
Generated Node #0,3,0: 37:[26, 60] Operation: 40+20=60
Exploring Operation: 20+26=46, Resulting Numbers: [40, 46]
Generated Node #0,3,1: 37:[40, 46] Operation: 20+26=46
Exploring Operation: 40-26=14, Resulting Numbers: [20, 14]
Generated Node #0,3,2: 37:[20, 14] Operation: 40-26=14
Exploring Operation: 26-20=6, Resulting Numbers: [40, 6]
Generated Node #0,3,3: 37:[40, 6] Operation: 26-20=6
Exploring Operation: 40-20=20, Resulting Numbers: [26, 20]
Generated Node #0,3,4: 37:[26, 20] Operation: 40-20=20
Moving to Node #0,3,1
Current State: 37:[40, 46], Operations: ['60-34=26', '20+26=46']
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,37 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Moving to Node #0,3,4
Current State: 37:[26, 20], Operations: ['60-34=26', '40-20=20']
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,37 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[26, 60], Operations: ['60-34=26', '40+20=60']
Exploring Operation: 26*60=1560, Resulting Numbers: [1560]
1560,37 unequal: No Solution
Exploring Operation: 26+60=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[40, 6], Operations: ['60-34=26', '26-20=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,37 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[20, 14], Operations: ['60-34=26', '40-26=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[34, 20, 20], Operations: ['60-40=20']
Exploring Operation: 34+20=54, Resulting Numbers: [20, 54]
Generated Node #0,0,0: 37:[20, 54] Operation: 34+20=54
Exploring Operation: 20/20=1, Resulting Numbers: [34, 1]
Generated Node #0,0,1: 37:[34, 1] Operation: 20/20=1
Exploring Operation: 34+20=54, Resulting Numbers: [20, 54]
Generated Node #0,0,2: 37:[20, 54] Operation: 34+20=54
Exploring Operation: 34-20=14, Resulting Numbers: [20, 14]
Generated Node #0,0,3: 37:[20, 14] Operation: 34-20=14
Exploring Operation: 20+20=40, Resulting Numbers: [34, 40]
Generated Node #0,0,4: 37:[34, 40] Operation: 20+20=40
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 37:[34, 40], Operations: ['60-40=20', '20+20=40']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[20, 54], Operations: ['60-40=20', '34+20=54']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[20, 54], Operations: ['60-40=20', '34+20=54']
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[34, 1], Operations: ['60-40=20', '20/20=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[20, 14], Operations: ['60-40=20', '34-20=14']
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,37 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[34, 40, 3], Operations: ['60/20=3']
Exploring Operation: 40+3=43, Resulting Numbers: [34, 43]
Generated Node #0,1,0: 37:[34, 43] Operation: 40+3=43
Exploring Operation: 40-34=6, Resulting Numbers: [3, 6]
Generated Node #0,1,1: 37:[3, 6] Operation: 40-34=6
Exploring Operation: 40-3=37, Resulting Numbers: [34, 37]
Generated Node #0,1,2: 37:[34, 37] Operation: 40-3=37
Exploring Operation: 34+3=37, Resulting Numbers: [40, 37]
Generated Node #0,1,3: 37:[40, 37] Operation: 34+3=37
Exploring Operation: 34-3=31, Resulting Numbers: [40, 31]
Generated Node #0,1,4: 37:[40, 31] Operation: 34-3=31
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[34, 37], Operations: ['60/20=3', '40-3=37']
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,37 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 37:[40, 37], Operations: ['60/20=3', '34+3=37']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,37 unequal: No Solution
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[34, 43], Operations: ['60/20=3', '40+3=43']
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 37:[40, 31], Operations: ['60/20=3', '34-3=31']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,37 unequal: No Solution
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[3, 6], Operations: ['60/20=3', '40-34=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[40, 60, 54], Operations: ['34+20=54']
Exploring Operation: 40+60=100, Resulting Numbers: [54, 100]
Generated Node #0,4,0: 37:[54, 100] Operation: 40+60=100
Exploring Operation: 40+54=94, Resulting Numbers: [60, 94]
Generated Node #0,4,1: 37:[60, 94] Operation: 40+54=94
Exploring Operation: 54-40=14, Resulting Numbers: [60, 14]
Generated Node #0,4,2: 37:[60, 14] Operation: 54-40=14
Exploring Operation: 60-54=6, Resulting Numbers: [40, 6]
Generated Node #0,4,3: 37:[40, 6] Operation: 60-54=6
Exploring Operation: 60-40=20, Resulting Numbers: [54, 20]
Generated Node #0,4,4: 37:[54, 20] Operation: 60-40=20
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 37:[40, 6], Operations: ['34+20=54', '60-54=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 37:[54, 20], Operations: ['34+20=54', '60-40=20']
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,37 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 37:[60, 14], Operations: ['34+20=54', '54-40=14']
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,37 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 37:[54, 100], Operations: ['34+20=54', '40+60=100']
Exploring Operation: 54+100=154, Resulting Numbers: [154]
154,37 unequal: No Solution
Exploring Operation: 100-54=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 54*100=5400, Resulting Numbers: [5400]
5400,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 37:[60, 94], Operations: ['34+20=54', '40+54=94']
Exploring Operation: 60*94=5640, Resulting Numbers: [5640]
5640,37 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 60+94=154, Resulting Numbers: [154]
154,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
16,
51,
14,
62
] | 22 | [
"16-14=2",
"62-51=11",
"2*11=22"
] | Current State: 22:[16, 51, 14, 62], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [51, 62, 2]
Generated Node #2: [51, 62, 2] from Operation: 16-14=2
Current State: 22:[51, 62, 2], Operations: ['16-14=2']
Exploring Operation: 62-51=11, Resulting Numbers: [2, 11]
Generated Node #3: [2, 11] from Operation: 62-51=11
Current State: 22:[2, 11], Operations: ['16-14=2', '62-51=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[16, 51, 14, 62], Operations: []
Exploring Operation: 62-16=46, Resulting Numbers: [51, 14, 46]
Generated Node #0,0: 22:[51, 14, 46] Operation: 62-16=46
Exploring Operation: 51-16=35, Resulting Numbers: [14, 62, 35]
Generated Node #0,1: 22:[14, 62, 35] Operation: 51-16=35
Exploring Operation: 62-51=11, Resulting Numbers: [16, 14, 11]
Generated Node #0,2: 22:[16, 14, 11] Operation: 62-51=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[16, 14, 11], Operations: ['62-51=11']
Exploring Operation: 16-14=2, Resulting Numbers: [11, 2]
Generated Node #0,2,0: 22:[11, 2] Operation: 16-14=2
Exploring Operation: 14-11=3, Resulting Numbers: [16, 3]
Generated Node #0,2,1: 22:[16, 3] Operation: 14-11=3
Exploring Operation: 16-11=5, Resulting Numbers: [14, 5]
Generated Node #0,2,2: 22:[14, 5] Operation: 16-11=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[11, 2], Operations: ['62-51=11', '16-14=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[16, 51, 14, 62], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [16, 14, 11]
Generated Node #0,2: 22:[16, 14, 11] Operation: 62-51=11
Moving to Node #0,2
Current State: 22:[16, 14, 11], Operations: ['62-51=11']
Exploring Operation: 16-14=2, Resulting Numbers: [11, 2]
Generated Node #0,2,0: 22:[11, 2] Operation: 16-14=2
Moving to Node #0,2,0
Current State: 22:[11, 2], Operations: ['62-51=11', '16-14=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
25,
15,
17,
20
] | 40 | [
"25-17=8",
"20-15=5",
"8*5=40"
] | Current State: 40:[25, 15, 17, 20], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [15, 20, 8]
Generated Node #2: [15, 20, 8] from Operation: 25-17=8
Current State: 40:[15, 20, 8], Operations: ['25-17=8']
Exploring Operation: 20-15=5, Resulting Numbers: [8, 5]
Generated Node #3: [8, 5] from Operation: 20-15=5
Current State: 40:[8, 5], Operations: ['25-17=8', '20-15=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[25, 15, 17, 20], Operations: []
Exploring Operation: 25+15=40, Resulting Numbers: [17, 20, 40]
Generated Node #0,0: 40:[17, 20, 40] Operation: 25+15=40
Moving to Node #0,0
Current State: 40:[17, 20, 40], Operations: ['25+15=40']
Exploring Operation: 20-17=3, Resulting Numbers: [40, 3]
Generated Node #0,0,0: 40:[40, 3] Operation: 20-17=3
Moving to Node #0,0,0
Current State: 40:[40, 3], Operations: ['25+15=40', '20-17=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,40 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
46,
27,
43,
30
] | 95 | [
"30-27=3",
"46*3=138",
"138-43=95"
] | Current State: 95:[46, 27, 43, 30], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [46, 43, 3]
Generated Node #2: [46, 43, 3] from Operation: 30-27=3
Current State: 95:[46, 43, 3], Operations: ['30-27=3']
Exploring Operation: 46*3=138, Resulting Numbers: [43, 138]
Generated Node #3: [43, 138] from Operation: 46*3=138
Current State: 95:[43, 138], Operations: ['30-27=3', '46*3=138']
Exploring Operation: 138-43=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[46, 27, 43, 30], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [27, 30, 3]
Generated Node #0,0: 95:[27, 30, 3] Operation: 46-43=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[27, 30, 3], Operations: ['46-43=3']
Exploring Operation: 30-27=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 95:[3, 3] Operation: 30-27=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[3, 3], Operations: ['46-43=3', '30-27=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,95 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 |
[
70,
17,
44,
65
] | 41 | [
"70-65=5",
"17*5=85",
"85-44=41"
] | Current State: 41:[70, 17, 44, 65], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [17, 44, 5]
Generated Node #2: [17, 44, 5] from Operation: 70-65=5
Current State: 41:[17, 44, 5], Operations: ['70-65=5']
Exploring Operation: 17*5=85, Resulting Numbers: [44, 85]
Generated Node #3: [44, 85] from Operation: 17*5=85
Current State: 41:[44, 85], Operations: ['70-65=5', '17*5=85']
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[70, 17, 44, 65], Operations: []
Exploring Operation: 70-17=53, Resulting Numbers: [44, 65, 53]
Generated Node #0,0: 41:[44, 65, 53] Operation: 70-17=53
Moving to Node #0,0
Current State: 41:[44, 65, 53], Operations: ['70-17=53']
Exploring Operation: 65-44=21, Resulting Numbers: [53, 21]
Generated Node #0,0,0: 41:[53, 21] Operation: 65-44=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[53, 21], Operations: ['70-17=53', '65-44=21']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,41 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 |
[
98,
86,
93,
16
] | 65 | [
"98-86=12",
"93-16=77",
"77-12=65"
] | Current State: 65:[98, 86, 93, 16], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [93, 16, 12]
Generated Node #2: [93, 16, 12] from Operation: 98-86=12
Current State: 65:[93, 16, 12], Operations: ['98-86=12']
Exploring Operation: 93-16=77, Resulting Numbers: [12, 77]
Generated Node #3: [12, 77] from Operation: 93-16=77
Current State: 65:[12, 77], Operations: ['98-86=12', '93-16=77']
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[98, 86, 93, 16], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [93, 16, 12]
Generated Node #0,0: 65:[93, 16, 12] Operation: 98-86=12
Exploring Operation: 93-86=7, Resulting Numbers: [98, 16, 7]
Generated Node #0,1: 65:[98, 16, 7] Operation: 93-86=7
Exploring Operation: 98-16=82, Resulting Numbers: [86, 93, 82]
Generated Node #0,2: 65:[86, 93, 82] Operation: 98-16=82
Exploring Operation: 98-93=5, Resulting Numbers: [86, 16, 5]
Generated Node #0,3: 65:[86, 16, 5] Operation: 98-93=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[86, 16, 5], Operations: ['98-93=5']
Exploring Operation: 86-16=70, Resulting Numbers: [5, 70]
Generated Node #0,3,0: 65:[5, 70] Operation: 86-16=70
Exploring Operation: 86+5=91, Resulting Numbers: [16, 91]
Generated Node #0,3,1: 65:[16, 91] Operation: 86+5=91
Exploring Operation: 16-5=11, Resulting Numbers: [86, 11]
Generated Node #0,3,2: 65:[86, 11] Operation: 16-5=11
Exploring Operation: 86-5=81, Resulting Numbers: [16, 81]
Generated Node #0,3,3: 65:[16, 81] Operation: 86-5=81
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[5, 70], Operations: ['98-93=5', '86-16=70']
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,65 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[98, 86, 93, 16], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [86, 16, 5]
Generated Node #0,3: 65:[86, 16, 5] Operation: 98-93=5
Moving to Node #0,3
Current State: 65:[86, 16, 5], Operations: ['98-93=5']
Exploring Operation: 86-16=70, Resulting Numbers: [5, 70]
Generated Node #0,3,0: 65:[5, 70] Operation: 86-16=70
Moving to Node #0,3,0
Current State: 65:[5, 70], Operations: ['98-93=5', '86-16=70']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
65,
32,
90,
36
] | 87 | [
"65-32=33",
"90-36=54",
"33+54=87"
] | Current State: 87:[65, 32, 90, 36], Operations: []
Exploring Operation: 65-32=33, Resulting Numbers: [90, 36, 33]
Generated Node #2: [90, 36, 33] from Operation: 65-32=33
Current State: 87:[90, 36, 33], Operations: ['65-32=33']
Exploring Operation: 90-36=54, Resulting Numbers: [33, 54]
Generated Node #3: [33, 54] from Operation: 90-36=54
Current State: 87:[33, 54], Operations: ['65-32=33', '90-36=54']
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[65, 32, 90, 36], Operations: []
Exploring Operation: 65-32=33, Resulting Numbers: [90, 36, 33]
Generated Node #0,0: 87:[90, 36, 33] Operation: 65-32=33
Exploring Operation: 65-36=29, Resulting Numbers: [32, 90, 29]
Generated Node #0,1: 87:[32, 90, 29] Operation: 65-36=29
Moving to Node #0,1
Current State: 87:[32, 90, 29], Operations: ['65-36=29']
Exploring Operation: 90-32=58, Resulting Numbers: [29, 58]
Generated Node #0,1,0: 87:[29, 58] Operation: 90-32=58
Exploring Operation: 32-29=3, Resulting Numbers: [90, 3]
Generated Node #0,1,1: 87:[90, 3] Operation: 32-29=3
Moving to Node #0,0
Current State: 87:[90, 36, 33], Operations: ['65-32=33']
Exploring Operation: 36+33=69, Resulting Numbers: [90, 69]
Generated Node #0,0,0: 87:[90, 69] Operation: 36+33=69
Exploring Operation: 36-33=3, Resulting Numbers: [90, 3]
Generated Node #0,0,1: 87:[90, 3] Operation: 36-33=3
Moving to Node #0,1,1
Current State: 87:[90, 3], Operations: ['65-36=29', '32-29=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[65, 32, 90, 36], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [32, 90, 29]
Generated Node #0,1: 87:[32, 90, 29] Operation: 65-36=29
Moving to Node #0,1
Current State: 87:[32, 90, 29], Operations: ['65-36=29']
Exploring Operation: 32-29=3, Resulting Numbers: [90, 3]
Generated Node #0,1,1: 87:[90, 3] Operation: 32-29=3
Moving to Node #0,1,1
Current State: 87:[90, 3], Operations: ['65-36=29', '32-29=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
33,
3,
30,
78
] | 49 | [
"78-30=48",
"48/3=16",
"33+16=49"
] | Current State: 49:[33, 3, 30, 78], Operations: []
Exploring Operation: 78-30=48, Resulting Numbers: [33, 3, 48]
Generated Node #2: [33, 3, 48] from Operation: 78-30=48
Current State: 49:[33, 3, 48], Operations: ['78-30=48']
Exploring Operation: 48/3=16, Resulting Numbers: [33, 16]
Generated Node #3: [33, 16] from Operation: 48/3=16
Current State: 49:[33, 16], Operations: ['78-30=48', '48/3=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[33, 3, 30, 78], Operations: []
Exploring Operation: 30/3=10, Resulting Numbers: [33, 78, 10]
Generated Node #0,0: 49:[33, 78, 10] Operation: 30/3=10
Exploring Operation: 78-33=45, Resulting Numbers: [3, 30, 45]
Generated Node #0,1: 49:[3, 30, 45] Operation: 78-33=45
Exploring Operation: 33+30=63, Resulting Numbers: [3, 78, 63]
Generated Node #0,2: 49:[3, 78, 63] Operation: 33+30=63
Exploring Operation: 33-30=3, Resulting Numbers: [3, 78, 3]
Generated Node #0,3: 49:[3, 78, 3] Operation: 33-30=3
Exploring Operation: 78-30=48, Resulting Numbers: [33, 3, 48]
Generated Node #0,4: 49:[33, 3, 48] Operation: 78-30=48
Moving to Node #0,4
Current State: 49:[33, 3, 48], Operations: ['78-30=48']
Exploring Operation: 48-33=15, Resulting Numbers: [3, 15]
Generated Node #0,4,0: 49:[3, 15] Operation: 48-33=15
Exploring Operation: 33/3=11, Resulting Numbers: [48, 11]
Generated Node #0,4,1: 49:[48, 11] Operation: 33/3=11
Exploring Operation: 3+48=51, Resulting Numbers: [33, 51]
Generated Node #0,4,2: 49:[33, 51] Operation: 3+48=51
Exploring Operation: 33+3=36, Resulting Numbers: [48, 36]
Generated Node #0,4,3: 49:[48, 36] Operation: 33+3=36
Exploring Operation: 33-3=30, Resulting Numbers: [48, 30]
Generated Node #0,4,4: 49:[48, 30] Operation: 33-3=30
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 49:[48, 11], Operations: ['78-30=48', '33/3=11']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 48*11=528, Resulting Numbers: [528]
528,49 unequal: No Solution
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 49:[3, 15], Operations: ['78-30=48', '48-33=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 49:[48, 36], Operations: ['78-30=48', '33+3=36']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 48*36=1728, Resulting Numbers: [1728]
1728,49 unequal: No Solution
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 49:[33, 51], Operations: ['78-30=48', '3+48=51']
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 49:[48, 30], Operations: ['78-30=48', '33-3=30']
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,49 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,49 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: 49:[3, 30, 45], Operations: ['78-33=45']
Exploring Operation: 45-30=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 49:[3, 15] Operation: 45-30=15
Exploring Operation: 3+45=48, Resulting Numbers: [30, 48]
Generated Node #0,1,1: 49:[30, 48] Operation: 3+45=48
Exploring Operation: 30/3=10, Resulting Numbers: [45, 10]
Generated Node #0,1,2: 49:[45, 10] Operation: 30/3=10
Exploring Operation: 30-3=27, Resulting Numbers: [45, 27]
Generated Node #0,1,3: 49:[45, 27] Operation: 30-3=27
Exploring Operation: 3+30=33, Resulting Numbers: [45, 33]
Generated Node #0,1,4: 49:[45, 33] Operation: 3+30=33
Moving to Node #0,3
Current State: 49:[3, 78, 3], Operations: ['33-30=3']
Exploring Operation: 78-3=75, Resulting Numbers: [3, 75]
Generated Node #0,3,0: 49:[3, 75] Operation: 78-3=75
Exploring Operation: 78-3=75, Resulting Numbers: [3, 75]
Generated Node #0,3,1: 49:[3, 75] Operation: 78-3=75
Exploring Operation: 78/3=26, Resulting Numbers: [3, 26]
Generated Node #0,3,2: 49:[3, 26] Operation: 78/3=26
Exploring Operation: 78/3=26, Resulting Numbers: [3, 26]
Generated Node #0,3,3: 49:[3, 26] Operation: 78/3=26
Exploring Operation: 3+3=6, Resulting Numbers: [78, 6]
Generated Node #0,3,4: 49:[78, 6] Operation: 3+3=6
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[3, 26], Operations: ['33-30=3', '78/3=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[3, 26], Operations: ['33-30=3', '78/3=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[3, 75], Operations: ['33-30=3', '78-3=75']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,49 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[3, 75], Operations: ['33-30=3', '78-3=75']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 49:[78, 6], Operations: ['33-30=3', '3+3=6']
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,49 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,49 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: 49:[3, 78, 63], Operations: ['33+30=63']
Exploring Operation: 78-63=15, Resulting Numbers: [3, 15]
Generated Node #0,2,0: 49:[3, 15] Operation: 78-63=15
Exploring Operation: 78/3=26, Resulting Numbers: [63, 26]
Generated Node #0,2,1: 49:[63, 26] Operation: 78/3=26
Exploring Operation: 78-3=75, Resulting Numbers: [63, 75]
Generated Node #0,2,2: 49:[63, 75] Operation: 78-3=75
Exploring Operation: 63-3=60, Resulting Numbers: [78, 60]
Generated Node #0,2,3: 49:[78, 60] Operation: 63-3=60
Exploring Operation: 63/3=21, Resulting Numbers: [78, 21]
Generated Node #0,2,4: 49:[78, 21] Operation: 63/3=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[3, 15], Operations: ['33+30=63', '78-63=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[63, 26], Operations: ['33+30=63', '78/3=26']
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,49 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[63, 75], Operations: ['33+30=63', '78-3=75']
Exploring Operation: 63*75=4725, Resulting Numbers: [4725]
4725,49 unequal: No Solution
Exploring Operation: 63+75=138, Resulting Numbers: [138]
138,49 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[78, 60], Operations: ['33+30=63', '63-3=60']
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 78+60=138, Resulting Numbers: [138]
138,49 unequal: No Solution
Exploring Operation: 78*60=4680, Resulting Numbers: [4680]
4680,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 49:[78, 21], Operations: ['33+30=63', '63/3=21']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 78+21=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 78*21=1638, Resulting Numbers: [1638]
1638,49 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: 49:[33, 78, 10], Operations: ['30/3=10']
Exploring Operation: 78+10=88, Resulting Numbers: [33, 88]
Generated Node #0,0,0: 49:[33, 88] Operation: 78+10=88
Exploring Operation: 33+10=43, Resulting Numbers: [78, 43]
Generated Node #0,0,1: 49:[78, 43] Operation: 33+10=43
Exploring Operation: 78-33=45, Resulting Numbers: [10, 45]
Generated Node #0,0,2: 49:[10, 45] Operation: 78-33=45
Exploring Operation: 33-10=23, Resulting Numbers: [78, 23]
Generated Node #0,0,3: 49:[78, 23] Operation: 33-10=23
Exploring Operation: 78-10=68, Resulting Numbers: [33, 68]
Generated Node #0,0,4: 49:[33, 68] Operation: 78-10=68
Moving to Node #0,1,2
Current State: 49:[45, 10], Operations: ['78-33=45', '30/3=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,49 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[10, 45], Operations: ['30/3=10', '78-33=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[3, 15], Operations: ['78-33=45', '45-30=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[30, 48], Operations: ['78-33=45', '3+45=48']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,49 unequal: No Solution
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[45, 33], Operations: ['78-33=45', '3+30=33']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 45*33=1485, Resulting Numbers: [1485]
1485,49 unequal: No Solution
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[45, 27], Operations: ['78-33=45', '30-3=27']
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,49 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[78, 43], Operations: ['30/3=10', '33+10=43']
Exploring Operation: 78*43=3354, Resulting Numbers: [3354]
3354,49 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 78+43=121, Resulting Numbers: [121]
121,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[33, 68], Operations: ['30/3=10', '78-10=68']
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 33+68=101, Resulting Numbers: [101]
101,49 unequal: No Solution
Exploring Operation: 33*68=2244, Resulting Numbers: [2244]
2244,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[78, 23], Operations: ['30/3=10', '33-10=23']
Exploring Operation: 78*23=1794, Resulting Numbers: [1794]
1794,49 unequal: No Solution
Exploring Operation: 78+23=101, Resulting Numbers: [101]
101,49 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[33, 88], Operations: ['30/3=10', '78+10=88']
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,49 unequal: No Solution
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,49 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,49 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
65,
6,
97
] | 41 | [
"54/6=9",
"97-65=32",
"9+32=41"
] | Current State: 41:[54, 65, 6, 97], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [65, 97, 9]
Generated Node #2: [65, 97, 9] from Operation: 54/6=9
Current State: 41:[65, 97, 9], Operations: ['54/6=9']
Exploring Operation: 97-65=32, Resulting Numbers: [9, 32]
Generated Node #3: [9, 32] from Operation: 97-65=32
Current State: 41:[9, 32], Operations: ['54/6=9', '97-65=32']
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[54, 65, 6, 97], Operations: []
Exploring Operation: 97-65=32, Resulting Numbers: [54, 6, 32]
Generated Node #0,0: 41:[54, 6, 32] Operation: 97-65=32
Exploring Operation: 54-6=48, Resulting Numbers: [65, 97, 48]
Generated Node #0,1: 41:[65, 97, 48] Operation: 54-6=48
Exploring Operation: 97-54=43, Resulting Numbers: [65, 6, 43]
Generated Node #0,2: 41:[65, 6, 43] Operation: 97-54=43
Moving to Node #0,0
Current State: 41:[54, 6, 32], Operations: ['97-65=32']
Exploring Operation: 6+32=38, Resulting Numbers: [54, 38]
Generated Node #0,0,0: 41:[54, 38] Operation: 6+32=38
Exploring Operation: 54+6=60, Resulting Numbers: [32, 60]
Generated Node #0,0,1: 41:[32, 60] Operation: 54+6=60
Exploring Operation: 54-6=48, Resulting Numbers: [32, 48]
Generated Node #0,0,2: 41:[32, 48] Operation: 54-6=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[54, 38], Operations: ['97-65=32', '6+32=38']
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,41 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[32, 48], Operations: ['97-65=32', '54-6=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[32, 60], Operations: ['97-65=32', '54+6=60']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,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:[65, 6, 43], Operations: ['97-54=43']
Exploring Operation: 43-6=37, Resulting Numbers: [65, 37]
Generated Node #0,2,0: 41:[65, 37] Operation: 43-6=37
Exploring Operation: 65-6=59, Resulting Numbers: [43, 59]
Generated Node #0,2,1: 41:[43, 59] Operation: 65-6=59
Exploring Operation: 65+6=71, Resulting Numbers: [43, 71]
Generated Node #0,2,2: 41:[43, 71] Operation: 65+6=71
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[43, 59], Operations: ['97-54=43', '65-6=59']
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 43+59=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 43*59=2537, Resulting Numbers: [2537]
2537,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:[65, 37], Operations: ['97-54=43', '43-6=37']
Exploring Operation: 65+37=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 65*37=2405, Resulting Numbers: [2405]
2405,41 unequal: No Solution
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,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,2
Current State: 41:[43, 71], Operations: ['97-54=43', '65+6=71']
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 43+71=114, Resulting Numbers: [114]
114,41 unequal: No Solution
Exploring Operation: 43*71=3053, Resulting Numbers: [3053]
3053,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 41:[65, 97, 48], Operations: ['54-6=48']
Exploring Operation: 97-65=32, Resulting Numbers: [48, 32]
Generated Node #0,1,0: 41:[48, 32] Operation: 97-65=32
Exploring Operation: 97-48=49, Resulting Numbers: [65, 49]
Generated Node #0,1,1: 41:[65, 49] Operation: 97-48=49
Exploring Operation: 65-48=17, Resulting Numbers: [97, 17]
Generated Node #0,1,2: 41:[97, 17] Operation: 65-48=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[48, 32], Operations: ['54-6=48', '97-65=32']
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,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:[65, 49], Operations: ['54-6=48', '97-48=49']
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 65*49=3185, Resulting Numbers: [3185]
3185,41 unequal: No Solution
Exploring Operation: 65+49=114, Resulting Numbers: [114]
114,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,2
Current State: 41:[97, 17], Operations: ['54-6=48', '65-48=17']
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,41 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,41 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 |
[
36,
11,
16,
40
] | 30 | [
"11+16=27",
"40*27=1080",
"1080/36=30"
] | Current State: 30:[36, 11, 16, 40], Operations: []
Exploring Operation: 11+16=27, Resulting Numbers: [36, 40, 27]
Generated Node #2: [36, 40, 27] from Operation: 11+16=27
Current State: 30:[36, 40, 27], Operations: ['11+16=27']
Exploring Operation: 40*27=1080, Resulting Numbers: [36, 1080]
Generated Node #3: [36, 1080] from Operation: 40*27=1080
Current State: 30:[36, 1080], Operations: ['11+16=27', '40*27=1080']
Exploring Operation: 1080/36=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[36, 11, 16, 40], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [11, 16, 4]
Generated Node #0,0: 30:[11, 16, 4] Operation: 40-36=4
Exploring Operation: 40-16=24, Resulting Numbers: [36, 11, 24]
Generated Node #0,1: 30:[36, 11, 24] Operation: 40-16=24
Exploring Operation: 40-11=29, Resulting Numbers: [36, 16, 29]
Generated Node #0,2: 30:[36, 16, 29] Operation: 40-11=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[11, 16, 4], Operations: ['40-36=4']
Exploring Operation: 11+4=15, Resulting Numbers: [16, 15]
Generated Node #0,0,0: 30:[16, 15] Operation: 11+4=15
Exploring Operation: 16-11=5, Resulting Numbers: [4, 5]
Generated Node #0,0,1: 30:[4, 5] Operation: 16-11=5
Exploring Operation: 11-4=7, Resulting Numbers: [16, 7]
Generated Node #0,0,2: 30:[16, 7] Operation: 11-4=7
Moving to Node #0,0,0
Current State: 30:[16, 15], Operations: ['40-36=4', '11+4=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,30 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[4, 5], Operations: ['40-36=4', '16-11=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[16, 7], Operations: ['40-36=4', '11-4=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,30 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,30 unequal: No Solution
No 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: 30:[36, 16, 29], Operations: ['40-11=29']
Exploring Operation: 36-29=7, Resulting Numbers: [16, 7]
Generated Node #0,2,0: 30:[16, 7] Operation: 36-29=7
Exploring Operation: 29-16=13, Resulting Numbers: [36, 13]
Generated Node #0,2,1: 30:[36, 13] Operation: 29-16=13
Exploring Operation: 36-16=20, Resulting Numbers: [29, 20]
Generated Node #0,2,2: 30:[29, 20] Operation: 36-16=20
Moving to Node #0,2,0
Current State: 30:[16, 7], Operations: ['40-11=29', '36-29=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,30 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[29, 20], Operations: ['40-11=29', '36-16=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[36, 13], Operations: ['40-11=29', '29-16=13']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,30 unequal: No Solution
No 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: 30:[36, 11, 24], Operations: ['40-16=24']
Exploring Operation: 36-11=25, Resulting Numbers: [24, 25]
Generated Node #0,1,0: 30:[24, 25] Operation: 36-11=25
Exploring Operation: 36-24=12, Resulting Numbers: [11, 12]
Generated Node #0,1,1: 30:[11, 12] Operation: 36-24=12
Exploring Operation: 24-11=13, Resulting Numbers: [36, 13]
Generated Node #0,1,2: 30:[36, 13] Operation: 24-11=13
Moving to Node #0,1,1
Current State: 30:[11, 12], Operations: ['40-16=24', '36-24=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[36, 13], Operations: ['40-16=24', '24-11=13']
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,30 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[24, 25], Operations: ['40-16=24', '36-11=25']
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,30 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 |
[
5,
8,
3,
12
] | 25 | [
"5*8=40",
"3+12=15",
"40-15=25"
] | Current State: 25:[5, 8, 3, 12], Operations: []
Exploring Operation: 5*8=40, Resulting Numbers: [3, 12, 40]
Generated Node #2: [3, 12, 40] from Operation: 5*8=40
Current State: 25:[3, 12, 40], Operations: ['5*8=40']
Exploring Operation: 3+12=15, Resulting Numbers: [40, 15]
Generated Node #3: [40, 15] from Operation: 3+12=15
Current State: 25:[40, 15], Operations: ['5*8=40', '3+12=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[5, 8, 3, 12], Operations: []
Exploring Operation: 12-8=4, Resulting Numbers: [5, 3, 4]
Generated Node #0,0: 25:[5, 3, 4] Operation: 12-8=4
Exploring Operation: 12-5=7, Resulting Numbers: [8, 3, 7]
Generated Node #0,1: 25:[8, 3, 7] Operation: 12-5=7
Exploring Operation: 12/3=4, Resulting Numbers: [5, 8, 4]
Generated Node #0,2: 25:[5, 8, 4] Operation: 12/3=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[5, 3, 4], Operations: ['12-8=4']
Exploring Operation: 5-3=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 25:[4, 2] Operation: 5-3=2
Exploring Operation: 5+3=8, Resulting Numbers: [4, 8]
Generated Node #0,0,1: 25:[4, 8] Operation: 5+3=8
Exploring Operation: 3+4=7, Resulting Numbers: [5, 7]
Generated Node #0,0,2: 25:[5, 7] Operation: 3+4=7
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[5, 7], Operations: ['12-8=4', '3+4=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,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,0,0
Current State: 25:[4, 2], Operations: ['12-8=4', '5-3=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,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,0,1
Current State: 25:[4, 8], Operations: ['12-8=4', '5+3=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,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,2
Current State: 25:[5, 8, 4], Operations: ['12/3=4']
Exploring Operation: 8/4=2, Resulting Numbers: [5, 2]
Generated Node #0,2,0: 25:[5, 2] Operation: 8/4=2
Exploring Operation: 8-4=4, Resulting Numbers: [5, 4]
Generated Node #0,2,1: 25:[5, 4] Operation: 8-4=4
Exploring Operation: 8-5=3, Resulting Numbers: [4, 3]
Generated Node #0,2,2: 25:[4, 3] Operation: 8-5=3
Moving to Node #0,2,1
Current State: 25:[5, 4], Operations: ['12/3=4', '8-4=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[5, 2], Operations: ['12/3=4', '8/4=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[4, 3], Operations: ['12/3=4', '8-5=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[8, 3, 7], Operations: ['12-5=7']
Exploring Operation: 8*3=24, Resulting Numbers: [7, 24]
Generated Node #0,1,0: 25:[7, 24] Operation: 8*3=24
Exploring Operation: 7-3=4, Resulting Numbers: [8, 4]
Generated Node #0,1,1: 25:[8, 4] Operation: 7-3=4
Exploring Operation: 8-3=5, Resulting Numbers: [7, 5]
Generated Node #0,1,2: 25:[7, 5] Operation: 8-3=5
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[7, 5], Operations: ['12-5=7', '8-3=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[7, 24], Operations: ['12-5=7', '8*3=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,25 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[8, 4], Operations: ['12-5=7', '7-3=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
5,
89,
46,
20
] | 31 | [
"89+46=135",
"20+135=155",
"155/5=31"
] | Current State: 31:[5, 89, 46, 20], Operations: []
Exploring Operation: 89+46=135, Resulting Numbers: [5, 20, 135]
Generated Node #2: [5, 20, 135] from Operation: 89+46=135
Current State: 31:[5, 20, 135], Operations: ['89+46=135']
Exploring Operation: 20+135=155, Resulting Numbers: [5, 155]
Generated Node #3: [5, 155] from Operation: 20+135=155
Current State: 31:[5, 155], Operations: ['89+46=135', '20+135=155']
Exploring Operation: 155/5=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[5, 89, 46, 20], Operations: []
Exploring Operation: 89-46=43, Resulting Numbers: [5, 20, 43]
Generated Node #0,0: 31:[5, 20, 43] Operation: 89-46=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[5, 20, 43], Operations: ['89-46=43']
Exploring Operation: 5+20=25, Resulting Numbers: [43, 25]
Generated Node #0,0,0: 31:[43, 25] Operation: 5+20=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[43, 25], Operations: ['89-46=43', '5+20=25']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
39,
19,
39,
16
] | 52 | [
"19-16=3",
"39/3=13",
"39+13=52"
] | Current State: 52:[39, 19, 39, 16], Operations: []
Exploring Operation: 19-16=3, Resulting Numbers: [39, 39, 3]
Generated Node #2: [39, 39, 3] from Operation: 19-16=3
Current State: 52:[39, 39, 3], Operations: ['19-16=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,52 equal: Goal Reached
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[39, 19, 39, 16], Operations: []
Exploring Operation: 39-39=0, Resulting Numbers: [19, 16, 0]
Generated Node #0,0: 52:[19, 16, 0] Operation: 39-39=0
Exploring Operation: 39/39=1, Resulting Numbers: [19, 16, 1]
Generated Node #0,1: 52:[19, 16, 1] Operation: 39/39=1
Exploring Operation: 39+19=58, Resulting Numbers: [39, 16, 58]
Generated Node #0,2: 52:[39, 16, 58] Operation: 39+19=58
Moving to Node #0,1
Current State: 52:[19, 16, 1], Operations: ['39/39=1']
Exploring Operation: 19-1=18, Resulting Numbers: [16, 18]
Generated Node #0,1,0: 52:[16, 18] Operation: 19-1=18
Exploring Operation: 16-1=15, Resulting Numbers: [19, 15]
Generated Node #0,1,1: 52:[19, 15] Operation: 16-1=15
Exploring Operation: 19-16=3, Resulting Numbers: [1, 3]
Generated Node #0,1,2: 52:[1, 3] Operation: 19-16=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[1, 3], Operations: ['39/39=1', '19-16=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,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,1,0
Current State: 52:[16, 18], Operations: ['39/39=1', '19-1=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,52 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,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,1,1
Current State: 52:[19, 15], Operations: ['39/39=1', '16-1=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,52 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[19, 16, 0], Operations: ['39-39=0']
Exploring Operation: 16*0=0, Resulting Numbers: [19, 0]
Generated Node #0,0,0: 52:[19, 0] Operation: 16*0=0
Exploring Operation: 19-16=3, Resulting Numbers: [0, 3]
Generated Node #0,0,1: 52:[0, 3] Operation: 19-16=3
Exploring Operation: 19*0=0, Resulting Numbers: [16, 0]
Generated Node #0,0,2: 52:[16, 0] Operation: 19*0=0
Moving to Node #0,2
Current State: 52:[39, 16, 58], Operations: ['39+19=58']
Exploring Operation: 58-39=19, Resulting Numbers: [16, 19]
Generated Node #0,2,0: 52:[16, 19] Operation: 58-39=19
Exploring Operation: 39+16=55, Resulting Numbers: [58, 55]
Generated Node #0,2,1: 52:[58, 55] Operation: 39+16=55
Exploring Operation: 39-16=23, Resulting Numbers: [58, 23]
Generated Node #0,2,2: 52:[58, 23] Operation: 39-16=23
Moving to Node #0,0,1
Current State: 52:[0, 3], Operations: ['39-39=0', '19-16=3']
Exploring Operation: 0+3=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 0*3=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[16, 0], Operations: ['39-39=0', '19*0=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[19, 0], Operations: ['39-39=0', '16*0=0']
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 19*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 19-0=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[58, 23], Operations: ['39+19=58', '39-16=23']
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[58, 55], Operations: ['39+19=58', '39+16=55']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,52 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[16, 19], Operations: ['39+19=58', '58-39=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,52 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
51,
54,
5,
97
] | 82 | [
"54-51=3",
"5*3=15",
"97-15=82"
] | Current State: 82:[51, 54, 5, 97], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [5, 97, 3]
Generated Node #2: [5, 97, 3] from Operation: 54-51=3
Current State: 82:[5, 97, 3], Operations: ['54-51=3']
Exploring Operation: 5*3=15, Resulting Numbers: [97, 15]
Generated Node #3: [97, 15] from Operation: 5*3=15
Current State: 82:[97, 15], Operations: ['54-51=3', '5*3=15']
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[51, 54, 5, 97], Operations: []
Exploring Operation: 97-51=46, Resulting Numbers: [54, 5, 46]
Generated Node #0,0: 82:[54, 5, 46] Operation: 97-51=46
Exploring Operation: 97-54=43, Resulting Numbers: [51, 5, 43]
Generated Node #0,1: 82:[51, 5, 43] Operation: 97-54=43
Exploring Operation: 54-5=49, Resulting Numbers: [51, 97, 49]
Generated Node #0,2: 82:[51, 97, 49] Operation: 54-5=49
Exploring Operation: 54-51=3, Resulting Numbers: [5, 97, 3]
Generated Node #0,3: 82:[5, 97, 3] Operation: 54-51=3
Exploring Operation: 51-5=46, Resulting Numbers: [54, 97, 46]
Generated Node #0,4: 82:[54, 97, 46] Operation: 51-5=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[51, 5, 43], Operations: ['97-54=43']
Exploring Operation: 51-43=8, Resulting Numbers: [5, 8]
Generated Node #0,1,0: 82:[5, 8] Operation: 51-43=8
Exploring Operation: 51-5=46, Resulting Numbers: [43, 46]
Generated Node #0,1,1: 82:[43, 46] Operation: 51-5=46
Exploring Operation: 51+5=56, Resulting Numbers: [43, 56]
Generated Node #0,1,2: 82:[43, 56] Operation: 51+5=56
Exploring Operation: 51+43=94, Resulting Numbers: [5, 94]
Generated Node #0,1,3: 82:[5, 94] Operation: 51+43=94
Exploring Operation: 43-5=38, Resulting Numbers: [51, 38]
Generated Node #0,1,4: 82:[51, 38] Operation: 43-5=38
Moving to Node #0,1,1
Current State: 82:[43, 46], Operations: ['97-54=43', '51-5=46']
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 43*46=1978, Resulting Numbers: [1978]
1978,82 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[5, 8], Operations: ['97-54=43', '51-43=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Moving to Node #0,1,4
Current State: 82:[51, 38], Operations: ['97-54=43', '43-5=38']
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 51*38=1938, Resulting Numbers: [1938]
1938,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[5, 94], Operations: ['97-54=43', '51+43=94']
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 5*94=470, Resulting Numbers: [470]
470,82 unequal: No Solution
Exploring Operation: 5+94=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[43, 56], Operations: ['97-54=43', '51+5=56']
Exploring Operation: 43*56=2408, Resulting Numbers: [2408]
2408,82 unequal: No Solution
Exploring Operation: 43+56=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[5, 97, 3], Operations: ['54-51=3']
Exploring Operation: 5+97=102, Resulting Numbers: [3, 102]
Generated Node #0,3,0: 82:[3, 102] Operation: 5+97=102
Exploring Operation: 97-5=92, Resulting Numbers: [3, 92]
Generated Node #0,3,1: 82:[3, 92] Operation: 97-5=92
Exploring Operation: 97-3=94, Resulting Numbers: [5, 94]
Generated Node #0,3,2: 82:[5, 94] Operation: 97-3=94
Exploring Operation: 5-3=2, Resulting Numbers: [97, 2]
Generated Node #0,3,3: 82:[97, 2] Operation: 5-3=2
Exploring Operation: 5+3=8, Resulting Numbers: [97, 8]
Generated Node #0,3,4: 82:[97, 8] Operation: 5+3=8
Moving to Node #0,3,1
Current State: 82:[3, 92], Operations: ['54-51=3', '97-5=92']
Exploring Operation: 3*92=276, Resulting Numbers: [276]
276,82 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[97, 2], Operations: ['54-51=3', '5-3=2']
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,82 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,82 unequal: No Solution
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[5, 94], Operations: ['54-51=3', '97-3=94']
Exploring Operation: 5+94=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 5*94=470, Resulting Numbers: [470]
470,82 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Moving to Node #0,3,0
Current State: 82:[3, 102], Operations: ['54-51=3', '5+97=102']
Exploring Operation: 3*102=306, Resulting Numbers: [306]
306,82 unequal: No Solution
Exploring Operation: 3+102=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 102/3=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Moving to Node #0,3,4
Current State: 82:[97, 8], Operations: ['54-51=3', '5+3=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 97*8=776, Resulting Numbers: [776]
776,82 unequal: No Solution
Exploring Operation: 97+8=105, Resulting Numbers: [105]
105,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[54, 5, 46], Operations: ['97-51=46']
Exploring Operation: 54+5=59, Resulting Numbers: [46, 59]
Generated Node #0,0,0: 82:[46, 59] Operation: 54+5=59
Exploring Operation: 54-46=8, Resulting Numbers: [5, 8]
Generated Node #0,0,1: 82:[5, 8] Operation: 54-46=8
Exploring Operation: 54+46=100, Resulting Numbers: [5, 100]
Generated Node #0,0,2: 82:[5, 100] Operation: 54+46=100
Exploring Operation: 54-5=49, Resulting Numbers: [46, 49]
Generated Node #0,0,3: 82:[46, 49] Operation: 54-5=49
Exploring Operation: 46-5=41, Resulting Numbers: [54, 41]
Generated Node #0,0,4: 82:[54, 41] Operation: 46-5=41
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[5, 8], Operations: ['97-51=46', '54-46=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[46, 49], Operations: ['97-51=46', '54-5=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,82 unequal: No Solution
Exploring Operation: 46*49=2254, Resulting Numbers: [2254]
2254,82 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 82:[54, 41], Operations: ['97-51=46', '46-5=41']
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 54*41=2214, Resulting Numbers: [2214]
2214,82 unequal: No Solution
Exploring Operation: 54+41=95, Resulting Numbers: [95]
95,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[5, 100], Operations: ['97-51=46', '54+46=100']
Exploring Operation: 5+100=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,82 unequal: No Solution
Exploring Operation: 5*100=500, Resulting Numbers: [500]
500,82 unequal: No Solution
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[46, 59], Operations: ['97-51=46', '54+5=59']
Exploring Operation: 46+59=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 46*59=2714, Resulting Numbers: [2714]
2714,82 unequal: No Solution
Exploring Operation: 59-46=13, Resulting Numbers: [13]
13,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[51, 97, 49], Operations: ['54-5=49']
Exploring Operation: 51+49=100, Resulting Numbers: [97, 100]
Generated Node #0,2,0: 82:[97, 100] Operation: 51+49=100
Exploring Operation: 97-49=48, Resulting Numbers: [51, 48]
Generated Node #0,2,1: 82:[51, 48] Operation: 97-49=48
Exploring Operation: 51-49=2, Resulting Numbers: [97, 2]
Generated Node #0,2,2: 82:[97, 2] Operation: 51-49=2
Exploring Operation: 51+97=148, Resulting Numbers: [49, 148]
Generated Node #0,2,3: 82:[49, 148] Operation: 51+97=148
Exploring Operation: 97-51=46, Resulting Numbers: [49, 46]
Generated Node #0,2,4: 82:[49, 46] Operation: 97-51=46
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 82:[49, 46], Operations: ['54-5=49', '97-51=46']
Exploring Operation: 49*46=2254, Resulting Numbers: [2254]
2254,82 unequal: No Solution
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,82 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[97, 2], Operations: ['54-5=49', '51-49=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,82 unequal: No Solution
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[51, 48], Operations: ['54-5=49', '97-49=48']
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[97, 100], Operations: ['54-5=49', '51+49=100']
Exploring Operation: 97+100=197, Resulting Numbers: [197]
197,82 unequal: No Solution
Exploring Operation: 100-97=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 97*100=9700, Resulting Numbers: [9700]
9700,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[49, 148], Operations: ['54-5=49', '51+97=148']
Exploring Operation: 148-49=99, Resulting Numbers: [99]
99,82 unequal: No Solution
Exploring Operation: 49+148=197, Resulting Numbers: [197]
197,82 unequal: No Solution
Exploring Operation: 49*148=7252, Resulting Numbers: [7252]
7252,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[54, 97, 46], Operations: ['51-5=46']
Exploring Operation: 54+97=151, Resulting Numbers: [46, 151]
Generated Node #0,4,0: 82:[46, 151] Operation: 54+97=151
Exploring Operation: 54-46=8, Resulting Numbers: [97, 8]
Generated Node #0,4,1: 82:[97, 8] Operation: 54-46=8
Exploring Operation: 97-54=43, Resulting Numbers: [46, 43]
Generated Node #0,4,2: 82:[46, 43] Operation: 97-54=43
Exploring Operation: 54+46=100, Resulting Numbers: [97, 100]
Generated Node #0,4,3: 82:[97, 100] Operation: 54+46=100
Exploring Operation: 97-46=51, Resulting Numbers: [54, 51]
Generated Node #0,4,4: 82:[54, 51] Operation: 97-46=51
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 82:[46, 43], Operations: ['51-5=46', '97-54=43']
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 46*43=1978, Resulting Numbers: [1978]
1978,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 82:[97, 8], Operations: ['51-5=46', '54-46=8']
Exploring Operation: 97+8=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 97*8=776, Resulting Numbers: [776]
776,82 unequal: No Solution
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 82:[54, 51], Operations: ['51-5=46', '97-46=51']
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 54*51=2754, Resulting Numbers: [2754]
2754,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 82:[97, 100], Operations: ['51-5=46', '54+46=100']
Exploring Operation: 100-97=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 97*100=9700, Resulting Numbers: [9700]
9700,82 unequal: No Solution
Exploring Operation: 97+100=197, Resulting Numbers: [197]
197,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 82:[46, 151], Operations: ['51-5=46', '54+97=151']
Exploring Operation: 46+151=197, Resulting Numbers: [197]
197,82 unequal: No Solution
Exploring Operation: 46*151=6946, Resulting Numbers: [6946]
6946,82 unequal: No Solution
Exploring Operation: 151-46=105, Resulting Numbers: [105]
105,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
11,
66,
37,
44
] | 74 | [
"44-11=33",
"66*37=2442",
"2442/33=74"
] | Current State: 74:[11, 66, 37, 44], Operations: []
Exploring Operation: 44-11=33, Resulting Numbers: [66, 37, 33]
Generated Node #2: [66, 37, 33] from Operation: 44-11=33
Current State: 74:[66, 37, 33], Operations: ['44-11=33']
Exploring Operation: 66*37=2442, Resulting Numbers: [33, 2442]
Generated Node #3: [33, 2442] from Operation: 66*37=2442
Current State: 74:[33, 2442], Operations: ['44-11=33', '66*37=2442']
Exploring Operation: 2442/33=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[11, 66, 37, 44], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [11, 66, 7]
Generated Node #0,0: 74:[11, 66, 7] Operation: 44-37=7
Exploring Operation: 11+66=77, Resulting Numbers: [37, 44, 77]
Generated Node #0,1: 74:[37, 44, 77] Operation: 11+66=77
Exploring Operation: 44/11=4, Resulting Numbers: [66, 37, 4]
Generated Node #0,2: 74:[66, 37, 4] Operation: 44/11=4
Exploring Operation: 44-11=33, Resulting Numbers: [66, 37, 33]
Generated Node #0,3: 74:[66, 37, 33] Operation: 44-11=33
Exploring Operation: 66/11=6, Resulting Numbers: [37, 44, 6]
Generated Node #0,4: 74:[37, 44, 6] Operation: 66/11=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[37, 44, 77], Operations: ['11+66=77']
Exploring Operation: 37+44=81, Resulting Numbers: [77, 81]
Generated Node #0,1,0: 74:[77, 81] Operation: 37+44=81
Exploring Operation: 37+77=114, Resulting Numbers: [44, 114]
Generated Node #0,1,1: 74:[44, 114] Operation: 37+77=114
Exploring Operation: 44-37=7, Resulting Numbers: [77, 7]
Generated Node #0,1,2: 74:[77, 7] Operation: 44-37=7
Exploring Operation: 77-44=33, Resulting Numbers: [37, 33]
Generated Node #0,1,3: 74:[37, 33] Operation: 77-44=33
Exploring Operation: 77-37=40, Resulting Numbers: [44, 40]
Generated Node #0,1,4: 74:[44, 40] Operation: 77-37=40
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[37, 33], Operations: ['11+66=77', '77-44=33']
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,74 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,74 unequal: No Solution
No 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: 74:[77, 7], Operations: ['11+66=77', '44-37=7']
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,74 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,74 unequal: No Solution
No 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: 74:[77, 81], Operations: ['11+66=77', '37+44=81']
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 77*81=6237, Resulting Numbers: [6237]
6237,74 unequal: No Solution
Exploring Operation: 77+81=158, Resulting Numbers: [158]
158,74 unequal: No Solution
No 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: 74:[44, 40], Operations: ['11+66=77', '77-37=40']
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,74 unequal: No Solution
No 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: 74:[44, 114], Operations: ['11+66=77', '37+77=114']
Exploring Operation: 44*114=5016, Resulting Numbers: [5016]
5016,74 unequal: No Solution
Exploring Operation: 44+114=158, Resulting Numbers: [158]
158,74 unequal: No Solution
Exploring Operation: 114-44=70, Resulting Numbers: [70]
70,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[66, 37, 4], Operations: ['44/11=4']
Exploring Operation: 37+4=41, Resulting Numbers: [66, 41]
Generated Node #0,2,0: 74:[66, 41] Operation: 37+4=41
Exploring Operation: 66-37=29, Resulting Numbers: [4, 29]
Generated Node #0,2,1: 74:[4, 29] Operation: 66-37=29
Exploring Operation: 66-4=62, Resulting Numbers: [37, 62]
Generated Node #0,2,2: 74:[37, 62] Operation: 66-4=62
Exploring Operation: 37-4=33, Resulting Numbers: [66, 33]
Generated Node #0,2,3: 74:[66, 33] Operation: 37-4=33
Exploring Operation: 66+4=70, Resulting Numbers: [37, 70]
Generated Node #0,2,4: 74:[37, 70] Operation: 66+4=70
Moving to Node #0,2,4
Current State: 74:[37, 70], Operations: ['44/11=4', '66+4=70']
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 37+70=107, Resulting Numbers: [107]
107,74 unequal: No Solution
Exploring Operation: 37*70=2590, Resulting Numbers: [2590]
2590,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[4, 29], Operations: ['44/11=4', '66-37=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[66, 41], Operations: ['44/11=4', '37+4=41']
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 66+41=107, Resulting Numbers: [107]
107,74 unequal: No Solution
Exploring Operation: 66*41=2706, Resulting Numbers: [2706]
2706,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[37, 62], Operations: ['44/11=4', '66-4=62']
Exploring Operation: 37*62=2294, Resulting Numbers: [2294]
2294,74 unequal: No Solution
Exploring Operation: 37+62=99, Resulting Numbers: [99]
99,74 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[66, 33], Operations: ['44/11=4', '37-4=33']
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 66*33=2178, Resulting Numbers: [2178]
2178,74 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 66+33=99, Resulting Numbers: [99]
99,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,4
Current State: 74:[37, 44, 6], Operations: ['66/11=6']
Exploring Operation: 44-6=38, Resulting Numbers: [37, 38]
Generated Node #0,4,0: 74:[37, 38] Operation: 44-6=38
Exploring Operation: 44-37=7, Resulting Numbers: [6, 7]
Generated Node #0,4,1: 74:[6, 7] Operation: 44-37=7
Exploring Operation: 37+44=81, Resulting Numbers: [6, 81]
Generated Node #0,4,2: 74:[6, 81] Operation: 37+44=81
Exploring Operation: 37-6=31, Resulting Numbers: [44, 31]
Generated Node #0,4,3: 74:[44, 31] Operation: 37-6=31
Exploring Operation: 37+6=43, Resulting Numbers: [44, 43]
Generated Node #0,4,4: 74:[44, 43] Operation: 37+6=43
Moving to Node #0,4,0
Current State: 74:[37, 38], Operations: ['66/11=6', '44-6=38']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[6, 7], Operations: ['66/11=6', '44-37=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[6, 81], Operations: ['66/11=6', '37+44=81']
Exploring Operation: 6*81=486, Resulting Numbers: [486]
486,74 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[44, 31], Operations: ['66/11=6', '37-6=31']
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,74 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[44, 43], Operations: ['66/11=6', '37+6=43']
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,74 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,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,3
Current State: 74:[66, 37, 33], Operations: ['44-11=33']
Exploring Operation: 66-37=29, Resulting Numbers: [33, 29]
Generated Node #0,3,0: 74:[33, 29] Operation: 66-37=29
Exploring Operation: 37+33=70, Resulting Numbers: [66, 70]
Generated Node #0,3,1: 74:[66, 70] Operation: 37+33=70
Exploring Operation: 66-33=33, Resulting Numbers: [37, 33]
Generated Node #0,3,2: 74:[37, 33] Operation: 66-33=33
Exploring Operation: 66/33=2, Resulting Numbers: [37, 2]
Generated Node #0,3,3: 74:[37, 2] Operation: 66/33=2
Exploring Operation: 37-33=4, Resulting Numbers: [66, 4]
Generated Node #0,3,4: 74:[66, 4] Operation: 37-33=4
Moving to Node #0,3,3
Current State: 74:[37, 2], Operations: ['44-11=33', '66/33=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[11, 66, 37, 44], Operations: []
Exploring Operation: 44-11=33, Resulting Numbers: [66, 37, 33]
Generated Node #0,3: 74:[66, 37, 33] Operation: 44-11=33
Moving to Node #0,3
Current State: 74:[66, 37, 33], Operations: ['44-11=33']
Exploring Operation: 66/33=2, Resulting Numbers: [37, 2]
Generated Node #0,3,3: 74:[37, 2] Operation: 66/33=2
Moving to Node #0,3,3
Current State: 74:[37, 2], Operations: ['44-11=33', '66/33=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.931424 | hs_5 | sum_heuristic |
[
2,
12,
54,
91
] | 86 | [
"91-54=37",
"2*37=74",
"12+74=86"
] | Current State: 86:[2, 12, 54, 91], Operations: []
Exploring Operation: 91-54=37, Resulting Numbers: [2, 12, 37]
Generated Node #2: [2, 12, 37] from Operation: 91-54=37
Current State: 86:[2, 12, 37], Operations: ['91-54=37']
Exploring Operation: 2*37=74, Resulting Numbers: [12, 74]
Generated Node #3: [12, 74] from Operation: 2*37=74
Current State: 86:[12, 74], Operations: ['91-54=37', '2*37=74']
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[2, 12, 54, 91], Operations: []
Exploring Operation: 91-12=79, Resulting Numbers: [2, 54, 79]
Generated Node #0,0: 86:[2, 54, 79] Operation: 91-12=79
Exploring Operation: 91-54=37, Resulting Numbers: [2, 12, 37]
Generated Node #0,1: 86:[2, 12, 37] Operation: 91-54=37
Exploring Operation: 54-12=42, Resulting Numbers: [2, 91, 42]
Generated Node #0,2: 86:[2, 91, 42] Operation: 54-12=42
Moving to Node #0,2
Current State: 86:[2, 91, 42], Operations: ['54-12=42']
Exploring Operation: 2+42=44, Resulting Numbers: [91, 44]
Generated Node #0,2,0: 86:[91, 44] Operation: 2+42=44
Exploring Operation: 91-2=89, Resulting Numbers: [42, 89]
Generated Node #0,2,1: 86:[42, 89] Operation: 91-2=89
Exploring Operation: 91-42=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 86:[2, 49] Operation: 91-42=49
Moving to Node #0,1
Current State: 86:[2, 12, 37], Operations: ['91-54=37']
Exploring Operation: 12/2=6, Resulting Numbers: [37, 6]
Generated Node #0,1,0: 86:[37, 6] Operation: 12/2=6
Exploring Operation: 12+37=49, Resulting Numbers: [2, 49]
Generated Node #0,1,1: 86:[2, 49] Operation: 12+37=49
Exploring Operation: 12-2=10, Resulting Numbers: [37, 10]
Generated Node #0,1,2: 86:[37, 10] Operation: 12-2=10
Moving to Node #0,0
Current State: 86:[2, 54, 79], Operations: ['91-12=79']
Exploring Operation: 54-2=52, Resulting Numbers: [79, 52]
Generated Node #0,0,0: 86:[79, 52] Operation: 54-2=52
Exploring Operation: 79-54=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 86:[2, 25] Operation: 79-54=25
Exploring Operation: 2+79=81, Resulting Numbers: [54, 81]
Generated Node #0,0,2: 86:[54, 81] Operation: 2+79=81
Moving to Node #0,2,1
Current State: 86:[42, 89], Operations: ['54-12=42', '91-2=89']
Exploring Operation: 42+89=131, Resulting Numbers: [131]
131,86 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 42*89=3738, Resulting Numbers: [3738]
3738,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[2, 49], Operations: ['54-12=42', '91-42=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,86 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[91, 44], Operations: ['54-12=42', '2+42=44']
Exploring Operation: 91+44=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 91*44=4004, Resulting Numbers: [4004]
4004,86 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[2, 49], Operations: ['91-54=37', '12+37=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,86 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[37, 6], Operations: ['91-54=37', '12/2=6']
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,86 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[37, 10], Operations: ['91-54=37', '12-2=10']
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,86 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[79, 52], Operations: ['91-12=79', '54-2=52']
Exploring Operation: 79*52=4108, Resulting Numbers: [4108]
4108,86 unequal: No Solution
Exploring Operation: 79-52=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 79+52=131, Resulting Numbers: [131]
131,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[54, 81], Operations: ['91-12=79', '2+79=81']
Exploring Operation: 54+81=135, Resulting Numbers: [135]
135,86 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 54*81=4374, Resulting Numbers: [4374]
4374,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[2, 25], Operations: ['91-12=79', '79-54=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,86 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,86 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
95,
3,
8,
3
] | 22 | [
"8-3=5",
"95/5=19",
"3+19=22"
] | Current State: 22:[95, 3, 8, 3], Operations: []
Exploring Operation: 8-3=5, Resulting Numbers: [95, 5]
Generated Node #2: [95, 5] from Operation: 8-3=5
Current State: 22:[95, 5], Operations: ['8-3=5']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,22 equal: Goal Reached
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[95, 3, 8, 3], Operations: []
Exploring Operation: 95-3=92, Resulting Numbers: [8, 3, 92]
Generated Node #0,0: 22:[8, 3, 92] Operation: 95-3=92
Exploring Operation: 95-3=92, Resulting Numbers: [3, 8, 92]
Generated Node #0,1: 22:[3, 8, 92] Operation: 95-3=92
Exploring Operation: 95-8=87, Resulting Numbers: [3, 3, 87]
Generated Node #0,2: 22:[3, 3, 87] Operation: 95-8=87
Moving to Node #0,2
Current State: 22:[3, 3, 87], Operations: ['95-8=87']
Exploring Operation: 87-3=84, Resulting Numbers: [3, 84]
Generated Node #0,2,0: 22:[3, 84] Operation: 87-3=84
Exploring Operation: 87/3=29, Resulting Numbers: [3, 29]
Generated Node #0,2,1: 22:[3, 29] Operation: 87/3=29
Exploring Operation: 87/3=29, Resulting Numbers: [3, 29]
Generated Node #0,2,2: 22:[3, 29] Operation: 87/3=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[3, 29], Operations: ['95-8=87', '87/3=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,22 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[3, 29], Operations: ['95-8=87', '87/3=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,22 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[3, 84], Operations: ['95-8=87', '87-3=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,22 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,22 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: 22:[8, 3, 92], Operations: ['95-3=92']
Exploring Operation: 92-8=84, Resulting Numbers: [3, 84]
Generated Node #0,0,0: 22:[3, 84] Operation: 92-8=84
Exploring Operation: 8+3=11, Resulting Numbers: [92, 11]
Generated Node #0,0,1: 22:[92, 11] Operation: 8+3=11
Exploring Operation: 92-3=89, Resulting Numbers: [8, 89]
Generated Node #0,0,2: 22:[8, 89] Operation: 92-3=89
Moving to Node #0,1
Current State: 22:[3, 8, 92], Operations: ['95-3=92']
Exploring Operation: 92-3=89, Resulting Numbers: [8, 89]
Generated Node #0,1,0: 22:[8, 89] Operation: 92-3=89
Exploring Operation: 3+8=11, Resulting Numbers: [92, 11]
Generated Node #0,1,1: 22:[92, 11] Operation: 3+8=11
Exploring Operation: 92-8=84, Resulting Numbers: [3, 84]
Generated Node #0,1,2: 22:[3, 84] Operation: 92-8=84
Moving to Node #0,0,0
Current State: 22:[3, 84], Operations: ['95-3=92', '92-8=84']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,22 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[3, 84], Operations: ['95-3=92', '92-8=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,22 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[8, 89], Operations: ['95-3=92', '92-3=89']
Exploring Operation: 8*89=712, Resulting Numbers: [712]
712,22 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[92, 11], Operations: ['95-3=92', '3+8=11']
Exploring Operation: 92+11=103, Resulting Numbers: [103]
103,22 unequal: No Solution
Exploring Operation: 92*11=1012, Resulting Numbers: [1012]
1012,22 unequal: No Solution
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[8, 89], Operations: ['95-3=92', '92-3=89']
Exploring Operation: 8*89=712, Resulting Numbers: [712]
712,22 unequal: No Solution
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,22 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[92, 11], Operations: ['95-3=92', '8+3=11']
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 92*11=1012, Resulting Numbers: [1012]
1012,22 unequal: No Solution
Exploring Operation: 92+11=103, Resulting Numbers: [103]
103,22 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
71,
52,
54,
26
] | 47 | [
"71-52=19",
"54-26=28",
"19+28=47"
] | Current State: 47:[71, 52, 54, 26], Operations: []
Exploring Operation: 71-52=19, Resulting Numbers: [54, 26, 19]
Generated Node #2: [54, 26, 19] from Operation: 71-52=19
Current State: 47:[54, 26, 19], Operations: ['71-52=19']
Exploring Operation: 54-26=28, Resulting Numbers: [19, 28]
Generated Node #3: [19, 28] from Operation: 54-26=28
Current State: 47:[19, 28], Operations: ['71-52=19', '54-26=28']
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[71, 52, 54, 26], Operations: []
Exploring Operation: 54-26=28, Resulting Numbers: [71, 52, 28]
Generated Node #0,0: 47:[71, 52, 28] Operation: 54-26=28
Exploring Operation: 71-26=45, Resulting Numbers: [52, 54, 45]
Generated Node #0,1: 47:[52, 54, 45] Operation: 71-26=45
Exploring Operation: 52-26=26, Resulting Numbers: [71, 54, 26]
Generated Node #0,2: 47:[71, 54, 26] Operation: 52-26=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[52, 54, 45], Operations: ['71-26=45']
Exploring Operation: 54-52=2, Resulting Numbers: [45, 2]
Generated Node #0,1,0: 47:[45, 2] Operation: 54-52=2
Exploring Operation: 54-45=9, Resulting Numbers: [52, 9]
Generated Node #0,1,1: 47:[52, 9] Operation: 54-45=9
Exploring Operation: 52-45=7, Resulting Numbers: [54, 7]
Generated Node #0,1,2: 47:[54, 7] Operation: 52-45=7
Moving to Node #0,1,1
Current State: 47:[52, 9], Operations: ['71-26=45', '54-45=9']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[45, 2], Operations: ['71-26=45', '54-52=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[71, 52, 54, 26], Operations: []
Exploring Operation: 71-26=45, Resulting Numbers: [52, 54, 45]
Generated Node #0,1: 47:[52, 54, 45] Operation: 71-26=45
Moving to Node #0,1
Current State: 47:[52, 54, 45], Operations: ['71-26=45']
Exploring Operation: 54-52=2, Resulting Numbers: [45, 2]
Generated Node #0,1,0: 47:[45, 2] Operation: 54-52=2
Moving to Node #0,1,0
Current State: 47:[45, 2], Operations: ['71-26=45', '54-52=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
76,
1,
3,
66
] | 40 | [
"76-66=10",
"1+3=4",
"10*4=40"
] | Current State: 40:[76, 1, 3, 66], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [1, 3, 10]
Generated Node #2: [1, 3, 10] from Operation: 76-66=10
Current State: 40:[1, 3, 10], Operations: ['76-66=10']
Exploring Operation: 1+3=4, Resulting Numbers: [10, 4]
Generated Node #3: [10, 4] from Operation: 1+3=4
Current State: 40:[10, 4], Operations: ['76-66=10', '1+3=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[76, 1, 3, 66], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [1, 3, 10]
Generated Node #0,0: 40:[1, 3, 10] Operation: 76-66=10
Exploring Operation: 66/3=22, Resulting Numbers: [76, 1, 22]
Generated Node #0,1: 40:[76, 1, 22] Operation: 66/3=22
Exploring Operation: 66-3=63, Resulting Numbers: [76, 1, 63]
Generated Node #0,2: 40:[76, 1, 63] Operation: 66-3=63
Exploring Operation: 76-3=73, Resulting Numbers: [1, 66, 73]
Generated Node #0,3: 40:[1, 66, 73] Operation: 76-3=73
Exploring Operation: 76-1=75, Resulting Numbers: [3, 66, 75]
Generated Node #0,4: 40:[3, 66, 75] Operation: 76-1=75
Moving to Node #0,0
Current State: 40:[1, 3, 10], Operations: ['76-66=10']
Exploring Operation: 1+3=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 40:[10, 4] Operation: 1+3=4
Exploring Operation: 3/1=3, Resulting Numbers: [10, 3]
Generated Node #0,0,1: 40:[10, 3] Operation: 3/1=3
Exploring Operation: 1*10=10, Resulting Numbers: [3, 10]
Generated Node #0,0,2: 40:[3, 10] Operation: 1*10=10
Exploring Operation: 3-1=2, Resulting Numbers: [10, 2]
Generated Node #0,0,3: 40:[10, 2] Operation: 3-1=2
Exploring Operation: 1*3=3, Resulting Numbers: [10, 3]
Generated Node #0,0,4: 40:[10, 3] Operation: 1*3=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[10, 4], Operations: ['76-66=10', '1+3=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[76, 1, 3, 66], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [1, 3, 10]
Generated Node #0,0: 40:[1, 3, 10] Operation: 76-66=10
Moving to Node #0,0
Current State: 40:[1, 3, 10], Operations: ['76-66=10']
Exploring Operation: 1+3=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 40:[10, 4] Operation: 1+3=4
Moving to Node #0,0,0
Current State: 40:[10, 4], Operations: ['76-66=10', '1+3=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
3,
49,
23,
93
] | 15 | [
"49-23=26",
"3*26=78",
"93-78=15"
] | Current State: 15:[3, 49, 23, 93], Operations: []
Exploring Operation: 49-23=26, Resulting Numbers: [3, 93, 26]
Generated Node #2: [3, 93, 26] from Operation: 49-23=26
Current State: 15:[3, 93, 26], Operations: ['49-23=26']
Exploring Operation: 3*26=78, Resulting Numbers: [93, 78]
Generated Node #3: [93, 78] from Operation: 3*26=78
Current State: 15:[93, 78], Operations: ['49-23=26', '3*26=78']
Exploring Operation: 93-78=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[3, 49, 23, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [49, 23, 31]
Generated Node #0,0: 15:[49, 23, 31] Operation: 93/3=31
Exploring Operation: 49-23=26, Resulting Numbers: [3, 93, 26]
Generated Node #0,1: 15:[3, 93, 26] Operation: 49-23=26
Exploring Operation: 93-49=44, Resulting Numbers: [3, 23, 44]
Generated Node #0,2: 15:[3, 23, 44] Operation: 93-49=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[3, 23, 44], Operations: ['93-49=44']
Exploring Operation: 23-3=20, Resulting Numbers: [44, 20]
Generated Node #0,2,0: 15:[44, 20] Operation: 23-3=20
Exploring Operation: 44-23=21, Resulting Numbers: [3, 21]
Generated Node #0,2,1: 15:[3, 21] Operation: 44-23=21
Exploring Operation: 44-3=41, Resulting Numbers: [23, 41]
Generated Node #0,2,2: 15:[23, 41] Operation: 44-3=41
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[3, 21], Operations: ['93-49=44', '44-23=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,15 unequal: No Solution
No 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: 15:[44, 20], Operations: ['93-49=44', '23-3=20']
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 44*20=880, Resulting Numbers: [880]
880,15 unequal: No Solution
No 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: 15:[23, 41], Operations: ['93-49=44', '44-3=41']
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,15 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: 15:[49, 23, 31], Operations: ['93/3=31']
Exploring Operation: 31-23=8, Resulting Numbers: [49, 8]
Generated Node #0,0,0: 15:[49, 8] Operation: 31-23=8
Exploring Operation: 49-31=18, Resulting Numbers: [23, 18]
Generated Node #0,0,1: 15:[23, 18] Operation: 49-31=18
Exploring Operation: 49-23=26, Resulting Numbers: [31, 26]
Generated Node #0,0,2: 15:[31, 26] Operation: 49-23=26
Moving to Node #0,0,1
Current State: 15:[23, 18], Operations: ['93/3=31', '49-31=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,15 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[31, 26], Operations: ['93/3=31', '49-23=26']
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,15 unequal: No Solution
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,15 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[49, 8], Operations: ['93/3=31', '31-23=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,15 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,15 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[3, 93, 26], Operations: ['49-23=26']
Exploring Operation: 93-26=67, Resulting Numbers: [3, 67]
Generated Node #0,1,0: 15:[3, 67] Operation: 93-26=67
Exploring Operation: 93-3=90, Resulting Numbers: [26, 90]
Generated Node #0,1,1: 15:[26, 90] Operation: 93-3=90
Exploring Operation: 93/3=31, Resulting Numbers: [26, 31]
Generated Node #0,1,2: 15:[26, 31] Operation: 93/3=31
Moving to Node #0,1,2
Current State: 15:[26, 31], Operations: ['49-23=26', '93/3=31']
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,15 unequal: No Solution
Exploring Operation: 26*31=806, Resulting Numbers: [806]
806,15 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[3, 67], Operations: ['49-23=26', '93-26=67']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,15 unequal: No Solution
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[26, 90], Operations: ['49-23=26', '93-3=90']
Exploring Operation: 26*90=2340, Resulting Numbers: [2340]
2340,15 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
19,
64,
90
] | 46 | [
"19-14=5",
"90/5=18",
"64-18=46"
] | Current State: 46:[14, 19, 64, 90], Operations: []
Exploring Operation: 19-14=5, Resulting Numbers: [64, 90, 5]
Generated Node #2: [64, 90, 5] from Operation: 19-14=5
Current State: 46:[64, 90, 5], Operations: ['19-14=5']
Exploring Operation: 90/5=18, Resulting Numbers: [64, 18]
Generated Node #3: [64, 18] from Operation: 90/5=18
Current State: 46:[64, 18], Operations: ['19-14=5', '90/5=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[14, 19, 64, 90], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [14, 19, 26]
Generated Node #0,0: 46:[14, 19, 26] Operation: 90-64=26
Exploring Operation: 90-19=71, Resulting Numbers: [14, 64, 71]
Generated Node #0,1: 46:[14, 64, 71] Operation: 90-19=71
Exploring Operation: 90-14=76, Resulting Numbers: [19, 64, 76]
Generated Node #0,2: 46:[19, 64, 76] Operation: 90-14=76
Exploring Operation: 64-14=50, Resulting Numbers: [19, 90, 50]
Generated Node #0,3: 46:[19, 90, 50] Operation: 64-14=50
Exploring Operation: 64-19=45, Resulting Numbers: [14, 90, 45]
Generated Node #0,4: 46:[14, 90, 45] Operation: 64-19=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[14, 19, 26], Operations: ['90-64=26']
Exploring Operation: 19+26=45, Resulting Numbers: [14, 45]
Generated Node #0,0,0: 46:[14, 45] Operation: 19+26=45
Exploring Operation: 14+26=40, Resulting Numbers: [19, 40]
Generated Node #0,0,1: 46:[19, 40] Operation: 14+26=40
Exploring Operation: 19-14=5, Resulting Numbers: [26, 5]
Generated Node #0,0,2: 46:[26, 5] Operation: 19-14=5
Exploring Operation: 26-14=12, Resulting Numbers: [19, 12]
Generated Node #0,0,3: 46:[19, 12] Operation: 26-14=12
Exploring Operation: 14+19=33, Resulting Numbers: [26, 33]
Generated Node #0,0,4: 46:[26, 33] Operation: 14+19=33
Moving to Node #0,0,2
Current State: 46:[26, 5], Operations: ['90-64=26', '19-14=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[19, 40], Operations: ['90-64=26', '14+26=40']
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,46 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[14, 45], Operations: ['90-64=26', '19+26=45']
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,46 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Moving to Node #0,0,4
Current State: 46:[26, 33], Operations: ['90-64=26', '14+19=33']
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,46 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[19, 12], Operations: ['90-64=26', '26-14=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,46 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[14, 64, 71], Operations: ['90-19=71']
Exploring Operation: 71-14=57, Resulting Numbers: [64, 57]
Generated Node #0,1,0: 46:[64, 57] Operation: 71-14=57
Exploring Operation: 71-64=7, Resulting Numbers: [14, 7]
Generated Node #0,1,1: 46:[14, 7] Operation: 71-64=7
Exploring Operation: 14+71=85, Resulting Numbers: [64, 85]
Generated Node #0,1,2: 46:[64, 85] Operation: 14+71=85
Exploring Operation: 64-14=50, Resulting Numbers: [71, 50]
Generated Node #0,1,3: 46:[71, 50] Operation: 64-14=50
Exploring Operation: 14+64=78, Resulting Numbers: [71, 78]
Generated Node #0,1,4: 46:[71, 78] Operation: 14+64=78
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[14, 7], Operations: ['90-19=71', '71-64=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,46 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[64, 57], Operations: ['90-19=71', '71-14=57']
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,46 unequal: No Solution
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 46:[71, 50], Operations: ['90-19=71', '64-14=50']
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 71+50=121, Resulting Numbers: [121]
121,46 unequal: No Solution
Exploring Operation: 71*50=3550, Resulting Numbers: [3550]
3550,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[64, 85], Operations: ['90-19=71', '14+71=85']
Exploring Operation: 64+85=149, Resulting Numbers: [149]
149,46 unequal: No Solution
Exploring Operation: 64*85=5440, Resulting Numbers: [5440]
5440,46 unequal: No Solution
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 46:[71, 78], Operations: ['90-19=71', '14+64=78']
Exploring Operation: 71+78=149, Resulting Numbers: [149]
149,46 unequal: No Solution
Exploring Operation: 71*78=5538, Resulting Numbers: [5538]
5538,46 unequal: No Solution
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[19, 64, 76], Operations: ['90-14=76']
Exploring Operation: 64-19=45, Resulting Numbers: [76, 45]
Generated Node #0,2,0: 46:[76, 45] Operation: 64-19=45
Exploring Operation: 76/19=4, Resulting Numbers: [64, 4]
Generated Node #0,2,1: 46:[64, 4] Operation: 76/19=4
Exploring Operation: 19+64=83, Resulting Numbers: [76, 83]
Generated Node #0,2,2: 46:[76, 83] Operation: 19+64=83
Exploring Operation: 76-19=57, Resulting Numbers: [64, 57]
Generated Node #0,2,3: 46:[64, 57] Operation: 76-19=57
Exploring Operation: 76-64=12, Resulting Numbers: [19, 12]
Generated Node #0,2,4: 46:[19, 12] Operation: 76-64=12
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 46:[19, 12], Operations: ['90-14=76', '76-64=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 46:[64, 4], Operations: ['90-14=76', '76/19=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,46 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 46:[64, 57], Operations: ['90-14=76', '76-19=57']
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,46 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[76, 45], Operations: ['90-14=76', '64-19=45']
Exploring Operation: 76*45=3420, Resulting Numbers: [3420]
3420,46 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 46:[76, 83], Operations: ['90-14=76', '19+64=83']
Exploring Operation: 76+83=159, Resulting Numbers: [159]
159,46 unequal: No Solution
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 76*83=6308, Resulting Numbers: [6308]
6308,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[19, 90, 50], Operations: ['64-14=50']
Exploring Operation: 90-50=40, Resulting Numbers: [19, 40]
Generated Node #0,3,0: 46:[19, 40] Operation: 90-50=40
Exploring Operation: 50-19=31, Resulting Numbers: [90, 31]
Generated Node #0,3,1: 46:[90, 31] Operation: 50-19=31
Exploring Operation: 19+90=109, Resulting Numbers: [50, 109]
Generated Node #0,3,2: 46:[50, 109] Operation: 19+90=109
Exploring Operation: 90-19=71, Resulting Numbers: [50, 71]
Generated Node #0,3,3: 46:[50, 71] Operation: 90-19=71
Exploring Operation: 19+50=69, Resulting Numbers: [90, 69]
Generated Node #0,3,4: 46:[90, 69] Operation: 19+50=69
Moving to Node #0,3,0
Current State: 46:[19, 40], Operations: ['64-14=50', '90-50=40']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[50, 71], Operations: ['64-14=50', '90-19=71']
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 50*71=3550, Resulting Numbers: [3550]
3550,46 unequal: No Solution
Exploring Operation: 50+71=121, Resulting Numbers: [121]
121,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[90, 31], Operations: ['64-14=50', '50-19=31']
Exploring Operation: 90+31=121, Resulting Numbers: [121]
121,46 unequal: No Solution
Exploring Operation: 90*31=2790, Resulting Numbers: [2790]
2790,46 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[50, 109], Operations: ['64-14=50', '19+90=109']
Exploring Operation: 109-50=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 50*109=5450, Resulting Numbers: [5450]
5450,46 unequal: No Solution
Exploring Operation: 50+109=159, Resulting Numbers: [159]
159,46 unequal: No Solution
Moving to Node #0,3,4
Current State: 46:[90, 69], Operations: ['64-14=50', '19+50=69']
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 90*69=6210, Resulting Numbers: [6210]
6210,46 unequal: No Solution
Exploring Operation: 90+69=159, Resulting Numbers: [159]
159,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[14, 90, 45], Operations: ['64-19=45']
Exploring Operation: 90-45=45, Resulting Numbers: [14, 45]
Generated Node #0,4,0: 46:[14, 45] Operation: 90-45=45
Exploring Operation: 45-14=31, Resulting Numbers: [90, 31]
Generated Node #0,4,1: 46:[90, 31] Operation: 45-14=31
Exploring Operation: 14+45=59, Resulting Numbers: [90, 59]
Generated Node #0,4,2: 46:[90, 59] Operation: 14+45=59
Exploring Operation: 90/45=2, Resulting Numbers: [14, 2]
Generated Node #0,4,3: 46:[14, 2] Operation: 90/45=2
Exploring Operation: 90-14=76, Resulting Numbers: [45, 76]
Generated Node #0,4,4: 46:[45, 76] Operation: 90-14=76
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 46:[14, 2], Operations: ['64-19=45', '90/45=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 46:[14, 45], Operations: ['64-19=45', '90-45=45']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,46 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 46:[45, 76], Operations: ['64-19=45', '90-14=76']
Exploring Operation: 45+76=121, Resulting Numbers: [121]
121,46 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 45*76=3420, Resulting Numbers: [3420]
3420,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 46:[90, 31], Operations: ['64-19=45', '45-14=31']
Exploring Operation: 90+31=121, Resulting Numbers: [121]
121,46 unequal: No Solution
Exploring Operation: 90*31=2790, Resulting Numbers: [2790]
2790,46 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 46:[90, 59], Operations: ['64-19=45', '14+45=59']
Exploring Operation: 90+59=149, Resulting Numbers: [149]
149,46 unequal: No Solution
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 90*59=5310, Resulting Numbers: [5310]
5310,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
15,
64,
37,
80
] | 38 | [
"15+64=79",
"37+80=117",
"117-79=38"
] | Current State: 38:[15, 64, 37, 80], Operations: []
Exploring Operation: 15+64=79, Resulting Numbers: [37, 80, 79]
Generated Node #2: [37, 80, 79] from Operation: 15+64=79
Current State: 38:[37, 80, 79], Operations: ['15+64=79']
Exploring Operation: 37+80=117, Resulting Numbers: [79, 117]
Generated Node #3: [79, 117] from Operation: 37+80=117
Current State: 38:[79, 117], Operations: ['15+64=79', '37+80=117']
Exploring Operation: 117-79=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[15, 64, 37, 80], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [15, 37, 16]
Generated Node #0,0: 38:[15, 37, 16] Operation: 80-64=16
Exploring Operation: 80-37=43, Resulting Numbers: [15, 64, 43]
Generated Node #0,1: 38:[15, 64, 43] Operation: 80-37=43
Exploring Operation: 64-15=49, Resulting Numbers: [37, 80, 49]
Generated Node #0,2: 38:[37, 80, 49] Operation: 64-15=49
Exploring Operation: 80-15=65, Resulting Numbers: [64, 37, 65]
Generated Node #0,3: 38:[64, 37, 65] Operation: 80-15=65
Moving to Node #0,0
Current State: 38:[15, 37, 16], Operations: ['80-64=16']
Exploring Operation: 15+16=31, Resulting Numbers: [37, 31]
Generated Node #0,0,0: 38:[37, 31] Operation: 15+16=31
Exploring Operation: 37-15=22, Resulting Numbers: [16, 22]
Generated Node #0,0,1: 38:[16, 22] Operation: 37-15=22
Exploring Operation: 16-15=1, Resulting Numbers: [37, 1]
Generated Node #0,0,2: 38:[37, 1] Operation: 16-15=1
Exploring Operation: 37-16=21, Resulting Numbers: [15, 21]
Generated Node #0,0,3: 38:[15, 21] Operation: 37-16=21
Moving to Node #0,1
Current State: 38:[15, 64, 43], Operations: ['80-37=43']
Exploring Operation: 64-43=21, Resulting Numbers: [15, 21]
Generated Node #0,1,0: 38:[15, 21] Operation: 64-43=21
Exploring Operation: 15+64=79, Resulting Numbers: [43, 79]
Generated Node #0,1,1: 38:[43, 79] Operation: 15+64=79
Exploring Operation: 64-15=49, Resulting Numbers: [43, 49]
Generated Node #0,1,2: 38:[43, 49] Operation: 64-15=49
Exploring Operation: 43-15=28, Resulting Numbers: [64, 28]
Generated Node #0,1,3: 38:[64, 28] Operation: 43-15=28
Moving to Node #0,3
Current State: 38:[64, 37, 65], Operations: ['80-15=65']
Exploring Operation: 65-64=1, Resulting Numbers: [37, 1]
Generated Node #0,3,0: 38:[37, 1] Operation: 65-64=1
Exploring Operation: 64+37=101, Resulting Numbers: [65, 101]
Generated Node #0,3,1: 38:[65, 101] Operation: 64+37=101
Exploring Operation: 65-37=28, Resulting Numbers: [64, 28]
Generated Node #0,3,2: 38:[64, 28] Operation: 65-37=28
Exploring Operation: 64-37=27, Resulting Numbers: [65, 27]
Generated Node #0,3,3: 38:[65, 27] Operation: 64-37=27
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[37, 1], Operations: ['80-15=65', '65-64=1']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[15, 64, 37, 80], Operations: []
Exploring Operation: 80-15=65, Resulting Numbers: [64, 37, 65]
Generated Node #0,3: 38:[64, 37, 65] Operation: 80-15=65
Moving to Node #0,3
Current State: 38:[64, 37, 65], Operations: ['80-15=65']
Exploring Operation: 65-64=1, Resulting Numbers: [37, 1]
Generated Node #0,3,0: 38:[37, 1] Operation: 65-64=1
Moving to Node #0,3,0
Current State: 38:[37, 1], Operations: ['80-15=65', '65-64=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
28,
6,
62,
86
] | 43 | [
"28+86=114",
"114/6=19",
"62-19=43"
] | Current State: 43:[28, 6, 62, 86], Operations: []
Exploring Operation: 28+86=114, Resulting Numbers: [6, 62, 114]
Generated Node #2: [6, 62, 114] from Operation: 28+86=114
Current State: 43:[6, 62, 114], Operations: ['28+86=114']
Exploring Operation: 114/6=19, Resulting Numbers: [62, 19]
Generated Node #3: [62, 19] from Operation: 114/6=19
Current State: 43:[62, 19], Operations: ['28+86=114', '114/6=19']
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[28, 6, 62, 86], Operations: []
Exploring Operation: 28+6=34, Resulting Numbers: [62, 86, 34]
Generated Node #0,0: 43:[62, 86, 34] Operation: 28+6=34
Exploring Operation: 62-6=56, Resulting Numbers: [28, 86, 56]
Generated Node #0,1: 43:[28, 86, 56] Operation: 62-6=56
Exploring Operation: 86-28=58, Resulting Numbers: [6, 62, 58]
Generated Node #0,2: 43:[6, 62, 58] Operation: 86-28=58
Moving to Node #0,0
Current State: 43:[62, 86, 34], Operations: ['28+6=34']
Exploring Operation: 62-34=28, Resulting Numbers: [86, 28]
Generated Node #0,0,0: 43:[86, 28] Operation: 62-34=28
Exploring Operation: 86-62=24, Resulting Numbers: [34, 24]
Generated Node #0,0,1: 43:[34, 24] Operation: 86-62=24
Exploring Operation: 86-34=52, Resulting Numbers: [62, 52]
Generated Node #0,0,2: 43:[62, 52] Operation: 86-34=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[34, 24], Operations: ['28+6=34', '86-62=24']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,43 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,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:[62, 52], Operations: ['28+6=34', '86-34=52']
Exploring Operation: 62+52=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 62*52=3224, Resulting Numbers: [3224]
3224,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,0
Current State: 43:[86, 28], Operations: ['28+6=34', '62-34=28']
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 86*28=2408, Resulting Numbers: [2408]
2408,43 unequal: No Solution
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,43 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: 43:[28, 86, 56], Operations: ['62-6=56']
Exploring Operation: 86-28=58, Resulting Numbers: [56, 58]
Generated Node #0,1,0: 43:[56, 58] Operation: 86-28=58
Exploring Operation: 86-56=30, Resulting Numbers: [28, 30]
Generated Node #0,1,1: 43:[28, 30] Operation: 86-56=30
Exploring Operation: 56-28=28, Resulting Numbers: [86, 28]
Generated Node #0,1,2: 43:[86, 28] Operation: 56-28=28
Moving to Node #0,2
Current State: 43:[6, 62, 58], Operations: ['86-28=58']
Exploring Operation: 6+62=68, Resulting Numbers: [58, 68]
Generated Node #0,2,0: 43:[58, 68] Operation: 6+62=68
Exploring Operation: 58-6=52, Resulting Numbers: [62, 52]
Generated Node #0,2,1: 43:[62, 52] Operation: 58-6=52
Exploring Operation: 62-6=56, Resulting Numbers: [58, 56]
Generated Node #0,2,2: 43:[58, 56] Operation: 62-6=56
Moving to Node #0,1,0
Current State: 43:[56, 58], Operations: ['62-6=56', '86-28=58']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,43 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[28, 30], Operations: ['62-6=56', '86-56=30']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,43 unequal: No Solution
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[58, 56], Operations: ['86-28=58', '62-6=56']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,43 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[62, 52], Operations: ['86-28=58', '58-6=52']
Exploring Operation: 62*52=3224, Resulting Numbers: [3224]
3224,43 unequal: No Solution
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 62+52=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[58, 68], Operations: ['86-28=58', '6+62=68']
Exploring Operation: 58*68=3944, Resulting Numbers: [3944]
3944,43 unequal: No Solution
Exploring Operation: 58+68=126, Resulting Numbers: [126]
126,43 unequal: No Solution
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[86, 28], Operations: ['62-6=56', '56-28=28']
Exploring Operation: 86*28=2408, Resulting Numbers: [2408]
2408,43 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,43 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
25,
49,
48,
67
] | 92 | [
"25+67=92",
"49-48=1",
"92*1=92"
] | Current State: 92:[25, 49, 48, 67], Operations: []
Exploring Operation: 25+67=92, Resulting Numbers: [49, 48, 92]
Generated Node #2: [49, 48, 92] from Operation: 25+67=92
Current State: 92:[49, 48, 92], Operations: ['25+67=92']
Exploring Operation: 49-48=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 49-48=1
Current State: 92:[92, 1], Operations: ['25+67=92', '49-48=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[25, 49, 48, 67], Operations: []
Exploring Operation: 67-25=42, Resulting Numbers: [49, 48, 42]
Generated Node #0,0: 92:[49, 48, 42] Operation: 67-25=42
Exploring Operation: 25+67=92, Resulting Numbers: [49, 48, 92]
Generated Node #0,1: 92:[49, 48, 92] Operation: 25+67=92
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[49, 48, 92], Operations: ['25+67=92']
Exploring Operation: 49-48=1, Resulting Numbers: [92, 1]
Generated Node #0,1,0: 92:[92, 1] Operation: 49-48=1
Exploring Operation: 49+48=97, Resulting Numbers: [92, 97]
Generated Node #0,1,1: 92:[92, 97] Operation: 49+48=97
Moving to Node #0,1,0
Current State: 92:[92, 1], Operations: ['25+67=92', '49-48=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[25, 49, 48, 67], Operations: []
Exploring Operation: 25+67=92, Resulting Numbers: [49, 48, 92]
Generated Node #0,1: 92:[49, 48, 92] Operation: 25+67=92
Moving to Node #0,1
Current State: 92:[49, 48, 92], Operations: ['25+67=92']
Exploring Operation: 49-48=1, Resulting Numbers: [92, 1]
Generated Node #0,1,0: 92:[92, 1] Operation: 49-48=1
Moving to Node #0,1,0
Current State: 92:[92, 1], Operations: ['25+67=92', '49-48=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
70,
69,
60,
5
] | 25 | [
"69-60=9",
"5*9=45",
"70-45=25"
] | Current State: 25:[70, 69, 60, 5], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [70, 5, 9]
Generated Node #2: [70, 5, 9] from Operation: 69-60=9
Current State: 25:[70, 5, 9], Operations: ['69-60=9']
Exploring Operation: 5*9=45, Resulting Numbers: [70, 45]
Generated Node #3: [70, 45] from Operation: 5*9=45
Current State: 25:[70, 45], Operations: ['69-60=9', '5*9=45']
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[70, 69, 60, 5], Operations: []
Exploring Operation: 70-69=1, Resulting Numbers: [60, 5, 1]
Generated Node #0,0: 25:[60, 5, 1] Operation: 70-69=1
Exploring Operation: 69-60=9, Resulting Numbers: [70, 5, 9]
Generated Node #0,1: 25:[70, 5, 9] Operation: 69-60=9
Exploring Operation: 70-60=10, Resulting Numbers: [69, 5, 10]
Generated Node #0,2: 25:[69, 5, 10] Operation: 70-60=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[60, 5, 1], Operations: ['70-69=1']
Exploring Operation: 60-1=59, Resulting Numbers: [5, 59]
Generated Node #0,0,0: 25:[5, 59] Operation: 60-1=59
Exploring Operation: 60/5=12, Resulting Numbers: [1, 12]
Generated Node #0,0,1: 25:[1, 12] Operation: 60/5=12
Exploring Operation: 60-5=55, Resulting Numbers: [1, 55]
Generated Node #0,0,2: 25:[1, 55] Operation: 60-5=55
Moving to Node #0,0,1
Current State: 25:[1, 12], Operations: ['70-69=1', '60/5=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[5, 59], Operations: ['70-69=1', '60-1=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,25 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[1, 55], Operations: ['70-69=1', '60-5=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[70, 5, 9], Operations: ['69-60=9']
Exploring Operation: 70-9=61, Resulting Numbers: [5, 61]
Generated Node #0,1,0: 25:[5, 61] Operation: 70-9=61
Exploring Operation: 70-5=65, Resulting Numbers: [9, 65]
Generated Node #0,1,1: 25:[9, 65] Operation: 70-5=65
Exploring Operation: 70/5=14, Resulting Numbers: [9, 14]
Generated Node #0,1,2: 25:[9, 14] Operation: 70/5=14
Moving to Node #0,1,2
Current State: 25:[9, 14], Operations: ['69-60=9', '70/5=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[5, 61], Operations: ['69-60=9', '70-9=61']
Exploring Operation: 5*61=305, Resulting Numbers: [305]
305,25 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[9, 65], Operations: ['69-60=9', '70-5=65']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 9*65=585, Resulting Numbers: [585]
585,25 unequal: No Solution
Exploring Operation: 9+65=74, Resulting Numbers: [74]
74,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:[69, 5, 10], Operations: ['70-60=10']
Exploring Operation: 10-5=5, Resulting Numbers: [69, 5]
Generated Node #0,2,0: 25:[69, 5] Operation: 10-5=5
Exploring Operation: 69-10=59, Resulting Numbers: [5, 59]
Generated Node #0,2,1: 25:[5, 59] Operation: 69-10=59
Exploring Operation: 69-5=64, Resulting Numbers: [10, 64]
Generated Node #0,2,2: 25:[10, 64] Operation: 69-5=64
Moving to Node #0,2,1
Current State: 25:[5, 59], Operations: ['70-60=10', '69-10=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[69, 5], Operations: ['70-60=10', '10-5=5']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 69*5=345, Resulting Numbers: [345]
345,25 unequal: No Solution
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[10, 64], Operations: ['70-60=10', '69-5=64']
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,25 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 10*64=640, Resulting Numbers: [640]
640,25 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,
67,
99,
94
] | 54 | [
"67-18=49",
"99-94=5",
"49+5=54"
] | Current State: 54:[18, 67, 99, 94], Operations: []
Exploring Operation: 67-18=49, Resulting Numbers: [99, 94, 49]
Generated Node #2: [99, 94, 49] from Operation: 67-18=49
Current State: 54:[99, 94, 49], Operations: ['67-18=49']
Exploring Operation: 99-94=5, Resulting Numbers: [49, 5]
Generated Node #3: [49, 5] from Operation: 99-94=5
Current State: 54:[49, 5], Operations: ['67-18=49', '99-94=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[18, 67, 99, 94], Operations: []
Exploring Operation: 94-18=76, Resulting Numbers: [67, 99, 76]
Generated Node #0,0: 54:[67, 99, 76] Operation: 94-18=76
Exploring Operation: 99-67=32, Resulting Numbers: [18, 94, 32]
Generated Node #0,1: 54:[18, 94, 32] Operation: 99-67=32
Exploring Operation: 94-67=27, Resulting Numbers: [18, 99, 27]
Generated Node #0,2: 54:[18, 99, 27] Operation: 94-67=27
Exploring Operation: 99-94=5, Resulting Numbers: [18, 67, 5]
Generated Node #0,3: 54:[18, 67, 5] Operation: 99-94=5
Exploring Operation: 99-18=81, Resulting Numbers: [67, 94, 81]
Generated Node #0,4: 54:[67, 94, 81] Operation: 99-18=81
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[18, 67, 5], Operations: ['99-94=5']
Exploring Operation: 67-5=62, Resulting Numbers: [18, 62]
Generated Node #0,3,0: 54:[18, 62] Operation: 67-5=62
Exploring Operation: 67+5=72, Resulting Numbers: [18, 72]
Generated Node #0,3,1: 54:[18, 72] Operation: 67+5=72
Exploring Operation: 18-5=13, Resulting Numbers: [67, 13]
Generated Node #0,3,2: 54:[67, 13] Operation: 18-5=13
Exploring Operation: 18+5=23, Resulting Numbers: [67, 23]
Generated Node #0,3,3: 54:[67, 23] Operation: 18+5=23
Exploring Operation: 67-18=49, Resulting Numbers: [5, 49]
Generated Node #0,3,4: 54:[5, 49] Operation: 67-18=49
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 54:[5, 49], Operations: ['99-94=5', '67-18=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,54 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[18, 67, 99, 94], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [18, 67, 5]
Generated Node #0,3: 54:[18, 67, 5] Operation: 99-94=5
Moving to Node #0,3
Current State: 54:[18, 67, 5], Operations: ['99-94=5']
Exploring Operation: 67-18=49, Resulting Numbers: [5, 49]
Generated Node #0,3,4: 54:[5, 49] Operation: 67-18=49
Moving to Node #0,3,4
Current State: 54:[5, 49], Operations: ['99-94=5', '67-18=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
25,
58,
92,
25
] | 100 | [
"58-25=33",
"92-25=67",
"33+67=100"
] | Current State: 100:[25, 58, 92, 25], Operations: []
Exploring Operation: 58-25=33, Resulting Numbers: [92, 33]
Generated Node #2: [92, 33] from Operation: 58-25=33
Current State: 100:[92, 33], Operations: ['58-25=33']
Exploring Operation: 92-25=67, Resulting Numbers: [33, 67]
Generated Node #3: [33, 67] from Operation: 92-25=67
Current State: 100:[33, 67], Operations: ['58-25=33', '92-25=67']
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[25, 58, 92, 25], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [25, 25, 34]
Generated Node #0,0: 100:[25, 25, 34] Operation: 92-58=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[25, 25, 34], Operations: ['92-58=34']
Exploring Operation: 34-25=9, Resulting Numbers: [25, 9]
Generated Node #0,0,0: 100:[25, 9] Operation: 34-25=9
Moving to Node #0,0,0
Current State: 100:[25, 9], Operations: ['92-58=34', '34-25=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
58,
76,
14,
69
] | 51 | [
"58+76=134",
"14+69=83",
"134-83=51"
] | Current State: 51:[58, 76, 14, 69], Operations: []
Exploring Operation: 58+76=134, Resulting Numbers: [14, 69, 134]
Generated Node #2: [14, 69, 134] from Operation: 58+76=134
Current State: 51:[14, 69, 134], Operations: ['58+76=134']
Exploring Operation: 14+69=83, Resulting Numbers: [134, 83]
Generated Node #3: [134, 83] from Operation: 14+69=83
Current State: 51:[134, 83], Operations: ['58+76=134', '14+69=83']
Exploring Operation: 134-83=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[58, 76, 14, 69], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [76, 14, 11]
Generated Node #0,0: 51:[76, 14, 11] Operation: 69-58=11
Exploring Operation: 76-58=18, Resulting Numbers: [14, 69, 18]
Generated Node #0,1: 51:[14, 69, 18] Operation: 76-58=18
Exploring Operation: 76-14=62, Resulting Numbers: [58, 69, 62]
Generated Node #0,2: 51:[58, 69, 62] Operation: 76-14=62
Exploring Operation: 76-69=7, Resulting Numbers: [58, 14, 7]
Generated Node #0,3: 51:[58, 14, 7] Operation: 76-69=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[58, 14, 7], Operations: ['76-69=7']
Exploring Operation: 14/7=2, Resulting Numbers: [58, 2]
Generated Node #0,3,0: 51:[58, 2] Operation: 14/7=2
Exploring Operation: 58-7=51, Resulting Numbers: [14, 51]
Generated Node #0,3,1: 51:[14, 51] Operation: 58-7=51
Exploring Operation: 14+7=21, Resulting Numbers: [58, 21]
Generated Node #0,3,2: 51:[58, 21] Operation: 14+7=21
Exploring Operation: 58-14=44, Resulting Numbers: [7, 44]
Generated Node #0,3,3: 51:[7, 44] Operation: 58-14=44
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[14, 51], Operations: ['76-69=7', '58-7=51']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,51 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,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,3,0
Current State: 51:[58, 2], Operations: ['76-69=7', '14/7=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,51 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,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,3,2
Current State: 51:[58, 21], Operations: ['76-69=7', '14+7=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,51 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,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,3,3
Current State: 51:[7, 44], Operations: ['76-69=7', '58-14=44']
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,51 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[58, 76, 14, 69], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [58, 14, 7]
Generated Node #0,3: 51:[58, 14, 7] Operation: 76-69=7
Moving to Node #0,3
Current State: 51:[58, 14, 7], Operations: ['76-69=7']
Exploring Operation: 58-14=44, Resulting Numbers: [7, 44]
Generated Node #0,3,3: 51:[7, 44] Operation: 58-14=44
Moving to Node #0,3,3
Current State: 51:[7, 44], Operations: ['76-69=7', '58-14=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
28,
5,
24,
12
] | 56 | [
"28-24=4",
"5*12=60",
"60-4=56"
] | Current State: 56:[28, 5, 24, 12], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [5, 12, 4]
Generated Node #2: [5, 12, 4] from Operation: 28-24=4
Current State: 56:[5, 12, 4], Operations: ['28-24=4']
Exploring Operation: 5*12=60, Resulting Numbers: [4, 60]
Generated Node #3: [4, 60] from Operation: 5*12=60
Current State: 56:[4, 60], Operations: ['28-24=4', '5*12=60']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[28, 5, 24, 12], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [28, 5, 2]
Generated Node #0,0: 56:[28, 5, 2] Operation: 24/12=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[28, 5, 2], Operations: ['24/12=2']
Exploring Operation: 5+2=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 56:[28, 7] Operation: 5+2=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[28, 7], Operations: ['24/12=2', '5+2=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
94,
16,
92
] | 41 | [
"94-92=2",
"50/2=25",
"16+25=41"
] | Current State: 41:[50, 94, 16, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [50, 16, 2]
Generated Node #2: [50, 16, 2] from Operation: 94-92=2
Current State: 41:[50, 16, 2], Operations: ['94-92=2']
Exploring Operation: 50/2=25, Resulting Numbers: [16, 25]
Generated Node #3: [16, 25] from Operation: 50/2=25
Current State: 41:[16, 25], Operations: ['94-92=2', '50/2=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[50, 94, 16, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [50, 16, 2]
Generated Node #0,0: 41:[50, 16, 2] Operation: 94-92=2
Exploring Operation: 92-50=42, Resulting Numbers: [94, 16, 42]
Generated Node #0,1: 41:[94, 16, 42] Operation: 92-50=42
Exploring Operation: 94-50=44, Resulting Numbers: [16, 92, 44]
Generated Node #0,2: 41:[16, 92, 44] Operation: 94-50=44
Exploring Operation: 94-16=78, Resulting Numbers: [50, 92, 78]
Generated Node #0,3: 41:[50, 92, 78] Operation: 94-16=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[50, 16, 2], Operations: ['94-92=2']
Exploring Operation: 16+2=18, Resulting Numbers: [50, 18]
Generated Node #0,0,0: 41:[50, 18] Operation: 16+2=18
Exploring Operation: 50+2=52, Resulting Numbers: [16, 52]
Generated Node #0,0,1: 41:[16, 52] Operation: 50+2=52
Exploring Operation: 50-2=48, Resulting Numbers: [16, 48]
Generated Node #0,0,2: 41:[16, 48] Operation: 50-2=48
Exploring Operation: 16*2=32, Resulting Numbers: [50, 32]
Generated Node #0,0,3: 41:[50, 32] Operation: 16*2=32
Moving to Node #0,0,3
Current State: 41:[50, 32], Operations: ['94-92=2', '16*2=32']
Exploring Operation: 50*32=1600, Resulting Numbers: [1600]
1600,41 unequal: No Solution
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[16, 48], Operations: ['94-92=2', '50-2=48']
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,41 unequal: No Solution
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[50, 18], Operations: ['94-92=2', '16+2=18']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,41 unequal: No Solution
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[16, 52], Operations: ['94-92=2', '50+2=52']
Exploring Operation: 16*52=832, Resulting Numbers: [832]
832,41 unequal: No Solution
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[94, 16, 42], Operations: ['92-50=42']
Exploring Operation: 42-16=26, Resulting Numbers: [94, 26]
Generated Node #0,1,0: 41:[94, 26] Operation: 42-16=26
Exploring Operation: 94-42=52, Resulting Numbers: [16, 52]
Generated Node #0,1,1: 41:[16, 52] Operation: 94-42=52
Exploring Operation: 94-16=78, Resulting Numbers: [42, 78]
Generated Node #0,1,2: 41:[42, 78] Operation: 94-16=78
Exploring Operation: 94+16=110, Resulting Numbers: [42, 110]
Generated Node #0,1,3: 41:[42, 110] Operation: 94+16=110
Moving to Node #0,1,1
Current State: 41:[16, 52], Operations: ['92-50=42', '94-42=52']
Exploring Operation: 16*52=832, Resulting Numbers: [832]
832,41 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 16+52=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[42, 78], Operations: ['92-50=42', '94-16=78']
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 42*78=3276, Resulting Numbers: [3276]
3276,41 unequal: No Solution
Exploring Operation: 42+78=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[94, 26], Operations: ['92-50=42', '42-16=26']
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 94*26=2444, Resulting Numbers: [2444]
2444,41 unequal: No Solution
Exploring Operation: 94+26=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[42, 110], Operations: ['92-50=42', '94+16=110']
Exploring Operation: 110-42=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 42*110=4620, Resulting Numbers: [4620]
4620,41 unequal: No Solution
Exploring Operation: 42+110=152, Resulting Numbers: [152]
152,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[16, 92, 44], Operations: ['94-50=44']
Exploring Operation: 92-16=76, Resulting Numbers: [44, 76]
Generated Node #0,2,0: 41:[44, 76] Operation: 92-16=76
Exploring Operation: 92-44=48, Resulting Numbers: [16, 48]
Generated Node #0,2,1: 41:[16, 48] Operation: 92-44=48
Exploring Operation: 16+92=108, Resulting Numbers: [44, 108]
Generated Node #0,2,2: 41:[44, 108] Operation: 16+92=108
Exploring Operation: 44-16=28, Resulting Numbers: [92, 28]
Generated Node #0,2,3: 41:[92, 28] Operation: 44-16=28
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 41:[16, 48], Operations: ['94-50=44', '92-44=48']
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,41 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[44, 76], Operations: ['94-50=44', '92-16=76']
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 44*76=3344, Resulting Numbers: [3344]
3344,41 unequal: No Solution
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 41:[92, 28], Operations: ['94-50=44', '44-16=28']
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[44, 108], Operations: ['94-50=44', '16+92=108']
Exploring Operation: 44+108=152, Resulting Numbers: [152]
152,41 unequal: No Solution
Exploring Operation: 44*108=4752, Resulting Numbers: [4752]
4752,41 unequal: No Solution
Exploring Operation: 108-44=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[50, 92, 78], Operations: ['94-16=78']
Exploring Operation: 78-50=28, Resulting Numbers: [92, 28]
Generated Node #0,3,0: 41:[92, 28] Operation: 78-50=28
Exploring Operation: 92-78=14, Resulting Numbers: [50, 14]
Generated Node #0,3,1: 41:[50, 14] Operation: 92-78=14
Exploring Operation: 92-50=42, Resulting Numbers: [78, 42]
Generated Node #0,3,2: 41:[78, 42] Operation: 92-50=42
Exploring Operation: 50+92=142, Resulting Numbers: [78, 142]
Generated Node #0,3,3: 41:[78, 142] Operation: 50+92=142
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 41:[50, 14], Operations: ['94-16=78', '92-78=14']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 41:[78, 42], Operations: ['94-16=78', '92-50=42']
Exploring Operation: 78+42=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 78*42=3276, Resulting Numbers: [3276]
3276,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 41:[92, 28], Operations: ['94-16=78', '78-50=28']
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,41 unequal: No Solution
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 41:[78, 142], Operations: ['94-16=78', '50+92=142']
Exploring Operation: 142-78=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 78+142=220, Resulting Numbers: [220]
220,41 unequal: No Solution
Exploring Operation: 78*142=11076, Resulting Numbers: [11076]
11076,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
60,
92,
94,
72
] | 96 | [
"94-92=2",
"72/2=36",
"60+36=96"
] | Current State: 96:[60, 92, 94, 72], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [60, 72, 2]
Generated Node #2: [60, 72, 2] from Operation: 94-92=2
Current State: 96:[60, 72, 2], Operations: ['94-92=2']
Exploring Operation: 72/2=36, Resulting Numbers: [60, 36]
Generated Node #3: [60, 36] from Operation: 72/2=36
Current State: 96:[60, 36], Operations: ['94-92=2', '72/2=36']
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[60, 92, 94, 72], Operations: []
Exploring Operation: 72-60=12, Resulting Numbers: [92, 94, 12]
Generated Node #0,0: 96:[92, 94, 12] Operation: 72-60=12
Exploring Operation: 92-72=20, Resulting Numbers: [60, 94, 20]
Generated Node #0,1: 96:[60, 94, 20] Operation: 92-72=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[92, 94, 12], Operations: ['72-60=12']
Exploring Operation: 92+12=104, Resulting Numbers: [94, 104]
Generated Node #0,0,0: 96:[94, 104] Operation: 92+12=104
Exploring Operation: 94-92=2, Resulting Numbers: [12, 2]
Generated Node #0,0,1: 96:[12, 2] Operation: 94-92=2
Moving to Node #0,0,1
Current State: 96:[12, 2], Operations: ['72-60=12', '94-92=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[94, 104], Operations: ['72-60=12', '92+12=104']
Exploring Operation: 104-94=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 94+104=198, Resulting Numbers: [198]
198,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[60, 94, 20], Operations: ['92-72=20']
Exploring Operation: 94-60=34, Resulting Numbers: [20, 34]
Generated Node #0,1,0: 96:[20, 34] Operation: 94-60=34
Exploring Operation: 60/20=3, Resulting Numbers: [94, 3]
Generated Node #0,1,1: 96:[94, 3] Operation: 60/20=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[94, 3], Operations: ['92-72=20', '60/20=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,96 unequal: No Solution
No 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: 96:[20, 34], Operations: ['92-72=20', '94-60=34']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,96 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 |
[
83,
6,
8,
47
] | 84 | [
"83-47=36",
"6*8=48",
"36+48=84"
] | Current State: 84:[83, 6, 8, 47], Operations: []
Exploring Operation: 83-47=36, Resulting Numbers: [6, 8, 36]
Generated Node #2: [6, 8, 36] from Operation: 83-47=36
Current State: 84:[6, 8, 36], Operations: ['83-47=36']
Exploring Operation: 6*8=48, Resulting Numbers: [36, 48]
Generated Node #3: [36, 48] from Operation: 6*8=48
Current State: 84:[36, 48], Operations: ['83-47=36', '6*8=48']
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[83, 6, 8, 47], Operations: []
Exploring Operation: 6+8=14, Resulting Numbers: [83, 47, 14]
Generated Node #0,0: 84:[83, 47, 14] Operation: 6+8=14
Exploring Operation: 47-8=39, Resulting Numbers: [83, 6, 39]
Generated Node #0,1: 84:[83, 6, 39] Operation: 47-8=39
Exploring Operation: 47-6=41, Resulting Numbers: [83, 8, 41]
Generated Node #0,2: 84:[83, 8, 41] Operation: 47-6=41
Exploring Operation: 8-6=2, Resulting Numbers: [83, 47, 2]
Generated Node #0,3: 84:[83, 47, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[83, 8, 41], Operations: ['47-6=41']
Exploring Operation: 83-41=42, Resulting Numbers: [8, 42]
Generated Node #0,2,0: 84:[8, 42] Operation: 83-41=42
Exploring Operation: 8+41=49, Resulting Numbers: [83, 49]
Generated Node #0,2,1: 84:[83, 49] Operation: 8+41=49
Exploring Operation: 83+8=91, Resulting Numbers: [41, 91]
Generated Node #0,2,2: 84:[41, 91] Operation: 83+8=91
Exploring Operation: 41-8=33, Resulting Numbers: [83, 33]
Generated Node #0,2,3: 84:[83, 33] Operation: 41-8=33
Moving to Node #0,2,0
Current State: 84:[8, 42], Operations: ['47-6=41', '83-41=42']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[83, 33], Operations: ['47-6=41', '41-8=33']
Exploring Operation: 83+33=116, Resulting Numbers: [116]
116,84 unequal: No Solution
Exploring Operation: 83*33=2739, Resulting Numbers: [2739]
2739,84 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[41, 91], Operations: ['47-6=41', '83+8=91']
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 41*91=3731, Resulting Numbers: [3731]
3731,84 unequal: No Solution
Exploring Operation: 41+91=132, Resulting Numbers: [132]
132,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[83, 49], Operations: ['47-6=41', '8+41=49']
Exploring Operation: 83+49=132, Resulting Numbers: [132]
132,84 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 83*49=4067, Resulting Numbers: [4067]
4067,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[83, 6, 39], Operations: ['47-8=39']
Exploring Operation: 39-6=33, Resulting Numbers: [83, 33]
Generated Node #0,1,0: 84:[83, 33] Operation: 39-6=33
Exploring Operation: 83-39=44, Resulting Numbers: [6, 44]
Generated Node #0,1,1: 84:[6, 44] Operation: 83-39=44
Exploring Operation: 83+6=89, Resulting Numbers: [39, 89]
Generated Node #0,1,2: 84:[39, 89] Operation: 83+6=89
Exploring Operation: 6+39=45, Resulting Numbers: [83, 45]
Generated Node #0,1,3: 84:[83, 45] Operation: 6+39=45
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 84:[6, 44], Operations: ['47-8=39', '83-39=44']
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,84 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 84:[83, 45], Operations: ['47-8=39', '6+39=45']
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,84 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,84 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[83, 33], Operations: ['47-8=39', '39-6=33']
Exploring Operation: 83+33=116, Resulting Numbers: [116]
116,84 unequal: No Solution
Exploring Operation: 83*33=2739, Resulting Numbers: [2739]
2739,84 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 84:[39, 89], Operations: ['47-8=39', '83+6=89']
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 39*89=3471, Resulting Numbers: [3471]
3471,84 unequal: No Solution
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[83, 47, 14], Operations: ['6+8=14']
Exploring Operation: 83-47=36, Resulting Numbers: [14, 36]
Generated Node #0,0,0: 84:[14, 36] Operation: 83-47=36
Exploring Operation: 83-14=69, Resulting Numbers: [47, 69]
Generated Node #0,0,1: 84:[47, 69] Operation: 83-14=69
Exploring Operation: 83+14=97, Resulting Numbers: [47, 97]
Generated Node #0,0,2: 84:[47, 97] Operation: 83+14=97
Exploring Operation: 47-14=33, Resulting Numbers: [83, 33]
Generated Node #0,0,3: 84:[83, 33] Operation: 47-14=33
Moving to Node #0,0,0
Current State: 84:[14, 36], Operations: ['6+8=14', '83-47=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[83, 33], Operations: ['6+8=14', '47-14=33']
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 83*33=2739, Resulting Numbers: [2739]
2739,84 unequal: No Solution
Exploring Operation: 83+33=116, Resulting Numbers: [116]
116,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[47, 97], Operations: ['6+8=14', '83+14=97']
Exploring Operation: 47*97=4559, Resulting Numbers: [4559]
4559,84 unequal: No Solution
Exploring Operation: 47+97=144, Resulting Numbers: [144]
144,84 unequal: No Solution
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[47, 69], Operations: ['6+8=14', '83-14=69']
Exploring Operation: 47*69=3243, Resulting Numbers: [3243]
3243,84 unequal: No Solution
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,84 unequal: No Solution
Exploring Operation: 47+69=116, Resulting Numbers: [116]
116,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[83, 47, 2], Operations: ['8-6=2']
Exploring Operation: 47-2=45, Resulting Numbers: [83, 45]
Generated Node #0,3,0: 84:[83, 45] Operation: 47-2=45
Exploring Operation: 83-2=81, Resulting Numbers: [47, 81]
Generated Node #0,3,1: 84:[47, 81] Operation: 83-2=81
Exploring Operation: 83-47=36, Resulting Numbers: [2, 36]
Generated Node #0,3,2: 84:[2, 36] Operation: 83-47=36
Exploring Operation: 83+2=85, Resulting Numbers: [47, 85]
Generated Node #0,3,3: 84:[47, 85] Operation: 83+2=85
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 84:[83, 45], Operations: ['8-6=2', '47-2=45']
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,84 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 84:[2, 36], Operations: ['8-6=2', '83-47=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 84:[47, 85], Operations: ['8-6=2', '83+2=85']
Exploring Operation: 47+85=132, Resulting Numbers: [132]
132,84 unequal: No Solution
Exploring Operation: 47*85=3995, Resulting Numbers: [3995]
3995,84 unequal: No Solution
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 84:[47, 81], Operations: ['8-6=2', '83-2=81']
Exploring Operation: 47+81=128, Resulting Numbers: [128]
128,84 unequal: No Solution
Exploring Operation: 47*81=3807, Resulting Numbers: [3807]
3807,84 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
46,
93,
18,
91
] | 30 | [
"46+93=139",
"18+91=109",
"139-109=30"
] | Current State: 30:[46, 93, 18, 91], Operations: []
Exploring Operation: 46+93=139, Resulting Numbers: [18, 91, 139]
Generated Node #2: [18, 91, 139] from Operation: 46+93=139
Current State: 30:[18, 91, 139], Operations: ['46+93=139']
Exploring Operation: 18+91=109, Resulting Numbers: [139, 109]
Generated Node #3: [139, 109] from Operation: 18+91=109
Current State: 30:[139, 109], Operations: ['46+93=139', '18+91=109']
Exploring Operation: 139-109=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[46, 93, 18, 91], Operations: []
Exploring Operation: 93-46=47, Resulting Numbers: [18, 91, 47]
Generated Node #0,0: 30:[18, 91, 47] Operation: 93-46=47
Exploring Operation: 93-91=2, Resulting Numbers: [46, 18, 2]
Generated Node #0,1: 30:[46, 18, 2] Operation: 93-91=2
Moving to Node #0,1
Current State: 30:[46, 18, 2], Operations: ['93-91=2']
Exploring Operation: 46-18=28, Resulting Numbers: [2, 28]
Generated Node #0,1,0: 30:[2, 28] Operation: 46-18=28
Exploring Operation: 46/2=23, Resulting Numbers: [18, 23]
Generated Node #0,1,1: 30:[18, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[2, 28], Operations: ['93-91=2', '46-18=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[46, 93, 18, 91], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [46, 18, 2]
Generated Node #0,1: 30:[46, 18, 2] Operation: 93-91=2
Moving to Node #0,1
Current State: 30:[46, 18, 2], Operations: ['93-91=2']
Exploring Operation: 46-18=28, Resulting Numbers: [2, 28]
Generated Node #0,1,0: 30:[2, 28] Operation: 46-18=28
Moving to Node #0,1,0
Current State: 30:[2, 28], Operations: ['93-91=2', '46-18=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
3,
93,
89,
12
] | 19 | [
"3+93=96",
"89-12=77",
"96-77=19"
] | Current State: 19:[3, 93, 89, 12], Operations: []
Exploring Operation: 3+93=96, Resulting Numbers: [89, 12, 96]
Generated Node #2: [89, 12, 96] from Operation: 3+93=96
Current State: 19:[89, 12, 96], Operations: ['3+93=96']
Exploring Operation: 89-12=77, Resulting Numbers: [96, 77]
Generated Node #3: [96, 77] from Operation: 89-12=77
Current State: 19:[96, 77], Operations: ['3+93=96', '89-12=77']
Exploring Operation: 96-77=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[3, 93, 89, 12], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [3, 12, 4]
Generated Node #0,0: 19:[3, 12, 4] Operation: 93-89=4
Exploring Operation: 93/3=31, Resulting Numbers: [89, 12, 31]
Generated Node #0,1: 19:[89, 12, 31] Operation: 93/3=31
Moving to Node #0,0
Current State: 19:[3, 12, 4], Operations: ['93-89=4']
Exploring Operation: 3+12=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 19:[4, 15] Operation: 3+12=15
Exploring Operation: 3*4=12, Resulting Numbers: [12, 12]
Generated Node #0,0,1: 19:[12, 12] Operation: 3*4=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[12, 12], Operations: ['93-89=4', '3*4=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,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:[4, 15], Operations: ['93-89=4', '3+12=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[3, 93, 89, 12], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [3, 12, 4]
Generated Node #0,0: 19:[3, 12, 4] Operation: 93-89=4
Moving to Node #0,0
Current State: 19:[3, 12, 4], Operations: ['93-89=4']
Exploring Operation: 3+12=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 19:[4, 15] Operation: 3+12=15
Moving to Node #0,0,0
Current State: 19:[4, 15], Operations: ['93-89=4', '3+12=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
13,
3,
98,
69
] | 68 | [
"13*3=39",
"98-69=29",
"39+29=68"
] | Current State: 68:[13, 3, 98, 69], Operations: []
Exploring Operation: 13*3=39, Resulting Numbers: [98, 69, 39]
Generated Node #2: [98, 69, 39] from Operation: 13*3=39
Current State: 68:[98, 69, 39], Operations: ['13*3=39']
Exploring Operation: 98-69=29, Resulting Numbers: [39, 29]
Generated Node #3: [39, 29] from Operation: 98-69=29
Current State: 68:[39, 29], Operations: ['13*3=39', '98-69=29']
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[13, 3, 98, 69], Operations: []
Exploring Operation: 13+3=16, Resulting Numbers: [98, 69, 16]
Generated Node #0,0: 68:[98, 69, 16] Operation: 13+3=16
Exploring Operation: 98-13=85, Resulting Numbers: [3, 69, 85]
Generated Node #0,1: 68:[3, 69, 85] Operation: 98-13=85
Exploring Operation: 98-69=29, Resulting Numbers: [13, 3, 29]
Generated Node #0,2: 68:[13, 3, 29] Operation: 98-69=29
Moving to Node #0,2
Current State: 68:[13, 3, 29], Operations: ['98-69=29']
Exploring Operation: 13+3=16, Resulting Numbers: [29, 16]
Generated Node #0,2,0: 68:[29, 16] Operation: 13+3=16
Exploring Operation: 3+29=32, Resulting Numbers: [13, 32]
Generated Node #0,2,1: 68:[13, 32] Operation: 3+29=32
Exploring Operation: 29-13=16, Resulting Numbers: [3, 16]
Generated Node #0,2,2: 68:[3, 16] Operation: 29-13=16
Moving to Node #0,1
Current State: 68:[3, 69, 85], Operations: ['98-13=85']
Exploring Operation: 85-3=82, Resulting Numbers: [69, 82]
Generated Node #0,1,0: 68:[69, 82] Operation: 85-3=82
Exploring Operation: 69-3=66, Resulting Numbers: [85, 66]
Generated Node #0,1,1: 68:[85, 66] Operation: 69-3=66
Exploring Operation: 85-69=16, Resulting Numbers: [3, 16]
Generated Node #0,1,2: 68:[3, 16] Operation: 85-69=16
Moving to Node #0,0
Current State: 68:[98, 69, 16], Operations: ['13+3=16']
Exploring Operation: 69-16=53, Resulting Numbers: [98, 53]
Generated Node #0,0,0: 68:[98, 53] Operation: 69-16=53
Exploring Operation: 98-69=29, Resulting Numbers: [16, 29]
Generated Node #0,0,1: 68:[16, 29] Operation: 98-69=29
Exploring Operation: 98-16=82, Resulting Numbers: [69, 82]
Generated Node #0,0,2: 68:[69, 82] Operation: 98-16=82
Moving to Node #0,2,2
Current State: 68:[3, 16], Operations: ['98-69=29', '29-13=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[3, 16], Operations: ['98-13=85', '85-69=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[13, 32], Operations: ['98-69=29', '3+29=32']
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,68 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[16, 29], Operations: ['13+3=16', '98-69=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,68 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[29, 16], Operations: ['98-69=29', '13+3=16']
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,68 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[69, 82], Operations: ['98-13=85', '85-3=82']
Exploring Operation: 69*82=5658, Resulting Numbers: [5658]
5658,68 unequal: No Solution
Exploring Operation: 69+82=151, Resulting Numbers: [151]
151,68 unequal: No Solution
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[69, 82], Operations: ['13+3=16', '98-16=82']
Exploring Operation: 69*82=5658, Resulting Numbers: [5658]
5658,68 unequal: No Solution
Exploring Operation: 69+82=151, Resulting Numbers: [151]
151,68 unequal: No Solution
Exploring Operation: 82-69=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[85, 66], Operations: ['98-13=85', '69-3=66']
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,68 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[98, 53], Operations: ['13+3=16', '69-16=53']
Exploring Operation: 98*53=5194, Resulting Numbers: [5194]
5194,68 unequal: No Solution
Exploring Operation: 98+53=151, Resulting Numbers: [151]
151,68 unequal: No Solution
Exploring Operation: 98-53=45, Resulting Numbers: [45]
45,68 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
52,
39,
65,
58
] | 66 | [
"52+58=110",
"39*110=4290",
"4290/65=66"
] | Current State: 66:[52, 39, 65, 58], Operations: []
Exploring Operation: 52+58=110, Resulting Numbers: [39, 65, 110]
Generated Node #2: [39, 65, 110] from Operation: 52+58=110
Current State: 66:[39, 65, 110], Operations: ['52+58=110']
Exploring Operation: 39*110=4290, Resulting Numbers: [65, 4290]
Generated Node #3: [65, 4290] from Operation: 39*110=4290
Current State: 66:[65, 4290], Operations: ['52+58=110', '39*110=4290']
Exploring Operation: 4290/65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[52, 39, 65, 58], Operations: []
Exploring Operation: 52-39=13, Resulting Numbers: [65, 58, 13]
Generated Node #0,0: 66:[65, 58, 13] Operation: 52-39=13
Exploring Operation: 58-52=6, Resulting Numbers: [39, 65, 6]
Generated Node #0,1: 66:[39, 65, 6] Operation: 58-52=6
Moving to Node #0,1
Current State: 66:[39, 65, 6], Operations: ['58-52=6']
Exploring Operation: 39-6=33, Resulting Numbers: [65, 33]
Generated Node #0,1,0: 66:[65, 33] Operation: 39-6=33
Exploring Operation: 65-39=26, Resulting Numbers: [6, 26]
Generated Node #0,1,1: 66:[6, 26] Operation: 65-39=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[65, 33], Operations: ['58-52=6', '39-6=33']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,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,1
Current State: 66:[6, 26], Operations: ['58-52=6', '65-39=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,66 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: 66:[65, 58, 13], Operations: ['52-39=13']
Exploring Operation: 65-58=7, Resulting Numbers: [13, 7]
Generated Node #0,0,0: 66:[13, 7] Operation: 65-58=7
Exploring Operation: 58+13=71, Resulting Numbers: [65, 71]
Generated Node #0,0,1: 66:[65, 71] Operation: 58+13=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[13, 7], Operations: ['52-39=13', '65-58=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,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,0,1
Current State: 66:[65, 71], Operations: ['52-39=13', '58+13=71']
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 65+71=136, Resulting Numbers: [136]
136,66 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,
91,
19,
78
] | 84 | [
"91-19=72",
"72/12=6",
"78+6=84"
] | Current State: 84:[12, 91, 19, 78], Operations: []
Exploring Operation: 91-19=72, Resulting Numbers: [12, 78, 72]
Generated Node #2: [12, 78, 72] from Operation: 91-19=72
Current State: 84:[12, 78, 72], Operations: ['91-19=72']
Exploring Operation: 72/12=6, Resulting Numbers: [78, 6]
Generated Node #3: [78, 6] from Operation: 72/12=6
Current State: 84:[78, 6], Operations: ['91-19=72', '72/12=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[12, 91, 19, 78], Operations: []
Exploring Operation: 12+78=90, Resulting Numbers: [91, 19, 90]
Generated Node #0,0: 84:[91, 19, 90] Operation: 12+78=90
Exploring Operation: 19-12=7, Resulting Numbers: [91, 78, 7]
Generated Node #0,1: 84:[91, 78, 7] Operation: 19-12=7
Exploring Operation: 91-78=13, Resulting Numbers: [12, 19, 13]
Generated Node #0,2: 84:[12, 19, 13] Operation: 91-78=13
Exploring Operation: 91-12=79, Resulting Numbers: [19, 78, 79]
Generated Node #0,3: 84:[19, 78, 79] Operation: 91-12=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[12, 19, 13], Operations: ['91-78=13']
Exploring Operation: 19-13=6, Resulting Numbers: [12, 6]
Generated Node #0,2,0: 84:[12, 6] Operation: 19-13=6
Exploring Operation: 12+19=31, Resulting Numbers: [13, 31]
Generated Node #0,2,1: 84:[13, 31] Operation: 12+19=31
Exploring Operation: 19-12=7, Resulting Numbers: [13, 7]
Generated Node #0,2,2: 84:[13, 7] Operation: 19-12=7
Exploring Operation: 13-12=1, Resulting Numbers: [19, 1]
Generated Node #0,2,3: 84:[19, 1] Operation: 13-12=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[12, 6], Operations: ['91-78=13', '19-13=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 84:[13, 7], Operations: ['91-78=13', '19-12=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,84 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 84:[19, 1], Operations: ['91-78=13', '13-12=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[13, 31], Operations: ['91-78=13', '12+19=31']
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,84 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[91, 78, 7], Operations: ['19-12=7']
Exploring Operation: 91-78=13, Resulting Numbers: [7, 13]
Generated Node #0,1,0: 84:[7, 13] Operation: 91-78=13
Exploring Operation: 91/7=13, Resulting Numbers: [78, 13]
Generated Node #0,1,1: 84:[78, 13] Operation: 91/7=13
Exploring Operation: 78+7=85, Resulting Numbers: [91, 85]
Generated Node #0,1,2: 84:[91, 85] Operation: 78+7=85
Exploring Operation: 91-7=84, Resulting Numbers: [78, 84]
Generated Node #0,1,3: 84:[78, 84] Operation: 91-7=84
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[7, 13], Operations: ['19-12=7', '91-78=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,84 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 84:[78, 84], Operations: ['19-12=7', '91-7=84']
Exploring Operation: 78*84=6552, Resulting Numbers: [6552]
6552,84 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 78+84=162, Resulting Numbers: [162]
162,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 84:[78, 13], Operations: ['19-12=7', '91/7=13']
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,84 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 84:[91, 85], Operations: ['19-12=7', '78+7=85']
Exploring Operation: 91*85=7735, Resulting Numbers: [7735]
7735,84 unequal: No Solution
Exploring Operation: 91+85=176, Resulting Numbers: [176]
176,84 unequal: No Solution
Exploring Operation: 91-85=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[19, 78, 79], Operations: ['91-12=79']
Exploring Operation: 78-19=59, Resulting Numbers: [79, 59]
Generated Node #0,3,0: 84:[79, 59] Operation: 78-19=59
Exploring Operation: 79-78=1, Resulting Numbers: [19, 1]
Generated Node #0,3,1: 84:[19, 1] Operation: 79-78=1
Exploring Operation: 19+79=98, Resulting Numbers: [78, 98]
Generated Node #0,3,2: 84:[78, 98] Operation: 19+79=98
Exploring Operation: 19+78=97, Resulting Numbers: [79, 97]
Generated Node #0,3,3: 84:[79, 97] Operation: 19+78=97
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 84:[19, 1], Operations: ['91-12=79', '79-78=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 84:[79, 97], Operations: ['91-12=79', '19+78=97']
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 79+97=176, Resulting Numbers: [176]
176,84 unequal: No Solution
Exploring Operation: 79*97=7663, Resulting Numbers: [7663]
7663,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 84:[78, 98], Operations: ['91-12=79', '19+79=98']
Exploring Operation: 98-78=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 78*98=7644, Resulting Numbers: [7644]
7644,84 unequal: No Solution
Exploring Operation: 78+98=176, Resulting Numbers: [176]
176,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 84:[79, 59], Operations: ['91-12=79', '78-19=59']
Exploring Operation: 79+59=138, Resulting Numbers: [138]
138,84 unequal: No Solution
Exploring Operation: 79*59=4661, Resulting Numbers: [4661]
4661,84 unequal: No Solution
Exploring Operation: 79-59=20, Resulting Numbers: [20]
20,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[91, 19, 90], Operations: ['12+78=90']
Exploring Operation: 91-19=72, Resulting Numbers: [90, 72]
Generated Node #0,0,0: 84:[90, 72] Operation: 91-19=72
Exploring Operation: 91+19=110, Resulting Numbers: [90, 110]
Generated Node #0,0,1: 84:[90, 110] Operation: 91+19=110
Exploring Operation: 91-90=1, Resulting Numbers: [19, 1]
Generated Node #0,0,2: 84:[19, 1] Operation: 91-90=1
Exploring Operation: 90-19=71, Resulting Numbers: [91, 71]
Generated Node #0,0,3: 84:[91, 71] Operation: 90-19=71
Moving to Node #0,0,2
Current State: 84:[19, 1], Operations: ['12+78=90', '91-90=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[90, 72], Operations: ['12+78=90', '91-19=72']
Exploring Operation: 90*72=6480, Resulting Numbers: [6480]
6480,84 unequal: No Solution
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 90+72=162, Resulting Numbers: [162]
162,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[91, 71], Operations: ['12+78=90', '90-19=71']
Exploring Operation: 91-71=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 91*71=6461, Resulting Numbers: [6461]
6461,84 unequal: No Solution
Exploring Operation: 91+71=162, Resulting Numbers: [162]
162,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[90, 110], Operations: ['12+78=90', '91+19=110']
Exploring Operation: 90*110=9900, Resulting Numbers: [9900]
9900,84 unequal: No Solution
Exploring Operation: 110-90=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 90+110=200, Resulting Numbers: [200]
200,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
34,
88,
95,
99
] | 72 | [
"34+88=122",
"95+99=194",
"194-122=72"
] | Current State: 72:[34, 88, 95, 99], Operations: []
Exploring Operation: 34+88=122, Resulting Numbers: [95, 99, 122]
Generated Node #2: [95, 99, 122] from Operation: 34+88=122
Current State: 72:[95, 99, 122], Operations: ['34+88=122']
Exploring Operation: 95+99=194, Resulting Numbers: [122, 194]
Generated Node #3: [122, 194] from Operation: 95+99=194
Current State: 72:[122, 194], Operations: ['34+88=122', '95+99=194']
Exploring Operation: 194-122=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[34, 88, 95, 99], Operations: []
Exploring Operation: 95-34=61, Resulting Numbers: [88, 99, 61]
Generated Node #0,0: 72:[88, 99, 61] Operation: 95-34=61
Exploring Operation: 99-88=11, Resulting Numbers: [34, 95, 11]
Generated Node #0,1: 72:[34, 95, 11] Operation: 99-88=11
Exploring Operation: 95-88=7, Resulting Numbers: [34, 99, 7]
Generated Node #0,2: 72:[34, 99, 7] Operation: 95-88=7
Exploring Operation: 99-34=65, Resulting Numbers: [88, 95, 65]
Generated Node #0,3: 72:[88, 95, 65] Operation: 99-34=65
Exploring Operation: 99-95=4, Resulting Numbers: [34, 88, 4]
Generated Node #0,4: 72:[34, 88, 4] Operation: 99-95=4
Start Sub Search at level 1: Moving to Node #0,4
Current State: 72:[34, 88, 4], Operations: ['99-95=4']
Exploring Operation: 88-34=54, Resulting Numbers: [4, 54]
Generated Node #0,4,0: 72:[4, 54] Operation: 88-34=54
Exploring Operation: 88/4=22, Resulting Numbers: [34, 22]
Generated Node #0,4,1: 72:[34, 22] Operation: 88/4=22
Exploring Operation: 34-4=30, Resulting Numbers: [88, 30]
Generated Node #0,4,2: 72:[88, 30] Operation: 34-4=30
Exploring Operation: 88-4=84, Resulting Numbers: [34, 84]
Generated Node #0,4,3: 72:[34, 84] Operation: 88-4=84
Exploring Operation: 34+4=38, Resulting Numbers: [88, 38]
Generated Node #0,4,4: 72:[88, 38] Operation: 34+4=38
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 72:[34, 22], Operations: ['99-95=4', '88/4=22']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,72 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 72:[34, 84], Operations: ['99-95=4', '88-4=84']
Exploring Operation: 34+84=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 34*84=2856, Resulting Numbers: [2856]
2856,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 72:[4, 54], Operations: ['99-95=4', '88-34=54']
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,72 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,72 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 72:[88, 38], Operations: ['99-95=4', '34+4=38']
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,72 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 72:[88, 30], Operations: ['99-95=4', '34-4=30']
Exploring Operation: 88+30=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 88*30=2640, Resulting Numbers: [2640]
2640,72 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,72 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: 72:[34, 95, 11], Operations: ['99-88=11']
Exploring Operation: 34-11=23, Resulting Numbers: [95, 23]
Generated Node #0,1,0: 72:[95, 23] Operation: 34-11=23
Exploring Operation: 34+11=45, Resulting Numbers: [95, 45]
Generated Node #0,1,1: 72:[95, 45] Operation: 34+11=45
Exploring Operation: 95+11=106, Resulting Numbers: [34, 106]
Generated Node #0,1,2: 72:[34, 106] Operation: 95+11=106
Exploring Operation: 95-11=84, Resulting Numbers: [34, 84]
Generated Node #0,1,3: 72:[34, 84] Operation: 95-11=84
Exploring Operation: 95-34=61, Resulting Numbers: [11, 61]
Generated Node #0,1,4: 72:[11, 61] Operation: 95-34=61
Moving to Node #0,1,4
Current State: 72:[11, 61], Operations: ['99-88=11', '95-34=61']
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,72 unequal: No Solution
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[34, 88, 95, 99], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [34, 95, 11]
Generated Node #0,1: 72:[34, 95, 11] Operation: 99-88=11
Moving to Node #0,1
Current State: 72:[34, 95, 11], Operations: ['99-88=11']
Exploring Operation: 95-34=61, Resulting Numbers: [11, 61]
Generated Node #0,1,4: 72:[11, 61] Operation: 95-34=61
Moving to Node #0,1,4
Current State: 72:[11, 61], Operations: ['99-88=11', '95-34=61']
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
66,
58,
1,
20
] | 13 | [
"66-58=8",
"1+20=21",
"21-8=13"
] | Current State: 13:[66, 58, 1, 20], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [1, 20, 8]
Generated Node #2: [1, 20, 8] from Operation: 66-58=8
Current State: 13:[1, 20, 8], Operations: ['66-58=8']
Exploring Operation: 1+20=21, Resulting Numbers: [8, 21]
Generated Node #3: [8, 21] from Operation: 1+20=21
Current State: 13:[8, 21], Operations: ['66-58=8', '1+20=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[66, 58, 1, 20], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [1, 20, 8]
Generated Node #0,0: 13:[1, 20, 8] Operation: 66-58=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[1, 20, 8], Operations: ['66-58=8']
Exploring Operation: 20-1=19, Resulting Numbers: [8, 19]
Generated Node #0,0,0: 13:[8, 19] Operation: 20-1=19
Moving to Node #0,0,0
Current State: 13:[8, 19], Operations: ['66-58=8', '20-1=19']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,13 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 |
[
41,
60,
24,
64
] | 68 | [
"41-24=17",
"64-60=4",
"17*4=68"
] | Current State: 68:[41, 60, 24, 64], Operations: []
Exploring Operation: 41-24=17, Resulting Numbers: [60, 64, 17]
Generated Node #2: [60, 64, 17] from Operation: 41-24=17
Current State: 68:[60, 64, 17], Operations: ['41-24=17']
Exploring Operation: 64-60=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 64-60=4
Current State: 68:[17, 4], Operations: ['41-24=17', '64-60=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[41, 60, 24, 64], Operations: []
Exploring Operation: 41-24=17, Resulting Numbers: [60, 64, 17]
Generated Node #0,0: 68:[60, 64, 17] Operation: 41-24=17
Moving to Node #0,0
Current State: 68:[60, 64, 17], Operations: ['41-24=17']
Exploring Operation: 64-60=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 68:[17, 4] Operation: 64-60=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[17, 4], Operations: ['41-24=17', '64-60=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[41, 60, 24, 64], Operations: []
Exploring Operation: 41-24=17, Resulting Numbers: [60, 64, 17]
Generated Node #0,0: 68:[60, 64, 17] Operation: 41-24=17
Moving to Node #0,0
Current State: 68:[60, 64, 17], Operations: ['41-24=17']
Exploring Operation: 64-60=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 68:[17, 4] Operation: 64-60=4
Moving to Node #0,0,0
Current State: 68:[17, 4], Operations: ['41-24=17', '64-60=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
84,
5,
95,
12
] | 77 | [
"95-84=11",
"12-5=7",
"11*7=77"
] | Current State: 77:[84, 5, 95, 12], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [5, 12, 11]
Generated Node #2: [5, 12, 11] from Operation: 95-84=11
Current State: 77:[5, 12, 11], Operations: ['95-84=11']
Exploring Operation: 12-5=7, Resulting Numbers: [11, 7]
Generated Node #3: [11, 7] from Operation: 12-5=7
Current State: 77:[11, 7], Operations: ['95-84=11', '12-5=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[84, 5, 95, 12], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [5, 12, 11]
Generated Node #0,0: 77:[5, 12, 11] Operation: 95-84=11
Exploring Operation: 95/5=19, Resulting Numbers: [84, 12, 19]
Generated Node #0,1: 77:[84, 12, 19] Operation: 95/5=19
Exploring Operation: 95-12=83, Resulting Numbers: [84, 5, 83]
Generated Node #0,2: 77:[84, 5, 83] Operation: 95-12=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[5, 12, 11], Operations: ['95-84=11']
Exploring Operation: 11-5=6, Resulting Numbers: [12, 6]
Generated Node #0,0,0: 77:[12, 6] Operation: 11-5=6
Exploring Operation: 5+12=17, Resulting Numbers: [11, 17]
Generated Node #0,0,1: 77:[11, 17] Operation: 5+12=17
Exploring Operation: 12-5=7, Resulting Numbers: [11, 7]
Generated Node #0,0,2: 77:[11, 7] Operation: 12-5=7
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[11, 7], Operations: ['95-84=11', '12-5=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[84, 5, 95, 12], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [5, 12, 11]
Generated Node #0,0: 77:[5, 12, 11] Operation: 95-84=11
Moving to Node #0,0
Current State: 77:[5, 12, 11], Operations: ['95-84=11']
Exploring Operation: 12-5=7, Resulting Numbers: [11, 7]
Generated Node #0,0,2: 77:[11, 7] Operation: 12-5=7
Moving to Node #0,0,2
Current State: 77:[11, 7], Operations: ['95-84=11', '12-5=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
4,
33,
39,
38
] | 20 | [
"33+39=72",
"72/4=18",
"38-18=20"
] | Current State: 20:[4, 33, 39, 38], Operations: []
Exploring Operation: 33+39=72, Resulting Numbers: [4, 38, 72]
Generated Node #2: [4, 38, 72] from Operation: 33+39=72
Current State: 20:[4, 38, 72], Operations: ['33+39=72']
Exploring Operation: 72/4=18, Resulting Numbers: [38, 18]
Generated Node #3: [38, 18] from Operation: 72/4=18
Current State: 20:[38, 18], Operations: ['33+39=72', '72/4=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[4, 33, 39, 38], Operations: []
Exploring Operation: 39-38=1, Resulting Numbers: [4, 33, 1]
Generated Node #0,0: 20:[4, 33, 1] Operation: 39-38=1
Exploring Operation: 38-33=5, Resulting Numbers: [4, 39, 5]
Generated Node #0,1: 20:[4, 39, 5] Operation: 38-33=5
Exploring Operation: 39-33=6, Resulting Numbers: [4, 38, 6]
Generated Node #0,2: 20:[4, 38, 6] Operation: 39-33=6
Exploring Operation: 33-4=29, Resulting Numbers: [39, 38, 29]
Generated Node #0,3: 20:[39, 38, 29] Operation: 33-4=29
Moving to Node #0,0
Current State: 20:[4, 33, 1], Operations: ['39-38=1']
Exploring Operation: 4*1=4, Resulting Numbers: [33, 4]
Generated Node #0,0,0: 20:[33, 4] Operation: 4*1=4
Exploring Operation: 4+1=5, Resulting Numbers: [33, 5]
Generated Node #0,0,1: 20:[33, 5] Operation: 4+1=5
Exploring Operation: 33-1=32, Resulting Numbers: [4, 32]
Generated Node #0,0,2: 20:[4, 32] Operation: 33-1=32
Exploring Operation: 33-4=29, Resulting Numbers: [1, 29]
Generated Node #0,0,3: 20:[1, 29] Operation: 33-4=29
Moving to Node #0,2
Current State: 20:[4, 38, 6], Operations: ['39-33=6']
Exploring Operation: 6-4=2, Resulting Numbers: [38, 2]
Generated Node #0,2,0: 20:[38, 2] Operation: 6-4=2
Exploring Operation: 38-6=32, Resulting Numbers: [4, 32]
Generated Node #0,2,1: 20:[4, 32] Operation: 38-6=32
Exploring Operation: 4+6=10, Resulting Numbers: [38, 10]
Generated Node #0,2,2: 20:[38, 10] Operation: 4+6=10
Exploring Operation: 38-4=34, Resulting Numbers: [6, 34]
Generated Node #0,2,3: 20:[6, 34] Operation: 38-4=34
Moving to Node #0,1
Current State: 20:[4, 39, 5], Operations: ['38-33=5']
Exploring Operation: 4+5=9, Resulting Numbers: [39, 9]
Generated Node #0,1,0: 20:[39, 9] Operation: 4+5=9
Exploring Operation: 39-5=34, Resulting Numbers: [4, 34]
Generated Node #0,1,1: 20:[4, 34] Operation: 39-5=34
Exploring Operation: 39-4=35, Resulting Numbers: [5, 35]
Generated Node #0,1,2: 20:[5, 35] Operation: 39-4=35
Exploring Operation: 4*5=20, Resulting Numbers: [39, 20]
Generated Node #0,1,3: 20:[39, 20] Operation: 4*5=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[4, 34], Operations: ['38-33=5', '39-5=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,20 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[5, 35], Operations: ['38-33=5', '39-4=35']
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,20 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[39, 20], Operations: ['38-33=5', '4*5=20']
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[39, 9], Operations: ['38-33=5', '4+5=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,20 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,20 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: 20:[39, 38, 29], Operations: ['33-4=29']
Exploring Operation: 39+38=77, Resulting Numbers: [29, 77]
Generated Node #0,3,0: 20:[29, 77] Operation: 39+38=77
Exploring Operation: 38-29=9, Resulting Numbers: [39, 9]
Generated Node #0,3,1: 20:[39, 9] Operation: 38-29=9
Exploring Operation: 39-38=1, Resulting Numbers: [29, 1]
Generated Node #0,3,2: 20:[29, 1] Operation: 39-38=1
Exploring Operation: 39-29=10, Resulting Numbers: [38, 10]
Generated Node #0,3,3: 20:[38, 10] Operation: 39-29=10
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[29, 1], Operations: ['33-4=29', '39-38=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[38, 10], Operations: ['33-4=29', '39-29=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[39, 9], Operations: ['33-4=29', '38-29=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,20 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[29, 77], Operations: ['33-4=29', '39+38=77']
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 29+77=106, Resulting Numbers: [106]
106,20 unequal: No Solution
Exploring Operation: 29*77=2233, Resulting Numbers: [2233]
2233,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 20:[1, 29], Operations: ['39-38=1', '33-4=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[4, 32], Operations: ['39-38=1', '33-1=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,20 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[4, 32], Operations: ['39-33=6', '38-6=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[33, 4], Operations: ['39-38=1', '4*1=4']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,20 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[33, 5], Operations: ['39-38=1', '4+1=5']
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,20 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[6, 34], Operations: ['39-33=6', '38-4=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[38, 2], Operations: ['39-33=6', '6-4=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[38, 10], Operations: ['39-33=6', '4+6=10']
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,20 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,20 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
69,
41,
51,
55
] | 24 | [
"69*41=2829",
"51*55=2805",
"2829-2805=24"
] | Current State: 24:[69, 41, 51, 55], Operations: []
Exploring Operation: 69*41=2829, Resulting Numbers: [51, 55, 2829]
Generated Node #2: [51, 55, 2829] from Operation: 69*41=2829
Current State: 24:[51, 55, 2829], Operations: ['69*41=2829']
Exploring Operation: 51*55=2805, Resulting Numbers: [2829, 2805]
Generated Node #3: [2829, 2805] from Operation: 51*55=2805
Current State: 24:[2829, 2805], Operations: ['69*41=2829', '51*55=2805']
Exploring Operation: 2829-2805=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[69, 41, 51, 55], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [41, 51, 14]
Generated Node #0,0: 24:[41, 51, 14] Operation: 69-55=14
Exploring Operation: 69-51=18, Resulting Numbers: [41, 55, 18]
Generated Node #0,1: 24:[41, 55, 18] Operation: 69-51=18
Moving to Node #0,0
Current State: 24:[41, 51, 14], Operations: ['69-55=14']
Exploring Operation: 51-41=10, Resulting Numbers: [14, 10]
Generated Node #0,0,0: 24:[14, 10] Operation: 51-41=10
Exploring Operation: 41-14=27, Resulting Numbers: [51, 27]
Generated Node #0,0,1: 24:[51, 27] Operation: 41-14=27
Moving to Node #0,1
Current State: 24:[41, 55, 18], Operations: ['69-51=18']
Exploring Operation: 55-18=37, Resulting Numbers: [41, 37]
Generated Node #0,1,0: 24:[41, 37] Operation: 55-18=37
Exploring Operation: 55-41=14, Resulting Numbers: [18, 14]
Generated Node #0,1,1: 24:[18, 14] Operation: 55-41=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[18, 14], Operations: ['69-51=18', '55-41=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No 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: 24:[41, 37], Operations: ['69-51=18', '55-18=37']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,24 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: 24:[14, 10], Operations: ['69-55=14', '51-41=10']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[69, 41, 51, 55], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [41, 51, 14]
Generated Node #0,0: 24:[41, 51, 14] Operation: 69-55=14
Moving to Node #0,0
Current State: 24:[41, 51, 14], Operations: ['69-55=14']
Exploring Operation: 51-41=10, Resulting Numbers: [14, 10]
Generated Node #0,0,0: 24:[14, 10] Operation: 51-41=10
Moving to Node #0,0,0
Current State: 24:[14, 10], Operations: ['69-55=14', '51-41=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
50,
48,
75,
46
] | 100 | [
"48-46=2",
"50/2=25",
"75+25=100"
] | Current State: 100:[50, 48, 75, 46], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [50, 75, 2]
Generated Node #2: [50, 75, 2] from Operation: 48-46=2
Current State: 100:[50, 75, 2], Operations: ['48-46=2']
Exploring Operation: 50/2=25, Resulting Numbers: [75, 25]
Generated Node #3: [75, 25] from Operation: 50/2=25
Current State: 100:[75, 25], Operations: ['48-46=2', '50/2=25']
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[50, 48, 75, 46], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [48, 46, 25]
Generated Node #0,0: 100:[48, 46, 25] Operation: 75-50=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[48, 46, 25], Operations: ['75-50=25']
Exploring Operation: 48-46=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 100:[25, 2] Operation: 48-46=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[25, 2], Operations: ['75-50=25', '48-46=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
19,
4,
11,
31
] | 27 | [
"19-4=15",
"11+31=42",
"42-15=27"
] | Current State: 27:[19, 4, 11, 31], Operations: []
Exploring Operation: 19-4=15, Resulting Numbers: [11, 31, 15]
Generated Node #2: [11, 31, 15] from Operation: 19-4=15
Current State: 27:[11, 31, 15], Operations: ['19-4=15']
Exploring Operation: 11+31=42, Resulting Numbers: [15, 42]
Generated Node #3: [15, 42] from Operation: 11+31=42
Current State: 27:[15, 42], Operations: ['19-4=15', '11+31=42']
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[19, 4, 11, 31], Operations: []
Exploring Operation: 19-11=8, Resulting Numbers: [4, 31, 8]
Generated Node #0,0: 27:[4, 31, 8] Operation: 19-11=8
Exploring Operation: 31-19=12, Resulting Numbers: [4, 11, 12]
Generated Node #0,1: 27:[4, 11, 12] Operation: 31-19=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[4, 31, 8], Operations: ['19-11=8']
Exploring Operation: 8-4=4, Resulting Numbers: [31, 4]
Generated Node #0,0,0: 27:[31, 4] Operation: 8-4=4
Exploring Operation: 31-4=27, Resulting Numbers: [8, 27]
Generated Node #0,0,1: 27:[8, 27] Operation: 31-4=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[8, 27], Operations: ['19-11=8', '31-4=27']
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,27 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,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:[31, 4], Operations: ['19-11=8', '8-4=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[19, 4, 11, 31], Operations: []
Exploring Operation: 19-11=8, Resulting Numbers: [4, 31, 8]
Generated Node #0,0: 27:[4, 31, 8] Operation: 19-11=8
Moving to Node #0,0
Current State: 27:[4, 31, 8], Operations: ['19-11=8']
Exploring Operation: 8-4=4, Resulting Numbers: [31, 4]
Generated Node #0,0,0: 27:[31, 4] Operation: 8-4=4
Moving to Node #0,0,0
Current State: 27:[31, 4], Operations: ['19-11=8', '8-4=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
4,
52,
77,
6
] | 85 | [
"52-4=48",
"48/6=8",
"77+8=85"
] | Current State: 85:[4, 52, 77, 6], Operations: []
Exploring Operation: 52-4=48, Resulting Numbers: [77, 6, 48]
Generated Node #2: [77, 6, 48] from Operation: 52-4=48
Current State: 85:[77, 6, 48], Operations: ['52-4=48']
Exploring Operation: 48/6=8, Resulting Numbers: [77, 8]
Generated Node #3: [77, 8] from Operation: 48/6=8
Current State: 85:[77, 8], Operations: ['52-4=48', '48/6=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[4, 52, 77, 6], Operations: []
Exploring Operation: 52+6=58, Resulting Numbers: [4, 77, 58]
Generated Node #0,0: 85:[4, 77, 58] Operation: 52+6=58
Exploring Operation: 77+6=83, Resulting Numbers: [4, 52, 83]
Generated Node #0,1: 85:[4, 52, 83] Operation: 77+6=83
Exploring Operation: 52/4=13, Resulting Numbers: [77, 6, 13]
Generated Node #0,2: 85:[77, 6, 13] Operation: 52/4=13
Exploring Operation: 77-52=25, Resulting Numbers: [4, 6, 25]
Generated Node #0,3: 85:[4, 6, 25] Operation: 77-52=25
Moving to Node #0,3
Current State: 85:[4, 6, 25], Operations: ['77-52=25']
Exploring Operation: 6-4=2, Resulting Numbers: [25, 2]
Generated Node #0,3,0: 85:[25, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [25, 10]
Generated Node #0,3,1: 85:[25, 10] Operation: 4+6=10
Exploring Operation: 25-4=21, Resulting Numbers: [6, 21]
Generated Node #0,3,2: 85:[6, 21] Operation: 25-4=21
Exploring Operation: 25-6=19, Resulting Numbers: [4, 19]
Generated Node #0,3,3: 85:[4, 19] Operation: 25-6=19
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 85:[4, 19], Operations: ['77-52=25', '25-6=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,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,3,2
Current State: 85:[6, 21], Operations: ['77-52=25', '25-4=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,85 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,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,3,0
Current State: 85:[25, 2], Operations: ['77-52=25', '6-4=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,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,3,1
Current State: 85:[25, 10], Operations: ['77-52=25', '4+6=10']
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,85 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,85 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: 85:[77, 6, 13], Operations: ['52/4=13']
Exploring Operation: 13-6=7, Resulting Numbers: [77, 7]
Generated Node #0,2,0: 85:[77, 7] Operation: 13-6=7
Exploring Operation: 6+13=19, Resulting Numbers: [77, 19]
Generated Node #0,2,1: 85:[77, 19] Operation: 6+13=19
Exploring Operation: 77+13=90, Resulting Numbers: [6, 90]
Generated Node #0,2,2: 85:[6, 90] Operation: 77+13=90
Exploring Operation: 77+6=83, Resulting Numbers: [13, 83]
Generated Node #0,2,3: 85:[13, 83] Operation: 77+6=83
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[6, 90], Operations: ['52/4=13', '77+13=90']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 6*90=540, Resulting Numbers: [540]
540,85 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,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,2,3
Current State: 85:[13, 83], Operations: ['52/4=13', '77+6=83']
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 13+83=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 13*83=1079, Resulting Numbers: [1079]
1079,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,2,0
Current State: 85:[77, 7], Operations: ['52/4=13', '13-6=7']
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,85 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,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,2,1
Current State: 85:[77, 19], Operations: ['52/4=13', '6+13=19']
Exploring Operation: 77*19=1463, Resulting Numbers: [1463]
1463,85 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,85 unequal: No Solution
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,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:[4, 52, 83], Operations: ['77+6=83']
Exploring Operation: 83-52=31, Resulting Numbers: [4, 31]
Generated Node #0,1,0: 85:[4, 31] Operation: 83-52=31
Exploring Operation: 52-4=48, Resulting Numbers: [83, 48]
Generated Node #0,1,1: 85:[83, 48] Operation: 52-4=48
Exploring Operation: 4+52=56, Resulting Numbers: [83, 56]
Generated Node #0,1,2: 85:[83, 56] Operation: 4+52=56
Exploring Operation: 52/4=13, Resulting Numbers: [83, 13]
Generated Node #0,1,3: 85:[83, 13] Operation: 52/4=13
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[83, 13], Operations: ['77+6=83', '52/4=13']
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,85 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,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:[4, 31], Operations: ['77+6=83', '83-52=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,85 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,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:[83, 56], Operations: ['77+6=83', '4+52=56']
Exploring Operation: 83+56=139, Resulting Numbers: [139]
139,85 unequal: No Solution
Exploring Operation: 83*56=4648, Resulting Numbers: [4648]
4648,85 unequal: No Solution
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[83, 48], Operations: ['77+6=83', '52-4=48']
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 83+48=131, Resulting Numbers: [131]
131,85 unequal: No Solution
Exploring Operation: 83*48=3984, Resulting Numbers: [3984]
3984,85 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: 85:[4, 77, 58], Operations: ['52+6=58']
Exploring Operation: 4+58=62, Resulting Numbers: [77, 62]
Generated Node #0,0,0: 85:[77, 62] Operation: 4+58=62
Exploring Operation: 77-4=73, Resulting Numbers: [58, 73]
Generated Node #0,0,1: 85:[58, 73] Operation: 77-4=73
Exploring Operation: 77-58=19, Resulting Numbers: [4, 19]
Generated Node #0,0,2: 85:[4, 19] Operation: 77-58=19
Exploring Operation: 4+77=81, Resulting Numbers: [58, 81]
Generated Node #0,0,3: 85:[58, 81] Operation: 4+77=81
Moving to Node #0,0,2
Current State: 85:[4, 19], Operations: ['52+6=58', '77-58=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[58, 81], Operations: ['52+6=58', '4+77=81']
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 58*81=4698, Resulting Numbers: [4698]
4698,85 unequal: No Solution
Exploring Operation: 58+81=139, Resulting Numbers: [139]
139,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[77, 62], Operations: ['52+6=58', '4+58=62']
Exploring Operation: 77*62=4774, Resulting Numbers: [4774]
4774,85 unequal: No Solution
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,85 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[58, 73], Operations: ['52+6=58', '77-4=73']
Exploring Operation: 58+73=131, Resulting Numbers: [131]
131,85 unequal: No Solution
Exploring Operation: 58*73=4234, Resulting Numbers: [4234]
4234,85 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
49,
40,
3,
41
] | 30 | [
"49+41=90",
"40*3=120",
"120-90=30"
] | Current State: 30:[49, 40, 3, 41], Operations: []
Exploring Operation: 49+41=90, Resulting Numbers: [40, 3, 90]
Generated Node #2: [40, 3, 90] from Operation: 49+41=90
Current State: 30:[40, 3, 90], Operations: ['49+41=90']
Exploring Operation: 40*3=120, Resulting Numbers: [90, 120]
Generated Node #3: [90, 120] from Operation: 40*3=120
Current State: 30:[90, 120], Operations: ['49+41=90', '40*3=120']
Exploring Operation: 120-90=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[49, 40, 3, 41], Operations: []
Exploring Operation: 49-41=8, Resulting Numbers: [40, 3, 8]
Generated Node #0,0: 30:[40, 3, 8] Operation: 49-41=8
Exploring Operation: 49-40=9, Resulting Numbers: [3, 41, 9]
Generated Node #0,1: 30:[3, 41, 9] Operation: 49-40=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[40, 3, 8], Operations: ['49-41=8']
Exploring Operation: 40/8=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 30:[3, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 30:[3, 32] Operation: 40-8=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[3, 5], Operations: ['49-41=8', '40/8=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,30 unequal: No Solution
No 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: 30:[3, 32], Operations: ['49-41=8', '40-8=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,30 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: 30:[3, 41, 9], Operations: ['49-40=9']
Exploring Operation: 41-9=32, Resulting Numbers: [3, 32]
Generated Node #0,1,0: 30:[3, 32] Operation: 41-9=32
Exploring Operation: 41-3=38, Resulting Numbers: [9, 38]
Generated Node #0,1,1: 30:[9, 38] Operation: 41-3=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[3, 32], Operations: ['49-40=9', '41-9=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,30 unequal: No Solution
No 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: 30:[9, 38], Operations: ['49-40=9', '41-3=38']
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,30 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 |
[
73,
10,
51,
67
] | 37 | [
"73+67=140",
"140/10=14",
"51-14=37"
] | Current State: 37:[73, 10, 51, 67], Operations: []
Exploring Operation: 73+67=140, Resulting Numbers: [10, 51, 140]
Generated Node #2: [10, 51, 140] from Operation: 73+67=140
Current State: 37:[10, 51, 140], Operations: ['73+67=140']
Exploring Operation: 140/10=14, Resulting Numbers: [51, 14]
Generated Node #3: [51, 14] from Operation: 140/10=14
Current State: 37:[51, 14], Operations: ['73+67=140', '140/10=14']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[73, 10, 51, 67], Operations: []
Exploring Operation: 73-10=63, Resulting Numbers: [51, 67, 63]
Generated Node #0,0: 37:[51, 67, 63] Operation: 73-10=63
Exploring Operation: 51-10=41, Resulting Numbers: [73, 67, 41]
Generated Node #0,1: 37:[73, 67, 41] Operation: 51-10=41
Exploring Operation: 67-10=57, Resulting Numbers: [73, 51, 57]
Generated Node #0,2: 37:[73, 51, 57] Operation: 67-10=57
Exploring Operation: 73-51=22, Resulting Numbers: [10, 67, 22]
Generated Node #0,3: 37:[10, 67, 22] Operation: 73-51=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[51, 67, 63], Operations: ['73-10=63']
Exploring Operation: 67-51=16, Resulting Numbers: [63, 16]
Generated Node #0,0,0: 37:[63, 16] Operation: 67-51=16
Exploring Operation: 63-51=12, Resulting Numbers: [67, 12]
Generated Node #0,0,1: 37:[67, 12] Operation: 63-51=12
Exploring Operation: 67-63=4, Resulting Numbers: [51, 4]
Generated Node #0,0,2: 37:[51, 4] Operation: 67-63=4
Exploring Operation: 51+67=118, Resulting Numbers: [63, 118]
Generated Node #0,0,3: 37:[63, 118] Operation: 51+67=118
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[63, 16], Operations: ['73-10=63', '67-51=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[51, 4], Operations: ['73-10=63', '67-63=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,37 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[67, 12], Operations: ['73-10=63', '63-51=12']
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,37 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[63, 118], Operations: ['73-10=63', '51+67=118']
Exploring Operation: 63+118=181, Resulting Numbers: [181]
181,37 unequal: No Solution
Exploring Operation: 118-63=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 63*118=7434, Resulting Numbers: [7434]
7434,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[73, 67, 41], Operations: ['51-10=41']
Exploring Operation: 73-41=32, Resulting Numbers: [67, 32]
Generated Node #0,1,0: 37:[67, 32] Operation: 73-41=32
Exploring Operation: 73+67=140, Resulting Numbers: [41, 140]
Generated Node #0,1,1: 37:[41, 140] Operation: 73+67=140
Exploring Operation: 73-67=6, Resulting Numbers: [41, 6]
Generated Node #0,1,2: 37:[41, 6] Operation: 73-67=6
Exploring Operation: 67-41=26, Resulting Numbers: [73, 26]
Generated Node #0,1,3: 37:[73, 26] Operation: 67-41=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[67, 32], Operations: ['51-10=41', '73-41=32']
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[41, 6], Operations: ['51-10=41', '73-67=6']
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,37 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 37:[73, 26], Operations: ['51-10=41', '67-41=26']
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,37 unequal: No Solution
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[41, 140], Operations: ['51-10=41', '73+67=140']
Exploring Operation: 41*140=5740, Resulting Numbers: [5740]
5740,37 unequal: No Solution
Exploring Operation: 140-41=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 41+140=181, Resulting Numbers: [181]
181,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[73, 51, 57], Operations: ['67-10=57']
Exploring Operation: 73-57=16, Resulting Numbers: [51, 16]
Generated Node #0,2,0: 37:[51, 16] Operation: 73-57=16
Exploring Operation: 73-51=22, Resulting Numbers: [57, 22]
Generated Node #0,2,1: 37:[57, 22] Operation: 73-51=22
Exploring Operation: 73+51=124, Resulting Numbers: [57, 124]
Generated Node #0,2,2: 37:[57, 124] Operation: 73+51=124
Exploring Operation: 57-51=6, Resulting Numbers: [73, 6]
Generated Node #0,2,3: 37:[73, 6] Operation: 57-51=6
Moving to Node #0,2,0
Current State: 37:[51, 16], Operations: ['67-10=57', '73-57=16']
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,37 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[57, 22], Operations: ['67-10=57', '73-51=22']
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[73, 6], Operations: ['67-10=57', '57-51=6']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,37 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[57, 124], Operations: ['67-10=57', '73+51=124']
Exploring Operation: 124-57=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 57+124=181, Resulting Numbers: [181]
181,37 unequal: No Solution
Exploring Operation: 57*124=7068, Resulting Numbers: [7068]
7068,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[10, 67, 22], Operations: ['73-51=22']
Exploring Operation: 10+22=32, Resulting Numbers: [67, 32]
Generated Node #0,3,0: 37:[67, 32] Operation: 10+22=32
Exploring Operation: 67-22=45, Resulting Numbers: [10, 45]
Generated Node #0,3,1: 37:[10, 45] Operation: 67-22=45
Exploring Operation: 10+67=77, Resulting Numbers: [22, 77]
Generated Node #0,3,2: 37:[22, 77] Operation: 10+67=77
Exploring Operation: 67-10=57, Resulting Numbers: [22, 57]
Generated Node #0,3,3: 37:[22, 57] Operation: 67-10=57
Moving to Node #0,3,0
Current State: 37:[67, 32], Operations: ['73-51=22', '10+22=32']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,37 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[22, 57], Operations: ['73-51=22', '67-10=57']
Exploring Operation: 22*57=1254, Resulting Numbers: [1254]
1254,37 unequal: No Solution
Exploring Operation: 22+57=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[10, 45], Operations: ['73-51=22', '67-22=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,37 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[22, 77], Operations: ['73-51=22', '10+67=77']
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 22+77=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 22*77=1694, Resulting Numbers: [1694]
1694,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
75,
67,
58,
12
] | 78 | [
"75-67=8",
"58+12=70",
"8+70=78"
] | Current State: 78:[75, 67, 58, 12], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [58, 12, 8]
Generated Node #2: [58, 12, 8] from Operation: 75-67=8
Current State: 78:[58, 12, 8], Operations: ['75-67=8']
Exploring Operation: 58+12=70, Resulting Numbers: [8, 70]
Generated Node #3: [8, 70] from Operation: 58+12=70
Current State: 78:[8, 70], Operations: ['75-67=8', '58+12=70']
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[75, 67, 58, 12], Operations: []
Exploring Operation: 67-58=9, Resulting Numbers: [75, 12, 9]
Generated Node #0,0: 78:[75, 12, 9] Operation: 67-58=9
Exploring Operation: 75-58=17, Resulting Numbers: [67, 12, 17]
Generated Node #0,1: 78:[67, 12, 17] Operation: 75-58=17
Exploring Operation: 58-12=46, Resulting Numbers: [75, 67, 46]
Generated Node #0,2: 78:[75, 67, 46] Operation: 58-12=46
Moving to Node #0,0
Current State: 78:[75, 12, 9], Operations: ['67-58=9']
Exploring Operation: 75+9=84, Resulting Numbers: [12, 84]
Generated Node #0,0,0: 78:[12, 84] Operation: 75+9=84
Exploring Operation: 12-9=3, Resulting Numbers: [75, 3]
Generated Node #0,0,1: 78:[75, 3] Operation: 12-9=3
Exploring Operation: 12+9=21, Resulting Numbers: [75, 21]
Generated Node #0,0,2: 78:[75, 21] Operation: 12+9=21
Moving to Node #0,1
Current State: 78:[67, 12, 17], Operations: ['75-58=17']
Exploring Operation: 67+17=84, Resulting Numbers: [12, 84]
Generated Node #0,1,0: 78:[12, 84] Operation: 67+17=84
Exploring Operation: 67+12=79, Resulting Numbers: [17, 79]
Generated Node #0,1,1: 78:[17, 79] Operation: 67+12=79
Exploring Operation: 67-17=50, Resulting Numbers: [12, 50]
Generated Node #0,1,2: 78:[12, 50] Operation: 67-17=50
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[17, 79], Operations: ['75-58=17', '67+12=79']
Exploring Operation: 17+79=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 17*79=1343, Resulting Numbers: [1343]
1343,78 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,78 unequal: No Solution
No 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: 78:[12, 84], Operations: ['75-58=17', '67+17=84']
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,78 unequal: No Solution
No 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: 78:[12, 50], Operations: ['75-58=17', '67-17=50']
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,78 unequal: No Solution
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,78 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: 78:[75, 67, 46], Operations: ['58-12=46']
Exploring Operation: 75-46=29, Resulting Numbers: [67, 29]
Generated Node #0,2,0: 78:[67, 29] Operation: 75-46=29
Exploring Operation: 67-46=21, Resulting Numbers: [75, 21]
Generated Node #0,2,1: 78:[75, 21] Operation: 67-46=21
Exploring Operation: 75-67=8, Resulting Numbers: [46, 8]
Generated Node #0,2,2: 78:[46, 8] Operation: 75-67=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[75, 21], Operations: ['58-12=46', '67-46=21']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 75*21=1575, Resulting Numbers: [1575]
1575,78 unequal: No Solution
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,78 unequal: No Solution
No 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: 78:[46, 8], Operations: ['58-12=46', '75-67=8']
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,78 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,78 unequal: No Solution
No 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: 78:[67, 29], Operations: ['58-12=46', '75-46=29']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 67+29=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 67*29=1943, Resulting Numbers: [1943]
1943,78 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: 78:[75, 3], Operations: ['67-58=9', '12-9=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[75, 67, 58, 12], Operations: []
Exploring Operation: 67-58=9, Resulting Numbers: [75, 12, 9]
Generated Node #0,0: 78:[75, 12, 9] Operation: 67-58=9
Moving to Node #0,0
Current State: 78:[75, 12, 9], Operations: ['67-58=9']
Exploring Operation: 12-9=3, Resulting Numbers: [75, 3]
Generated Node #0,0,1: 78:[75, 3] Operation: 12-9=3
Moving to Node #0,0,1
Current State: 78:[75, 3], Operations: ['67-58=9', '12-9=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
98,
41,
43,
31
] | 69 | [
"98-41=57",
"43-31=12",
"57+12=69"
] | Current State: 69:[98, 41, 43, 31], Operations: []
Exploring Operation: 98-41=57, Resulting Numbers: [43, 31, 57]
Generated Node #2: [43, 31, 57] from Operation: 98-41=57
Current State: 69:[43, 31, 57], Operations: ['98-41=57']
Exploring Operation: 43-31=12, Resulting Numbers: [57, 12]
Generated Node #3: [57, 12] from Operation: 43-31=12
Current State: 69:[57, 12], Operations: ['98-41=57', '43-31=12']
Exploring Operation: 57+12=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[98, 41, 43, 31], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [98, 31, 2]
Generated Node #0,0: 69:[98, 31, 2] Operation: 43-41=2
Exploring Operation: 98-41=57, Resulting Numbers: [43, 31, 57]
Generated Node #0,1: 69:[43, 31, 57] Operation: 98-41=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[98, 31, 2], Operations: ['43-41=2']
Exploring Operation: 98/2=49, Resulting Numbers: [31, 49]
Generated Node #0,0,0: 69:[31, 49] Operation: 98/2=49
Exploring Operation: 98-31=67, Resulting Numbers: [2, 67]
Generated Node #0,0,1: 69:[2, 67] Operation: 98-31=67
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[2, 67], Operations: ['43-41=2', '98-31=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[98, 41, 43, 31], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [98, 31, 2]
Generated Node #0,0: 69:[98, 31, 2] Operation: 43-41=2
Moving to Node #0,0
Current State: 69:[98, 31, 2], Operations: ['43-41=2']
Exploring Operation: 98-31=67, Resulting Numbers: [2, 67]
Generated Node #0,0,1: 69:[2, 67] Operation: 98-31=67
Moving to Node #0,0,1
Current State: 69:[2, 67], Operations: ['43-41=2', '98-31=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
75,
74,
64,
44
] | 78 | [
"75-64=11",
"44/11=4",
"74+4=78"
] | Current State: 78:[75, 74, 64, 44], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [74, 44, 11]
Generated Node #2: [74, 44, 11] from Operation: 75-64=11
Current State: 78:[74, 44, 11], Operations: ['75-64=11']
Exploring Operation: 44/11=4, Resulting Numbers: [74, 4]
Generated Node #3: [74, 4] from Operation: 44/11=4
Current State: 78:[74, 4], Operations: ['75-64=11', '44/11=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[75, 74, 64, 44], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [74, 44, 11]
Generated Node #0,0: 78:[74, 44, 11] Operation: 75-64=11
Exploring Operation: 75-74=1, Resulting Numbers: [64, 44, 1]
Generated Node #0,1: 78:[64, 44, 1] Operation: 75-74=1
Exploring Operation: 74-64=10, Resulting Numbers: [75, 44, 10]
Generated Node #0,2: 78:[75, 44, 10] Operation: 74-64=10
Exploring Operation: 64-44=20, Resulting Numbers: [75, 74, 20]
Generated Node #0,3: 78:[75, 74, 20] Operation: 64-44=20
Moving to Node #0,0
Current State: 78:[74, 44, 11], Operations: ['75-64=11']
Exploring Operation: 44/11=4, Resulting Numbers: [74, 4]
Generated Node #0,0,0: 78:[74, 4] Operation: 44/11=4
Exploring Operation: 74+11=85, Resulting Numbers: [44, 85]
Generated Node #0,0,1: 78:[44, 85] Operation: 74+11=85
Exploring Operation: 44-11=33, Resulting Numbers: [74, 33]
Generated Node #0,0,2: 78:[74, 33] Operation: 44-11=33
Exploring Operation: 74-44=30, Resulting Numbers: [11, 30]
Generated Node #0,0,3: 78:[11, 30] Operation: 74-44=30
Moving to Node #0,2
Current State: 78:[75, 44, 10], Operations: ['74-64=10']
Exploring Operation: 75-10=65, Resulting Numbers: [44, 65]
Generated Node #0,2,0: 78:[44, 65] Operation: 75-10=65
Exploring Operation: 75+10=85, Resulting Numbers: [44, 85]
Generated Node #0,2,1: 78:[44, 85] Operation: 75+10=85
Exploring Operation: 75-44=31, Resulting Numbers: [10, 31]
Generated Node #0,2,2: 78:[10, 31] Operation: 75-44=31
Exploring Operation: 44-10=34, Resulting Numbers: [75, 34]
Generated Node #0,2,3: 78:[75, 34] Operation: 44-10=34
Moving to Node #0,3
Current State: 78:[75, 74, 20], Operations: ['64-44=20']
Exploring Operation: 75-20=55, Resulting Numbers: [74, 55]
Generated Node #0,3,0: 78:[74, 55] Operation: 75-20=55
Exploring Operation: 74+20=94, Resulting Numbers: [75, 94]
Generated Node #0,3,1: 78:[75, 94] Operation: 74+20=94
Exploring Operation: 74-20=54, Resulting Numbers: [75, 54]
Generated Node #0,3,2: 78:[75, 54] Operation: 74-20=54
Exploring Operation: 75-74=1, Resulting Numbers: [20, 1]
Generated Node #0,3,3: 78:[20, 1] Operation: 75-74=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 78:[20, 1], Operations: ['64-44=20', '75-74=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,78 unequal: No Solution
No 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: 78:[75, 54], Operations: ['64-44=20', '74-20=54']
Exploring Operation: 75+54=129, Resulting Numbers: [129]
129,78 unequal: No Solution
Exploring Operation: 75*54=4050, Resulting Numbers: [4050]
4050,78 unequal: No Solution
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,78 unequal: No Solution
No 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: 78:[75, 94], Operations: ['64-44=20', '74+20=94']
Exploring Operation: 75+94=169, Resulting Numbers: [169]
169,78 unequal: No Solution
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 75*94=7050, Resulting Numbers: [7050]
7050,78 unequal: No Solution
No 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: 78:[74, 55], Operations: ['64-44=20', '75-20=55']
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 74*55=4070, Resulting Numbers: [4070]
4070,78 unequal: No Solution
Exploring Operation: 74+55=129, Resulting Numbers: [129]
129,78 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: 78:[64, 44, 1], Operations: ['75-74=1']
Exploring Operation: 64*1=64, Resulting Numbers: [44, 64]
Generated Node #0,1,0: 78:[44, 64] Operation: 64*1=64
Exploring Operation: 44-1=43, Resulting Numbers: [64, 43]
Generated Node #0,1,1: 78:[64, 43] Operation: 44-1=43
Exploring Operation: 64+1=65, Resulting Numbers: [44, 65]
Generated Node #0,1,2: 78:[44, 65] Operation: 64+1=65
Exploring Operation: 64-44=20, Resulting Numbers: [1, 20]
Generated Node #0,1,3: 78:[1, 20] Operation: 64-44=20
Moving to Node #0,0,0
Current State: 78:[74, 4], Operations: ['75-64=11', '44/11=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[75, 74, 64, 44], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [74, 44, 11]
Generated Node #0,0: 78:[74, 44, 11] Operation: 75-64=11
Moving to Node #0,0
Current State: 78:[74, 44, 11], Operations: ['75-64=11']
Exploring Operation: 44/11=4, Resulting Numbers: [74, 4]
Generated Node #0,0,0: 78:[74, 4] Operation: 44/11=4
Moving to Node #0,0,0
Current State: 78:[74, 4], Operations: ['75-64=11', '44/11=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
41,
46,
54,
44
] | 97 | [
"41+46=87",
"54-44=10",
"87+10=97"
] | Current State: 97:[41, 46, 54, 44], Operations: []
Exploring Operation: 41+46=87, Resulting Numbers: [54, 44, 87]
Generated Node #2: [54, 44, 87] from Operation: 41+46=87
Current State: 97:[54, 44, 87], Operations: ['41+46=87']
Exploring Operation: 54-44=10, Resulting Numbers: [87, 10]
Generated Node #3: [87, 10] from Operation: 54-44=10
Current State: 97:[87, 10], Operations: ['41+46=87', '54-44=10']
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[41, 46, 54, 44], Operations: []
Exploring Operation: 41+54=95, Resulting Numbers: [46, 44, 95]
Generated Node #0,0: 97:[46, 44, 95] Operation: 41+54=95
Exploring Operation: 41+46=87, Resulting Numbers: [54, 44, 87]
Generated Node #0,1: 97:[54, 44, 87] Operation: 41+46=87
Exploring Operation: 46+44=90, Resulting Numbers: [41, 54, 90]
Generated Node #0,2: 97:[41, 54, 90] Operation: 46+44=90
Exploring Operation: 41+44=85, Resulting Numbers: [46, 54, 85]
Generated Node #0,3: 97:[46, 54, 85] Operation: 41+44=85
Exploring Operation: 54+44=98, Resulting Numbers: [41, 46, 98]
Generated Node #0,4: 97:[41, 46, 98] Operation: 54+44=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[46, 44, 95], Operations: ['41+54=95']
Exploring Operation: 44+95=139, Resulting Numbers: [46, 139]
Generated Node #0,0,0: 97:[46, 139] Operation: 44+95=139
Exploring Operation: 46+44=90, Resulting Numbers: [95, 90]
Generated Node #0,0,1: 97:[95, 90] Operation: 46+44=90
Exploring Operation: 46+95=141, Resulting Numbers: [44, 141]
Generated Node #0,0,2: 97:[44, 141] Operation: 46+95=141
Exploring Operation: 95-44=51, Resulting Numbers: [46, 51]
Generated Node #0,0,3: 97:[46, 51] Operation: 95-44=51
Exploring Operation: 46-44=2, Resulting Numbers: [95, 2]
Generated Node #0,0,4: 97:[95, 2] Operation: 46-44=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[95, 90], Operations: ['41+54=95', '46+44=90']
Exploring Operation: 95*90=8550, Resulting Numbers: [8550]
8550,97 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 95+90=185, Resulting Numbers: [185]
185,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[46, 139], Operations: ['41+54=95', '44+95=139']
Exploring Operation: 46+139=185, Resulting Numbers: [185]
185,97 unequal: No Solution
Exploring Operation: 139-46=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 46*139=6394, Resulting Numbers: [6394]
6394,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[44, 141], Operations: ['41+54=95', '46+95=141']
Exploring Operation: 44+141=185, Resulting Numbers: [185]
185,97 unequal: No Solution
Exploring Operation: 141-44=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[41, 46, 54, 44], Operations: []
Exploring Operation: 41+54=95, Resulting Numbers: [46, 44, 95]
Generated Node #0,0: 97:[46, 44, 95] Operation: 41+54=95
Moving to Node #0,0
Current State: 97:[46, 44, 95], Operations: ['41+54=95']
Exploring Operation: 46+95=141, Resulting Numbers: [44, 141]
Generated Node #0,0,2: 97:[44, 141] Operation: 46+95=141
Moving to Node #0,0,2
Current State: 97:[44, 141], Operations: ['41+54=95', '46+95=141']
Exploring Operation: 141-44=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
77,
4,
86,
83
] | 20 | [
"77+86=163",
"163-83=80",
"80/4=20"
] | Current State: 20:[77, 4, 86, 83], Operations: []
Exploring Operation: 77+86=163, Resulting Numbers: [4, 83, 163]
Generated Node #2: [4, 83, 163] from Operation: 77+86=163
Current State: 20:[4, 83, 163], Operations: ['77+86=163']
Exploring Operation: 163-83=80, Resulting Numbers: [4, 80]
Generated Node #3: [4, 80] from Operation: 163-83=80
Current State: 20:[4, 80], Operations: ['77+86=163', '163-83=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[77, 4, 86, 83], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [77, 4, 3]
Generated Node #0,0: 20:[77, 4, 3] Operation: 86-83=3
Exploring Operation: 83-77=6, Resulting Numbers: [4, 86, 6]
Generated Node #0,1: 20:[4, 86, 6] Operation: 83-77=6
Exploring Operation: 86-77=9, Resulting Numbers: [4, 83, 9]
Generated Node #0,2: 20:[4, 83, 9] Operation: 86-77=9
Moving to Node #0,0
Current State: 20:[77, 4, 3], Operations: ['86-83=3']
Exploring Operation: 77-3=74, Resulting Numbers: [4, 74]
Generated Node #0,0,0: 20:[4, 74] Operation: 77-3=74
Exploring Operation: 4-3=1, Resulting Numbers: [77, 1]
Generated Node #0,0,1: 20:[77, 1] Operation: 4-3=1
Exploring Operation: 77-4=73, Resulting Numbers: [3, 73]
Generated Node #0,0,2: 20:[3, 73] Operation: 77-4=73
Moving to Node #0,2
Current State: 20:[4, 83, 9], Operations: ['86-77=9']
Exploring Operation: 83-4=79, Resulting Numbers: [9, 79]
Generated Node #0,2,0: 20:[9, 79] Operation: 83-4=79
Exploring Operation: 9-4=5, Resulting Numbers: [83, 5]
Generated Node #0,2,1: 20:[83, 5] Operation: 9-4=5
Exploring Operation: 83-9=74, Resulting Numbers: [4, 74]
Generated Node #0,2,2: 20:[4, 74] Operation: 83-9=74
Moving to Node #0,1
Current State: 20:[4, 86, 6], Operations: ['83-77=6']
Exploring Operation: 4+6=10, Resulting Numbers: [86, 10]
Generated Node #0,1,0: 20:[86, 10] Operation: 4+6=10
Exploring Operation: 86-6=80, Resulting Numbers: [4, 80]
Generated Node #0,1,1: 20:[4, 80] Operation: 86-6=80
Exploring Operation: 86-4=82, Resulting Numbers: [6, 82]
Generated Node #0,1,2: 20:[6, 82] Operation: 86-4=82
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[4, 80], Operations: ['83-77=6', '86-6=80']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[77, 4, 86, 83], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [4, 86, 6]
Generated Node #0,1: 20:[4, 86, 6] Operation: 83-77=6
Moving to Node #0,1
Current State: 20:[4, 86, 6], Operations: ['83-77=6']
Exploring Operation: 86-6=80, Resulting Numbers: [4, 80]
Generated Node #0,1,1: 20:[4, 80] Operation: 86-6=80
Moving to Node #0,1,1
Current State: 20:[4, 80], Operations: ['83-77=6', '86-6=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
13,
88,
38,
4
] | 51 | [
"13+88=101",
"38*4=152",
"152-101=51"
] | Current State: 51:[13, 88, 38, 4], Operations: []
Exploring Operation: 13+88=101, Resulting Numbers: [38, 4, 101]
Generated Node #2: [38, 4, 101] from Operation: 13+88=101
Current State: 51:[38, 4, 101], Operations: ['13+88=101']
Exploring Operation: 38*4=152, Resulting Numbers: [101, 152]
Generated Node #3: [101, 152] from Operation: 38*4=152
Current State: 51:[101, 152], Operations: ['13+88=101', '38*4=152']
Exploring Operation: 152-101=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[13, 88, 38, 4], Operations: []
Exploring Operation: 88-38=50, Resulting Numbers: [13, 4, 50]
Generated Node #0,0: 51:[13, 4, 50] Operation: 88-38=50
Moving to Node #0,0
Current State: 51:[13, 4, 50], Operations: ['88-38=50']
Exploring Operation: 13+4=17, Resulting Numbers: [50, 17]
Generated Node #0,0,0: 51:[50, 17] Operation: 13+4=17
Moving to Node #0,0,0
Current State: 51:[50, 17], Operations: ['88-38=50', '13+4=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,51 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
47,
18,
15
] | 10 | [
"47+18=65",
"65/13=5",
"15-5=10"
] | Current State: 10:[13, 47, 18, 15], Operations: []
Exploring Operation: 47+18=65, Resulting Numbers: [13, 15, 65]
Generated Node #2: [13, 15, 65] from Operation: 47+18=65
Current State: 10:[13, 15, 65], Operations: ['47+18=65']
Exploring Operation: 65/13=5, Resulting Numbers: [15, 5]
Generated Node #3: [15, 5] from Operation: 65/13=5
Current State: 10:[15, 5], Operations: ['47+18=65', '65/13=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[13, 47, 18, 15], Operations: []
Exploring Operation: 47-15=32, Resulting Numbers: [13, 18, 32]
Generated Node #0,0: 10:[13, 18, 32] Operation: 47-15=32
Exploring Operation: 47-18=29, Resulting Numbers: [13, 15, 29]
Generated Node #0,1: 10:[13, 15, 29] Operation: 47-18=29
Exploring Operation: 47-13=34, Resulting Numbers: [18, 15, 34]
Generated Node #0,2: 10:[18, 15, 34] Operation: 47-13=34
Exploring Operation: 18-15=3, Resulting Numbers: [13, 47, 3]
Generated Node #0,3: 10:[13, 47, 3] Operation: 18-15=3
Moving to Node #0,1
Current State: 10:[13, 15, 29], Operations: ['47-18=29']
Exploring Operation: 29-15=14, Resulting Numbers: [13, 14]
Generated Node #0,1,0: 10:[13, 14] Operation: 29-15=14
Exploring Operation: 15-13=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 10:[29, 2] Operation: 15-13=2
Exploring Operation: 29-13=16, Resulting Numbers: [15, 16]
Generated Node #0,1,2: 10:[15, 16] Operation: 29-13=16
Exploring Operation: 13+15=28, Resulting Numbers: [29, 28]
Generated Node #0,1,3: 10:[29, 28] Operation: 13+15=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[13, 14], Operations: ['47-18=29', '29-15=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[15, 16], Operations: ['47-18=29', '29-13=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,10 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[29, 2], Operations: ['47-18=29', '15-13=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,10 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[29, 28], Operations: ['47-18=29', '13+15=28']
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,10 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,10 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: 10:[13, 18, 32], Operations: ['47-15=32']
Exploring Operation: 13+18=31, Resulting Numbers: [32, 31]
Generated Node #0,0,0: 10:[32, 31] Operation: 13+18=31
Exploring Operation: 32-13=19, Resulting Numbers: [18, 19]
Generated Node #0,0,1: 10:[18, 19] Operation: 32-13=19
Exploring Operation: 32-18=14, Resulting Numbers: [13, 14]
Generated Node #0,0,2: 10:[13, 14] Operation: 32-18=14
Exploring Operation: 18-13=5, Resulting Numbers: [32, 5]
Generated Node #0,0,3: 10:[32, 5] Operation: 18-13=5
Moving to Node #0,2
Current State: 10:[18, 15, 34], Operations: ['47-13=34']
Exploring Operation: 34-15=19, Resulting Numbers: [18, 19]
Generated Node #0,2,0: 10:[18, 19] Operation: 34-15=19
Exploring Operation: 34-18=16, Resulting Numbers: [15, 16]
Generated Node #0,2,1: 10:[15, 16] Operation: 34-18=16
Exploring Operation: 18-15=3, Resulting Numbers: [34, 3]
Generated Node #0,2,2: 10:[34, 3] Operation: 18-15=3
Exploring Operation: 18+15=33, Resulting Numbers: [34, 33]
Generated Node #0,2,3: 10:[34, 33] Operation: 18+15=33
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[15, 16], Operations: ['47-13=34', '34-18=16']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,10 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[18, 19], Operations: ['47-13=34', '34-15=19']
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,10 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[34, 3], Operations: ['47-13=34', '18-15=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[34, 33], Operations: ['47-13=34', '18+15=33']
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,10 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,10 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: 10:[13, 47, 3], Operations: ['18-15=3']
Exploring Operation: 47-13=34, Resulting Numbers: [3, 34]
Generated Node #0,3,0: 10:[3, 34] Operation: 47-13=34
Exploring Operation: 47-3=44, Resulting Numbers: [13, 44]
Generated Node #0,3,1: 10:[13, 44] Operation: 47-3=44
Exploring Operation: 13-3=10, Resulting Numbers: [47, 10]
Generated Node #0,3,2: 10:[47, 10] Operation: 13-3=10
Exploring Operation: 13+3=16, Resulting Numbers: [47, 16]
Generated Node #0,3,3: 10:[47, 16] Operation: 13+3=16
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[3, 34], Operations: ['18-15=3', '47-13=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[13, 44], Operations: ['18-15=3', '47-3=44']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[47, 10], Operations: ['18-15=3', '13-3=10']
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,10 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[47, 16], Operations: ['18-15=3', '13+3=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,10 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,10 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: 10:[13, 14], Operations: ['47-15=32', '32-18=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,10 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[18, 19], Operations: ['47-15=32', '32-13=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,10 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[32, 5], Operations: ['47-15=32', '18-13=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,10 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[32, 31], Operations: ['47-15=32', '13+18=31']
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,10 unequal: No Solution
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,10 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,10 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
80,
9,
29,
35
] | 16 | [
"80+29=109",
"35+109=144",
"144/9=16"
] | Current State: 16:[80, 9, 29, 35], Operations: []
Exploring Operation: 80+29=109, Resulting Numbers: [9, 35, 109]
Generated Node #2: [9, 35, 109] from Operation: 80+29=109
Current State: 16:[9, 35, 109], Operations: ['80+29=109']
Exploring Operation: 35+109=144, Resulting Numbers: [9, 144]
Generated Node #3: [9, 144] from Operation: 35+109=144
Current State: 16:[9, 144], Operations: ['80+29=109', '35+109=144']
Exploring Operation: 144/9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[80, 9, 29, 35], Operations: []
Exploring Operation: 80-35=45, Resulting Numbers: [9, 29, 45]
Generated Node #0,0: 16:[9, 29, 45] Operation: 80-35=45
Exploring Operation: 35-29=6, Resulting Numbers: [80, 9, 6]
Generated Node #0,1: 16:[80, 9, 6] Operation: 35-29=6
Exploring Operation: 80-29=51, Resulting Numbers: [9, 35, 51]
Generated Node #0,2: 16:[9, 35, 51] Operation: 80-29=51
Moving to Node #0,0
Current State: 16:[9, 29, 45], Operations: ['80-35=45']
Exploring Operation: 29-9=20, Resulting Numbers: [45, 20]
Generated Node #0,0,0: 16:[45, 20] Operation: 29-9=20
Exploring Operation: 45-29=16, Resulting Numbers: [9, 16]
Generated Node #0,0,1: 16:[9, 16] Operation: 45-29=16
Exploring Operation: 45/9=5, Resulting Numbers: [29, 5]
Generated Node #0,0,2: 16:[29, 5] Operation: 45/9=5
Moving to Node #0,2
Current State: 16:[9, 35, 51], Operations: ['80-29=51']
Exploring Operation: 35-9=26, Resulting Numbers: [51, 26]
Generated Node #0,2,0: 16:[51, 26] Operation: 35-9=26
Exploring Operation: 51-9=42, Resulting Numbers: [35, 42]
Generated Node #0,2,1: 16:[35, 42] Operation: 51-9=42
Exploring Operation: 51-35=16, Resulting Numbers: [9, 16]
Generated Node #0,2,2: 16:[9, 16] Operation: 51-35=16
Moving to Node #0,1
Current State: 16:[80, 9, 6], Operations: ['35-29=6']
Exploring Operation: 80-9=71, Resulting Numbers: [6, 71]
Generated Node #0,1,0: 16:[6, 71] Operation: 80-9=71
Exploring Operation: 80-6=74, Resulting Numbers: [9, 74]
Generated Node #0,1,1: 16:[9, 74] Operation: 80-6=74
Exploring Operation: 9+6=15, Resulting Numbers: [80, 15]
Generated Node #0,1,2: 16:[80, 15] Operation: 9+6=15
Moving to Node #0,0,1
Current State: 16:[9, 16], Operations: ['80-35=45', '45-29=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,16 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[9, 16], Operations: ['80-29=51', '51-35=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,16 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[29, 5], Operations: ['80-35=45', '45/9=5']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,16 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[45, 20], Operations: ['80-35=45', '29-9=20']
Exploring Operation: 45*20=900, Resulting Numbers: [900]
900,16 unequal: No Solution
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[35, 42], Operations: ['80-29=51', '51-9=42']
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,16 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[51, 26], Operations: ['80-29=51', '35-9=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[6, 71], Operations: ['35-29=6', '80-9=71']
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,16 unequal: No Solution
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,16 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[9, 74], Operations: ['35-29=6', '80-6=74']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,16 unequal: No Solution
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[80, 15], Operations: ['35-29=6', '9+6=15']
Exploring Operation: 80*15=1200, Resulting Numbers: [1200]
1200,16 unequal: No Solution
Exploring Operation: 80+15=95, Resulting Numbers: [95]
95,16 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,16 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
71,
25,
56,
43
] | 83 | [
"71+25=96",
"56-43=13",
"96-13=83"
] | Current State: 83:[71, 25, 56, 43], Operations: []
Exploring Operation: 71+25=96, Resulting Numbers: [56, 43, 96]
Generated Node #2: [56, 43, 96] from Operation: 71+25=96
Current State: 83:[56, 43, 96], Operations: ['71+25=96']
Exploring Operation: 56-43=13, Resulting Numbers: [96, 13]
Generated Node #3: [96, 13] from Operation: 56-43=13
Current State: 83:[96, 13], Operations: ['71+25=96', '56-43=13']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[71, 25, 56, 43], Operations: []
Exploring Operation: 25+56=81, Resulting Numbers: [71, 43, 81]
Generated Node #0,0: 83:[71, 43, 81] Operation: 25+56=81
Moving to Node #0,0
Current State: 83:[71, 43, 81], Operations: ['25+56=81']
Exploring Operation: 71+43=114, Resulting Numbers: [81, 114]
Generated Node #0,0,0: 83:[81, 114] Operation: 71+43=114
Moving to Node #0,0,0
Current State: 83:[81, 114], Operations: ['25+56=81', '71+43=114']
Exploring Operation: 114-81=33, Resulting Numbers: [33]
33,83 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
82,
96,
12
] | 93 | [
"3+82=85",
"96/12=8",
"85+8=93"
] | Current State: 93:[3, 82, 96, 12], Operations: []
Exploring Operation: 3+82=85, Resulting Numbers: [96, 12, 85]
Generated Node #2: [96, 12, 85] from Operation: 3+82=85
Current State: 93:[96, 12, 85], Operations: ['3+82=85']
Exploring Operation: 96/12=8, Resulting Numbers: [85, 8]
Generated Node #3: [85, 8] from Operation: 96/12=8
Current State: 93:[85, 8], Operations: ['3+82=85', '96/12=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[3, 82, 96, 12], Operations: []
Exploring Operation: 3*12=36, Resulting Numbers: [82, 96, 36]
Generated Node #0,0: 93:[82, 96, 36] Operation: 3*12=36
Exploring Operation: 3+82=85, Resulting Numbers: [96, 12, 85]
Generated Node #0,1: 93:[96, 12, 85] Operation: 3+82=85
Exploring Operation: 12/3=4, Resulting Numbers: [82, 96, 4]
Generated Node #0,2: 93:[82, 96, 4] Operation: 12/3=4
Exploring Operation: 96/12=8, Resulting Numbers: [3, 82, 8]
Generated Node #0,3: 93:[3, 82, 8] Operation: 96/12=8
Exploring Operation: 82+12=94, Resulting Numbers: [3, 96, 94]
Generated Node #0,4: 93:[3, 96, 94] Operation: 82+12=94
Moving to Node #0,4
Current State: 93:[3, 96, 94], Operations: ['82+12=94']
Exploring Operation: 94-3=91, Resulting Numbers: [96, 91]
Generated Node #0,4,0: 93:[96, 91] Operation: 94-3=91
Exploring Operation: 96-3=93, Resulting Numbers: [94, 93]
Generated Node #0,4,1: 93:[94, 93] Operation: 96-3=93
Exploring Operation: 96-94=2, Resulting Numbers: [3, 2]
Generated Node #0,4,2: 93:[3, 2] Operation: 96-94=2
Exploring Operation: 96/3=32, Resulting Numbers: [94, 32]
Generated Node #0,4,3: 93:[94, 32] Operation: 96/3=32
Exploring Operation: 3+96=99, Resulting Numbers: [94, 99]
Generated Node #0,4,4: 93:[94, 99] Operation: 3+96=99
Moving to Node #0,2
Current State: 93:[82, 96, 4], Operations: ['12/3=4']
Exploring Operation: 96-4=92, Resulting Numbers: [82, 92]
Generated Node #0,2,0: 93:[82, 92] Operation: 96-4=92
Exploring Operation: 82-4=78, Resulting Numbers: [96, 78]
Generated Node #0,2,1: 93:[96, 78] Operation: 82-4=78
Exploring Operation: 96+4=100, Resulting Numbers: [82, 100]
Generated Node #0,2,2: 93:[82, 100] Operation: 96+4=100
Exploring Operation: 96-82=14, Resulting Numbers: [4, 14]
Generated Node #0,2,3: 93:[4, 14] Operation: 96-82=14
Exploring Operation: 82+4=86, Resulting Numbers: [96, 86]
Generated Node #0,2,4: 93:[96, 86] Operation: 82+4=86
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 93:[96, 86], Operations: ['12/3=4', '82+4=86']
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 96*86=8256, Resulting Numbers: [8256]
8256,93 unequal: No Solution
Exploring Operation: 96+86=182, Resulting Numbers: [182]
182,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:[82, 92], Operations: ['12/3=4', '96-4=92']
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 82*92=7544, Resulting Numbers: [7544]
7544,93 unequal: No Solution
Exploring Operation: 82+92=174, Resulting Numbers: [174]
174,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:[4, 14], Operations: ['12/3=4', '96-82=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,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:[96, 78], Operations: ['12/3=4', '82-4=78']
Exploring Operation: 96+78=174, Resulting Numbers: [174]
174,93 unequal: No Solution
Exploring Operation: 96-78=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 96*78=7488, Resulting Numbers: [7488]
7488,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,2
Current State: 93:[82, 100], Operations: ['12/3=4', '96+4=100']
Exploring Operation: 82+100=182, Resulting Numbers: [182]
182,93 unequal: No Solution
Exploring Operation: 82*100=8200, Resulting Numbers: [8200]
8200,93 unequal: No Solution
Exploring Operation: 100-82=18, Resulting Numbers: [18]
18,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 93:[3, 82, 8], Operations: ['96/12=8']
Exploring Operation: 3+82=85, Resulting Numbers: [8, 85]
Generated Node #0,3,0: 93:[8, 85] Operation: 3+82=85
Exploring Operation: 82+8=90, Resulting Numbers: [3, 90]
Generated Node #0,3,1: 93:[3, 90] Operation: 82+8=90
Exploring Operation: 82-3=79, Resulting Numbers: [8, 79]
Generated Node #0,3,2: 93:[8, 79] Operation: 82-3=79
Exploring Operation: 8-3=5, Resulting Numbers: [82, 5]
Generated Node #0,3,3: 93:[82, 5] Operation: 8-3=5
Exploring Operation: 3*8=24, Resulting Numbers: [82, 24]
Generated Node #0,3,4: 93:[82, 24] Operation: 3*8=24
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[3, 90], Operations: ['96/12=8', '82+8=90']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 3*90=270, Resulting Numbers: [270]
270,93 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,93 unequal: No Solution
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[3, 82, 96, 12], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [3, 82, 8]
Generated Node #0,3: 93:[3, 82, 8] Operation: 96/12=8
Moving to Node #0,3
Current State: 93:[3, 82, 8], Operations: ['96/12=8']
Exploring Operation: 82+8=90, Resulting Numbers: [3, 90]
Generated Node #0,3,1: 93:[3, 90] Operation: 82+8=90
Moving to Node #0,3,1
Current State: 93:[3, 90], Operations: ['96/12=8', '82+8=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
90,
37,
49,
94
] | 48 | [
"94-90=4",
"49-37=12",
"4*12=48"
] | Current State: 48:[90, 37, 49, 94], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [37, 49, 4]
Generated Node #2: [37, 49, 4] from Operation: 94-90=4
Current State: 48:[37, 49, 4], Operations: ['94-90=4']
Exploring Operation: 49-37=12, Resulting Numbers: [4, 12]
Generated Node #3: [4, 12] from Operation: 49-37=12
Current State: 48:[4, 12], Operations: ['94-90=4', '49-37=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[90, 37, 49, 94], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [37, 49, 4]
Generated Node #0,0: 48:[37, 49, 4] Operation: 94-90=4
Exploring Operation: 90-37=53, Resulting Numbers: [49, 94, 53]
Generated Node #0,1: 48:[49, 94, 53] Operation: 90-37=53
Exploring Operation: 94-37=57, Resulting Numbers: [90, 49, 57]
Generated Node #0,2: 48:[90, 49, 57] Operation: 94-37=57
Moving to Node #0,0
Current State: 48:[37, 49, 4], Operations: ['94-90=4']
Exploring Operation: 37+4=41, Resulting Numbers: [49, 41]
Generated Node #0,0,0: 48:[49, 41] Operation: 37+4=41
Exploring Operation: 37-4=33, Resulting Numbers: [49, 33]
Generated Node #0,0,1: 48:[49, 33] Operation: 37-4=33
Exploring Operation: 49-37=12, Resulting Numbers: [4, 12]
Generated Node #0,0,2: 48:[4, 12] Operation: 49-37=12
Moving to Node #0,1
Current State: 48:[49, 94, 53], Operations: ['90-37=53']
Exploring Operation: 53-49=4, Resulting Numbers: [94, 4]
Generated Node #0,1,0: 48:[94, 4] Operation: 53-49=4
Exploring Operation: 94-49=45, Resulting Numbers: [53, 45]
Generated Node #0,1,1: 48:[53, 45] Operation: 94-49=45
Exploring Operation: 94-53=41, Resulting Numbers: [49, 41]
Generated Node #0,1,2: 48:[49, 41] Operation: 94-53=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[53, 45], Operations: ['90-37=53', '94-49=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,48 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,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,1,2
Current State: 48:[49, 41], Operations: ['90-37=53', '94-53=41']
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,48 unequal: No Solution
Exploring Operation: 49*41=2009, Resulting Numbers: [2009]
2009,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,1,0
Current State: 48:[94, 4], Operations: ['90-37=53', '53-49=4']
Exploring Operation: 94*4=376, Resulting Numbers: [376]
376,48 unequal: No Solution
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,48 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: 48:[90, 49, 57], Operations: ['94-37=57']
Exploring Operation: 90-49=41, Resulting Numbers: [57, 41]
Generated Node #0,2,0: 48:[57, 41] Operation: 90-49=41
Exploring Operation: 57-49=8, Resulting Numbers: [90, 8]
Generated Node #0,2,1: 48:[90, 8] Operation: 57-49=8
Exploring Operation: 90-57=33, Resulting Numbers: [49, 33]
Generated Node #0,2,2: 48:[49, 33] Operation: 90-57=33
Moving to Node #0,0,2
Current State: 48:[4, 12], Operations: ['94-90=4', '49-37=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[90, 37, 49, 94], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [37, 49, 4]
Generated Node #0,0: 48:[37, 49, 4] Operation: 94-90=4
Moving to Node #0,0
Current State: 48:[37, 49, 4], Operations: ['94-90=4']
Exploring Operation: 49-37=12, Resulting Numbers: [4, 12]
Generated Node #0,0,2: 48:[4, 12] Operation: 49-37=12
Moving to Node #0,0,2
Current State: 48:[4, 12], Operations: ['94-90=4', '49-37=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
8,
56,
14,
82
] | 75 | [
"56/8=7",
"82-14=68",
"7+68=75"
] | Current State: 75:[8, 56, 14, 82], Operations: []
Exploring Operation: 56/8=7, Resulting Numbers: [14, 82, 7]
Generated Node #2: [14, 82, 7] from Operation: 56/8=7
Current State: 75:[14, 82, 7], Operations: ['56/8=7']
Exploring Operation: 82-14=68, Resulting Numbers: [7, 68]
Generated Node #3: [7, 68] from Operation: 82-14=68
Current State: 75:[7, 68], Operations: ['56/8=7', '82-14=68']
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[8, 56, 14, 82], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [8, 82, 4]
Generated Node #0,0: 75:[8, 82, 4] Operation: 56/14=4
Exploring Operation: 56/8=7, Resulting Numbers: [14, 82, 7]
Generated Node #0,1: 75:[14, 82, 7] Operation: 56/8=7
Exploring Operation: 82-56=26, Resulting Numbers: [8, 14, 26]
Generated Node #0,2: 75:[8, 14, 26] Operation: 82-56=26
Moving to Node #0,2
Current State: 75:[8, 14, 26], Operations: ['82-56=26']
Exploring Operation: 14-8=6, Resulting Numbers: [26, 6]
Generated Node #0,2,0: 75:[26, 6] Operation: 14-8=6
Exploring Operation: 26-8=18, Resulting Numbers: [14, 18]
Generated Node #0,2,1: 75:[14, 18] Operation: 26-8=18
Exploring Operation: 8+14=22, Resulting Numbers: [26, 22]
Generated Node #0,2,2: 75:[26, 22] Operation: 8+14=22
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[26, 6], Operations: ['82-56=26', '14-8=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[14, 18], Operations: ['82-56=26', '26-8=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[26, 22], Operations: ['82-56=26', '8+14=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,75 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: 75:[14, 82, 7], Operations: ['56/8=7']
Exploring Operation: 82-7=75, Resulting Numbers: [14, 75]
Generated Node #0,1,0: 75:[14, 75] Operation: 82-7=75
Exploring Operation: 82-14=68, Resulting Numbers: [7, 68]
Generated Node #0,1,1: 75:[7, 68] Operation: 82-14=68
Exploring Operation: 14/7=2, Resulting Numbers: [82, 2]
Generated Node #0,1,2: 75:[82, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[14, 75], Operations: ['56/8=7', '82-7=75']
Exploring Operation: 14*75=1050, Resulting Numbers: [1050]
1050,75 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,75 unequal: No Solution
Exploring Operation: 14+75=89, Resulting Numbers: [89]
89,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[82, 2], Operations: ['56/8=7', '14/7=2']
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[7, 68], Operations: ['56/8=7', '82-14=68']
Exploring Operation: 7*68=476, Resulting Numbers: [476]
476,75 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,75 unequal: No Solution
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[8, 56, 14, 82], Operations: []
Exploring Operation: 56/8=7, Resulting Numbers: [14, 82, 7]
Generated Node #0,1: 75:[14, 82, 7] Operation: 56/8=7
Moving to Node #0,1
Current State: 75:[14, 82, 7], Operations: ['56/8=7']
Exploring Operation: 82-14=68, Resulting Numbers: [7, 68]
Generated Node #0,1,1: 75:[7, 68] Operation: 82-14=68
Moving to Node #0,1,1
Current State: 75:[7, 68], Operations: ['56/8=7', '82-14=68']
Exploring Operation: 7+68=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
89,
20,
12,
1
] | 54 | [
"89+1=90",
"12*90=1080",
"1080/20=54"
] | Current State: 54:[89, 20, 12, 1], Operations: []
Exploring Operation: 89+1=90, Resulting Numbers: [20, 12, 90]
Generated Node #2: [20, 12, 90] from Operation: 89+1=90
Current State: 54:[20, 12, 90], Operations: ['89+1=90']
Exploring Operation: 12*90=1080, Resulting Numbers: [20, 1080]
Generated Node #3: [20, 1080] from Operation: 12*90=1080
Current State: 54:[20, 1080], Operations: ['89+1=90', '12*90=1080']
Exploring Operation: 1080/20=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[89, 20, 12, 1], Operations: []
Exploring Operation: 20-12=8, Resulting Numbers: [89, 1, 8]
Generated Node #0,0: 54:[89, 1, 8] Operation: 20-12=8
Exploring Operation: 89-20=69, Resulting Numbers: [12, 1, 69]
Generated Node #0,1: 54:[12, 1, 69] Operation: 89-20=69
Exploring Operation: 89-12=77, Resulting Numbers: [20, 1, 77]
Generated Node #0,2: 54:[20, 1, 77] Operation: 89-12=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[12, 1, 69], Operations: ['89-20=69']
Exploring Operation: 69-1=68, Resulting Numbers: [12, 68]
Generated Node #0,1,0: 54:[12, 68] Operation: 69-1=68
Exploring Operation: 12-1=11, Resulting Numbers: [69, 11]
Generated Node #0,1,1: 54:[69, 11] Operation: 12-1=11
Exploring Operation: 69-12=57, Resulting Numbers: [1, 57]
Generated Node #0,1,2: 54:[1, 57] Operation: 69-12=57
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[1, 57], Operations: ['89-20=69', '69-12=57']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[12, 68], Operations: ['89-20=69', '69-1=68']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Exploring Operation: 12*68=816, Resulting Numbers: [816]
816,54 unequal: No Solution
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[69, 11], Operations: ['89-20=69', '12-1=11']
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 69+11=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 69*11=759, Resulting Numbers: [759]
759,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[20, 1, 77], Operations: ['89-12=77']
Exploring Operation: 77-20=57, Resulting Numbers: [1, 57]
Generated Node #0,2,0: 54:[1, 57] Operation: 77-20=57
Exploring Operation: 77-1=76, Resulting Numbers: [20, 76]
Generated Node #0,2,1: 54:[20, 76] Operation: 77-1=76
Exploring Operation: 20-1=19, Resulting Numbers: [77, 19]
Generated Node #0,2,2: 54:[77, 19] Operation: 20-1=19
Moving to Node #0,2,0
Current State: 54:[1, 57], Operations: ['89-12=77', '77-20=57']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[20, 76], Operations: ['89-12=77', '77-1=76']
Exploring Operation: 20+76=96, Resulting Numbers: [96]
96,54 unequal: No Solution
Exploring Operation: 76-20=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Exploring Operation: 20*76=1520, Resulting Numbers: [1520]
1520,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[77, 19], Operations: ['89-12=77', '20-1=19']
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,54 unequal: No Solution
Exploring Operation: 77*19=1463, Resulting Numbers: [1463]
1463,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,0
Current State: 54:[89, 1, 8], Operations: ['20-12=8']
Exploring Operation: 1+8=9, Resulting Numbers: [89, 9]
Generated Node #0,0,0: 54:[89, 9] Operation: 1+8=9
Exploring Operation: 89-8=81, Resulting Numbers: [1, 81]
Generated Node #0,0,1: 54:[1, 81] Operation: 89-8=81
Exploring Operation: 89-1=88, Resulting Numbers: [8, 88]
Generated Node #0,0,2: 54:[8, 88] Operation: 89-1=88
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[1, 81], Operations: ['20-12=8', '89-8=81']
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,54 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[89, 9], Operations: ['20-12=8', '1+8=9']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,54 unequal: No Solution
Exploring Operation: 89*9=801, Resulting Numbers: [801]
801,54 unequal: No Solution
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 54:[8, 88], Operations: ['20-12=8', '89-1=88']
Exploring Operation: 8+88=96, Resulting Numbers: [96]
96,54 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
79,
75,
97
] | 98 | [
"79-5=74",
"75+97=172",
"172-74=98"
] | Current State: 98:[5, 79, 75, 97], Operations: []
Exploring Operation: 79-5=74, Resulting Numbers: [75, 97, 74]
Generated Node #2: [75, 97, 74] from Operation: 79-5=74
Current State: 98:[75, 97, 74], Operations: ['79-5=74']
Exploring Operation: 75+97=172, Resulting Numbers: [74, 172]
Generated Node #3: [74, 172] from Operation: 75+97=172
Current State: 98:[74, 172], Operations: ['79-5=74', '75+97=172']
Exploring Operation: 172-74=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[5, 79, 75, 97], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [5, 97, 4]
Generated Node #0,0: 98:[5, 97, 4] Operation: 79-75=4
Exploring Operation: 75/5=15, Resulting Numbers: [79, 97, 15]
Generated Node #0,1: 98:[79, 97, 15] Operation: 75/5=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[5, 97, 4], Operations: ['79-75=4']
Exploring Operation: 5+4=9, Resulting Numbers: [97, 9]
Generated Node #0,0,0: 98:[97, 9] Operation: 5+4=9
Exploring Operation: 5-4=1, Resulting Numbers: [97, 1]
Generated Node #0,0,1: 98:[97, 1] Operation: 5-4=1
Moving to Node #0,0,1
Current State: 98:[97, 1], Operations: ['79-75=4', '5-4=1']
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[5, 79, 75, 97], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [5, 97, 4]
Generated Node #0,0: 98:[5, 97, 4] Operation: 79-75=4
Moving to Node #0,0
Current State: 98:[5, 97, 4], Operations: ['79-75=4']
Exploring Operation: 5-4=1, Resulting Numbers: [97, 1]
Generated Node #0,0,1: 98:[97, 1] Operation: 5-4=1
Moving to Node #0,0,1
Current State: 98:[97, 1], Operations: ['79-75=4', '5-4=1']
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
42,
14,
92,
25
] | 39 | [
"42-14=28",
"92-25=67",
"67-28=39"
] | Current State: 39:[42, 14, 92, 25], Operations: []
Exploring Operation: 42-14=28, Resulting Numbers: [92, 25, 28]
Generated Node #2: [92, 25, 28] from Operation: 42-14=28
Current State: 39:[92, 25, 28], Operations: ['42-14=28']
Exploring Operation: 92-25=67, Resulting Numbers: [28, 67]
Generated Node #3: [28, 67] from Operation: 92-25=67
Current State: 39:[28, 67], Operations: ['42-14=28', '92-25=67']
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[42, 14, 92, 25], Operations: []
Exploring Operation: 92-42=50, Resulting Numbers: [14, 25, 50]
Generated Node #0,0: 39:[14, 25, 50] Operation: 92-42=50
Exploring Operation: 92-14=78, Resulting Numbers: [42, 25, 78]
Generated Node #0,1: 39:[42, 25, 78] Operation: 92-14=78
Exploring Operation: 14+25=39, Resulting Numbers: [42, 92, 39]
Generated Node #0,2: 39:[42, 92, 39] Operation: 14+25=39
Exploring Operation: 92-25=67, Resulting Numbers: [42, 14, 67]
Generated Node #0,3: 39:[42, 14, 67] Operation: 92-25=67
Exploring Operation: 42-25=17, Resulting Numbers: [14, 92, 17]
Generated Node #0,4: 39:[14, 92, 17] Operation: 42-25=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[14, 25, 50], Operations: ['92-42=50']
Exploring Operation: 25-14=11, Resulting Numbers: [50, 11]
Generated Node #0,0,0: 39:[50, 11] Operation: 25-14=11
Exploring Operation: 50-14=36, Resulting Numbers: [25, 36]
Generated Node #0,0,1: 39:[25, 36] Operation: 50-14=36
Exploring Operation: 14+25=39, Resulting Numbers: [50, 39]
Generated Node #0,0,2: 39:[50, 39] Operation: 14+25=39
Exploring Operation: 50/25=2, Resulting Numbers: [14, 2]
Generated Node #0,0,3: 39:[14, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [14, 25]
Generated Node #0,0,4: 39:[14, 25] Operation: 50-25=25
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 39:[14, 2], Operations: ['92-42=50', '50/25=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[50, 39], Operations: ['92-42=50', '14+25=39']
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 50*39=1950, Resulting Numbers: [1950]
1950,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[50, 11], Operations: ['92-42=50', '25-14=11']
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[42, 14, 92, 25], Operations: []
Exploring Operation: 92-42=50, Resulting Numbers: [14, 25, 50]
Generated Node #0,0: 39:[14, 25, 50] Operation: 92-42=50
Moving to Node #0,0
Current State: 39:[14, 25, 50], Operations: ['92-42=50']
Exploring Operation: 25-14=11, Resulting Numbers: [50, 11]
Generated Node #0,0,0: 39:[50, 11] Operation: 25-14=11
Moving to Node #0,0,0
Current State: 39:[50, 11], Operations: ['92-42=50', '25-14=11']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
49,
21,
27,
31
] | 81 | [
"49-21=28",
"31-28=3",
"27*3=81"
] | Current State: 81:[49, 21, 27, 31], Operations: []
Exploring Operation: 49-21=28, Resulting Numbers: [27, 31, 28]
Generated Node #2: [27, 31, 28] from Operation: 49-21=28
Current State: 81:[27, 31, 28], Operations: ['49-21=28']
Exploring Operation: 31-28=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 31-28=3
Current State: 81:[27, 3], Operations: ['49-21=28', '31-28=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[49, 21, 27, 31], Operations: []
Exploring Operation: 49-21=28, Resulting Numbers: [27, 31, 28]
Generated Node #0,0: 81:[27, 31, 28] Operation: 49-21=28
Exploring Operation: 49+31=80, Resulting Numbers: [21, 27, 80]
Generated Node #0,1: 81:[21, 27, 80] Operation: 49+31=80
Exploring Operation: 49+21=70, Resulting Numbers: [27, 31, 70]
Generated Node #0,2: 81:[27, 31, 70] Operation: 49+21=70
Exploring Operation: 49+27=76, Resulting Numbers: [21, 31, 76]
Generated Node #0,3: 81:[21, 31, 76] Operation: 49+27=76
Moving to Node #0,0
Current State: 81:[27, 31, 28], Operations: ['49-21=28']
Exploring Operation: 31-27=4, Resulting Numbers: [28, 4]
Generated Node #0,0,0: 81:[28, 4] Operation: 31-27=4
Exploring Operation: 31+28=59, Resulting Numbers: [27, 59]
Generated Node #0,0,1: 81:[27, 59] Operation: 31+28=59
Exploring Operation: 28-27=1, Resulting Numbers: [31, 1]
Generated Node #0,0,2: 81:[31, 1] Operation: 28-27=1
Exploring Operation: 31-28=3, Resulting Numbers: [27, 3]
Generated Node #0,0,3: 81:[27, 3] Operation: 31-28=3
Moving to Node #0,1
Current State: 81:[21, 27, 80], Operations: ['49+31=80']
Exploring Operation: 21+27=48, Resulting Numbers: [80, 48]
Generated Node #0,1,0: 81:[80, 48] Operation: 21+27=48
Exploring Operation: 27-21=6, Resulting Numbers: [80, 6]
Generated Node #0,1,1: 81:[80, 6] Operation: 27-21=6
Exploring Operation: 21+80=101, Resulting Numbers: [27, 101]
Generated Node #0,1,2: 81:[27, 101] Operation: 21+80=101
Exploring Operation: 80-21=59, Resulting Numbers: [27, 59]
Generated Node #0,1,3: 81:[27, 59] Operation: 80-21=59
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[80, 6], Operations: ['49+31=80', '27-21=6']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,81 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,81 unequal: No Solution
No 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: 81:[27, 101], Operations: ['49+31=80', '21+80=101']
Exploring Operation: 101-27=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 27*101=2727, Resulting Numbers: [2727]
2727,81 unequal: No Solution
Exploring Operation: 27+101=128, Resulting Numbers: [128]
128,81 unequal: No Solution
No 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: 81:[80, 48], Operations: ['49+31=80', '21+27=48']
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 80+48=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 80*48=3840, Resulting Numbers: [3840]
3840,81 unequal: No Solution
No 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: 81:[27, 59], Operations: ['49+31=80', '80-21=59']
Exploring Operation: 27+59=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 27*59=1593, Resulting Numbers: [1593]
1593,81 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: 81:[21, 31, 76], Operations: ['49+27=76']
Exploring Operation: 76-31=45, Resulting Numbers: [21, 45]
Generated Node #0,3,0: 81:[21, 45] Operation: 76-31=45
Exploring Operation: 21+31=52, Resulting Numbers: [76, 52]
Generated Node #0,3,1: 81:[76, 52] Operation: 21+31=52
Exploring Operation: 21+76=97, Resulting Numbers: [31, 97]
Generated Node #0,3,2: 81:[31, 97] Operation: 21+76=97
Exploring Operation: 31-21=10, Resulting Numbers: [76, 10]
Generated Node #0,3,3: 81:[76, 10] Operation: 31-21=10
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[76, 10], Operations: ['49+27=76', '31-21=10']
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,81 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,81 unequal: No Solution
No 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: 81:[31, 97], Operations: ['49+27=76', '21+76=97']
Exploring Operation: 31*97=3007, Resulting Numbers: [3007]
3007,81 unequal: No Solution
Exploring Operation: 31+97=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,81 unequal: No Solution
No 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: 81:[21, 45], Operations: ['49+27=76', '76-31=45']
Exploring Operation: 21+45=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 21*45=945, Resulting Numbers: [945]
945,81 unequal: No Solution
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,81 unequal: No Solution
No 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: 81:[76, 52], Operations: ['49+27=76', '21+31=52']
Exploring Operation: 76+52=128, Resulting Numbers: [128]
128,81 unequal: No Solution
Exploring Operation: 76*52=3952, Resulting Numbers: [3952]
3952,81 unequal: No Solution
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,81 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: 81:[27, 31, 70], Operations: ['49+21=70']
Exploring Operation: 70-27=43, Resulting Numbers: [31, 43]
Generated Node #0,2,0: 81:[31, 43] Operation: 70-27=43
Exploring Operation: 70-31=39, Resulting Numbers: [27, 39]
Generated Node #0,2,1: 81:[27, 39] Operation: 70-31=39
Exploring Operation: 31-27=4, Resulting Numbers: [70, 4]
Generated Node #0,2,2: 81:[70, 4] Operation: 31-27=4
Exploring Operation: 27+70=97, Resulting Numbers: [31, 97]
Generated Node #0,2,3: 81:[31, 97] Operation: 27+70=97
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[27, 39], Operations: ['49+21=70', '70-31=39']
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,81 unequal: No Solution
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,81 unequal: No Solution
No 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: 81:[70, 4], Operations: ['49+21=70', '31-27=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,81 unequal: No Solution
No 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: 81:[31, 43], Operations: ['49+21=70', '70-27=43']
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 31*43=1333, Resulting Numbers: [1333]
1333,81 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,81 unequal: No Solution
No 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: 81:[31, 97], Operations: ['49+21=70', '27+70=97']
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 31*97=3007, Resulting Numbers: [3007]
3007,81 unequal: No Solution
Exploring Operation: 31+97=128, Resulting Numbers: [128]
128,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 81:[27, 3], Operations: ['49-21=28', '31-28=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[49, 21, 27, 31], Operations: []
Exploring Operation: 49-21=28, Resulting Numbers: [27, 31, 28]
Generated Node #0,0: 81:[27, 31, 28] Operation: 49-21=28
Moving to Node #0,0
Current State: 81:[27, 31, 28], Operations: ['49-21=28']
Exploring Operation: 31-28=3, Resulting Numbers: [27, 3]
Generated Node #0,0,3: 81:[27, 3] Operation: 31-28=3
Moving to Node #0,0,3
Current State: 81:[27, 3], Operations: ['49-21=28', '31-28=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.945313 | hs_4 | mult_heuristic |
[
4,
16,
40,
57
] | 51 | [
"40/4=10",
"57-16=41",
"10+41=51"
] | Current State: 51:[4, 16, 40, 57], Operations: []
Exploring Operation: 40/4=10, Resulting Numbers: [16, 57, 10]
Generated Node #2: [16, 57, 10] from Operation: 40/4=10
Current State: 51:[16, 57, 10], Operations: ['40/4=10']
Exploring Operation: 57-16=41, Resulting Numbers: [10, 41]
Generated Node #3: [10, 41] from Operation: 57-16=41
Current State: 51:[10, 41], Operations: ['40/4=10', '57-16=41']
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[4, 16, 40, 57], Operations: []
Exploring Operation: 16+40=56, Resulting Numbers: [4, 57, 56]
Generated Node #0,0: 51:[4, 57, 56] Operation: 16+40=56
Exploring Operation: 57-40=17, Resulting Numbers: [4, 16, 17]
Generated Node #0,1: 51:[4, 16, 17] Operation: 57-40=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[4, 16, 17], Operations: ['57-40=17']
Exploring Operation: 4+16=20, Resulting Numbers: [17, 20]
Generated Node #0,1,0: 51:[17, 20] Operation: 4+16=20
Exploring Operation: 16/4=4, Resulting Numbers: [17, 4]
Generated Node #0,1,1: 51:[17, 4] Operation: 16/4=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[17, 4], Operations: ['57-40=17', '16/4=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,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:[17, 20], Operations: ['57-40=17', '4+16=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,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:[4, 57, 56], Operations: ['16+40=56']
Exploring Operation: 57-56=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 51:[4, 1] Operation: 57-56=1
Exploring Operation: 57-4=53, Resulting Numbers: [56, 53]
Generated Node #0,0,1: 51:[56, 53] Operation: 57-4=53
Moving to Node #0,0,0
Current State: 51:[4, 1], Operations: ['16+40=56', '57-56=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[56, 53], Operations: ['16+40=56', '57-4=53']
Exploring Operation: 56+53=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
1,
36,
36,
18
] | 16 | [
"18-1=17",
"36/36=1",
"17-1=16"
] | Current State: 16:[1, 36, 36, 18], Operations: []
Exploring Operation: 18-1=17, Resulting Numbers: [36, 36, 17]
Generated Node #2: [36, 36, 17] from Operation: 18-1=17
Current State: 16:[36, 36, 17], Operations: ['18-1=17']
Exploring Operation: 36/36=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 36/36=1
Current State: 16:[17, 1], Operations: ['18-1=17', '36/36=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[1, 36, 36, 18], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [1, 36, 2]
Generated Node #0,0: 16:[1, 36, 2] Operation: 36/18=2
Exploring Operation: 36/36=1, Resulting Numbers: [1, 18, 1]
Generated Node #0,1: 16:[1, 18, 1] Operation: 36/36=1
Exploring Operation: 36-36=0, Resulting Numbers: [1, 18, 0]
Generated Node #0,2: 16:[1, 18, 0] Operation: 36-36=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[1, 18, 1], Operations: ['36/36=1']
Exploring Operation: 1+1=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 16:[18, 2] Operation: 1+1=2
Exploring Operation: 18-1=17, Resulting Numbers: [1, 17]
Generated Node #0,1,1: 16:[1, 17] Operation: 18-1=17
Exploring Operation: 18-1=17, Resulting Numbers: [1, 17]
Generated Node #0,1,2: 16:[1, 17] Operation: 18-1=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[18, 2], Operations: ['36/36=1', '1+1=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[1, 36, 36, 18], Operations: []
Exploring Operation: 36/36=1, Resulting Numbers: [1, 18, 1]
Generated Node #0,1: 16:[1, 18, 1] Operation: 36/36=1
Moving to Node #0,1
Current State: 16:[1, 18, 1], Operations: ['36/36=1']
Exploring Operation: 1+1=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 16:[18, 2] Operation: 1+1=2
Moving to Node #0,1,0
Current State: 16:[18, 2], Operations: ['36/36=1', '1+1=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
32,
52,
43,
64
] | 87 | [
"52-32=20",
"43+64=107",
"107-20=87"
] | Current State: 87:[32, 52, 43, 64], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [43, 64, 20]
Generated Node #2: [43, 64, 20] from Operation: 52-32=20
Current State: 87:[43, 64, 20], Operations: ['52-32=20']
Exploring Operation: 43+64=107, Resulting Numbers: [20, 107]
Generated Node #3: [20, 107] from Operation: 43+64=107
Current State: 87:[20, 107], Operations: ['52-32=20', '43+64=107']
Exploring Operation: 107-20=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[32, 52, 43, 64], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [32, 43, 12]
Generated Node #0,0: 87:[32, 43, 12] Operation: 64-52=12
Exploring Operation: 52-43=9, Resulting Numbers: [32, 64, 9]
Generated Node #0,1: 87:[32, 64, 9] Operation: 52-43=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[32, 43, 12], Operations: ['64-52=12']
Exploring Operation: 43-32=11, Resulting Numbers: [12, 11]
Generated Node #0,0,0: 87:[12, 11] Operation: 43-32=11
Exploring Operation: 43-12=31, Resulting Numbers: [32, 31]
Generated Node #0,0,1: 87:[32, 31] Operation: 43-12=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[32, 31], Operations: ['64-52=12', '43-12=31']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,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,0
Current State: 87:[12, 11], Operations: ['64-52=12', '43-32=11']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[32, 64, 9], Operations: ['52-43=9']
Exploring Operation: 64-32=32, Resulting Numbers: [9, 32]
Generated Node #0,1,0: 87:[9, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 87:[9, 2] Operation: 64/32=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[9, 2], Operations: ['52-43=9', '64/32=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,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,1,0
Current State: 87:[9, 32], Operations: ['52-43=9', '64-32=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
21,
75,
21,
63
] | 51 | [
"75-21=54",
"63/21=3",
"54-3=51"
] | Current State: 51:[21, 75, 21, 63], Operations: []
Exploring Operation: 75-21=54, Resulting Numbers: [63, 54]
Generated Node #2: [63, 54] from Operation: 75-21=54
Current State: 51:[63, 54], Operations: ['75-21=54']
Exploring Operation: 63/21=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 63/21=3
Current State: 51:[54, 3], Operations: ['75-21=54', '63/21=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[21, 75, 21, 63], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [21, 21, 12]
Generated Node #0,0: 51:[21, 21, 12] Operation: 75-63=12
Exploring Operation: 63/21=3, Resulting Numbers: [21, 75, 3]
Generated Node #0,1: 51:[21, 75, 3] Operation: 63/21=3
Exploring Operation: 63/21=3, Resulting Numbers: [75, 21, 3]
Generated Node #0,2: 51:[75, 21, 3] Operation: 63/21=3
Exploring Operation: 75-21=54, Resulting Numbers: [21, 63, 54]
Generated Node #0,3: 51:[21, 63, 54] Operation: 75-21=54
Exploring Operation: 75-21=54, Resulting Numbers: [21, 63, 54]
Generated Node #0,4: 51:[21, 63, 54] Operation: 75-21=54
Moving to Node #0,0
Current State: 51:[21, 21, 12], Operations: ['75-63=12']
Exploring Operation: 21+21=42, Resulting Numbers: [12, 42]
Generated Node #0,0,0: 51:[12, 42] Operation: 21+21=42
Exploring Operation: 21-12=9, Resulting Numbers: [21, 9]
Generated Node #0,0,1: 51:[21, 9] Operation: 21-12=9
Exploring Operation: 21-12=9, Resulting Numbers: [21, 9]
Generated Node #0,0,2: 51:[21, 9] Operation: 21-12=9
Exploring Operation: 21-21=0, Resulting Numbers: [12, 0]
Generated Node #0,0,3: 51:[12, 0] Operation: 21-21=0
Exploring Operation: 21/21=1, Resulting Numbers: [12, 1]
Generated Node #0,0,4: 51:[12, 1] Operation: 21/21=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 51:[12, 1], Operations: ['75-63=12', '21/21=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,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,3
Current State: 51:[12, 0], Operations: ['75-63=12', '21-21=0']
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,51 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,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:[21, 9], Operations: ['75-63=12', '21-12=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,51 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,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:[21, 9], Operations: ['75-63=12', '21-12=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,51 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[12, 42], Operations: ['75-63=12', '21+21=42']
Exploring Operation: 12+42=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 12*42=504, Resulting Numbers: [504]
504,51 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,51 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: 51:[21, 63, 54], Operations: ['75-21=54']
Exploring Operation: 63-21=42, Resulting Numbers: [54, 42]
Generated Node #0,4,0: 51:[54, 42] Operation: 63-21=42
Exploring Operation: 21+63=84, Resulting Numbers: [54, 84]
Generated Node #0,4,1: 51:[54, 84] Operation: 21+63=84
Exploring Operation: 63/21=3, Resulting Numbers: [54, 3]
Generated Node #0,4,2: 51:[54, 3] Operation: 63/21=3
Exploring Operation: 54-21=33, Resulting Numbers: [63, 33]
Generated Node #0,4,3: 51:[63, 33] Operation: 54-21=33
Exploring Operation: 63-54=9, Resulting Numbers: [21, 9]
Generated Node #0,4,4: 51:[21, 9] Operation: 63-54=9
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 51:[54, 3], Operations: ['75-21=54', '63/21=3']
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,51 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[21, 75, 21, 63], Operations: []
Exploring Operation: 75-21=54, Resulting Numbers: [21, 63, 54]
Generated Node #0,4: 51:[21, 63, 54] Operation: 75-21=54
Moving to Node #0,4
Current State: 51:[21, 63, 54], Operations: ['75-21=54']
Exploring Operation: 63/21=3, Resulting Numbers: [54, 3]
Generated Node #0,4,2: 51:[54, 3] Operation: 63/21=3
Moving to Node #0,4,2
Current State: 51:[54, 3], Operations: ['75-21=54', '63/21=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
43,
85,
53,
98
] | 83 | [
"43+85=128",
"98-53=45",
"128-45=83"
] | Current State: 83:[43, 85, 53, 98], Operations: []
Exploring Operation: 43+85=128, Resulting Numbers: [53, 98, 128]
Generated Node #2: [53, 98, 128] from Operation: 43+85=128
Current State: 83:[53, 98, 128], Operations: ['43+85=128']
Exploring Operation: 98-53=45, Resulting Numbers: [128, 45]
Generated Node #3: [128, 45] from Operation: 98-53=45
Current State: 83:[128, 45], Operations: ['43+85=128', '98-53=45']
Exploring Operation: 128-45=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[43, 85, 53, 98], Operations: []
Exploring Operation: 85-43=42, Resulting Numbers: [53, 98, 42]
Generated Node #0,0: 83:[53, 98, 42] Operation: 85-43=42
Exploring Operation: 98-53=45, Resulting Numbers: [43, 85, 45]
Generated Node #0,1: 83:[43, 85, 45] Operation: 98-53=45
Exploring Operation: 43+53=96, Resulting Numbers: [85, 98, 96]
Generated Node #0,2: 83:[85, 98, 96] Operation: 43+53=96
Exploring Operation: 98-43=55, Resulting Numbers: [85, 53, 55]
Generated Node #0,3: 83:[85, 53, 55] Operation: 98-43=55
Exploring Operation: 43+85=128, Resulting Numbers: [53, 98, 128]
Generated Node #0,4: 83:[53, 98, 128] Operation: 43+85=128
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[85, 98, 96], Operations: ['43+53=96']
Exploring Operation: 85+98=183, Resulting Numbers: [96, 183]
Generated Node #0,2,0: 83:[96, 183] Operation: 85+98=183
Exploring Operation: 96-85=11, Resulting Numbers: [98, 11]
Generated Node #0,2,1: 83:[98, 11] Operation: 96-85=11
Exploring Operation: 98-85=13, Resulting Numbers: [96, 13]
Generated Node #0,2,2: 83:[96, 13] Operation: 98-85=13
Exploring Operation: 98-96=2, Resulting Numbers: [85, 2]
Generated Node #0,2,3: 83:[85, 2] Operation: 98-96=2
Exploring Operation: 85+96=181, Resulting Numbers: [98, 181]
Generated Node #0,2,4: 83:[98, 181] Operation: 85+96=181
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[96, 13], Operations: ['43+53=96', '98-85=13']
Exploring Operation: 96+13=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 96*13=1248, Resulting Numbers: [1248]
1248,83 unequal: No Solution
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[43, 85, 53, 98], Operations: []
Exploring Operation: 43+53=96, Resulting Numbers: [85, 98, 96]
Generated Node #0,2: 83:[85, 98, 96] Operation: 43+53=96
Moving to Node #0,2
Current State: 83:[85, 98, 96], Operations: ['43+53=96']
Exploring Operation: 98-85=13, Resulting Numbers: [96, 13]
Generated Node #0,2,2: 83:[96, 13] Operation: 98-85=13
Moving to Node #0,2,2
Current State: 83:[96, 13], Operations: ['43+53=96', '98-85=13']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
19,
53,
22,
12
] | 44 | [
"53-19=34",
"22-12=10",
"34+10=44"
] | Current State: 44:[19, 53, 22, 12], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [22, 12, 34]
Generated Node #2: [22, 12, 34] from Operation: 53-19=34
Current State: 44:[22, 12, 34], Operations: ['53-19=34']
Exploring Operation: 22-12=10, Resulting Numbers: [34, 10]
Generated Node #3: [34, 10] from Operation: 22-12=10
Current State: 44:[34, 10], Operations: ['53-19=34', '22-12=10']
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[19, 53, 22, 12], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [22, 12, 34]
Generated Node #0,0: 44:[22, 12, 34] Operation: 53-19=34
Exploring Operation: 19-12=7, Resulting Numbers: [53, 22, 7]
Generated Node #0,1: 44:[53, 22, 7] Operation: 19-12=7
Exploring Operation: 22-19=3, Resulting Numbers: [53, 12, 3]
Generated Node #0,2: 44:[53, 12, 3] Operation: 22-19=3
Exploring Operation: 19+22=41, Resulting Numbers: [53, 12, 41]
Generated Node #0,3: 44:[53, 12, 41] Operation: 19+22=41
Exploring Operation: 53-12=41, Resulting Numbers: [19, 22, 41]
Generated Node #0,4: 44:[19, 22, 41] Operation: 53-12=41
Moving to Node #0,4
Current State: 44:[19, 22, 41], Operations: ['53-12=41']
Exploring Operation: 22-19=3, Resulting Numbers: [41, 3]
Generated Node #0,4,0: 44:[41, 3] Operation: 22-19=3
Exploring Operation: 41-22=19, Resulting Numbers: [19, 19]
Generated Node #0,4,1: 44:[19, 19] Operation: 41-22=19
Exploring Operation: 41-19=22, Resulting Numbers: [22, 22]
Generated Node #0,4,2: 44:[22, 22] Operation: 41-19=22
Exploring Operation: 19+41=60, Resulting Numbers: [22, 60]
Generated Node #0,4,3: 44:[22, 60] Operation: 19+41=60
Exploring Operation: 19+22=41, Resulting Numbers: [41, 41]
Generated Node #0,4,4: 44:[41, 41] Operation: 19+22=41
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 44:[22, 22], Operations: ['53-12=41', '41-19=22']
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[19, 53, 22, 12], Operations: []
Exploring Operation: 53-12=41, Resulting Numbers: [19, 22, 41]
Generated Node #0,4: 44:[19, 22, 41] Operation: 53-12=41
Moving to Node #0,4
Current State: 44:[19, 22, 41], Operations: ['53-12=41']
Exploring Operation: 41-19=22, Resulting Numbers: [22, 22]
Generated Node #0,4,2: 44:[22, 22] Operation: 41-19=22
Moving to Node #0,4,2
Current State: 44:[22, 22], Operations: ['53-12=41', '41-19=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
38,
72,
54,
38
] | 50 | [
"72-38=34",
"54-38=16",
"34+16=50"
] | Current State: 50:[38, 72, 54, 38], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [54, 34]
Generated Node #2: [54, 34] from Operation: 72-38=34
Current State: 50:[54, 34], Operations: ['72-38=34']
Exploring Operation: 54-38=16, Resulting Numbers: [34, 16]
Generated Node #3: [34, 16] from Operation: 54-38=16
Current State: 50:[34, 16], Operations: ['72-38=34', '54-38=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[38, 72, 54, 38], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [54, 38, 34]
Generated Node #0,0: 50:[54, 38, 34] Operation: 72-38=34
Moving to Node #0,0
Current State: 50:[54, 38, 34], Operations: ['72-38=34']
Exploring Operation: 38-34=4, Resulting Numbers: [54, 4]
Generated Node #0,0,0: 50:[54, 4] Operation: 38-34=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[54, 4], Operations: ['72-38=34', '38-34=4']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[38, 72, 54, 38], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [54, 38, 34]
Generated Node #0,0: 50:[54, 38, 34] Operation: 72-38=34
Moving to Node #0,0
Current State: 50:[54, 38, 34], Operations: ['72-38=34']
Exploring Operation: 38-34=4, Resulting Numbers: [54, 4]
Generated Node #0,0,0: 50:[54, 4] Operation: 38-34=4
Moving to Node #0,0,0
Current State: 50:[54, 4], Operations: ['72-38=34', '38-34=4']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
14,
67,
33,
53
] | 32 | [
"67-14=53",
"53/53=1",
"33-1=32"
] | Current State: 32:[14, 67, 33, 53], Operations: []
Exploring Operation: 67-14=53, Resulting Numbers: [33, 53, 53]
Generated Node #2: [33, 53, 53] from Operation: 67-14=53
Current State: 32:[33, 53, 53], Operations: ['67-14=53']
Exploring Operation: 53/53=1, Resulting Numbers: [33, 1]
Generated Node #3: [33, 1] from Operation: 53/53=1
Current State: 32:[33, 1], Operations: ['67-14=53', '53/53=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[14, 67, 33, 53], Operations: []
Exploring Operation: 67-33=34, Resulting Numbers: [14, 53, 34]
Generated Node #0,0: 32:[14, 53, 34] Operation: 67-33=34
Exploring Operation: 67-14=53, Resulting Numbers: [33, 53, 53]
Generated Node #0,1: 32:[33, 53, 53] Operation: 67-14=53
Exploring Operation: 67-53=14, Resulting Numbers: [14, 33, 14]
Generated Node #0,2: 32:[14, 33, 14] Operation: 67-53=14
Exploring Operation: 53-14=39, Resulting Numbers: [67, 33, 39]
Generated Node #0,3: 32:[67, 33, 39] Operation: 53-14=39
Exploring Operation: 53-33=20, Resulting Numbers: [14, 67, 20]
Generated Node #0,4: 32:[14, 67, 20] Operation: 53-33=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[14, 33, 14], Operations: ['67-53=14']
Exploring Operation: 14/14=1, Resulting Numbers: [33, 1]
Generated Node #0,2,0: 32:[33, 1] Operation: 14/14=1
Exploring Operation: 14-14=0, Resulting Numbers: [33, 0]
Generated Node #0,2,1: 32:[33, 0] Operation: 14-14=0
Exploring Operation: 33-14=19, Resulting Numbers: [14, 19]
Generated Node #0,2,2: 32:[14, 19] Operation: 33-14=19
Exploring Operation: 33-14=19, Resulting Numbers: [14, 19]
Generated Node #0,2,3: 32:[14, 19] Operation: 33-14=19
Exploring Operation: 14+14=28, Resulting Numbers: [33, 28]
Generated Node #0,2,4: 32:[33, 28] Operation: 14+14=28
Moving to Node #0,2,0
Current State: 32:[33, 1], Operations: ['67-53=14', '14/14=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[14, 67, 33, 53], Operations: []
Exploring Operation: 67-53=14, Resulting Numbers: [14, 33, 14]
Generated Node #0,2: 32:[14, 33, 14] Operation: 67-53=14
Moving to Node #0,2
Current State: 32:[14, 33, 14], Operations: ['67-53=14']
Exploring Operation: 14/14=1, Resulting Numbers: [33, 1]
Generated Node #0,2,0: 32:[33, 1] Operation: 14/14=1
Moving to Node #0,2,0
Current State: 32:[33, 1], Operations: ['67-53=14', '14/14=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
44,
93,
23,
19
] | 53 | [
"93-44=49",
"23-19=4",
"49+4=53"
] | Current State: 53:[44, 93, 23, 19], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [23, 19, 49]
Generated Node #2: [23, 19, 49] from Operation: 93-44=49
Current State: 53:[23, 19, 49], Operations: ['93-44=49']
Exploring Operation: 23-19=4, Resulting Numbers: [49, 4]
Generated Node #3: [49, 4] from Operation: 23-19=4
Current State: 53:[49, 4], Operations: ['93-44=49', '23-19=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[44, 93, 23, 19], Operations: []
Exploring Operation: 93-23=70, Resulting Numbers: [44, 19, 70]
Generated Node #0,0: 53:[44, 19, 70] Operation: 93-23=70
Exploring Operation: 93-44=49, Resulting Numbers: [23, 19, 49]
Generated Node #0,1: 53:[23, 19, 49] Operation: 93-44=49
Exploring Operation: 93-19=74, Resulting Numbers: [44, 23, 74]
Generated Node #0,2: 53:[44, 23, 74] Operation: 93-19=74
Exploring Operation: 23+19=42, Resulting Numbers: [44, 93, 42]
Generated Node #0,3: 53:[44, 93, 42] Operation: 23+19=42
Moving to Node #0,0
Current State: 53:[44, 19, 70], Operations: ['93-23=70']
Exploring Operation: 19+70=89, Resulting Numbers: [44, 89]
Generated Node #0,0,0: 53:[44, 89] Operation: 19+70=89
Exploring Operation: 44+19=63, Resulting Numbers: [70, 63]
Generated Node #0,0,1: 53:[70, 63] Operation: 44+19=63
Exploring Operation: 70-19=51, Resulting Numbers: [44, 51]
Generated Node #0,0,2: 53:[44, 51] Operation: 70-19=51
Exploring Operation: 44-19=25, Resulting Numbers: [70, 25]
Generated Node #0,0,3: 53:[70, 25] Operation: 44-19=25
Moving to Node #0,3
Current State: 53:[44, 93, 42], Operations: ['23+19=42']
Exploring Operation: 93-42=51, Resulting Numbers: [44, 51]
Generated Node #0,3,0: 53:[44, 51] Operation: 93-42=51
Exploring Operation: 93-44=49, Resulting Numbers: [42, 49]
Generated Node #0,3,1: 53:[42, 49] Operation: 93-44=49
Exploring Operation: 44-42=2, Resulting Numbers: [93, 2]
Generated Node #0,3,2: 53:[93, 2] Operation: 44-42=2
Exploring Operation: 44+42=86, Resulting Numbers: [93, 86]
Generated Node #0,3,3: 53:[93, 86] Operation: 44+42=86
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[44, 51], Operations: ['23+19=42', '93-42=51']
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,53 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[42, 49], Operations: ['23+19=42', '93-44=49']
Exploring Operation: 42+49=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 42*49=2058, Resulting Numbers: [2058]
2058,53 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[93, 86], Operations: ['23+19=42', '44+42=86']
Exploring Operation: 93-86=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 93*86=7998, Resulting Numbers: [7998]
7998,53 unequal: No Solution
Exploring Operation: 93+86=179, Resulting Numbers: [179]
179,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[93, 2], Operations: ['23+19=42', '44-42=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,53 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,53 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: 53:[44, 23, 74], Operations: ['93-19=74']
Exploring Operation: 44+23=67, Resulting Numbers: [74, 67]
Generated Node #0,2,0: 53:[74, 67] Operation: 44+23=67
Exploring Operation: 44-23=21, Resulting Numbers: [74, 21]
Generated Node #0,2,1: 53:[74, 21] Operation: 44-23=21
Exploring Operation: 74-44=30, Resulting Numbers: [23, 30]
Generated Node #0,2,2: 53:[23, 30] Operation: 74-44=30
Exploring Operation: 74-23=51, Resulting Numbers: [44, 51]
Generated Node #0,2,3: 53:[44, 51] Operation: 74-23=51
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[44, 51], Operations: ['93-19=74', '74-23=51']
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[74, 67], Operations: ['93-19=74', '44+23=67']
Exploring Operation: 74+67=141, Resulting Numbers: [141]
141,53 unequal: No Solution
Exploring Operation: 74*67=4958, Resulting Numbers: [4958]
4958,53 unequal: No Solution
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[74, 21], Operations: ['93-19=74', '44-23=21']
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[44, 93, 23, 19], Operations: []
Exploring Operation: 93-19=74, Resulting Numbers: [44, 23, 74]
Generated Node #0,2: 53:[44, 23, 74] Operation: 93-19=74
Moving to Node #0,2
Current State: 53:[44, 23, 74], Operations: ['93-19=74']
Exploring Operation: 44-23=21, Resulting Numbers: [74, 21]
Generated Node #0,2,1: 53:[74, 21] Operation: 44-23=21
Moving to Node #0,2,1
Current State: 53:[74, 21], Operations: ['93-19=74', '44-23=21']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | sum_heuristic |
[
61,
95,
44,
39
] | 39 | [
"95-61=34",
"44-39=5",
"34+5=39"
] | Current State: 39:[61, 95, 44, 39], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [44, 39, 34]
Generated Node #2: [44, 39, 34] from Operation: 95-61=34
Current State: 39:[44, 39, 34], Operations: ['95-61=34']
Exploring Operation: 44-39=5, Resulting Numbers: [34, 5]
Generated Node #3: [34, 5] from Operation: 44-39=5
Current State: 39:[34, 5], Operations: ['95-61=34', '44-39=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[61, 95, 44, 39], Operations: []
Exploring Operation: 95-39=56, Resulting Numbers: [61, 44, 56]
Generated Node #0,0: 39:[61, 44, 56] Operation: 95-39=56
Exploring Operation: 95-44=51, Resulting Numbers: [61, 39, 51]
Generated Node #0,1: 39:[61, 39, 51] Operation: 95-44=51
Exploring Operation: 95-61=34, Resulting Numbers: [44, 39, 34]
Generated Node #0,2: 39:[44, 39, 34] Operation: 95-61=34
Moving to Node #0,2
Current State: 39:[44, 39, 34], Operations: ['95-61=34']
Exploring Operation: 44-39=5, Resulting Numbers: [34, 5]
Generated Node #0,2,0: 39:[34, 5] Operation: 44-39=5
Exploring Operation: 39-34=5, Resulting Numbers: [44, 5]
Generated Node #0,2,1: 39:[44, 5] Operation: 39-34=5
Exploring Operation: 44-34=10, Resulting Numbers: [39, 10]
Generated Node #0,2,2: 39:[39, 10] Operation: 44-34=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[39, 10], Operations: ['95-61=34', '44-34=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[34, 5], Operations: ['95-61=34', '44-39=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[61, 95, 44, 39], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [44, 39, 34]
Generated Node #0,2: 39:[44, 39, 34] Operation: 95-61=34
Moving to Node #0,2
Current State: 39:[44, 39, 34], Operations: ['95-61=34']
Exploring Operation: 44-39=5, Resulting Numbers: [34, 5]
Generated Node #0,2,0: 39:[34, 5] Operation: 44-39=5
Moving to Node #0,2,0
Current State: 39:[34, 5], Operations: ['95-61=34', '44-39=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
77,
82,
6,
48
] | 49 | [
"82-77=5",
"6+48=54",
"54-5=49"
] | Current State: 49:[77, 82, 6, 48], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [6, 48, 5]
Generated Node #2: [6, 48, 5] from Operation: 82-77=5
Current State: 49:[6, 48, 5], Operations: ['82-77=5']
Exploring Operation: 6+48=54, Resulting Numbers: [5, 54]
Generated Node #3: [5, 54] from Operation: 6+48=54
Current State: 49:[5, 54], Operations: ['82-77=5', '6+48=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[77, 82, 6, 48], Operations: []
Exploring Operation: 77-48=29, Resulting Numbers: [82, 6, 29]
Generated Node #0,0: 49:[82, 6, 29] Operation: 77-48=29
Exploring Operation: 82-48=34, Resulting Numbers: [77, 6, 34]
Generated Node #0,1: 49:[77, 6, 34] Operation: 82-48=34
Exploring Operation: 82-77=5, Resulting Numbers: [6, 48, 5]
Generated Node #0,2: 49:[6, 48, 5] Operation: 82-77=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[6, 48, 5], Operations: ['82-77=5']
Exploring Operation: 48/6=8, Resulting Numbers: [5, 8]
Generated Node #0,2,0: 49:[5, 8] Operation: 48/6=8
Exploring Operation: 48+5=53, Resulting Numbers: [6, 53]
Generated Node #0,2,1: 49:[6, 53] Operation: 48+5=53
Exploring Operation: 6+5=11, Resulting Numbers: [48, 11]
Generated Node #0,2,2: 49:[48, 11] Operation: 6+5=11
Moving to Node #0,2,0
Current State: 49:[5, 8], Operations: ['82-77=5', '48/6=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[6, 53], Operations: ['82-77=5', '48+5=53']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 6*53=318, Resulting Numbers: [318]
318,49 unequal: No Solution
Exploring Operation: 6+53=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[48, 11], Operations: ['82-77=5', '6+5=11']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 48*11=528, Resulting Numbers: [528]
528,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[77, 6, 34], Operations: ['82-48=34']
Exploring Operation: 77-6=71, Resulting Numbers: [34, 71]
Generated Node #0,1,0: 49:[34, 71] Operation: 77-6=71
Exploring Operation: 77-34=43, Resulting Numbers: [6, 43]
Generated Node #0,1,1: 49:[6, 43] Operation: 77-34=43
Exploring Operation: 6+34=40, Resulting Numbers: [77, 40]
Generated Node #0,1,2: 49:[77, 40] Operation: 6+34=40
Moving to Node #0,1,1
Current State: 49:[6, 43], Operations: ['82-48=34', '77-34=43']
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,49 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[77, 82, 6, 48], Operations: []
Exploring Operation: 82-48=34, Resulting Numbers: [77, 6, 34]
Generated Node #0,1: 49:[77, 6, 34] Operation: 82-48=34
Moving to Node #0,1
Current State: 49:[77, 6, 34], Operations: ['82-48=34']
Exploring Operation: 77-34=43, Resulting Numbers: [6, 43]
Generated Node #0,1,1: 49:[6, 43] Operation: 77-34=43
Moving to Node #0,1,1
Current State: 49:[6, 43], Operations: ['82-48=34', '77-34=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
63,
36,
37,
73
] | 63 | [
"63+36=99",
"73-37=36",
"99-36=63"
] | Current State: 63:[63, 36, 37, 73], Operations: []
Exploring Operation: 63+36=99, Resulting Numbers: [37, 73, 99]
Generated Node #2: [37, 73, 99] from Operation: 63+36=99
Current State: 63:[37, 73, 99], Operations: ['63+36=99']
Exploring Operation: 73-37=36, Resulting Numbers: [99, 36]
Generated Node #3: [99, 36] from Operation: 73-37=36
Current State: 63:[99, 36], Operations: ['63+36=99', '73-37=36']
Exploring Operation: 99-36=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[63, 36, 37, 73], Operations: []
Exploring Operation: 37-36=1, Resulting Numbers: [63, 73, 1]
Generated Node #0,0: 63:[63, 73, 1] Operation: 37-36=1
Moving to Node #0,0
Current State: 63:[63, 73, 1], Operations: ['37-36=1']
Exploring Operation: 73-63=10, Resulting Numbers: [1, 10]
Generated Node #0,0,0: 63:[1, 10] Operation: 73-63=10
Moving to Node #0,0,0
Current State: 63:[1, 10], Operations: ['37-36=1', '73-63=10']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,63 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
80,
91,
29
] | 99 | [
"38-29=9",
"91-80=11",
"9*11=99"
] | Current State: 99:[38, 80, 91, 29], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [80, 91, 9]
Generated Node #2: [80, 91, 9] from Operation: 38-29=9
Current State: 99:[80, 91, 9], Operations: ['38-29=9']
Exploring Operation: 91-80=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 91-80=11
Current State: 99:[9, 11], Operations: ['38-29=9', '91-80=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[38, 80, 91, 29], Operations: []
Exploring Operation: 38+80=118, Resulting Numbers: [91, 29, 118]
Generated Node #0,0: 99:[91, 29, 118] Operation: 38+80=118
Exploring Operation: 38-29=9, Resulting Numbers: [80, 91, 9]
Generated Node #0,1: 99:[80, 91, 9] Operation: 38-29=9
Exploring Operation: 91-80=11, Resulting Numbers: [38, 29, 11]
Generated Node #0,2: 99:[38, 29, 11] Operation: 91-80=11
Exploring Operation: 80+29=109, Resulting Numbers: [38, 91, 109]
Generated Node #0,3: 99:[38, 91, 109] Operation: 80+29=109
Exploring Operation: 80-38=42, Resulting Numbers: [91, 29, 42]
Generated Node #0,4: 99:[91, 29, 42] Operation: 80-38=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[38, 29, 11], Operations: ['91-80=11']
Exploring Operation: 29-11=18, Resulting Numbers: [38, 18]
Generated Node #0,2,0: 99:[38, 18] Operation: 29-11=18
Exploring Operation: 38+11=49, Resulting Numbers: [29, 49]
Generated Node #0,2,1: 99:[29, 49] Operation: 38+11=49
Exploring Operation: 38-29=9, Resulting Numbers: [11, 9]
Generated Node #0,2,2: 99:[11, 9] Operation: 38-29=9
Exploring Operation: 38-11=27, Resulting Numbers: [29, 27]
Generated Node #0,2,3: 99:[29, 27] Operation: 38-11=27
Exploring Operation: 29+11=40, Resulting Numbers: [38, 40]
Generated Node #0,2,4: 99:[38, 40] Operation: 29+11=40
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[11, 9], Operations: ['91-80=11', '38-29=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[38, 80, 91, 29], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [38, 29, 11]
Generated Node #0,2: 99:[38, 29, 11] Operation: 91-80=11
Moving to Node #0,2
Current State: 99:[38, 29, 11], Operations: ['91-80=11']
Exploring Operation: 38-29=9, Resulting Numbers: [11, 9]
Generated Node #0,2,2: 99:[11, 9] Operation: 38-29=9
Moving to Node #0,2,2
Current State: 99:[11, 9], Operations: ['91-80=11', '38-29=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
20,
40,
30,
88
] | 60 | [
"40/20=2",
"88-30=58",
"2+58=60"
] | Current State: 60:[20, 40, 30, 88], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [30, 88, 2]
Generated Node #2: [30, 88, 2] from Operation: 40/20=2
Current State: 60:[30, 88, 2], Operations: ['40/20=2']
Exploring Operation: 88-30=58, Resulting Numbers: [2, 58]
Generated Node #3: [2, 58] from Operation: 88-30=58
Current State: 60:[2, 58], Operations: ['40/20=2', '88-30=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[20, 40, 30, 88], Operations: []
Exploring Operation: 88-30=58, Resulting Numbers: [20, 40, 58]
Generated Node #0,0: 60:[20, 40, 58] Operation: 88-30=58
Exploring Operation: 88-20=68, Resulting Numbers: [40, 30, 68]
Generated Node #0,1: 60:[40, 30, 68] Operation: 88-20=68
Exploring Operation: 88-40=48, Resulting Numbers: [20, 30, 48]
Generated Node #0,2: 60:[20, 30, 48] Operation: 88-40=48
Moving to Node #0,0
Current State: 60:[20, 40, 58], Operations: ['88-30=58']
Exploring Operation: 20+40=60, Resulting Numbers: [58, 60]
Generated Node #0,0,0: 60:[58, 60] Operation: 20+40=60
Exploring Operation: 40/20=2, Resulting Numbers: [58, 2]
Generated Node #0,0,1: 60:[58, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [58, 20]
Generated Node #0,0,2: 60:[58, 20] Operation: 40-20=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[58, 60], Operations: ['88-30=58', '20+40=60']
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,60 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[58, 2], Operations: ['88-30=58', '40/20=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[20, 40, 30, 88], Operations: []
Exploring Operation: 88-30=58, Resulting Numbers: [20, 40, 58]
Generated Node #0,0: 60:[20, 40, 58] Operation: 88-30=58
Moving to Node #0,0
Current State: 60:[20, 40, 58], Operations: ['88-30=58']
Exploring Operation: 40/20=2, Resulting Numbers: [58, 2]
Generated Node #0,0,1: 60:[58, 2] Operation: 40/20=2
Moving to Node #0,0,1
Current State: 60:[58, 2], Operations: ['88-30=58', '40/20=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
5,
73,
75,
10
] | 13 | [
"5+73=78",
"75-10=65",
"78-65=13"
] | Current State: 13:[5, 73, 75, 10], Operations: []
Exploring Operation: 5+73=78, Resulting Numbers: [75, 10, 78]
Generated Node #2: [75, 10, 78] from Operation: 5+73=78
Current State: 13:[75, 10, 78], Operations: ['5+73=78']
Exploring Operation: 75-10=65, Resulting Numbers: [78, 65]
Generated Node #3: [78, 65] from Operation: 75-10=65
Current State: 13:[78, 65], Operations: ['5+73=78', '75-10=65']
Exploring Operation: 78-65=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[5, 73, 75, 10], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [5, 10, 2]
Generated Node #0,0: 13:[5, 10, 2] Operation: 75-73=2
Exploring Operation: 73-10=63, Resulting Numbers: [5, 75, 63]
Generated Node #0,1: 13:[5, 75, 63] Operation: 73-10=63
Exploring Operation: 75/5=15, Resulting Numbers: [73, 10, 15]
Generated Node #0,2: 13:[73, 10, 15] Operation: 75/5=15
Exploring Operation: 73-5=68, Resulting Numbers: [75, 10, 68]
Generated Node #0,3: 13:[75, 10, 68] Operation: 73-5=68
Exploring Operation: 75-5=70, Resulting Numbers: [73, 10, 70]
Generated Node #0,4: 13:[73, 10, 70] Operation: 75-5=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[5, 10, 2], Operations: ['75-73=2']
Exploring Operation: 10+2=12, Resulting Numbers: [5, 12]
Generated Node #0,0,0: 13:[5, 12] Operation: 10+2=12
Exploring Operation: 5*2=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 13:[10, 10] Operation: 5*2=10
Exploring Operation: 5-2=3, Resulting Numbers: [10, 3]
Generated Node #0,0,2: 13:[10, 3] Operation: 5-2=3
Exploring Operation: 5+10=15, Resulting Numbers: [2, 15]
Generated Node #0,0,3: 13:[2, 15] Operation: 5+10=15
Exploring Operation: 5+2=7, Resulting Numbers: [10, 7]
Generated Node #0,0,4: 13:[10, 7] Operation: 5+2=7
Moving to Node #0,0,1
Current State: 13:[10, 10], Operations: ['75-73=2', '5*2=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,13 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[10, 7], Operations: ['75-73=2', '5+2=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,13 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[5, 12], Operations: ['75-73=2', '10+2=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,13 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[10, 3], Operations: ['75-73=2', '5-2=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[5, 73, 75, 10], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [5, 10, 2]
Generated Node #0,0: 13:[5, 10, 2] Operation: 75-73=2
Moving to Node #0,0
Current State: 13:[5, 10, 2], Operations: ['75-73=2']
Exploring Operation: 5-2=3, Resulting Numbers: [10, 3]
Generated Node #0,0,2: 13:[10, 3] Operation: 5-2=3
Moving to Node #0,0,2
Current State: 13:[10, 3], Operations: ['75-73=2', '5-2=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
12,
47,
83,
70
] | 72 | [
"12+47=59",
"83-70=13",
"59+13=72"
] | Current State: 72:[12, 47, 83, 70], Operations: []
Exploring Operation: 12+47=59, Resulting Numbers: [83, 70, 59]
Generated Node #2: [83, 70, 59] from Operation: 12+47=59
Current State: 72:[83, 70, 59], Operations: ['12+47=59']
Exploring Operation: 83-70=13, Resulting Numbers: [59, 13]
Generated Node #3: [59, 13] from Operation: 83-70=13
Current State: 72:[59, 13], Operations: ['12+47=59', '83-70=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[12, 47, 83, 70], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [47, 70, 71]
Generated Node #0,0: 72:[47, 70, 71] Operation: 83-12=71
Exploring Operation: 47-12=35, Resulting Numbers: [83, 70, 35]
Generated Node #0,1: 72:[83, 70, 35] Operation: 47-12=35
Exploring Operation: 83-47=36, Resulting Numbers: [12, 70, 36]
Generated Node #0,2: 72:[12, 70, 36] Operation: 83-47=36
Exploring Operation: 83-70=13, Resulting Numbers: [12, 47, 13]
Generated Node #0,3: 72:[12, 47, 13] Operation: 83-70=13
Exploring Operation: 70-47=23, Resulting Numbers: [12, 83, 23]
Generated Node #0,4: 72:[12, 83, 23] Operation: 70-47=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[12, 70, 36], Operations: ['83-47=36']
Exploring Operation: 12+70=82, Resulting Numbers: [36, 82]
Generated Node #0,2,0: 72:[36, 82] Operation: 12+70=82
Exploring Operation: 70-36=34, Resulting Numbers: [12, 34]
Generated Node #0,2,1: 72:[12, 34] Operation: 70-36=34
Exploring Operation: 70-12=58, Resulting Numbers: [36, 58]
Generated Node #0,2,2: 72:[36, 58] Operation: 70-12=58
Exploring Operation: 36-12=24, Resulting Numbers: [70, 24]
Generated Node #0,2,3: 72:[70, 24] Operation: 36-12=24
Exploring Operation: 36/12=3, Resulting Numbers: [70, 3]
Generated Node #0,2,4: 72:[70, 3] Operation: 36/12=3
Moving to Node #0,2,1
Current State: 72:[12, 34], Operations: ['83-47=36', '70-36=34']
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,72 unequal: No Solution
Moving to Node #0,2,4
Current State: 72:[70, 3], Operations: ['83-47=36', '36/12=3']
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,72 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,72 unequal: No Solution
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[70, 24], Operations: ['83-47=36', '36-12=24']
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,72 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[36, 82], Operations: ['83-47=36', '12+70=82']
Exploring Operation: 36*82=2952, Resulting Numbers: [2952]
2952,72 unequal: No Solution
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[36, 58], Operations: ['83-47=36', '70-12=58']
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,72 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No 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: 72:[12, 47, 13], Operations: ['83-70=13']
Exploring Operation: 13-12=1, Resulting Numbers: [47, 1]
Generated Node #0,3,0: 72:[47, 1] Operation: 13-12=1
Exploring Operation: 47-13=34, Resulting Numbers: [12, 34]
Generated Node #0,3,1: 72:[12, 34] Operation: 47-13=34
Exploring Operation: 47+13=60, Resulting Numbers: [12, 60]
Generated Node #0,3,2: 72:[12, 60] Operation: 47+13=60
Exploring Operation: 12+13=25, Resulting Numbers: [47, 25]
Generated Node #0,3,3: 72:[47, 25] Operation: 12+13=25
Exploring Operation: 47-12=35, Resulting Numbers: [13, 35]
Generated Node #0,3,4: 72:[13, 35] Operation: 47-12=35
Moving to Node #0,3,1
Current State: 72:[12, 34], Operations: ['83-70=13', '47-13=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,72 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Moving to Node #0,3,4
Current State: 72:[13, 35], Operations: ['83-70=13', '47-12=35']
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,72 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[47, 1], Operations: ['83-70=13', '13-12=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[12, 60], Operations: ['83-70=13', '47+13=60']
Exploring Operation: 12*60=720, Resulting Numbers: [720]
720,72 unequal: No Solution
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[12, 47, 83, 70], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [12, 47, 13]
Generated Node #0,3: 72:[12, 47, 13] Operation: 83-70=13
Moving to Node #0,3
Current State: 72:[12, 47, 13], Operations: ['83-70=13']
Exploring Operation: 47+13=60, Resulting Numbers: [12, 60]
Generated Node #0,3,2: 72:[12, 60] Operation: 47+13=60
Moving to Node #0,3,2
Current State: 72:[12, 60], Operations: ['83-70=13', '47+13=60']
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | mult_heuristic |
[
77,
40,
28,
72
] | 36 | [
"77-72=5",
"40/5=8",
"28+8=36"
] | Current State: 36:[77, 40, 28, 72], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [40, 28, 5]
Generated Node #2: [40, 28, 5] from Operation: 77-72=5
Current State: 36:[40, 28, 5], Operations: ['77-72=5']
Exploring Operation: 40/5=8, Resulting Numbers: [28, 8]
Generated Node #3: [28, 8] from Operation: 40/5=8
Current State: 36:[28, 8], Operations: ['77-72=5', '40/5=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[77, 40, 28, 72], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [28, 72, 37]
Generated Node #0,0: 36:[28, 72, 37] Operation: 77-40=37
Exploring Operation: 77-28=49, Resulting Numbers: [40, 72, 49]
Generated Node #0,1: 36:[40, 72, 49] Operation: 77-28=49
Exploring Operation: 72-40=32, Resulting Numbers: [77, 28, 32]
Generated Node #0,2: 36:[77, 28, 32] Operation: 72-40=32
Exploring Operation: 77-72=5, Resulting Numbers: [40, 28, 5]
Generated Node #0,3: 36:[40, 28, 5] Operation: 77-72=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[40, 28, 5], Operations: ['77-72=5']
Exploring Operation: 28+5=33, Resulting Numbers: [40, 33]
Generated Node #0,3,0: 36:[40, 33] Operation: 28+5=33
Exploring Operation: 40/5=8, Resulting Numbers: [28, 8]
Generated Node #0,3,1: 36:[28, 8] Operation: 40/5=8
Exploring Operation: 40-5=35, Resulting Numbers: [28, 35]
Generated Node #0,3,2: 36:[28, 35] Operation: 40-5=35
Exploring Operation: 40-28=12, Resulting Numbers: [5, 12]
Generated Node #0,3,3: 36:[5, 12] Operation: 40-28=12
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 36:[5, 12], Operations: ['77-72=5', '40-28=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,36 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 36:[40, 33], Operations: ['77-72=5', '28+5=33']
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,36 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,36 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 36:[28, 8], Operations: ['77-72=5', '40/5=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[77, 40, 28, 72], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [40, 28, 5]
Generated Node #0,3: 36:[40, 28, 5] Operation: 77-72=5
Moving to Node #0,3
Current State: 36:[40, 28, 5], Operations: ['77-72=5']
Exploring Operation: 40/5=8, Resulting Numbers: [28, 8]
Generated Node #0,3,1: 36:[28, 8] Operation: 40/5=8
Moving to Node #0,3,1
Current State: 36:[28, 8], Operations: ['77-72=5', '40/5=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
60,
45,
34,
86
] | 67 | [
"60-45=15",
"86-34=52",
"15+52=67"
] | Current State: 67:[60, 45, 34, 86], Operations: []
Exploring Operation: 60-45=15, Resulting Numbers: [34, 86, 15]
Generated Node #2: [34, 86, 15] from Operation: 60-45=15
Current State: 67:[34, 86, 15], Operations: ['60-45=15']
Exploring Operation: 86-34=52, Resulting Numbers: [15, 52]
Generated Node #3: [15, 52] from Operation: 86-34=52
Current State: 67:[15, 52], Operations: ['60-45=15', '86-34=52']
Exploring Operation: 15+52=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[60, 45, 34, 86], Operations: []
Exploring Operation: 86-45=41, Resulting Numbers: [60, 34, 41]
Generated Node #0,0: 67:[60, 34, 41] Operation: 86-45=41
Exploring Operation: 45+34=79, Resulting Numbers: [60, 86, 79]
Generated Node #0,1: 67:[60, 86, 79] Operation: 45+34=79
Exploring Operation: 60-34=26, Resulting Numbers: [45, 86, 26]
Generated Node #0,2: 67:[45, 86, 26] Operation: 60-34=26
Exploring Operation: 60+34=94, Resulting Numbers: [45, 86, 94]
Generated Node #0,3: 67:[45, 86, 94] Operation: 60+34=94
Exploring Operation: 86-34=52, Resulting Numbers: [60, 45, 52]
Generated Node #0,4: 67:[60, 45, 52] Operation: 86-34=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[60, 86, 79], Operations: ['45+34=79']
Exploring Operation: 79-60=19, Resulting Numbers: [86, 19]
Generated Node #0,1,0: 67:[86, 19] Operation: 79-60=19
Exploring Operation: 60+86=146, Resulting Numbers: [79, 146]
Generated Node #0,1,1: 67:[79, 146] Operation: 60+86=146
Exploring Operation: 86-60=26, Resulting Numbers: [79, 26]
Generated Node #0,1,2: 67:[79, 26] Operation: 86-60=26
Exploring Operation: 60+79=139, Resulting Numbers: [86, 139]
Generated Node #0,1,3: 67:[86, 139] Operation: 60+79=139
Exploring Operation: 86-79=7, Resulting Numbers: [60, 7]
Generated Node #0,1,4: 67:[60, 7] Operation: 86-79=7
Moving to Node #0,1,2
Current State: 67:[79, 26], Operations: ['45+34=79', '86-60=26']
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,67 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[60, 7], Operations: ['45+34=79', '86-79=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,67 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[60, 45, 34, 86], Operations: []
Exploring Operation: 45+34=79, Resulting Numbers: [60, 86, 79]
Generated Node #0,1: 67:[60, 86, 79] Operation: 45+34=79
Moving to Node #0,1
Current State: 67:[60, 86, 79], Operations: ['45+34=79']
Exploring Operation: 86-79=7, Resulting Numbers: [60, 7]
Generated Node #0,1,4: 67:[60, 7] Operation: 86-79=7
Moving to Node #0,1,4
Current State: 67:[60, 7], Operations: ['45+34=79', '86-79=7']
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
23,
48,
11,
43
] | 60 | [
"23-11=12",
"48-43=5",
"12*5=60"
] | Current State: 60:[23, 48, 11, 43], Operations: []
Exploring Operation: 23-11=12, Resulting Numbers: [48, 43, 12]
Generated Node #2: [48, 43, 12] from Operation: 23-11=12
Current State: 60:[48, 43, 12], Operations: ['23-11=12']
Exploring Operation: 48-43=5, Resulting Numbers: [12, 5]
Generated Node #3: [12, 5] from Operation: 48-43=5
Current State: 60:[12, 5], Operations: ['23-11=12', '48-43=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[23, 48, 11, 43], Operations: []
Exploring Operation: 43-11=32, Resulting Numbers: [23, 48, 32]
Generated Node #0,0: 60:[23, 48, 32] Operation: 43-11=32
Exploring Operation: 48+11=59, Resulting Numbers: [23, 43, 59]
Generated Node #0,1: 60:[23, 43, 59] Operation: 48+11=59
Exploring Operation: 48-23=25, Resulting Numbers: [11, 43, 25]
Generated Node #0,2: 60:[11, 43, 25] Operation: 48-23=25
Exploring Operation: 43-23=20, Resulting Numbers: [48, 11, 20]
Generated Node #0,3: 60:[48, 11, 20] Operation: 43-23=20
Exploring Operation: 48-43=5, Resulting Numbers: [23, 11, 5]
Generated Node #0,4: 60:[23, 11, 5] Operation: 48-43=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[23, 11, 5], Operations: ['48-43=5']
Exploring Operation: 11-5=6, Resulting Numbers: [23, 6]
Generated Node #0,4,0: 60:[23, 6] Operation: 11-5=6
Exploring Operation: 23+5=28, Resulting Numbers: [11, 28]
Generated Node #0,4,1: 60:[11, 28] Operation: 23+5=28
Exploring Operation: 23-5=18, Resulting Numbers: [11, 18]
Generated Node #0,4,2: 60:[11, 18] Operation: 23-5=18
Exploring Operation: 23-11=12, Resulting Numbers: [5, 12]
Generated Node #0,4,3: 60:[5, 12] Operation: 23-11=12
Exploring Operation: 23+11=34, Resulting Numbers: [5, 34]
Generated Node #0,4,4: 60:[5, 34] Operation: 23+11=34
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 60:[5, 12], Operations: ['48-43=5', '23-11=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[23, 48, 11, 43], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [23, 11, 5]
Generated Node #0,4: 60:[23, 11, 5] Operation: 48-43=5
Moving to Node #0,4
Current State: 60:[23, 11, 5], Operations: ['48-43=5']
Exploring Operation: 23-11=12, Resulting Numbers: [5, 12]
Generated Node #0,4,3: 60:[5, 12] Operation: 23-11=12
Moving to Node #0,4,3
Current State: 60:[5, 12], Operations: ['48-43=5', '23-11=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
59,
82,
54,
96
] | 99 | [
"59+82=141",
"96-54=42",
"141-42=99"
] | Current State: 99:[59, 82, 54, 96], Operations: []
Exploring Operation: 59+82=141, Resulting Numbers: [54, 96, 141]
Generated Node #2: [54, 96, 141] from Operation: 59+82=141
Current State: 99:[54, 96, 141], Operations: ['59+82=141']
Exploring Operation: 96-54=42, Resulting Numbers: [141, 42]
Generated Node #3: [141, 42] from Operation: 96-54=42
Current State: 99:[141, 42], Operations: ['59+82=141', '96-54=42']
Exploring Operation: 141-42=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[59, 82, 54, 96], Operations: []
Exploring Operation: 82-54=28, Resulting Numbers: [59, 96, 28]
Generated Node #0,0: 99:[59, 96, 28] Operation: 82-54=28
Exploring Operation: 82-59=23, Resulting Numbers: [54, 96, 23]
Generated Node #0,1: 99:[54, 96, 23] Operation: 82-59=23
Exploring Operation: 59-54=5, Resulting Numbers: [82, 96, 5]
Generated Node #0,2: 99:[82, 96, 5] Operation: 59-54=5
Exploring Operation: 59+54=113, Resulting Numbers: [82, 96, 113]
Generated Node #0,3: 99:[82, 96, 113] Operation: 59+54=113
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[82, 96, 5], Operations: ['59-54=5']
Exploring Operation: 96-82=14, Resulting Numbers: [5, 14]
Generated Node #0,2,0: 99:[5, 14] Operation: 96-82=14
Exploring Operation: 96+5=101, Resulting Numbers: [82, 101]
Generated Node #0,2,1: 99:[82, 101] Operation: 96+5=101
Exploring Operation: 82-5=77, Resulting Numbers: [96, 77]
Generated Node #0,2,2: 99:[96, 77] Operation: 82-5=77
Exploring Operation: 82+5=87, Resulting Numbers: [96, 87]
Generated Node #0,2,3: 99:[96, 87] Operation: 82+5=87
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[5, 14], Operations: ['59-54=5', '96-82=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 99:[96, 87], Operations: ['59-54=5', '82+5=87']
Exploring Operation: 96+87=183, Resulting Numbers: [183]
183,99 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 96*87=8352, Resulting Numbers: [8352]
8352,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[82, 101], Operations: ['59-54=5', '96+5=101']
Exploring Operation: 82+101=183, Resulting Numbers: [183]
183,99 unequal: No Solution
Exploring Operation: 101-82=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 82*101=8282, Resulting Numbers: [8282]
8282,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[96, 77], Operations: ['59-54=5', '82-5=77']
Exploring Operation: 96*77=7392, Resulting Numbers: [7392]
7392,99 unequal: No Solution
Exploring Operation: 96-77=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 96+77=173, Resulting Numbers: [173]
173,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[59, 96, 28], Operations: ['82-54=28']
Exploring Operation: 59+28=87, Resulting Numbers: [96, 87]
Generated Node #0,0,0: 99:[96, 87] Operation: 59+28=87
Exploring Operation: 96+28=124, Resulting Numbers: [59, 124]
Generated Node #0,0,1: 99:[59, 124] Operation: 96+28=124
Exploring Operation: 96-59=37, Resulting Numbers: [28, 37]
Generated Node #0,0,2: 99:[28, 37] Operation: 96-59=37
Exploring Operation: 59-28=31, Resulting Numbers: [96, 31]
Generated Node #0,0,3: 99:[96, 31] Operation: 59-28=31
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 99:[96, 31], Operations: ['82-54=28', '59-28=31']
Exploring Operation: 96+31=127, Resulting Numbers: [127]
127,99 unequal: No Solution
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 96*31=2976, Resulting Numbers: [2976]
2976,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[28, 37], Operations: ['82-54=28', '96-59=37']
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[96, 87], Operations: ['82-54=28', '59+28=87']
Exploring Operation: 96*87=8352, Resulting Numbers: [8352]
8352,99 unequal: No Solution
Exploring Operation: 96+87=183, Resulting Numbers: [183]
183,99 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[59, 124], Operations: ['82-54=28', '96+28=124']
Exploring Operation: 59*124=7316, Resulting Numbers: [7316]
7316,99 unequal: No Solution
Exploring Operation: 124-59=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 59+124=183, Resulting Numbers: [183]
183,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[54, 96, 23], Operations: ['82-59=23']
Exploring Operation: 54+23=77, Resulting Numbers: [96, 77]
Generated Node #0,1,0: 99:[96, 77] Operation: 54+23=77
Exploring Operation: 96+23=119, Resulting Numbers: [54, 119]
Generated Node #0,1,1: 99:[54, 119] Operation: 96+23=119
Exploring Operation: 54-23=31, Resulting Numbers: [96, 31]
Generated Node #0,1,2: 99:[96, 31] Operation: 54-23=31
Exploring Operation: 96-54=42, Resulting Numbers: [23, 42]
Generated Node #0,1,3: 99:[23, 42] Operation: 96-54=42
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[96, 31], Operations: ['82-59=23', '54-23=31']
Exploring Operation: 96+31=127, Resulting Numbers: [127]
127,99 unequal: No Solution
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 96*31=2976, Resulting Numbers: [2976]
2976,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[23, 42], Operations: ['82-59=23', '96-54=42']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,99 unequal: No Solution
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[96, 77], Operations: ['82-59=23', '54+23=77']
Exploring Operation: 96+77=173, Resulting Numbers: [173]
173,99 unequal: No Solution
Exploring Operation: 96-77=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 96*77=7392, Resulting Numbers: [7392]
7392,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[54, 119], Operations: ['82-59=23', '96+23=119']
Exploring Operation: 54+119=173, Resulting Numbers: [173]
173,99 unequal: No Solution
Exploring Operation: 119-54=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 54*119=6426, Resulting Numbers: [6426]
6426,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[82, 96, 113], Operations: ['59+54=113']
Exploring Operation: 96-82=14, Resulting Numbers: [113, 14]
Generated Node #0,3,0: 99:[113, 14] Operation: 96-82=14
Exploring Operation: 82+96=178, Resulting Numbers: [113, 178]
Generated Node #0,3,1: 99:[113, 178] Operation: 82+96=178
Exploring Operation: 113-96=17, Resulting Numbers: [82, 17]
Generated Node #0,3,2: 99:[82, 17] Operation: 113-96=17
Exploring Operation: 113-82=31, Resulting Numbers: [96, 31]
Generated Node #0,3,3: 99:[96, 31] Operation: 113-82=31
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 99:[96, 31], Operations: ['59+54=113', '113-82=31']
Exploring Operation: 96+31=127, Resulting Numbers: [127]
127,99 unequal: No Solution
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 96*31=2976, Resulting Numbers: [2976]
2976,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[113, 14], Operations: ['59+54=113', '96-82=14']
Exploring Operation: 113*14=1582, Resulting Numbers: [1582]
1582,99 unequal: No Solution
Exploring Operation: 113-14=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[59, 82, 54, 96], Operations: []
Exploring Operation: 59+54=113, Resulting Numbers: [82, 96, 113]
Generated Node #0,3: 99:[82, 96, 113] Operation: 59+54=113
Moving to Node #0,3
Current State: 99:[82, 96, 113], Operations: ['59+54=113']
Exploring Operation: 96-82=14, Resulting Numbers: [113, 14]
Generated Node #0,3,0: 99:[113, 14] Operation: 96-82=14
Moving to Node #0,3,0
Current State: 99:[113, 14], Operations: ['59+54=113', '96-82=14']
Exploring Operation: 113-14=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.943576 | hs_4 | sum_heuristic |
[
90,
4,
95,
8
] | 12 | [
"95-90=5",
"4*5=20",
"20-8=12"
] | Current State: 12:[90, 4, 95, 8], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [4, 8, 5]
Generated Node #2: [4, 8, 5] from Operation: 95-90=5
Current State: 12:[4, 8, 5], Operations: ['95-90=5']
Exploring Operation: 4*5=20, Resulting Numbers: [8, 20]
Generated Node #3: [8, 20] from Operation: 4*5=20
Current State: 12:[8, 20], Operations: ['95-90=5', '4*5=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[90, 4, 95, 8], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [4, 8, 5]
Generated Node #0,0: 12:[4, 8, 5] Operation: 95-90=5
Moving to Node #0,0
Current State: 12:[4, 8, 5], Operations: ['95-90=5']
Exploring Operation: 8-5=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 12:[4, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[4, 3], Operations: ['95-90=5', '8-5=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[90, 4, 95, 8], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [4, 8, 5]
Generated Node #0,0: 12:[4, 8, 5] Operation: 95-90=5
Moving to Node #0,0
Current State: 12:[4, 8, 5], Operations: ['95-90=5']
Exploring Operation: 8-5=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 12:[4, 3] Operation: 8-5=3
Moving to Node #0,0,0
Current State: 12:[4, 3], Operations: ['95-90=5', '8-5=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
65,
10,
51,
50
] | 54 | [
"65-10=55",
"51-50=1",
"55-1=54"
] | Current State: 54:[65, 10, 51, 50], Operations: []
Exploring Operation: 65-10=55, Resulting Numbers: [51, 50, 55]
Generated Node #2: [51, 50, 55] from Operation: 65-10=55
Current State: 54:[51, 50, 55], Operations: ['65-10=55']
Exploring Operation: 51-50=1, Resulting Numbers: [55, 1]
Generated Node #3: [55, 1] from Operation: 51-50=1
Current State: 54:[55, 1], Operations: ['65-10=55', '51-50=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[65, 10, 51, 50], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [65, 51, 5]
Generated Node #0,0: 54:[65, 51, 5] Operation: 50/10=5
Exploring Operation: 51-50=1, Resulting Numbers: [65, 10, 1]
Generated Node #0,1: 54:[65, 10, 1] Operation: 51-50=1
Exploring Operation: 65-10=55, Resulting Numbers: [51, 50, 55]
Generated Node #0,2: 54:[51, 50, 55] Operation: 65-10=55
Exploring Operation: 65-50=15, Resulting Numbers: [10, 51, 15]
Generated Node #0,3: 54:[10, 51, 15] Operation: 65-50=15
Exploring Operation: 65-51=14, Resulting Numbers: [10, 50, 14]
Generated Node #0,4: 54:[10, 50, 14] Operation: 65-51=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[10, 51, 15], Operations: ['65-50=15']
Exploring Operation: 15-10=5, Resulting Numbers: [51, 5]
Generated Node #0,3,0: 54:[51, 5] Operation: 15-10=5
Exploring Operation: 10+15=25, Resulting Numbers: [51, 25]
Generated Node #0,3,1: 54:[51, 25] Operation: 10+15=25
Exploring Operation: 51+15=66, Resulting Numbers: [10, 66]
Generated Node #0,3,2: 54:[10, 66] Operation: 51+15=66
Exploring Operation: 10+51=61, Resulting Numbers: [15, 61]
Generated Node #0,3,3: 54:[15, 61] Operation: 10+51=61
Exploring Operation: 51-15=36, Resulting Numbers: [10, 36]
Generated Node #0,3,4: 54:[10, 36] Operation: 51-15=36
Moving to Node #0,3,0
Current State: 54:[51, 5], Operations: ['65-50=15', '15-10=5']
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,54 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[51, 25], Operations: ['65-50=15', '10+15=25']
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,54 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[15, 61], Operations: ['65-50=15', '10+51=61']
Exploring Operation: 15*61=915, Resulting Numbers: [915]
915,54 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 15+61=76, Resulting Numbers: [76]
76,54 unequal: No Solution
Moving to Node #0,3,4
Current State: 54:[10, 36], Operations: ['65-50=15', '51-15=36']
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,54 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[10, 66], Operations: ['65-50=15', '51+15=66']
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Exploring Operation: 10*66=660, Resulting Numbers: [660]
660,54 unequal: No Solution
Exploring Operation: 10+66=76, Resulting Numbers: [76]
76,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[51, 50, 55], Operations: ['65-10=55']
Exploring Operation: 55-51=4, Resulting Numbers: [50, 4]
Generated Node #0,2,0: 54:[50, 4] Operation: 55-51=4
Exploring Operation: 51+50=101, Resulting Numbers: [55, 101]
Generated Node #0,2,1: 54:[55, 101] Operation: 51+50=101
Exploring Operation: 55-50=5, Resulting Numbers: [51, 5]
Generated Node #0,2,2: 54:[51, 5] Operation: 55-50=5
Exploring Operation: 51-50=1, Resulting Numbers: [55, 1]
Generated Node #0,2,3: 54:[55, 1] Operation: 51-50=1
Exploring Operation: 50+55=105, Resulting Numbers: [51, 105]
Generated Node #0,2,4: 54:[51, 105] Operation: 50+55=105
Moving to Node #0,2,3
Current State: 54:[55, 1], Operations: ['65-10=55', '51-50=1']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[65, 10, 51, 50], Operations: []
Exploring Operation: 65-10=55, Resulting Numbers: [51, 50, 55]
Generated Node #0,2: 54:[51, 50, 55] Operation: 65-10=55
Moving to Node #0,2
Current State: 54:[51, 50, 55], Operations: ['65-10=55']
Exploring Operation: 51-50=1, Resulting Numbers: [55, 1]
Generated Node #0,2,3: 54:[55, 1] Operation: 51-50=1
Moving to Node #0,2,3
Current State: 54:[55, 1], Operations: ['65-10=55', '51-50=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
20,
39,
4,
48
] | 78 | [
"20+4=24",
"39*48=1872",
"1872/24=78"
] | Current State: 78:[20, 39, 4, 48], Operations: []
Exploring Operation: 20+4=24, Resulting Numbers: [39, 48, 24]
Generated Node #2: [39, 48, 24] from Operation: 20+4=24
Current State: 78:[39, 48, 24], Operations: ['20+4=24']
Exploring Operation: 39*48=1872, Resulting Numbers: [24, 1872]
Generated Node #3: [24, 1872] from Operation: 39*48=1872
Current State: 78:[24, 1872], Operations: ['20+4=24', '39*48=1872']
Exploring Operation: 1872/24=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[20, 39, 4, 48], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [20, 39, 12]
Generated Node #0,0: 78:[20, 39, 12] Operation: 48/4=12
Exploring Operation: 48-20=28, Resulting Numbers: [39, 4, 28]
Generated Node #0,1: 78:[39, 4, 28] Operation: 48-20=28
Moving to Node #0,1
Current State: 78:[39, 4, 28], Operations: ['48-20=28']
Exploring Operation: 28-4=24, Resulting Numbers: [39, 24]
Generated Node #0,1,0: 78:[39, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [39, 7]
Generated Node #0,1,1: 78:[39, 7] Operation: 28/4=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[39, 7], Operations: ['48-20=28', '28/4=7']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,78 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,78 unequal: No Solution
No 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: 78:[39, 24], Operations: ['48-20=28', '28-4=24']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,78 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: 78:[20, 39, 12], Operations: ['48/4=12']
Exploring Operation: 20-12=8, Resulting Numbers: [39, 8]
Generated Node #0,0,0: 78:[39, 8] Operation: 20-12=8
Exploring Operation: 20+12=32, Resulting Numbers: [39, 32]
Generated Node #0,0,1: 78:[39, 32] Operation: 20+12=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[39, 8], Operations: ['48/4=12', '20-12=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,78 unequal: No Solution
No 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: 78:[39, 32], Operations: ['48/4=12', '20+12=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,78 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,78 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 |
[
12,
4,
2,
46
] | 50 | [
"12*4=48",
"2*48=96",
"96-46=50"
] | Current State: 50:[12, 4, 2, 46], Operations: []
Exploring Operation: 12*4=48, Resulting Numbers: [2, 46, 48]
Generated Node #2: [2, 46, 48] from Operation: 12*4=48
Current State: 50:[2, 46, 48], Operations: ['12*4=48']
Exploring Operation: 2*48=96, Resulting Numbers: [46, 96]
Generated Node #3: [46, 96] from Operation: 2*48=96
Current State: 50:[46, 96], Operations: ['12*4=48', '2*48=96']
Exploring Operation: 96-46=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[12, 4, 2, 46], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [2, 46, 3]
Generated Node #0,0: 50:[2, 46, 3] Operation: 12/4=3
Exploring Operation: 2+46=48, Resulting Numbers: [12, 4, 48]
Generated Node #0,1: 50:[12, 4, 48] Operation: 2+46=48
Exploring Operation: 4+46=50, Resulting Numbers: [12, 2, 50]
Generated Node #0,2: 50:[12, 2, 50] Operation: 4+46=50
Exploring Operation: 12-2=10, Resulting Numbers: [4, 46, 10]
Generated Node #0,3: 50:[4, 46, 10] Operation: 12-2=10
Exploring Operation: 46/2=23, Resulting Numbers: [12, 4, 23]
Generated Node #0,4: 50:[12, 4, 23] Operation: 46/2=23
Moving to Node #0,2
Current State: 50:[12, 2, 50], Operations: ['4+46=50']
Exploring Operation: 12*2=24, Resulting Numbers: [50, 24]
Generated Node #0,2,0: 50:[50, 24] Operation: 12*2=24
Exploring Operation: 12-2=10, Resulting Numbers: [50, 10]
Generated Node #0,2,1: 50:[50, 10] Operation: 12-2=10
Exploring Operation: 12+2=14, Resulting Numbers: [50, 14]
Generated Node #0,2,2: 50:[50, 14] Operation: 12+2=14
Exploring Operation: 12/2=6, Resulting Numbers: [50, 6]
Generated Node #0,2,3: 50:[50, 6] Operation: 12/2=6
Exploring Operation: 50/2=25, Resulting Numbers: [12, 25]
Generated Node #0,2,4: 50:[12, 25] Operation: 50/2=25
Moving to Node #0,1
Current State: 50:[12, 4, 48], Operations: ['2+46=48']
Exploring Operation: 12-4=8, Resulting Numbers: [48, 8]
Generated Node #0,1,0: 50:[48, 8] Operation: 12-4=8
Exploring Operation: 48/12=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 50:[4, 4] Operation: 48/12=4
Exploring Operation: 12*4=48, Resulting Numbers: [48, 48]
Generated Node #0,1,2: 50:[48, 48] Operation: 12*4=48
Exploring Operation: 12/4=3, Resulting Numbers: [48, 3]
Generated Node #0,1,3: 50:[48, 3] Operation: 12/4=3
Exploring Operation: 4+48=52, Resulting Numbers: [12, 52]
Generated Node #0,1,4: 50:[12, 52] Operation: 4+48=52
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[4, 4], Operations: ['2+46=48', '48/12=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,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,3
Current State: 50:[48, 3], Operations: ['2+46=48', '12/4=3']
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,50 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,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,0
Current State: 50:[48, 8], Operations: ['2+46=48', '12-4=8']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 48*8=384, Resulting Numbers: [384]
384,50 unequal: No Solution
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,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,2
Current State: 50:[48, 48], Operations: ['2+46=48', '12*4=48']
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,50 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,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,4
Current State: 50:[12, 52], Operations: ['2+46=48', '4+48=52']
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,50 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: 50:[12, 4, 23], Operations: ['46/2=23']
Exploring Operation: 12-4=8, Resulting Numbers: [23, 8]
Generated Node #0,4,0: 50:[23, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [23, 3]
Generated Node #0,4,1: 50:[23, 3] Operation: 12/4=3
Exploring Operation: 12*4=48, Resulting Numbers: [23, 48]
Generated Node #0,4,2: 50:[23, 48] Operation: 12*4=48
Exploring Operation: 4+23=27, Resulting Numbers: [12, 27]
Generated Node #0,4,3: 50:[12, 27] Operation: 4+23=27
Exploring Operation: 23-12=11, Resulting Numbers: [4, 11]
Generated Node #0,4,4: 50:[4, 11] Operation: 23-12=11
Moving to Node #0,0
Current State: 50:[2, 46, 3], Operations: ['12/4=3']
Exploring Operation: 2+3=5, Resulting Numbers: [46, 5]
Generated Node #0,0,0: 50:[46, 5] Operation: 2+3=5
Exploring Operation: 2+46=48, Resulting Numbers: [3, 48]
Generated Node #0,0,1: 50:[3, 48] Operation: 2+46=48
Exploring Operation: 2*3=6, Resulting Numbers: [46, 6]
Generated Node #0,0,2: 50:[46, 6] Operation: 2*3=6
Exploring Operation: 46+3=49, Resulting Numbers: [2, 49]
Generated Node #0,0,3: 50:[2, 49] Operation: 46+3=49
Exploring Operation: 46/2=23, Resulting Numbers: [3, 23]
Generated Node #0,0,4: 50:[3, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 50:[2, 49], Operations: ['12/4=3', '46+3=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[3, 48], Operations: ['12/4=3', '2+46=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,50 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,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,4
Current State: 50:[3, 23], Operations: ['12/4=3', '46/2=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[46, 5], Operations: ['12/4=3', '2+3=5']
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,50 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,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,2
Current State: 50:[46, 6], Operations: ['12/4=3', '2*3=6']
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,50 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,50 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: 50:[4, 46, 10], Operations: ['12-2=10']
Exploring Operation: 4+10=14, Resulting Numbers: [46, 14]
Generated Node #0,3,0: 50:[46, 14] Operation: 4+10=14
Exploring Operation: 10-4=6, Resulting Numbers: [46, 6]
Generated Node #0,3,1: 50:[46, 6] Operation: 10-4=6
Exploring Operation: 46+10=56, Resulting Numbers: [4, 56]
Generated Node #0,3,2: 50:[4, 56] Operation: 46+10=56
Exploring Operation: 46-4=42, Resulting Numbers: [10, 42]
Generated Node #0,3,3: 50:[10, 42] Operation: 46-4=42
Exploring Operation: 4+46=50, Resulting Numbers: [10, 50]
Generated Node #0,3,4: 50:[10, 50] Operation: 4+46=50
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 50:[10, 50], Operations: ['12-2=10', '4+46=50']
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 10*50=500, Resulting Numbers: [500]
500,50 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,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,3,1
Current State: 50:[46, 6], Operations: ['12-2=10', '10-4=6']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,50 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,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,3,2
Current State: 50:[4, 56], Operations: ['12-2=10', '46+10=56']
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,50 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,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,3,0
Current State: 50:[46, 14], Operations: ['12-2=10', '4+10=14']
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,50 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,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,3,3
Current State: 50:[10, 42], Operations: ['12-2=10', '46-4=42']
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 50:[50, 10], Operations: ['4+46=50', '12-2=10']
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[50, 6], Operations: ['4+46=50', '12/2=6']
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,50 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[50, 24], Operations: ['4+46=50', '12*2=24']
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,50 unequal: No Solution
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Moving to Node #0,4,4
Current State: 50:[4, 11], Operations: ['46/2=23', '23-12=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[12, 25], Operations: ['4+46=50', '50/2=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[23, 3], Operations: ['46/2=23', '12/4=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Moving to Node #0,4,3
Current State: 50:[12, 27], Operations: ['46/2=23', '4+23=27']
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,50 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[23, 48], Operations: ['46/2=23', '12*4=48']
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,50 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[50, 14], Operations: ['4+46=50', '12+2=14']
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,50 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,50 unequal: No Solution
Moving to Node #0,4,0
Current State: 50:[23, 8], Operations: ['46/2=23', '12-4=8']
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,50 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,50 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
28,
31,
45,
14
] | 74 | [
"28/14=2",
"31+45=76",
"76-2=74"
] | Current State: 74:[28, 31, 45, 14], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [31, 45, 2]
Generated Node #2: [31, 45, 2] from Operation: 28/14=2
Current State: 74:[31, 45, 2], Operations: ['28/14=2']
Exploring Operation: 31+45=76, Resulting Numbers: [2, 76]
Generated Node #3: [2, 76] from Operation: 31+45=76
Current State: 74:[2, 76], Operations: ['28/14=2', '31+45=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[28, 31, 45, 14], Operations: []
Exploring Operation: 28+45=73, Resulting Numbers: [31, 14, 73]
Generated Node #0,0: 74:[31, 14, 73] Operation: 28+45=73
Exploring Operation: 28/14=2, Resulting Numbers: [31, 45, 2]
Generated Node #0,1: 74:[31, 45, 2] Operation: 28/14=2
Moving to Node #0,1
Current State: 74:[31, 45, 2], Operations: ['28/14=2']
Exploring Operation: 31+45=76, Resulting Numbers: [2, 76]
Generated Node #0,1,0: 74:[2, 76] Operation: 31+45=76
Exploring Operation: 45-31=14, Resulting Numbers: [2, 14]
Generated Node #0,1,1: 74:[2, 14] Operation: 45-31=14
Moving to Node #0,0
Current State: 74:[31, 14, 73], Operations: ['28+45=73']
Exploring Operation: 31+14=45, Resulting Numbers: [73, 45]
Generated Node #0,0,0: 74:[73, 45] Operation: 31+14=45
Exploring Operation: 31-14=17, Resulting Numbers: [73, 17]
Generated Node #0,0,1: 74:[73, 17] Operation: 31-14=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[73, 45], Operations: ['28+45=73', '31+14=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,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,0,1
Current State: 74:[73, 17], Operations: ['28+45=73', '31-14=17']
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,74 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: 74:[2, 76], Operations: ['28/14=2', '31+45=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[28, 31, 45, 14], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [31, 45, 2]
Generated Node #0,1: 74:[31, 45, 2] Operation: 28/14=2
Moving to Node #0,1
Current State: 74:[31, 45, 2], Operations: ['28/14=2']
Exploring Operation: 31+45=76, Resulting Numbers: [2, 76]
Generated Node #0,1,0: 74:[2, 76] Operation: 31+45=76
Moving to Node #0,1,0
Current State: 74:[2, 76], Operations: ['28/14=2', '31+45=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
81,
44,
65,
2
] | 52 | [
"81-65=16",
"16/2=8",
"44+8=52"
] | Current State: 52:[81, 44, 65, 2], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [44, 2, 16]
Generated Node #2: [44, 2, 16] from Operation: 81-65=16
Current State: 52:[44, 2, 16], Operations: ['81-65=16']
Exploring Operation: 16/2=8, Resulting Numbers: [44, 8]
Generated Node #3: [44, 8] from Operation: 16/2=8
Current State: 52:[44, 8], Operations: ['81-65=16', '16/2=8']
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[81, 44, 65, 2], Operations: []
Exploring Operation: 81-44=37, Resulting Numbers: [65, 2, 37]
Generated Node #0,0: 52:[65, 2, 37] Operation: 81-44=37
Exploring Operation: 65-44=21, Resulting Numbers: [81, 2, 21]
Generated Node #0,1: 52:[81, 2, 21] Operation: 65-44=21
Exploring Operation: 81-65=16, Resulting Numbers: [44, 2, 16]
Generated Node #0,2: 52:[44, 2, 16] Operation: 81-65=16
Moving to Node #0,2
Current State: 52:[44, 2, 16], Operations: ['81-65=16']
Exploring Operation: 44-16=28, Resulting Numbers: [2, 28]
Generated Node #0,2,0: 52:[2, 28] Operation: 44-16=28
Exploring Operation: 44/2=22, Resulting Numbers: [16, 22]
Generated Node #0,2,1: 52:[16, 22] Operation: 44/2=22
Exploring Operation: 44+16=60, Resulting Numbers: [2, 60]
Generated Node #0,2,2: 52:[2, 60] Operation: 44+16=60
Moving to Node #0,0
Current State: 52:[65, 2, 37], Operations: ['81-44=37']
Exploring Operation: 65-2=63, Resulting Numbers: [37, 63]
Generated Node #0,0,0: 52:[37, 63] Operation: 65-2=63
Exploring Operation: 37-2=35, Resulting Numbers: [65, 35]
Generated Node #0,0,1: 52:[65, 35] Operation: 37-2=35
Exploring Operation: 65-37=28, Resulting Numbers: [2, 28]
Generated Node #0,0,2: 52:[2, 28] Operation: 65-37=28
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[2, 28], Operations: ['81-44=37', '65-37=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,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,0
Current State: 52:[37, 63], Operations: ['81-44=37', '65-2=63']
Exploring Operation: 37*63=2331, Resulting Numbers: [2331]
2331,52 unequal: No Solution
Exploring Operation: 37+63=100, Resulting Numbers: [100]
100,52 unequal: No Solution
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,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,1
Current State: 52:[65, 35], Operations: ['81-44=37', '37-2=35']
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,52 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,52 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: 52:[81, 2, 21], Operations: ['65-44=21']
Exploring Operation: 81-21=60, Resulting Numbers: [2, 60]
Generated Node #0,1,0: 52:[2, 60] Operation: 81-21=60
Exploring Operation: 2+21=23, Resulting Numbers: [81, 23]
Generated Node #0,1,1: 52:[81, 23] Operation: 2+21=23
Exploring Operation: 81-2=79, Resulting Numbers: [21, 79]
Generated Node #0,1,2: 52:[21, 79] Operation: 81-2=79
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[2, 60], Operations: ['65-44=21', '81-21=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,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,1,1
Current State: 52:[81, 23], Operations: ['65-44=21', '2+21=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,52 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,52 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,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,1,2
Current State: 52:[21, 79], Operations: ['65-44=21', '81-2=79']
Exploring Operation: 21+79=100, Resulting Numbers: [100]
100,52 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 21*79=1659, Resulting Numbers: [1659]
1659,52 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: 52:[2, 28], Operations: ['81-65=16', '44-16=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[16, 22], Operations: ['81-65=16', '44/2=22']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,52 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[2, 60], Operations: ['81-65=16', '44+16=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,52 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
33,
93,
6,
30
] | 20 | [
"93-33=60",
"60/6=10",
"30-10=20"
] | Current State: 20:[33, 93, 6, 30], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [6, 30, 60]
Generated Node #2: [6, 30, 60] from Operation: 93-33=60
Current State: 20:[6, 30, 60], Operations: ['93-33=60']
Exploring Operation: 60/6=10, Resulting Numbers: [30, 10]
Generated Node #3: [30, 10] from Operation: 60/6=10
Current State: 20:[30, 10], Operations: ['93-33=60', '60/6=10']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[33, 93, 6, 30], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [33, 93, 5]
Generated Node #0,0: 20:[33, 93, 5] Operation: 30/6=5
Exploring Operation: 33-6=27, Resulting Numbers: [93, 30, 27]
Generated Node #0,1: 20:[93, 30, 27] Operation: 33-6=27
Exploring Operation: 33-30=3, Resulting Numbers: [93, 6, 3]
Generated Node #0,2: 20:[93, 6, 3] Operation: 33-30=3
Exploring Operation: 93-33=60, Resulting Numbers: [6, 30, 60]
Generated Node #0,3: 20:[6, 30, 60] Operation: 93-33=60
Exploring Operation: 93-30=63, Resulting Numbers: [33, 6, 63]
Generated Node #0,4: 20:[33, 6, 63] Operation: 93-30=63
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[6, 30, 60], Operations: ['93-33=60']
Exploring Operation: 60/6=10, Resulting Numbers: [30, 10]
Generated Node #0,3,0: 20:[30, 10] Operation: 60/6=10
Exploring Operation: 30/6=5, Resulting Numbers: [60, 5]
Generated Node #0,3,1: 20:[60, 5] Operation: 30/6=5
Exploring Operation: 60/30=2, Resulting Numbers: [6, 2]
Generated Node #0,3,2: 20:[6, 2] Operation: 60/30=2
Exploring Operation: 30-6=24, Resulting Numbers: [60, 24]
Generated Node #0,3,3: 20:[60, 24] Operation: 30-6=24
Exploring Operation: 60-30=30, Resulting Numbers: [6, 30]
Generated Node #0,3,4: 20:[6, 30] Operation: 60-30=30
Moving to Node #0,3,2
Current State: 20:[6, 2], Operations: ['93-33=60', '60/30=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[30, 10], Operations: ['93-33=60', '60/6=10']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[33, 93, 6, 30], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [6, 30, 60]
Generated Node #0,3: 20:[6, 30, 60] Operation: 93-33=60
Moving to Node #0,3
Current State: 20:[6, 30, 60], Operations: ['93-33=60']
Exploring Operation: 60/6=10, Resulting Numbers: [30, 10]
Generated Node #0,3,0: 20:[30, 10] Operation: 60/6=10
Moving to Node #0,3,0
Current State: 20:[30, 10], Operations: ['93-33=60', '60/6=10']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
50,
8,
79,
61
] | 82 | [
"50+8=58",
"79+61=140",
"140-58=82"
] | Current State: 82:[50, 8, 79, 61], Operations: []
Exploring Operation: 50+8=58, Resulting Numbers: [79, 61, 58]
Generated Node #2: [79, 61, 58] from Operation: 50+8=58
Current State: 82:[79, 61, 58], Operations: ['50+8=58']
Exploring Operation: 79+61=140, Resulting Numbers: [58, 140]
Generated Node #3: [58, 140] from Operation: 79+61=140
Current State: 82:[58, 140], Operations: ['50+8=58', '79+61=140']
Exploring Operation: 140-58=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[50, 8, 79, 61], Operations: []
Exploring Operation: 50-8=42, Resulting Numbers: [79, 61, 42]
Generated Node #0,0: 82:[79, 61, 42] Operation: 50-8=42
Exploring Operation: 61-50=11, Resulting Numbers: [8, 79, 11]
Generated Node #0,1: 82:[8, 79, 11] Operation: 61-50=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[8, 79, 11], Operations: ['61-50=11']
Exploring Operation: 8*11=88, Resulting Numbers: [79, 88]
Generated Node #0,1,0: 82:[79, 88] Operation: 8*11=88
Exploring Operation: 11-8=3, Resulting Numbers: [79, 3]
Generated Node #0,1,1: 82:[79, 3] Operation: 11-8=3
Moving to Node #0,1,1
Current State: 82:[79, 3], Operations: ['61-50=11', '11-8=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[50, 8, 79, 61], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [8, 79, 11]
Generated Node #0,1: 82:[8, 79, 11] Operation: 61-50=11
Moving to Node #0,1
Current State: 82:[8, 79, 11], Operations: ['61-50=11']
Exploring Operation: 11-8=3, Resulting Numbers: [79, 3]
Generated Node #0,1,1: 82:[79, 3] Operation: 11-8=3
Moving to Node #0,1,1
Current State: 82:[79, 3], Operations: ['61-50=11', '11-8=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
5,
7,
9,
40
] | 79 | [
"40/5=8",
"9*8=72",
"7+72=79"
] | Current State: 79:[5, 7, 9, 40], Operations: []
Exploring Operation: 40/5=8, Resulting Numbers: [7, 9, 8]
Generated Node #2: [7, 9, 8] from Operation: 40/5=8
Current State: 79:[7, 9, 8], Operations: ['40/5=8']
Exploring Operation: 9*8=72, Resulting Numbers: [7, 72]
Generated Node #3: [7, 72] from Operation: 9*8=72
Current State: 79:[7, 72], Operations: ['40/5=8', '9*8=72']
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[5, 7, 9, 40], Operations: []
Exploring Operation: 5+7=12, Resulting Numbers: [9, 40, 12]
Generated Node #0,0: 79:[9, 40, 12] Operation: 5+7=12
Exploring Operation: 5*7=35, Resulting Numbers: [9, 40, 35]
Generated Node #0,1: 79:[9, 40, 35] Operation: 5*7=35
Exploring Operation: 5*9=45, Resulting Numbers: [7, 40, 45]
Generated Node #0,2: 79:[7, 40, 45] Operation: 5*9=45
Exploring Operation: 7*9=63, Resulting Numbers: [5, 40, 63]
Generated Node #0,3: 79:[5, 40, 63] Operation: 7*9=63
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[5, 40, 63], Operations: ['7*9=63']
Exploring Operation: 40-5=35, Resulting Numbers: [63, 35]
Generated Node #0,3,0: 79:[63, 35] Operation: 40-5=35
Exploring Operation: 5+40=45, Resulting Numbers: [63, 45]
Generated Node #0,3,1: 79:[63, 45] Operation: 5+40=45
Exploring Operation: 63-5=58, Resulting Numbers: [40, 58]
Generated Node #0,3,2: 79:[40, 58] Operation: 63-5=58
Exploring Operation: 5+63=68, Resulting Numbers: [40, 68]
Generated Node #0,3,3: 79:[40, 68] Operation: 5+63=68
Moving to Node #0,3,1
Current State: 79:[63, 45], Operations: ['7*9=63', '5+40=45']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,79 unequal: No Solution
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[40, 68], Operations: ['7*9=63', '5+63=68']
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[40, 58], Operations: ['7*9=63', '63-5=58']
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,79 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[63, 35], Operations: ['7*9=63', '40-5=35']
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,79 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[7, 40, 45], Operations: ['5*9=45']
Exploring Operation: 7+40=47, Resulting Numbers: [45, 47]
Generated Node #0,2,0: 79:[45, 47] Operation: 7+40=47
Exploring Operation: 7+45=52, Resulting Numbers: [40, 52]
Generated Node #0,2,1: 79:[40, 52] Operation: 7+45=52
Exploring Operation: 40-7=33, Resulting Numbers: [45, 33]
Generated Node #0,2,2: 79:[45, 33] Operation: 40-7=33
Exploring Operation: 40+45=85, Resulting Numbers: [7, 85]
Generated Node #0,2,3: 79:[7, 85] Operation: 40+45=85
Moving to Node #0,2,0
Current State: 79:[45, 47], Operations: ['5*9=45', '7+40=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,79 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[40, 52], Operations: ['5*9=45', '7+45=52']
Exploring Operation: 40*52=2080, Resulting Numbers: [2080]
2080,79 unequal: No Solution
Exploring Operation: 40+52=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[7, 85], Operations: ['5*9=45', '40+45=85']
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 7+85=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 7*85=595, Resulting Numbers: [595]
595,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[45, 33], Operations: ['5*9=45', '40-7=33']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,79 unequal: No Solution
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 45*33=1485, Resulting Numbers: [1485]
1485,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[9, 40, 35], Operations: ['5*7=35']
Exploring Operation: 40+35=75, Resulting Numbers: [9, 75]
Generated Node #0,1,0: 79:[9, 75] Operation: 40+35=75
Exploring Operation: 9+40=49, Resulting Numbers: [35, 49]
Generated Node #0,1,1: 79:[35, 49] Operation: 9+40=49
Exploring Operation: 9+35=44, Resulting Numbers: [40, 44]
Generated Node #0,1,2: 79:[40, 44] Operation: 9+35=44
Exploring Operation: 40-9=31, Resulting Numbers: [35, 31]
Generated Node #0,1,3: 79:[35, 31] Operation: 40-9=31
Moving to Node #0,1,0
Current State: 79:[9, 75], Operations: ['5*7=35', '40+35=75']
Exploring Operation: 9*75=675, Resulting Numbers: [675]
675,79 unequal: No Solution
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[40, 44], Operations: ['5*7=35', '9+35=44']
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[35, 49], Operations: ['5*7=35', '9+40=49']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 35*49=1715, Resulting Numbers: [1715]
1715,79 unequal: No Solution
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[35, 31], Operations: ['5*7=35', '40-9=31']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,79 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[9, 40, 12], Operations: ['5+7=12']
Exploring Operation: 9*12=108, Resulting Numbers: [40, 108]
Generated Node #0,0,0: 79:[40, 108] Operation: 9*12=108
Exploring Operation: 40+12=52, Resulting Numbers: [9, 52]
Generated Node #0,0,1: 79:[9, 52] Operation: 40+12=52
Exploring Operation: 9+12=21, Resulting Numbers: [40, 21]
Generated Node #0,0,2: 79:[40, 21] Operation: 9+12=21
Exploring Operation: 9+40=49, Resulting Numbers: [12, 49]
Generated Node #0,0,3: 79:[12, 49] Operation: 9+40=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[40, 108], Operations: ['5+7=12', '9*12=108']
Exploring Operation: 108-40=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 40+108=148, Resulting Numbers: [148]
148,79 unequal: No Solution
Exploring Operation: 40*108=4320, Resulting Numbers: [4320]
4320,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[9, 52], Operations: ['5+7=12', '40+12=52']
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 9*52=468, Resulting Numbers: [468]
468,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[40, 21], Operations: ['5+7=12', '9+12=21']
Exploring Operation: 40*21=840, Resulting Numbers: [840]
840,79 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[12, 49], Operations: ['5+7=12', '9+40=49']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 12*49=588, Resulting Numbers: [588]
588,79 unequal: No Solution
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
67,
64,
12,
91
] | 87 | [
"67-64=3",
"12/3=4",
"91-4=87"
] | Current State: 87:[67, 64, 12, 91], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [12, 91, 3]
Generated Node #2: [12, 91, 3] from Operation: 67-64=3
Current State: 87:[12, 91, 3], Operations: ['67-64=3']
Exploring Operation: 12/3=4, Resulting Numbers: [91, 4]
Generated Node #3: [91, 4] from Operation: 12/3=4
Current State: 87:[91, 4], Operations: ['67-64=3', '12/3=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[67, 64, 12, 91], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [12, 91, 3]
Generated Node #0,0: 87:[12, 91, 3] Operation: 67-64=3
Exploring Operation: 91-64=27, Resulting Numbers: [67, 12, 27]
Generated Node #0,1: 87:[67, 12, 27] Operation: 91-64=27
Exploring Operation: 67+12=79, Resulting Numbers: [64, 91, 79]
Generated Node #0,2: 87:[64, 91, 79] Operation: 67+12=79
Moving to Node #0,0
Current State: 87:[12, 91, 3], Operations: ['67-64=3']
Exploring Operation: 12/3=4, Resulting Numbers: [91, 4]
Generated Node #0,0,0: 87:[91, 4] Operation: 12/3=4
Exploring Operation: 12-3=9, Resulting Numbers: [91, 9]
Generated Node #0,0,1: 87:[91, 9] Operation: 12-3=9
Exploring Operation: 91-12=79, Resulting Numbers: [3, 79]
Generated Node #0,0,2: 87:[3, 79] Operation: 91-12=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[91, 4], Operations: ['67-64=3', '12/3=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[67, 64, 12, 91], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [12, 91, 3]
Generated Node #0,0: 87:[12, 91, 3] Operation: 67-64=3
Moving to Node #0,0
Current State: 87:[12, 91, 3], Operations: ['67-64=3']
Exploring Operation: 12/3=4, Resulting Numbers: [91, 4]
Generated Node #0,0,0: 87:[91, 4] Operation: 12/3=4
Moving to Node #0,0,0
Current State: 87:[91, 4], Operations: ['67-64=3', '12/3=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
48,
20,
88,
76
] | 78 | [
"88-48=40",
"40/20=2",
"76+2=78"
] | Current State: 78:[48, 20, 88, 76], Operations: []
Exploring Operation: 88-48=40, Resulting Numbers: [20, 76, 40]
Generated Node #2: [20, 76, 40] from Operation: 88-48=40
Current State: 78:[20, 76, 40], Operations: ['88-48=40']
Exploring Operation: 40/20=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 40/20=2
Current State: 78:[76, 2], Operations: ['88-48=40', '40/20=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[48, 20, 88, 76], Operations: []
Exploring Operation: 48-20=28, Resulting Numbers: [88, 76, 28]
Generated Node #0,0: 78:[88, 76, 28] Operation: 48-20=28
Exploring Operation: 88-48=40, Resulting Numbers: [20, 76, 40]
Generated Node #0,1: 78:[20, 76, 40] Operation: 88-48=40
Exploring Operation: 76-48=28, Resulting Numbers: [20, 88, 28]
Generated Node #0,2: 78:[20, 88, 28] Operation: 76-48=28
Exploring Operation: 88-76=12, Resulting Numbers: [48, 20, 12]
Generated Node #0,3: 78:[48, 20, 12] Operation: 88-76=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[20, 76, 40], Operations: ['88-48=40']
Exploring Operation: 40-20=20, Resulting Numbers: [76, 20]
Generated Node #0,1,0: 78:[76, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [76, 2]
Generated Node #0,1,1: 78:[76, 2] Operation: 40/20=2
Exploring Operation: 76-40=36, Resulting Numbers: [20, 36]
Generated Node #0,1,2: 78:[20, 36] Operation: 76-40=36
Exploring Operation: 76-20=56, Resulting Numbers: [40, 56]
Generated Node #0,1,3: 78:[40, 56] Operation: 76-20=56
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[76, 2], Operations: ['88-48=40', '40/20=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,78 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[48, 20, 88, 76], Operations: []
Exploring Operation: 88-48=40, Resulting Numbers: [20, 76, 40]
Generated Node #0,1: 78:[20, 76, 40] Operation: 88-48=40
Moving to Node #0,1
Current State: 78:[20, 76, 40], Operations: ['88-48=40']
Exploring Operation: 40/20=2, Resulting Numbers: [76, 2]
Generated Node #0,1,1: 78:[76, 2] Operation: 40/20=2
Moving to Node #0,1,1
Current State: 78:[76, 2], Operations: ['88-48=40', '40/20=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
62,
18,
1,
4
] | 49 | [
"62-18=44",
"1+4=5",
"44+5=49"
] | Current State: 49:[62, 18, 1, 4], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [1, 4, 44]
Generated Node #2: [1, 4, 44] from Operation: 62-18=44
Current State: 49:[1, 4, 44], Operations: ['62-18=44']
Exploring Operation: 1+4=5, Resulting Numbers: [44, 5]
Generated Node #3: [44, 5] from Operation: 1+4=5
Current State: 49:[44, 5], Operations: ['62-18=44', '1+4=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[62, 18, 1, 4], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [1, 4, 44]
Generated Node #0,0: 49:[1, 4, 44] Operation: 62-18=44
Moving to Node #0,0
Current State: 49:[1, 4, 44], Operations: ['62-18=44']
Exploring Operation: 1+4=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 49:[44, 5] Operation: 1+4=5
Moving to Node #0,0,0
Current State: 49:[44, 5], Operations: ['62-18=44', '1+4=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[62, 18, 1, 4], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [1, 4, 44]
Generated Node #0,0: 49:[1, 4, 44] Operation: 62-18=44
Moving to Node #0,0
Current State: 49:[1, 4, 44], Operations: ['62-18=44']
Exploring Operation: 1+4=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 49:[44, 5] Operation: 1+4=5
Moving to Node #0,0,0
Current State: 49:[44, 5], Operations: ['62-18=44', '1+4=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
1,
31,
49,
13
] | 93 | [
"1*31=31",
"49+13=62",
"31+62=93"
] | Current State: 93:[1, 31, 49, 13], Operations: []
Exploring Operation: 1*31=31, Resulting Numbers: [49, 13, 31]
Generated Node #2: [49, 13, 31] from Operation: 1*31=31
Current State: 93:[49, 13, 31], Operations: ['1*31=31']
Exploring Operation: 49+13=62, Resulting Numbers: [31, 62]
Generated Node #3: [31, 62] from Operation: 49+13=62
Current State: 93:[31, 62], Operations: ['1*31=31', '49+13=62']
Exploring Operation: 31+62=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[1, 31, 49, 13], Operations: []
Exploring Operation: 49-13=36, Resulting Numbers: [1, 31, 36]
Generated Node #0,0: 93:[1, 31, 36] Operation: 49-13=36
Moving to Node #0,0
Current State: 93:[1, 31, 36], Operations: ['49-13=36']
Exploring Operation: 36-1=35, Resulting Numbers: [31, 35]
Generated Node #0,0,0: 93:[31, 35] Operation: 36-1=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[31, 35], Operations: ['49-13=36', '36-1=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
46,
23,
34
] | 83 | [
"26+46=72",
"34-23=11",
"72+11=83"
] | Current State: 83:[26, 46, 23, 34], Operations: []
Exploring Operation: 26+46=72, Resulting Numbers: [23, 34, 72]
Generated Node #2: [23, 34, 72] from Operation: 26+46=72
Current State: 83:[23, 34, 72], Operations: ['26+46=72']
Exploring Operation: 34-23=11, Resulting Numbers: [72, 11]
Generated Node #3: [72, 11] from Operation: 34-23=11
Current State: 83:[72, 11], Operations: ['26+46=72', '34-23=11']
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[26, 46, 23, 34], Operations: []
Exploring Operation: 46+34=80, Resulting Numbers: [26, 23, 80]
Generated Node #0,0: 83:[26, 23, 80] Operation: 46+34=80
Exploring Operation: 46+23=69, Resulting Numbers: [26, 34, 69]
Generated Node #0,1: 83:[26, 34, 69] Operation: 46+23=69
Exploring Operation: 26+34=60, Resulting Numbers: [46, 23, 60]
Generated Node #0,2: 83:[46, 23, 60] Operation: 26+34=60
Exploring Operation: 26+46=72, Resulting Numbers: [23, 34, 72]
Generated Node #0,3: 83:[23, 34, 72] Operation: 26+46=72
Exploring Operation: 26+23=49, Resulting Numbers: [46, 34, 49]
Generated Node #0,4: 83:[46, 34, 49] Operation: 26+23=49
Moving to Node #0,0
Current State: 83:[26, 23, 80], Operations: ['46+34=80']
Exploring Operation: 23+80=103, Resulting Numbers: [26, 103]
Generated Node #0,0,0: 83:[26, 103] Operation: 23+80=103
Exploring Operation: 80-23=57, Resulting Numbers: [26, 57]
Generated Node #0,0,1: 83:[26, 57] Operation: 80-23=57
Exploring Operation: 26+23=49, Resulting Numbers: [80, 49]
Generated Node #0,0,2: 83:[80, 49] Operation: 26+23=49
Exploring Operation: 26+80=106, Resulting Numbers: [23, 106]
Generated Node #0,0,3: 83:[23, 106] Operation: 26+80=106
Exploring Operation: 26-23=3, Resulting Numbers: [80, 3]
Generated Node #0,0,4: 83:[80, 3] Operation: 26-23=3
Moving to Node #0,2
Current State: 83:[46, 23, 60], Operations: ['26+34=60']
Exploring Operation: 60-23=37, Resulting Numbers: [46, 37]
Generated Node #0,2,0: 83:[46, 37] Operation: 60-23=37
Exploring Operation: 46+23=69, Resulting Numbers: [60, 69]
Generated Node #0,2,1: 83:[60, 69] Operation: 46+23=69
Exploring Operation: 46-23=23, Resulting Numbers: [60, 23]
Generated Node #0,2,2: 83:[60, 23] Operation: 46-23=23
Exploring Operation: 46+60=106, Resulting Numbers: [23, 106]
Generated Node #0,2,3: 83:[23, 106] Operation: 46+60=106
Exploring Operation: 23+60=83, Resulting Numbers: [46, 83]
Generated Node #0,2,4: 83:[46, 83] Operation: 23+60=83
Moving to Node #0,4
Current State: 83:[46, 34, 49], Operations: ['26+23=49']
Exploring Operation: 46+34=80, Resulting Numbers: [49, 80]
Generated Node #0,4,0: 83:[49, 80] Operation: 46+34=80
Exploring Operation: 34+49=83, Resulting Numbers: [46, 83]
Generated Node #0,4,1: 83:[46, 83] Operation: 34+49=83
Exploring Operation: 46-34=12, Resulting Numbers: [49, 12]
Generated Node #0,4,2: 83:[49, 12] Operation: 46-34=12
Exploring Operation: 49-34=15, Resulting Numbers: [46, 15]
Generated Node #0,4,3: 83:[46, 15] Operation: 49-34=15
Exploring Operation: 46+49=95, Resulting Numbers: [34, 95]
Generated Node #0,4,4: 83:[34, 95] Operation: 46+49=95
Moving to Node #0,1
Current State: 83:[26, 34, 69], Operations: ['46+23=69']
Exploring Operation: 26+34=60, Resulting Numbers: [69, 60]
Generated Node #0,1,0: 83:[69, 60] Operation: 26+34=60
Exploring Operation: 26+69=95, Resulting Numbers: [34, 95]
Generated Node #0,1,1: 83:[34, 95] Operation: 26+69=95
Exploring Operation: 34-26=8, Resulting Numbers: [69, 8]
Generated Node #0,1,2: 83:[69, 8] Operation: 34-26=8
Exploring Operation: 69-26=43, Resulting Numbers: [34, 43]
Generated Node #0,1,3: 83:[34, 43] Operation: 69-26=43
Exploring Operation: 34+69=103, Resulting Numbers: [26, 103]
Generated Node #0,1,4: 83:[26, 103] Operation: 34+69=103
Moving to Node #0,3
Current State: 83:[23, 34, 72], Operations: ['26+46=72']
Exploring Operation: 23+72=95, Resulting Numbers: [34, 95]
Generated Node #0,3,0: 83:[34, 95] Operation: 23+72=95
Exploring Operation: 72-23=49, Resulting Numbers: [34, 49]
Generated Node #0,3,1: 83:[34, 49] Operation: 72-23=49
Exploring Operation: 23+34=57, Resulting Numbers: [72, 57]
Generated Node #0,3,2: 83:[72, 57] Operation: 23+34=57
Exploring Operation: 34+72=106, Resulting Numbers: [23, 106]
Generated Node #0,3,3: 83:[23, 106] Operation: 34+72=106
Exploring Operation: 34-23=11, Resulting Numbers: [72, 11]
Generated Node #0,3,4: 83:[72, 11] Operation: 34-23=11
Moving to Node #0,0,2
Current State: 83:[80, 49], Operations: ['46+34=80', '26+23=49']
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,83 unequal: No Solution
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[60, 69], Operations: ['26+34=60', '46+23=69']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[46, 83], Operations: ['26+34=60', '23+60=83']
Exploring Operation: 46*83=3818, Resulting Numbers: [3818]
3818,83 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 46+83=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[46, 83], Operations: ['26+23=49', '34+49=83']
Exploring Operation: 46*83=3818, Resulting Numbers: [3818]
3818,83 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 46+83=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[49, 80], Operations: ['26+23=49', '46+34=80']
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,83 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[72, 57], Operations: ['26+46=72', '23+34=57']
Exploring Operation: 72*57=4104, Resulting Numbers: [4104]
4104,83 unequal: No Solution
Exploring Operation: 72+57=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[69, 60], Operations: ['46+23=69', '26+34=60']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,83 unequal: No Solution
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[34, 95], Operations: ['26+23=49', '46+49=95']
Exploring Operation: 34+95=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 34*95=3230, Resulting Numbers: [3230]
3230,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[34, 95], Operations: ['26+46=72', '23+72=95']
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 34+95=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 34*95=3230, Resulting Numbers: [3230]
3230,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[34, 95], Operations: ['46+23=69', '26+69=95']
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 34*95=3230, Resulting Numbers: [3230]
3230,83 unequal: No Solution
Exploring Operation: 34+95=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[26, 103], Operations: ['46+34=80', '23+80=103']
Exploring Operation: 26*103=2678, Resulting Numbers: [2678]
2678,83 unequal: No Solution
Exploring Operation: 26+103=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 103-26=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[26, 103], Operations: ['46+23=69', '34+69=103']
Exploring Operation: 103-26=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 26+103=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 26*103=2678, Resulting Numbers: [2678]
2678,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[72, 11], Operations: ['26+46=72', '34-23=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,83 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[26, 46, 23, 34], Operations: []
Exploring Operation: 26+46=72, Resulting Numbers: [23, 34, 72]
Generated Node #0,3: 83:[23, 34, 72] Operation: 26+46=72
Moving to Node #0,3
Current State: 83:[23, 34, 72], Operations: ['26+46=72']
Exploring Operation: 34-23=11, Resulting Numbers: [72, 11]
Generated Node #0,3,4: 83:[72, 11] Operation: 34-23=11
Moving to Node #0,3,4
Current State: 83:[72, 11], Operations: ['26+46=72', '34-23=11']
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.936632 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.