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 |
|---|---|---|---|---|---|---|---|---|
[
18,
5,
7,
3
] | 52 | [
"18-5=13",
"7-3=4",
"13*4=52"
] | Current State: 52:[18, 5, 7, 3], Operations: []
Exploring Operation: 18-5=13, Resulting Numbers: [7, 3, 13]
Generated Node #2: [7, 3, 13] from Operation: 18-5=13
Current State: 52:[7, 3, 13], Operations: ['18-5=13']
Exploring Operation: 7-3=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 7-3=4
Current State: 52:[13, 4], Operations: ['18-5=13', '7-3=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[18, 5, 7, 3], Operations: []
Exploring Operation: 18-5=13, Resulting Numbers: [7, 3, 13]
Generated Node #0,0: 52:[7, 3, 13] Operation: 18-5=13
Exploring Operation: 18+7=25, Resulting Numbers: [5, 3, 25]
Generated Node #0,1: 52:[5, 3, 25] Operation: 18+7=25
Moving to Node #0,1
Current State: 52:[5, 3, 25], Operations: ['18+7=25']
Exploring Operation: 5-3=2, Resulting Numbers: [25, 2]
Generated Node #0,1,0: 52:[25, 2] Operation: 5-3=2
Exploring Operation: 25/5=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 52:[3, 5] Operation: 25/5=5
Moving to Node #0,0
Current State: 52:[7, 3, 13], Operations: ['18-5=13']
Exploring Operation: 7+3=10, Resulting Numbers: [13, 10]
Generated Node #0,0,0: 52:[13, 10] Operation: 7+3=10
Exploring Operation: 7-3=4, Resulting Numbers: [13, 4]
Generated Node #0,0,1: 52:[13, 4] Operation: 7-3=4
Moving to Node #0,0,1
Current State: 52:[13, 4], Operations: ['18-5=13', '7-3=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[18, 5, 7, 3], Operations: []
Exploring Operation: 18-5=13, Resulting Numbers: [7, 3, 13]
Generated Node #0,0: 52:[7, 3, 13] Operation: 18-5=13
Moving to Node #0,0
Current State: 52:[7, 3, 13], Operations: ['18-5=13']
Exploring Operation: 7-3=4, Resulting Numbers: [13, 4]
Generated Node #0,0,1: 52:[13, 4] Operation: 7-3=4
Moving to Node #0,0,1
Current State: 52:[13, 4], Operations: ['18-5=13', '7-3=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
97,
76,
81,
23
] | 37 | [
"97-76=21",
"81-23=58",
"58-21=37"
] | Current State: 37:[97, 76, 81, 23], Operations: []
Exploring Operation: 97-76=21, Resulting Numbers: [81, 23, 21]
Generated Node #2: [81, 23, 21] from Operation: 97-76=21
Current State: 37:[81, 23, 21], Operations: ['97-76=21']
Exploring Operation: 81-23=58, Resulting Numbers: [21, 58]
Generated Node #3: [21, 58] from Operation: 81-23=58
Current State: 37:[21, 58], Operations: ['97-76=21', '81-23=58']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[97, 76, 81, 23], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [97, 23, 5]
Generated Node #0,0: 37:[97, 23, 5] Operation: 81-76=5
Exploring Operation: 97-23=74, Resulting Numbers: [76, 81, 74]
Generated Node #0,1: 37:[76, 81, 74] Operation: 97-23=74
Exploring Operation: 97-76=21, Resulting Numbers: [81, 23, 21]
Generated Node #0,2: 37:[81, 23, 21] Operation: 97-76=21
Exploring Operation: 97-81=16, Resulting Numbers: [76, 23, 16]
Generated Node #0,3: 37:[76, 23, 16] Operation: 97-81=16
Moving to Node #0,2
Current State: 37:[81, 23, 21], Operations: ['97-76=21']
Exploring Operation: 81-21=60, Resulting Numbers: [23, 60]
Generated Node #0,2,0: 37:[23, 60] Operation: 81-21=60
Exploring Operation: 23+21=44, Resulting Numbers: [81, 44]
Generated Node #0,2,1: 37:[81, 44] Operation: 23+21=44
Exploring Operation: 81-23=58, Resulting Numbers: [21, 58]
Generated Node #0,2,2: 37:[21, 58] Operation: 81-23=58
Exploring Operation: 81+21=102, Resulting Numbers: [23, 102]
Generated Node #0,2,3: 37:[23, 102] Operation: 81+21=102
Moving to Node #0,3
Current State: 37:[76, 23, 16], Operations: ['97-81=16']
Exploring Operation: 76-23=53, Resulting Numbers: [16, 53]
Generated Node #0,3,0: 37:[16, 53] Operation: 76-23=53
Exploring Operation: 76-16=60, Resulting Numbers: [23, 60]
Generated Node #0,3,1: 37:[23, 60] Operation: 76-16=60
Exploring Operation: 23+16=39, Resulting Numbers: [76, 39]
Generated Node #0,3,2: 37:[76, 39] Operation: 23+16=39
Exploring Operation: 76+16=92, Resulting Numbers: [23, 92]
Generated Node #0,3,3: 37:[23, 92] Operation: 76+16=92
Moving to Node #0,0
Current State: 37:[97, 23, 5], Operations: ['81-76=5']
Exploring Operation: 97-23=74, Resulting Numbers: [5, 74]
Generated Node #0,0,0: 37:[5, 74] Operation: 97-23=74
Exploring Operation: 97+5=102, Resulting Numbers: [23, 102]
Generated Node #0,0,1: 37:[23, 102] Operation: 97+5=102
Exploring Operation: 97-5=92, Resulting Numbers: [23, 92]
Generated Node #0,0,2: 37:[23, 92] Operation: 97-5=92
Exploring Operation: 23+5=28, Resulting Numbers: [97, 28]
Generated Node #0,0,3: 37:[97, 28] Operation: 23+5=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[5, 74], Operations: ['81-76=5', '97-23=74']
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,37 unequal: No Solution
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,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,2
Current State: 37:[23, 92], Operations: ['81-76=5', '97-5=92']
Exploring Operation: 23*92=2116, Resulting Numbers: [2116]
2116,37 unequal: No Solution
Exploring Operation: 92/23=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 92-23=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 23+92=115, Resulting Numbers: [115]
115,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,3
Current State: 37:[97, 28], Operations: ['81-76=5', '23+5=28']
Exploring Operation: 97+28=125, Resulting Numbers: [125]
125,37 unequal: No Solution
Exploring Operation: 97*28=2716, Resulting Numbers: [2716]
2716,37 unequal: No Solution
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,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,1
Current State: 37:[23, 102], Operations: ['81-76=5', '97+5=102']
Exploring Operation: 102-23=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 23*102=2346, Resulting Numbers: [2346]
2346,37 unequal: No Solution
Exploring Operation: 23+102=125, Resulting Numbers: [125]
125,37 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: 37:[76, 81, 74], Operations: ['97-23=74']
Exploring Operation: 81-76=5, Resulting Numbers: [74, 5]
Generated Node #0,1,0: 37:[74, 5] Operation: 81-76=5
Exploring Operation: 76-74=2, Resulting Numbers: [81, 2]
Generated Node #0,1,1: 37:[81, 2] Operation: 76-74=2
Exploring Operation: 76+81=157, Resulting Numbers: [74, 157]
Generated Node #0,1,2: 37:[74, 157] Operation: 76+81=157
Exploring Operation: 81-74=7, Resulting Numbers: [76, 7]
Generated Node #0,1,3: 37:[76, 7] Operation: 81-74=7
Moving to Node #0,2,0
Current State: 37:[23, 60], Operations: ['97-76=21', '81-21=60']
Exploring Operation: 23*60=1380, Resulting Numbers: [1380]
1380,37 unequal: No Solution
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,37 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[97, 76, 81, 23], Operations: []
Exploring Operation: 97-76=21, Resulting Numbers: [81, 23, 21]
Generated Node #0,2: 37:[81, 23, 21] Operation: 97-76=21
Moving to Node #0,2
Current State: 37:[81, 23, 21], Operations: ['97-76=21']
Exploring Operation: 81-21=60, Resulting Numbers: [23, 60]
Generated Node #0,2,0: 37:[23, 60] Operation: 81-21=60
Moving to Node #0,2,0
Current State: 37:[23, 60], Operations: ['97-76=21', '81-21=60']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.965278 | hs_4 | mult_heuristic |
[
48,
54,
82,
79
] | 90 | [
"82-79=3",
"48*3=144",
"144-54=90"
] | Current State: 90:[48, 54, 82, 79], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [48, 54, 3]
Generated Node #2: [48, 54, 3] from Operation: 82-79=3
Current State: 90:[48, 54, 3], Operations: ['82-79=3']
Exploring Operation: 48*3=144, Resulting Numbers: [54, 144]
Generated Node #3: [54, 144] from Operation: 48*3=144
Current State: 90:[54, 144], Operations: ['82-79=3', '48*3=144']
Exploring Operation: 144-54=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[48, 54, 82, 79], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [48, 54, 3]
Generated Node #0,0: 90:[48, 54, 3] Operation: 82-79=3
Exploring Operation: 82-54=28, Resulting Numbers: [48, 79, 28]
Generated Node #0,1: 90:[48, 79, 28] Operation: 82-54=28
Exploring Operation: 79-48=31, Resulting Numbers: [54, 82, 31]
Generated Node #0,2: 90:[54, 82, 31] Operation: 79-48=31
Exploring Operation: 79-54=25, Resulting Numbers: [48, 82, 25]
Generated Node #0,3: 90:[48, 82, 25] Operation: 79-54=25
Exploring Operation: 54-48=6, Resulting Numbers: [82, 79, 6]
Generated Node #0,4: 90:[82, 79, 6] Operation: 54-48=6
Moving to Node #0,0
Current State: 90:[48, 54, 3], Operations: ['82-79=3']
Exploring Operation: 54-48=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 90:[3, 6] Operation: 54-48=6
Exploring Operation: 54-3=51, Resulting Numbers: [48, 51]
Generated Node #0,0,1: 90:[48, 51] Operation: 54-3=51
Exploring Operation: 48/3=16, Resulting Numbers: [54, 16]
Generated Node #0,0,2: 90:[54, 16] Operation: 48/3=16
Exploring Operation: 54/3=18, Resulting Numbers: [48, 18]
Generated Node #0,0,3: 90:[48, 18] Operation: 54/3=18
Exploring Operation: 48-3=45, Resulting Numbers: [54, 45]
Generated Node #0,0,4: 90:[54, 45] Operation: 48-3=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[3, 6], Operations: ['82-79=3', '54-48=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,90 unequal: No Solution
No 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: 90:[48, 18], Operations: ['82-79=3', '54/3=18']
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,90 unequal: No Solution
No 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: 90:[48, 51], Operations: ['82-79=3', '54-3=51']
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,90 unequal: No Solution
No 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: 90:[54, 45], Operations: ['82-79=3', '48-3=45']
Exploring Operation: 54*45=2430, Resulting Numbers: [2430]
2430,90 unequal: No Solution
Exploring Operation: 54+45=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,90 unequal: No Solution
No 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: 90:[54, 16], Operations: ['82-79=3', '48/3=16']
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,90 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,90 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: 90:[48, 82, 25], Operations: ['79-54=25']
Exploring Operation: 82-48=34, Resulting Numbers: [25, 34]
Generated Node #0,3,0: 90:[25, 34] Operation: 82-48=34
Exploring Operation: 48-25=23, Resulting Numbers: [82, 23]
Generated Node #0,3,1: 90:[82, 23] Operation: 48-25=23
Exploring Operation: 82-25=57, Resulting Numbers: [48, 57]
Generated Node #0,3,2: 90:[48, 57] Operation: 82-25=57
Exploring Operation: 48+25=73, Resulting Numbers: [82, 73]
Generated Node #0,3,3: 90:[82, 73] Operation: 48+25=73
Exploring Operation: 82+25=107, Resulting Numbers: [48, 107]
Generated Node #0,3,4: 90:[48, 107] Operation: 82+25=107
Moving to Node #0,1
Current State: 90:[48, 79, 28], Operations: ['82-54=28']
Exploring Operation: 79-48=31, Resulting Numbers: [28, 31]
Generated Node #0,1,0: 90:[28, 31] Operation: 79-48=31
Exploring Operation: 48+28=76, Resulting Numbers: [79, 76]
Generated Node #0,1,1: 90:[79, 76] Operation: 48+28=76
Exploring Operation: 48-28=20, Resulting Numbers: [79, 20]
Generated Node #0,1,2: 90:[79, 20] Operation: 48-28=20
Exploring Operation: 79-28=51, Resulting Numbers: [48, 51]
Generated Node #0,1,3: 90:[48, 51] Operation: 79-28=51
Exploring Operation: 79+28=107, Resulting Numbers: [48, 107]
Generated Node #0,1,4: 90:[48, 107] Operation: 79+28=107
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[28, 31], Operations: ['82-54=28', '79-48=31']
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,90 unequal: No Solution
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,90 unequal: No Solution
No 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: 90:[48, 51], Operations: ['82-54=28', '79-28=51']
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,90 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,90 unequal: No Solution
No 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: 90:[79, 20], Operations: ['82-54=28', '48-28=20']
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,90 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 79*20=1580, Resulting Numbers: [1580]
1580,90 unequal: No Solution
No 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: 90:[48, 107], Operations: ['82-54=28', '79+28=107']
Exploring Operation: 107-48=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 48+107=155, Resulting Numbers: [155]
155,90 unequal: No Solution
Exploring Operation: 48*107=5136, Resulting Numbers: [5136]
5136,90 unequal: No Solution
No 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: 90:[79, 76], Operations: ['82-54=28', '48+28=76']
Exploring Operation: 79*76=6004, Resulting Numbers: [6004]
6004,90 unequal: No Solution
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 79+76=155, Resulting Numbers: [155]
155,90 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: 90:[54, 82, 31], Operations: ['79-48=31']
Exploring Operation: 54+31=85, Resulting Numbers: [82, 85]
Generated Node #0,2,0: 90:[82, 85] Operation: 54+31=85
Exploring Operation: 54-31=23, Resulting Numbers: [82, 23]
Generated Node #0,2,1: 90:[82, 23] Operation: 54-31=23
Exploring Operation: 82+31=113, Resulting Numbers: [54, 113]
Generated Node #0,2,2: 90:[54, 113] Operation: 82+31=113
Exploring Operation: 82-54=28, Resulting Numbers: [31, 28]
Generated Node #0,2,3: 90:[31, 28] Operation: 82-54=28
Exploring Operation: 82-31=51, Resulting Numbers: [54, 51]
Generated Node #0,2,4: 90:[54, 51] Operation: 82-31=51
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 90:[31, 28], Operations: ['79-48=31', '82-54=28']
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 31*28=868, Resulting Numbers: [868]
868,90 unequal: No Solution
No 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: 90:[82, 85], Operations: ['79-48=31', '54+31=85']
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 82+85=167, Resulting Numbers: [167]
167,90 unequal: No Solution
Exploring Operation: 82*85=6970, Resulting Numbers: [6970]
6970,90 unequal: No Solution
No 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: 90:[82, 23], Operations: ['79-48=31', '54-31=23']
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,90 unequal: No Solution
No 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: 90:[54, 51], Operations: ['79-48=31', '82-31=51']
Exploring Operation: 54*51=2754, Resulting Numbers: [2754]
2754,90 unequal: No Solution
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,90 unequal: No Solution
No 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: 90:[54, 113], Operations: ['79-48=31', '82+31=113']
Exploring Operation: 113-54=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 54*113=6102, Resulting Numbers: [6102]
6102,90 unequal: No Solution
Exploring Operation: 54+113=167, Resulting Numbers: [167]
167,90 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: 90:[82, 79, 6], Operations: ['54-48=6']
Exploring Operation: 82-6=76, Resulting Numbers: [79, 76]
Generated Node #0,4,0: 90:[79, 76] Operation: 82-6=76
Exploring Operation: 82+6=88, Resulting Numbers: [79, 88]
Generated Node #0,4,1: 90:[79, 88] Operation: 82+6=88
Exploring Operation: 79-6=73, Resulting Numbers: [82, 73]
Generated Node #0,4,2: 90:[82, 73] Operation: 79-6=73
Exploring Operation: 79+6=85, Resulting Numbers: [82, 85]
Generated Node #0,4,3: 90:[82, 85] Operation: 79+6=85
Exploring Operation: 82-79=3, Resulting Numbers: [6, 3]
Generated Node #0,4,4: 90:[6, 3] Operation: 82-79=3
Moving to Node #0,4,4
Current State: 90:[6, 3], Operations: ['54-48=6', '82-79=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[25, 34], Operations: ['79-54=25', '82-48=34']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 25*34=850, Resulting Numbers: [850]
850,90 unequal: No Solution
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Moving to Node #0,4,1
Current State: 90:[79, 88], Operations: ['54-48=6', '82+6=88']
Exploring Operation: 79+88=167, Resulting Numbers: [167]
167,90 unequal: No Solution
Exploring Operation: 88-79=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 79*88=6952, Resulting Numbers: [6952]
6952,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[82, 23], Operations: ['79-54=25', '48-25=23']
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,90 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[82, 85], Operations: ['54-48=6', '79+6=85']
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 82+85=167, Resulting Numbers: [167]
167,90 unequal: No Solution
Exploring Operation: 82*85=6970, Resulting Numbers: [6970]
6970,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[48, 57], Operations: ['79-54=25', '82-25=57']
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,90 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Moving to Node #0,3,4
Current State: 90:[48, 107], Operations: ['79-54=25', '82+25=107']
Exploring Operation: 48*107=5136, Resulting Numbers: [5136]
5136,90 unequal: No Solution
Exploring Operation: 107-48=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 48+107=155, Resulting Numbers: [155]
155,90 unequal: No Solution
Moving to Node #0,4,0
Current State: 90:[79, 76], Operations: ['54-48=6', '82-6=76']
Exploring Operation: 79*76=6004, Resulting Numbers: [6004]
6004,90 unequal: No Solution
Exploring Operation: 79-76=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 79+76=155, Resulting Numbers: [155]
155,90 unequal: No Solution
Moving to Node #0,4,2
Current State: 90:[82, 73], Operations: ['54-48=6', '79-6=73']
Exploring Operation: 82*73=5986, Resulting Numbers: [5986]
5986,90 unequal: No Solution
Exploring Operation: 82+73=155, Resulting Numbers: [155]
155,90 unequal: No Solution
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[82, 73], Operations: ['79-54=25', '48+25=73']
Exploring Operation: 82*73=5986, Resulting Numbers: [5986]
5986,90 unequal: No Solution
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 82+73=155, Resulting Numbers: [155]
155,90 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
95,
97,
95,
17
] | 76 | [
"97-95=2",
"95-17=78",
"78-2=76"
] | Current State: 76:[95, 97, 95, 17], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [17, 2]
Generated Node #2: [17, 2] from Operation: 97-95=2
Current State: 76:[17, 2], Operations: ['97-95=2']
Exploring Operation: 95-17=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 95-17=78
Current State: 76:[2, 78], Operations: ['97-95=2', '95-17=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[95, 97, 95, 17], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [95, 17, 2]
Generated Node #0,0: 76:[95, 17, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 76:[95, 17, 2], Operations: ['97-95=2']
Exploring Operation: 95-17=78, Resulting Numbers: [2, 78]
Generated Node #0,0,0: 76:[2, 78] Operation: 95-17=78
Moving to Node #0,0,0
Current State: 76:[2, 78], Operations: ['97-95=2', '95-17=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[95, 97, 95, 17], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [95, 17, 2]
Generated Node #0,0: 76:[95, 17, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 76:[95, 17, 2], Operations: ['97-95=2']
Exploring Operation: 95-17=78, Resulting Numbers: [2, 78]
Generated Node #0,0,0: 76:[2, 78] Operation: 95-17=78
Moving to Node #0,0,0
Current State: 76:[2, 78], Operations: ['97-95=2', '95-17=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
12,
34,
62,
15
] | 99 | [
"34-12=22",
"62+15=77",
"22+77=99"
] | Current State: 99:[12, 34, 62, 15], Operations: []
Exploring Operation: 34-12=22, Resulting Numbers: [62, 15, 22]
Generated Node #2: [62, 15, 22] from Operation: 34-12=22
Current State: 99:[62, 15, 22], Operations: ['34-12=22']
Exploring Operation: 62+15=77, Resulting Numbers: [22, 77]
Generated Node #3: [22, 77] from Operation: 62+15=77
Current State: 99:[22, 77], Operations: ['34-12=22', '62+15=77']
Exploring Operation: 22+77=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[12, 34, 62, 15], Operations: []
Exploring Operation: 62-15=47, Resulting Numbers: [12, 34, 47]
Generated Node #0,0: 99:[12, 34, 47] Operation: 62-15=47
Exploring Operation: 62-12=50, Resulting Numbers: [34, 15, 50]
Generated Node #0,1: 99:[34, 15, 50] Operation: 62-12=50
Exploring Operation: 34+62=96, Resulting Numbers: [12, 15, 96]
Generated Node #0,2: 99:[12, 15, 96] Operation: 34+62=96
Exploring Operation: 62-34=28, Resulting Numbers: [12, 15, 28]
Generated Node #0,3: 99:[12, 15, 28] Operation: 62-34=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[12, 15, 96], Operations: ['34+62=96']
Exploring Operation: 96/12=8, Resulting Numbers: [15, 8]
Generated Node #0,2,0: 99:[15, 8] Operation: 96/12=8
Exploring Operation: 15-12=3, Resulting Numbers: [96, 3]
Generated Node #0,2,1: 99:[96, 3] Operation: 15-12=3
Exploring Operation: 12+15=27, Resulting Numbers: [96, 27]
Generated Node #0,2,2: 99:[96, 27] Operation: 12+15=27
Exploring Operation: 12+96=108, Resulting Numbers: [15, 108]
Generated Node #0,2,3: 99:[15, 108] Operation: 12+96=108
Moving to Node #0,2,1
Current State: 99:[96, 3], Operations: ['34+62=96', '15-12=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[12, 34, 62, 15], Operations: []
Exploring Operation: 34+62=96, Resulting Numbers: [12, 15, 96]
Generated Node #0,2: 99:[12, 15, 96] Operation: 34+62=96
Moving to Node #0,2
Current State: 99:[12, 15, 96], Operations: ['34+62=96']
Exploring Operation: 15-12=3, Resulting Numbers: [96, 3]
Generated Node #0,2,1: 99:[96, 3] Operation: 15-12=3
Moving to Node #0,2,1
Current State: 99:[96, 3], Operations: ['34+62=96', '15-12=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
28,
93,
20,
47
] | 35 | [
"93+47=140",
"140/20=7",
"28+7=35"
] | Current State: 35:[28, 93, 20, 47], Operations: []
Exploring Operation: 93+47=140, Resulting Numbers: [28, 20, 140]
Generated Node #2: [28, 20, 140] from Operation: 93+47=140
Current State: 35:[28, 20, 140], Operations: ['93+47=140']
Exploring Operation: 140/20=7, Resulting Numbers: [28, 7]
Generated Node #3: [28, 7] from Operation: 140/20=7
Current State: 35:[28, 7], Operations: ['93+47=140', '140/20=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[28, 93, 20, 47], Operations: []
Exploring Operation: 93-47=46, Resulting Numbers: [28, 20, 46]
Generated Node #0,0: 35:[28, 20, 46] Operation: 93-47=46
Exploring Operation: 93-28=65, Resulting Numbers: [20, 47, 65]
Generated Node #0,1: 35:[20, 47, 65] Operation: 93-28=65
Exploring Operation: 93-20=73, Resulting Numbers: [28, 47, 73]
Generated Node #0,2: 35:[28, 47, 73] Operation: 93-20=73
Moving to Node #0,0
Current State: 35:[28, 20, 46], Operations: ['93-47=46']
Exploring Operation: 28-20=8, Resulting Numbers: [46, 8]
Generated Node #0,0,0: 35:[46, 8] Operation: 28-20=8
Exploring Operation: 28+20=48, Resulting Numbers: [46, 48]
Generated Node #0,0,1: 35:[46, 48] Operation: 28+20=48
Exploring Operation: 46-20=26, Resulting Numbers: [28, 26]
Generated Node #0,0,2: 35:[28, 26] Operation: 46-20=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[46, 8], Operations: ['93-47=46', '28-20=8']
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,35 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[28, 26], Operations: ['93-47=46', '46-20=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,35 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[46, 48], Operations: ['93-47=46', '28+20=48']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 35:[20, 47, 65], Operations: ['93-28=65']
Exploring Operation: 47-20=27, Resulting Numbers: [65, 27]
Generated Node #0,1,0: 35:[65, 27] Operation: 47-20=27
Exploring Operation: 65-47=18, Resulting Numbers: [20, 18]
Generated Node #0,1,1: 35:[20, 18] Operation: 65-47=18
Exploring Operation: 65-20=45, Resulting Numbers: [47, 45]
Generated Node #0,1,2: 35:[47, 45] Operation: 65-20=45
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[47, 45], Operations: ['93-28=65', '65-20=45']
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,35 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[20, 18], Operations: ['93-28=65', '65-47=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[65, 27], Operations: ['93-28=65', '47-20=27']
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,35 unequal: No Solution
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,35 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: 35:[28, 47, 73], Operations: ['93-20=73']
Exploring Operation: 73-47=26, Resulting Numbers: [28, 26]
Generated Node #0,2,0: 35:[28, 26] Operation: 73-47=26
Exploring Operation: 73-28=45, Resulting Numbers: [47, 45]
Generated Node #0,2,1: 35:[47, 45] Operation: 73-28=45
Exploring Operation: 47-28=19, Resulting Numbers: [73, 19]
Generated Node #0,2,2: 35:[73, 19] Operation: 47-28=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[28, 26], Operations: ['93-20=73', '73-47=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,35 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[47, 45], Operations: ['93-20=73', '73-28=45']
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,35 unequal: No Solution
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[73, 19], Operations: ['93-20=73', '47-28=19']
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,35 unequal: No Solution
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,35 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
18,
18,
59,
41
] | 19 | [
"18/18=1",
"59-41=18",
"1+18=19"
] | Current State: 19:[18, 18, 59, 41], Operations: []
Exploring Operation: 18/18=1, Resulting Numbers: [59, 41, 1]
Generated Node #2: [59, 41, 1] from Operation: 18/18=1
Current State: 19:[59, 41, 1], Operations: ['18/18=1']
Exploring Operation: 59-41=18, Resulting Numbers: [1, 18]
Generated Node #3: [1, 18] from Operation: 59-41=18
Current State: 19:[1, 18], Operations: ['18/18=1', '59-41=18']
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[18, 18, 59, 41], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [18, 18, 18]
Generated Node #0,0: 19:[18, 18, 18] Operation: 59-41=18
Moving to Node #0,0
Current State: 19:[18, 18, 18], Operations: ['59-41=18']
Exploring Operation: 18+18=36, Resulting Numbers: [18, 36]
Generated Node #0,0,0: 19:[18, 36] Operation: 18+18=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[18, 36], Operations: ['59-41=18', '18+18=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
84,
42,
59,
2
] | 34 | [
"84-42=42",
"59-42=17",
"2*17=34"
] | Current State: 34:[84, 42, 59, 2], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [59, 2, 42]
Generated Node #2: [59, 2, 42] from Operation: 84-42=42
Current State: 34:[59, 2, 42], Operations: ['84-42=42']
Exploring Operation: 59-42=17, Resulting Numbers: [2, 17]
Generated Node #3: [2, 17] from Operation: 59-42=17
Current State: 34:[2, 17], Operations: ['84-42=42', '59-42=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[84, 42, 59, 2], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [59, 2, 2]
Generated Node #0,0: 34:[59, 2, 2] Operation: 84/42=2
Exploring Operation: 84-59=25, Resulting Numbers: [42, 2, 25]
Generated Node #0,1: 34:[42, 2, 25] Operation: 84-59=25
Exploring Operation: 84-42=42, Resulting Numbers: [59, 2, 42]
Generated Node #0,2: 34:[59, 2, 42] Operation: 84-42=42
Moving to Node #0,1
Current State: 34:[42, 2, 25], Operations: ['84-59=25']
Exploring Operation: 42-2=40, Resulting Numbers: [25, 40]
Generated Node #0,1,0: 34:[25, 40] Operation: 42-2=40
Exploring Operation: 42-25=17, Resulting Numbers: [2, 17]
Generated Node #0,1,1: 34:[2, 17] Operation: 42-25=17
Exploring Operation: 42/2=21, Resulting Numbers: [25, 21]
Generated Node #0,1,2: 34:[25, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[2, 17], Operations: ['84-59=25', '42-25=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[84, 42, 59, 2], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [42, 2, 25]
Generated Node #0,1: 34:[42, 2, 25] Operation: 84-59=25
Moving to Node #0,1
Current State: 34:[42, 2, 25], Operations: ['84-59=25']
Exploring Operation: 42-25=17, Resulting Numbers: [2, 17]
Generated Node #0,1,1: 34:[2, 17] Operation: 42-25=17
Moving to Node #0,1,1
Current State: 34:[2, 17], Operations: ['84-59=25', '42-25=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
58,
88,
6,
4
] | 86 | [
"58+6=64",
"88/4=22",
"64+22=86"
] | Current State: 86:[58, 88, 6, 4], Operations: []
Exploring Operation: 58+6=64, Resulting Numbers: [88, 4, 64]
Generated Node #2: [88, 4, 64] from Operation: 58+6=64
Current State: 86:[88, 4, 64], Operations: ['58+6=64']
Exploring Operation: 88/4=22, Resulting Numbers: [64, 22]
Generated Node #3: [64, 22] from Operation: 88/4=22
Current State: 86:[64, 22], Operations: ['58+6=64', '88/4=22']
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[58, 88, 6, 4], Operations: []
Exploring Operation: 58-4=54, Resulting Numbers: [88, 6, 54]
Generated Node #0,0: 86:[88, 6, 54] Operation: 58-4=54
Exploring Operation: 58-6=52, Resulting Numbers: [88, 4, 52]
Generated Node #0,1: 86:[88, 4, 52] Operation: 58-6=52
Moving to Node #0,1
Current State: 86:[88, 4, 52], Operations: ['58-6=52']
Exploring Operation: 88-52=36, Resulting Numbers: [4, 36]
Generated Node #0,1,0: 86:[4, 36] Operation: 88-52=36
Exploring Operation: 52-4=48, Resulting Numbers: [88, 48]
Generated Node #0,1,1: 86:[88, 48] Operation: 52-4=48
Moving to Node #0,0
Current State: 86:[88, 6, 54], Operations: ['58-4=54']
Exploring Operation: 54-6=48, Resulting Numbers: [88, 48]
Generated Node #0,0,0: 86:[88, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [88, 9]
Generated Node #0,0,1: 86:[88, 9] Operation: 54/6=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[88, 48], Operations: ['58-4=54', '54-6=48']
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 88+48=136, Resulting Numbers: [136]
136,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[88, 9], Operations: ['58-4=54', '54/6=9']
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,86 unequal: No Solution
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 86:[88, 48], Operations: ['58-6=52', '52-4=48']
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 88+48=136, Resulting Numbers: [136]
136,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[4, 36], Operations: ['58-6=52', '88-52=36']
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,86 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
59,
2,
76,
58
] | 95 | [
"76-58=18",
"2*18=36",
"59+36=95"
] | Current State: 95:[59, 2, 76, 58], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [59, 2, 18]
Generated Node #2: [59, 2, 18] from Operation: 76-58=18
Current State: 95:[59, 2, 18], Operations: ['76-58=18']
Exploring Operation: 2*18=36, Resulting Numbers: [59, 36]
Generated Node #3: [59, 36] from Operation: 2*18=36
Current State: 95:[59, 36], Operations: ['76-58=18', '2*18=36']
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[59, 2, 76, 58], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [59, 2, 18]
Generated Node #0,0: 95:[59, 2, 18] Operation: 76-58=18
Exploring Operation: 76-59=17, Resulting Numbers: [2, 58, 17]
Generated Node #0,1: 95:[2, 58, 17] Operation: 76-59=17
Exploring Operation: 59+58=117, Resulting Numbers: [2, 76, 117]
Generated Node #0,2: 95:[2, 76, 117] Operation: 59+58=117
Exploring Operation: 59-58=1, Resulting Numbers: [2, 76, 1]
Generated Node #0,3: 95:[2, 76, 1] Operation: 59-58=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[2, 76, 1], Operations: ['59-58=1']
Exploring Operation: 2*1=2, Resulting Numbers: [76, 2]
Generated Node #0,3,0: 95:[76, 2] Operation: 2*1=2
Exploring Operation: 2+1=3, Resulting Numbers: [76, 3]
Generated Node #0,3,1: 95:[76, 3] Operation: 2+1=3
Exploring Operation: 2+76=78, Resulting Numbers: [1, 78]
Generated Node #0,3,2: 95:[1, 78] Operation: 2+76=78
Exploring Operation: 76+1=77, Resulting Numbers: [2, 77]
Generated Node #0,3,3: 95:[2, 77] Operation: 76+1=77
Moving to Node #0,3,1
Current State: 95:[76, 3], Operations: ['59-58=1', '2+1=3']
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,95 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[2, 77], Operations: ['59-58=1', '76+1=77']
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,95 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[1, 78], Operations: ['59-58=1', '2+76=78']
Exploring Operation: 1*78=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 1+78=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[76, 2], Operations: ['59-58=1', '2*1=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,95 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[59, 2, 18], Operations: ['76-58=18']
Exploring Operation: 59+2=61, Resulting Numbers: [18, 61]
Generated Node #0,0,0: 95:[18, 61] Operation: 59+2=61
Exploring Operation: 59*2=118, Resulting Numbers: [18, 118]
Generated Node #0,0,1: 95:[18, 118] Operation: 59*2=118
Exploring Operation: 59+18=77, Resulting Numbers: [2, 77]
Generated Node #0,0,2: 95:[2, 77] Operation: 59+18=77
Exploring Operation: 59-18=41, Resulting Numbers: [2, 41]
Generated Node #0,0,3: 95:[2, 41] Operation: 59-18=41
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[2, 77], Operations: ['76-58=18', '59+18=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,95 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,95 unequal: No Solution
No 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: 95:[18, 118], Operations: ['76-58=18', '59*2=118']
Exploring Operation: 118-18=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Exploring Operation: 18*118=2124, Resulting Numbers: [2124]
2124,95 unequal: No Solution
Exploring Operation: 18+118=136, Resulting Numbers: [136]
136,95 unequal: No Solution
No 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: 95:[2, 41], Operations: ['76-58=18', '59-18=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,95 unequal: No Solution
No 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: 95:[18, 61], Operations: ['76-58=18', '59+2=61']
Exploring Operation: 18*61=1098, Resulting Numbers: [1098]
1098,95 unequal: No Solution
Exploring Operation: 18+61=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[2, 58, 17], Operations: ['76-59=17']
Exploring Operation: 58+17=75, Resulting Numbers: [2, 75]
Generated Node #0,1,0: 95:[2, 75] Operation: 58+17=75
Exploring Operation: 58-17=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 95:[2, 41] Operation: 58-17=41
Exploring Operation: 2*58=116, Resulting Numbers: [17, 116]
Generated Node #0,1,2: 95:[17, 116] Operation: 2*58=116
Exploring Operation: 58/2=29, Resulting Numbers: [17, 29]
Generated Node #0,1,3: 95:[17, 29] Operation: 58/2=29
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 95:[17, 29], Operations: ['76-59=17', '58/2=29']
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,95 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,95 unequal: No Solution
No 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: 95:[2, 75], Operations: ['76-59=17', '58+17=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,95 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,95 unequal: No Solution
No 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: 95:[17, 116], Operations: ['76-59=17', '2*58=116']
Exploring Operation: 17+116=133, Resulting Numbers: [133]
133,95 unequal: No Solution
Exploring Operation: 17*116=1972, Resulting Numbers: [1972]
1972,95 unequal: No Solution
Exploring Operation: 116-17=99, Resulting Numbers: [99]
99,95 unequal: No Solution
No 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: 95:[2, 41], Operations: ['76-59=17', '58-17=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[2, 76, 117], Operations: ['59+58=117']
Exploring Operation: 117-2=115, Resulting Numbers: [76, 115]
Generated Node #0,2,0: 95:[76, 115] Operation: 117-2=115
Exploring Operation: 117-76=41, Resulting Numbers: [2, 41]
Generated Node #0,2,1: 95:[2, 41] Operation: 117-76=41
Exploring Operation: 2+76=78, Resulting Numbers: [117, 78]
Generated Node #0,2,2: 95:[117, 78] Operation: 2+76=78
Exploring Operation: 76/2=38, Resulting Numbers: [117, 38]
Generated Node #0,2,3: 95:[117, 38] Operation: 76/2=38
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[2, 41], Operations: ['59+58=117', '117-76=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,95 unequal: No Solution
No 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: 95:[76, 115], Operations: ['59+58=117', '117-2=115']
Exploring Operation: 76*115=8740, Resulting Numbers: [8740]
8740,95 unequal: No Solution
Exploring Operation: 115-76=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 76+115=191, Resulting Numbers: [191]
191,95 unequal: No Solution
No 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: 95:[117, 78], Operations: ['59+58=117', '2+76=78']
Exploring Operation: 117*78=9126, Resulting Numbers: [9126]
9126,95 unequal: No Solution
Exploring Operation: 117+78=195, Resulting Numbers: [195]
195,95 unequal: No Solution
Exploring Operation: 117-78=39, Resulting Numbers: [39]
39,95 unequal: No Solution
No 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: 95:[117, 38], Operations: ['59+58=117', '76/2=38']
Exploring Operation: 117-38=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 117+38=155, Resulting Numbers: [155]
155,95 unequal: No Solution
Exploring Operation: 117*38=4446, Resulting Numbers: [4446]
4446,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_4 | sum_heuristic |
[
47,
35,
14,
10
] | 86 | [
"47+35=82",
"14-10=4",
"82+4=86"
] | Current State: 86:[47, 35, 14, 10], Operations: []
Exploring Operation: 47+35=82, Resulting Numbers: [14, 10, 82]
Generated Node #2: [14, 10, 82] from Operation: 47+35=82
Current State: 86:[14, 10, 82], Operations: ['47+35=82']
Exploring Operation: 14-10=4, Resulting Numbers: [82, 4]
Generated Node #3: [82, 4] from Operation: 14-10=4
Current State: 86:[82, 4], Operations: ['47+35=82', '14-10=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[47, 35, 14, 10], Operations: []
Exploring Operation: 35+14=49, Resulting Numbers: [47, 10, 49]
Generated Node #0,0: 86:[47, 10, 49] Operation: 35+14=49
Exploring Operation: 35+10=45, Resulting Numbers: [47, 14, 45]
Generated Node #0,1: 86:[47, 14, 45] Operation: 35+10=45
Exploring Operation: 14-10=4, Resulting Numbers: [47, 35, 4]
Generated Node #0,2: 86:[47, 35, 4] Operation: 14-10=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[47, 35, 4], Operations: ['14-10=4']
Exploring Operation: 35+4=39, Resulting Numbers: [47, 39]
Generated Node #0,2,0: 86:[47, 39] Operation: 35+4=39
Exploring Operation: 47+35=82, Resulting Numbers: [4, 82]
Generated Node #0,2,1: 86:[4, 82] Operation: 47+35=82
Exploring Operation: 47-4=43, Resulting Numbers: [35, 43]
Generated Node #0,2,2: 86:[35, 43] Operation: 47-4=43
Moving to Node #0,2,1
Current State: 86:[4, 82], Operations: ['14-10=4', '47+35=82']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,86 unequal: No Solution
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,86 unequal: No Solution
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[47, 35, 14, 10], Operations: []
Exploring Operation: 14-10=4, Resulting Numbers: [47, 35, 4]
Generated Node #0,2: 86:[47, 35, 4] Operation: 14-10=4
Moving to Node #0,2
Current State: 86:[47, 35, 4], Operations: ['14-10=4']
Exploring Operation: 47+35=82, Resulting Numbers: [4, 82]
Generated Node #0,2,1: 86:[4, 82] Operation: 47+35=82
Moving to Node #0,2,1
Current State: 86:[4, 82], Operations: ['14-10=4', '47+35=82']
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
8,
87,
96,
2
] | 13 | [
"8/2=4",
"96-87=9",
"4+9=13"
] | Current State: 13:[8, 87, 96, 2], Operations: []
Exploring Operation: 8/2=4, Resulting Numbers: [87, 96, 4]
Generated Node #2: [87, 96, 4] from Operation: 8/2=4
Current State: 13:[87, 96, 4], Operations: ['8/2=4']
Exploring Operation: 96-87=9, Resulting Numbers: [4, 9]
Generated Node #3: [4, 9] from Operation: 96-87=9
Current State: 13:[4, 9], Operations: ['8/2=4', '96-87=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[8, 87, 96, 2], Operations: []
Exploring Operation: 87-8=79, Resulting Numbers: [96, 2, 79]
Generated Node #0,0: 13:[96, 2, 79] Operation: 87-8=79
Exploring Operation: 96/8=12, Resulting Numbers: [87, 2, 12]
Generated Node #0,1: 13:[87, 2, 12] Operation: 96/8=12
Exploring Operation: 96-87=9, Resulting Numbers: [8, 2, 9]
Generated Node #0,2: 13:[8, 2, 9] Operation: 96-87=9
Exploring Operation: 96/2=48, Resulting Numbers: [8, 87, 48]
Generated Node #0,3: 13:[8, 87, 48] Operation: 96/2=48
Exploring Operation: 96-8=88, Resulting Numbers: [87, 2, 88]
Generated Node #0,4: 13:[87, 2, 88] Operation: 96-8=88
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[8, 2, 9], Operations: ['96-87=9']
Exploring Operation: 8*2=16, Resulting Numbers: [9, 16]
Generated Node #0,2,0: 13:[9, 16] Operation: 8*2=16
Exploring Operation: 8+2=10, Resulting Numbers: [9, 10]
Generated Node #0,2,1: 13:[9, 10] Operation: 8+2=10
Exploring Operation: 2*9=18, Resulting Numbers: [8, 18]
Generated Node #0,2,2: 13:[8, 18] Operation: 2*9=18
Exploring Operation: 2+9=11, Resulting Numbers: [8, 11]
Generated Node #0,2,3: 13:[8, 11] Operation: 2+9=11
Exploring Operation: 8-2=6, Resulting Numbers: [9, 6]
Generated Node #0,2,4: 13:[9, 6] Operation: 8-2=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[9, 16], Operations: ['96-87=9', '8*2=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[9, 10], Operations: ['96-87=9', '8+2=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 13:[8, 11], Operations: ['96-87=9', '2+9=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,13 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[8, 18], Operations: ['96-87=9', '2*9=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,13 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 13:[9, 6], Operations: ['96-87=9', '8-2=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,13 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: 13:[87, 2, 12], Operations: ['96/8=12']
Exploring Operation: 87-12=75, Resulting Numbers: [2, 75]
Generated Node #0,1,0: 13:[2, 75] Operation: 87-12=75
Exploring Operation: 87+2=89, Resulting Numbers: [12, 89]
Generated Node #0,1,1: 13:[12, 89] Operation: 87+2=89
Exploring Operation: 12-2=10, Resulting Numbers: [87, 10]
Generated Node #0,1,2: 13:[87, 10] Operation: 12-2=10
Exploring Operation: 87-2=85, Resulting Numbers: [12, 85]
Generated Node #0,1,3: 13:[12, 85] Operation: 87-2=85
Exploring Operation: 2+12=14, Resulting Numbers: [87, 14]
Generated Node #0,1,4: 13:[87, 14] Operation: 2+12=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[2, 75], Operations: ['96/8=12', '87-12=75']
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[12, 85], Operations: ['96/8=12', '87-2=85']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 12*85=1020, Resulting Numbers: [1020]
1020,13 unequal: No Solution
Exploring Operation: 12+85=97, Resulting Numbers: [97]
97,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 13:[87, 14], Operations: ['96/8=12', '2+12=14']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,13 unequal: No Solution
Exploring Operation: 87*14=1218, Resulting Numbers: [1218]
1218,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[12, 89], Operations: ['96/8=12', '87+2=89']
Exploring Operation: 12*89=1068, Resulting Numbers: [1068]
1068,13 unequal: No Solution
Exploring Operation: 12+89=101, Resulting Numbers: [101]
101,13 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[87, 10], Operations: ['96/8=12', '12-2=10']
Exploring Operation: 87*10=870, Resulting Numbers: [870]
870,13 unequal: No Solution
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,13 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,13 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: 13:[8, 87, 48], Operations: ['96/2=48']
Exploring Operation: 48-8=40, Resulting Numbers: [87, 40]
Generated Node #0,3,0: 13:[87, 40] Operation: 48-8=40
Exploring Operation: 8+87=95, Resulting Numbers: [48, 95]
Generated Node #0,3,1: 13:[48, 95] Operation: 8+87=95
Exploring Operation: 87-8=79, Resulting Numbers: [48, 79]
Generated Node #0,3,2: 13:[48, 79] Operation: 87-8=79
Exploring Operation: 87-48=39, Resulting Numbers: [8, 39]
Generated Node #0,3,3: 13:[8, 39] Operation: 87-48=39
Exploring Operation: 48/8=6, Resulting Numbers: [87, 6]
Generated Node #0,3,4: 13:[87, 6] Operation: 48/8=6
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 13:[8, 39], Operations: ['96/2=48', '87-48=39']
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,13 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 13:[87, 6], Operations: ['96/2=48', '48/8=6']
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,13 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[87, 40], Operations: ['96/2=48', '48-8=40']
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,13 unequal: No Solution
Exploring Operation: 87*40=3480, Resulting Numbers: [3480]
3480,13 unequal: No Solution
Exploring Operation: 87+40=127, Resulting Numbers: [127]
127,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 13:[48, 79], Operations: ['96/2=48', '87-8=79']
Exploring Operation: 48+79=127, Resulting Numbers: [127]
127,13 unequal: No Solution
Exploring Operation: 48*79=3792, Resulting Numbers: [3792]
3792,13 unequal: No Solution
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[48, 95], Operations: ['96/2=48', '8+87=95']
Exploring Operation: 48*95=4560, Resulting Numbers: [4560]
4560,13 unequal: No Solution
Exploring Operation: 48+95=143, Resulting Numbers: [143]
143,13 unequal: No Solution
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,13 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: 13:[96, 2, 79], Operations: ['87-8=79']
Exploring Operation: 79-2=77, Resulting Numbers: [96, 77]
Generated Node #0,0,0: 13:[96, 77] Operation: 79-2=77
Exploring Operation: 96-79=17, Resulting Numbers: [2, 17]
Generated Node #0,0,1: 13:[2, 17] Operation: 96-79=17
Exploring Operation: 96+2=98, Resulting Numbers: [79, 98]
Generated Node #0,0,2: 13:[79, 98] Operation: 96+2=98
Exploring Operation: 96/2=48, Resulting Numbers: [79, 48]
Generated Node #0,0,3: 13:[79, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [79, 94]
Generated Node #0,0,4: 13:[79, 94] Operation: 96-2=94
Moving to Node #0,0,1
Current State: 13:[2, 17], Operations: ['87-8=79', '96-79=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[79, 48], Operations: ['87-8=79', '96/2=48']
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 79*48=3792, Resulting Numbers: [3792]
3792,13 unequal: No Solution
Exploring Operation: 79+48=127, Resulting Numbers: [127]
127,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[96, 77], Operations: ['87-8=79', '79-2=77']
Exploring Operation: 96*77=7392, Resulting Numbers: [7392]
7392,13 unequal: No Solution
Exploring Operation: 96-77=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 96+77=173, Resulting Numbers: [173]
173,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[79, 94], Operations: ['87-8=79', '96-2=94']
Exploring Operation: 94-79=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 79+94=173, Resulting Numbers: [173]
173,13 unequal: No Solution
Exploring Operation: 79*94=7426, Resulting Numbers: [7426]
7426,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[79, 98], Operations: ['87-8=79', '96+2=98']
Exploring Operation: 79*98=7742, Resulting Numbers: [7742]
7742,13 unequal: No Solution
Exploring Operation: 79+98=177, Resulting Numbers: [177]
177,13 unequal: No Solution
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 13:[87, 2, 88], Operations: ['96-8=88']
Exploring Operation: 88-2=86, Resulting Numbers: [87, 86]
Generated Node #0,4,0: 13:[87, 86] Operation: 88-2=86
Exploring Operation: 88/2=44, Resulting Numbers: [87, 44]
Generated Node #0,4,1: 13:[87, 44] Operation: 88/2=44
Exploring Operation: 87-2=85, Resulting Numbers: [88, 85]
Generated Node #0,4,2: 13:[88, 85] Operation: 87-2=85
Exploring Operation: 88-87=1, Resulting Numbers: [2, 1]
Generated Node #0,4,3: 13:[2, 1] Operation: 88-87=1
Exploring Operation: 87+2=89, Resulting Numbers: [88, 89]
Generated Node #0,4,4: 13:[88, 89] Operation: 87+2=89
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 13:[2, 1], Operations: ['96-8=88', '88-87=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 13:[87, 44], Operations: ['96-8=88', '88/2=44']
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Exploring Operation: 87+44=131, Resulting Numbers: [131]
131,13 unequal: No Solution
Exploring Operation: 87*44=3828, Resulting Numbers: [3828]
3828,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 13:[87, 86], Operations: ['96-8=88', '88-2=86']
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 87+86=173, Resulting Numbers: [173]
173,13 unequal: No Solution
Exploring Operation: 87*86=7482, Resulting Numbers: [7482]
7482,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 13:[88, 85], Operations: ['96-8=88', '87-2=85']
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 88*85=7480, Resulting Numbers: [7480]
7480,13 unequal: No Solution
Exploring Operation: 88+85=173, Resulting Numbers: [173]
173,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 13:[88, 89], Operations: ['96-8=88', '87+2=89']
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,13 unequal: No Solution
Exploring Operation: 88*89=7832, Resulting Numbers: [7832]
7832,13 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,13 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 |
[
91,
13,
7,
32
] | 53 | [
"91-13=78",
"32-7=25",
"78-25=53"
] | Current State: 53:[91, 13, 7, 32], Operations: []
Exploring Operation: 91-13=78, Resulting Numbers: [7, 32, 78]
Generated Node #2: [7, 32, 78] from Operation: 91-13=78
Current State: 53:[7, 32, 78], Operations: ['91-13=78']
Exploring Operation: 32-7=25, Resulting Numbers: [78, 25]
Generated Node #3: [78, 25] from Operation: 32-7=25
Current State: 53:[78, 25], Operations: ['91-13=78', '32-7=25']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[91, 13, 7, 32], Operations: []
Exploring Operation: 91-7=84, Resulting Numbers: [13, 32, 84]
Generated Node #0,0: 53:[13, 32, 84] Operation: 91-7=84
Exploring Operation: 91-13=78, Resulting Numbers: [7, 32, 78]
Generated Node #0,1: 53:[7, 32, 78] Operation: 91-13=78
Exploring Operation: 91-32=59, Resulting Numbers: [13, 7, 59]
Generated Node #0,2: 53:[13, 7, 59] Operation: 91-32=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[13, 32, 84], Operations: ['91-7=84']
Exploring Operation: 13+32=45, Resulting Numbers: [84, 45]
Generated Node #0,0,0: 53:[84, 45] Operation: 13+32=45
Exploring Operation: 84-13=71, Resulting Numbers: [32, 71]
Generated Node #0,0,1: 53:[32, 71] Operation: 84-13=71
Exploring Operation: 84-32=52, Resulting Numbers: [13, 52]
Generated Node #0,0,2: 53:[13, 52] Operation: 84-32=52
Moving to Node #0,0,0
Current State: 53:[84, 45], Operations: ['91-7=84', '13+32=45']
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[32, 71], Operations: ['91-7=84', '84-13=71']
Exploring Operation: 32*71=2272, Resulting Numbers: [2272]
2272,53 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 32+71=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[13, 52], Operations: ['91-7=84', '84-32=52']
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[7, 32, 78], Operations: ['91-13=78']
Exploring Operation: 32-7=25, Resulting Numbers: [78, 25]
Generated Node #0,1,0: 53:[78, 25] Operation: 32-7=25
Exploring Operation: 78-7=71, Resulting Numbers: [32, 71]
Generated Node #0,1,1: 53:[32, 71] Operation: 78-7=71
Exploring Operation: 7+32=39, Resulting Numbers: [78, 39]
Generated Node #0,1,2: 53:[78, 39] Operation: 7+32=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[32, 71], Operations: ['91-13=78', '78-7=71']
Exploring Operation: 32*71=2272, Resulting Numbers: [2272]
2272,53 unequal: No Solution
Exploring Operation: 32+71=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[78, 39], Operations: ['91-13=78', '7+32=39']
Exploring Operation: 78+39=117, Resulting Numbers: [117]
117,53 unequal: No Solution
Exploring Operation: 78/39=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 78-39=39, Resulting Numbers: [39]
39,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[78, 25], Operations: ['91-13=78', '32-7=25']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[91, 13, 7, 32], Operations: []
Exploring Operation: 91-13=78, Resulting Numbers: [7, 32, 78]
Generated Node #0,1: 53:[7, 32, 78] Operation: 91-13=78
Moving to Node #0,1
Current State: 53:[7, 32, 78], Operations: ['91-13=78']
Exploring Operation: 32-7=25, Resulting Numbers: [78, 25]
Generated Node #0,1,0: 53:[78, 25] Operation: 32-7=25
Moving to Node #0,1,0
Current State: 53:[78, 25], Operations: ['91-13=78', '32-7=25']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
8,
2,
46,
64
] | 14 | [
"8/2=4",
"64-46=18",
"18-4=14"
] | Current State: 14:[8, 2, 46, 64], Operations: []
Exploring Operation: 8/2=4, Resulting Numbers: [46, 64, 4]
Generated Node #2: [46, 64, 4] from Operation: 8/2=4
Current State: 14:[46, 64, 4], Operations: ['8/2=4']
Exploring Operation: 64-46=18, Resulting Numbers: [4, 18]
Generated Node #3: [4, 18] from Operation: 64-46=18
Current State: 14:[4, 18], Operations: ['8/2=4', '64-46=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[8, 2, 46, 64], Operations: []
Exploring Operation: 64/2=32, Resulting Numbers: [8, 46, 32]
Generated Node #0,0: 14:[8, 46, 32] Operation: 64/2=32
Exploring Operation: 64/8=8, Resulting Numbers: [2, 46, 8]
Generated Node #0,1: 14:[2, 46, 8] Operation: 64/8=8
Exploring Operation: 64-46=18, Resulting Numbers: [8, 2, 18]
Generated Node #0,2: 14:[8, 2, 18] Operation: 64-46=18
Moving to Node #0,2
Current State: 14:[8, 2, 18], Operations: ['64-46=18']
Exploring Operation: 18-8=10, Resulting Numbers: [2, 10]
Generated Node #0,2,0: 14:[2, 10] Operation: 18-8=10
Exploring Operation: 18/2=9, Resulting Numbers: [8, 9]
Generated Node #0,2,1: 14:[8, 9] Operation: 18/2=9
Exploring Operation: 18-2=16, Resulting Numbers: [8, 16]
Generated Node #0,2,2: 14:[8, 16] Operation: 18-2=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[2, 10], Operations: ['64-46=18', '18-8=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,14 unequal: No Solution
No 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: 14:[8, 9], Operations: ['64-46=18', '18/2=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,14 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,14 unequal: No Solution
No 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: 14:[8, 16], Operations: ['64-46=18', '18-2=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,14 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: 14:[2, 46, 8], Operations: ['64/8=8']
Exploring Operation: 46/2=23, Resulting Numbers: [8, 23]
Generated Node #0,1,0: 14:[8, 23] Operation: 46/2=23
Exploring Operation: 46-2=44, Resulting Numbers: [8, 44]
Generated Node #0,1,1: 14:[8, 44] Operation: 46-2=44
Exploring Operation: 46-8=38, Resulting Numbers: [2, 38]
Generated Node #0,1,2: 14:[2, 38] Operation: 46-8=38
Moving to Node #0,0
Current State: 14:[8, 46, 32], Operations: ['64/2=32']
Exploring Operation: 46-8=38, Resulting Numbers: [32, 38]
Generated Node #0,0,0: 14:[32, 38] Operation: 46-8=38
Exploring Operation: 46-32=14, Resulting Numbers: [8, 14]
Generated Node #0,0,1: 14:[8, 14] Operation: 46-32=14
Exploring Operation: 32/8=4, Resulting Numbers: [46, 4]
Generated Node #0,0,2: 14:[46, 4] Operation: 32/8=4
Moving to Node #0,0,1
Current State: 14:[8, 14], Operations: ['64/2=32', '46-32=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[8, 23], Operations: ['64/8=8', '46/2=23']
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,14 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[2, 38], Operations: ['64/8=8', '46-8=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[8, 44], Operations: ['64/8=8', '46-2=44']
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,14 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[46, 4], Operations: ['64/2=32', '32/8=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[32, 38], Operations: ['64/2=32', '46-8=38']
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,14 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,14 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
22,
9,
16,
10
] | 96 | [
"22-16=6",
"9*10=90",
"6+90=96"
] | Current State: 96:[22, 9, 16, 10], Operations: []
Exploring Operation: 22-16=6, Resulting Numbers: [9, 10, 6]
Generated Node #2: [9, 10, 6] from Operation: 22-16=6
Current State: 96:[9, 10, 6], Operations: ['22-16=6']
Exploring Operation: 9*10=90, Resulting Numbers: [6, 90]
Generated Node #3: [6, 90] from Operation: 9*10=90
Current State: 96:[6, 90], Operations: ['22-16=6', '9*10=90']
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[22, 9, 16, 10], Operations: []
Exploring Operation: 22+10=32, Resulting Numbers: [9, 16, 32]
Generated Node #0,0: 96:[9, 16, 32] Operation: 22+10=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[9, 16, 32], Operations: ['22+10=32']
Exploring Operation: 9+16=25, Resulting Numbers: [32, 25]
Generated Node #0,0,0: 96:[32, 25] Operation: 9+16=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[32, 25], Operations: ['22+10=32', '9+16=25']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,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_1 | sum_heuristic |
[
44,
39,
11,
56
] | 53 | [
"44/11=4",
"56/4=14",
"39+14=53"
] | Current State: 53:[44, 39, 11, 56], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [39, 56, 4]
Generated Node #2: [39, 56, 4] from Operation: 44/11=4
Current State: 53:[39, 56, 4], Operations: ['44/11=4']
Exploring Operation: 56/4=14, Resulting Numbers: [39, 14]
Generated Node #3: [39, 14] from Operation: 56/4=14
Current State: 53:[39, 14], Operations: ['44/11=4', '56/4=14']
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[44, 39, 11, 56], Operations: []
Exploring Operation: 44-11=33, Resulting Numbers: [39, 56, 33]
Generated Node #0,0: 53:[39, 56, 33] Operation: 44-11=33
Exploring Operation: 39+11=50, Resulting Numbers: [44, 56, 50]
Generated Node #0,1: 53:[44, 56, 50] Operation: 39+11=50
Exploring Operation: 44+11=55, Resulting Numbers: [39, 56, 55]
Generated Node #0,2: 53:[39, 56, 55] Operation: 44+11=55
Exploring Operation: 56-11=45, Resulting Numbers: [44, 39, 45]
Generated Node #0,3: 53:[44, 39, 45] Operation: 56-11=45
Moving to Node #0,1
Current State: 53:[44, 56, 50], Operations: ['39+11=50']
Exploring Operation: 56-44=12, Resulting Numbers: [50, 12]
Generated Node #0,1,0: 53:[50, 12] Operation: 56-44=12
Exploring Operation: 44+56=100, Resulting Numbers: [50, 100]
Generated Node #0,1,1: 53:[50, 100] Operation: 44+56=100
Exploring Operation: 44+50=94, Resulting Numbers: [56, 94]
Generated Node #0,1,2: 53:[56, 94] Operation: 44+50=94
Exploring Operation: 50-44=6, Resulting Numbers: [56, 6]
Generated Node #0,1,3: 53:[56, 6] Operation: 50-44=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[50, 12], Operations: ['39+11=50', '56-44=12']
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,53 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[56, 94], Operations: ['39+11=50', '44+50=94']
Exploring Operation: 56*94=5264, Resulting Numbers: [5264]
5264,53 unequal: No Solution
Exploring Operation: 56+94=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[50, 100], Operations: ['39+11=50', '44+56=100']
Exploring Operation: 50+100=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 100/50=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 50*100=5000, Resulting Numbers: [5000]
5000,53 unequal: No Solution
Exploring Operation: 100-50=50, Resulting Numbers: [50]
50,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[56, 6], Operations: ['39+11=50', '50-44=6']
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,53 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,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:[39, 56, 55], Operations: ['44+11=55']
Exploring Operation: 56-39=17, Resulting Numbers: [55, 17]
Generated Node #0,2,0: 53:[55, 17] Operation: 56-39=17
Exploring Operation: 55-39=16, Resulting Numbers: [56, 16]
Generated Node #0,2,1: 53:[56, 16] Operation: 55-39=16
Exploring Operation: 39+55=94, Resulting Numbers: [56, 94]
Generated Node #0,2,2: 53:[56, 94] Operation: 39+55=94
Exploring Operation: 39+56=95, Resulting Numbers: [55, 95]
Generated Node #0,2,3: 53:[55, 95] Operation: 39+56=95
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[55, 17], Operations: ['44+11=55', '56-39=17']
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,53 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,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:[56, 16], Operations: ['44+11=55', '55-39=16']
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,53 unequal: No Solution
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,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,2
Current State: 53:[56, 94], Operations: ['44+11=55', '39+55=94']
Exploring Operation: 56+94=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 56*94=5264, Resulting Numbers: [5264]
5264,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,3
Current State: 53:[55, 95], Operations: ['44+11=55', '39+56=95']
Exploring Operation: 55+95=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 55*95=5225, Resulting Numbers: [5225]
5225,53 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: 53:[44, 39, 45], Operations: ['56-11=45']
Exploring Operation: 44-39=5, Resulting Numbers: [45, 5]
Generated Node #0,3,0: 53:[45, 5] Operation: 44-39=5
Exploring Operation: 44+39=83, Resulting Numbers: [45, 83]
Generated Node #0,3,1: 53:[45, 83] Operation: 44+39=83
Exploring Operation: 44+45=89, Resulting Numbers: [39, 89]
Generated Node #0,3,2: 53:[39, 89] Operation: 44+45=89
Exploring Operation: 39+45=84, Resulting Numbers: [44, 84]
Generated Node #0,3,3: 53:[44, 84] Operation: 39+45=84
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[45, 83], Operations: ['56-11=45', '44+39=83']
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,53 unequal: No Solution
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,53 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,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:[44, 84], Operations: ['56-11=45', '39+45=84']
Exploring Operation: 44+84=128, Resulting Numbers: [128]
128,53 unequal: No Solution
Exploring Operation: 44*84=3696, Resulting Numbers: [3696]
3696,53 unequal: No Solution
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,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:[39, 89], Operations: ['56-11=45', '44+45=89']
Exploring Operation: 39*89=3471, Resulting Numbers: [3471]
3471,53 unequal: No Solution
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,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,0
Current State: 53:[45, 5], Operations: ['56-11=45', '44-39=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,53 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: 53:[39, 56, 33], Operations: ['44-11=33']
Exploring Operation: 56+33=89, Resulting Numbers: [39, 89]
Generated Node #0,0,0: 53:[39, 89] Operation: 56+33=89
Exploring Operation: 56-33=23, Resulting Numbers: [39, 23]
Generated Node #0,0,1: 53:[39, 23] Operation: 56-33=23
Exploring Operation: 39-33=6, Resulting Numbers: [56, 6]
Generated Node #0,0,2: 53:[56, 6] Operation: 39-33=6
Exploring Operation: 39+33=72, Resulting Numbers: [56, 72]
Generated Node #0,0,3: 53:[56, 72] Operation: 39+33=72
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[56, 72], Operations: ['44-11=33', '39+33=72']
Exploring Operation: 56*72=4032, Resulting Numbers: [4032]
4032,53 unequal: No Solution
Exploring Operation: 56+72=128, Resulting Numbers: [128]
128,53 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,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,0,1
Current State: 53:[39, 23], Operations: ['44-11=33', '56-33=23']
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,53 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,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,0,0
Current State: 53:[39, 89], Operations: ['44-11=33', '56+33=89']
Exploring Operation: 39*89=3471, Resulting Numbers: [3471]
3471,53 unequal: No Solution
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,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,0,2
Current State: 53:[56, 6], Operations: ['44-11=33', '39-33=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,53 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
64,
20,
53,
10
] | 90 | [
"64-20=44",
"53-44=9",
"10*9=90"
] | Current State: 90:[64, 20, 53, 10], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [53, 10, 44]
Generated Node #2: [53, 10, 44] from Operation: 64-20=44
Current State: 90:[53, 10, 44], Operations: ['64-20=44']
Exploring Operation: 53-44=9, Resulting Numbers: [10, 9]
Generated Node #3: [10, 9] from Operation: 53-44=9
Current State: 90:[10, 9], Operations: ['64-20=44', '53-44=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[64, 20, 53, 10], Operations: []
Exploring Operation: 64-53=11, Resulting Numbers: [20, 10, 11]
Generated Node #0,0: 90:[20, 10, 11] Operation: 64-53=11
Exploring Operation: 64-20=44, Resulting Numbers: [53, 10, 44]
Generated Node #0,1: 90:[53, 10, 44] Operation: 64-20=44
Moving to Node #0,0
Current State: 90:[20, 10, 11], Operations: ['64-53=11']
Exploring Operation: 20+10=30, Resulting Numbers: [11, 30]
Generated Node #0,0,0: 90:[11, 30] Operation: 20+10=30
Exploring Operation: 20-11=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 90:[10, 9] Operation: 20-11=9
Moving to Node #0,1
Current State: 90:[53, 10, 44], Operations: ['64-20=44']
Exploring Operation: 53-44=9, Resulting Numbers: [10, 9]
Generated Node #0,1,0: 90:[10, 9] Operation: 53-44=9
Exploring Operation: 53-10=43, Resulting Numbers: [44, 43]
Generated Node #0,1,1: 90:[44, 43] Operation: 53-10=43
Moving to Node #0,0,1
Current State: 90:[10, 9], Operations: ['64-53=11', '20-11=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[64, 20, 53, 10], Operations: []
Exploring Operation: 64-53=11, Resulting Numbers: [20, 10, 11]
Generated Node #0,0: 90:[20, 10, 11] Operation: 64-53=11
Moving to Node #0,0
Current State: 90:[20, 10, 11], Operations: ['64-53=11']
Exploring Operation: 20-11=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 90:[10, 9] Operation: 20-11=9
Moving to Node #0,0,1
Current State: 90:[10, 9], Operations: ['64-53=11', '20-11=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
57,
68,
90,
63
] | 98 | [
"57+68=125",
"90-63=27",
"125-27=98"
] | Current State: 98:[57, 68, 90, 63], Operations: []
Exploring Operation: 57+68=125, Resulting Numbers: [90, 63, 125]
Generated Node #2: [90, 63, 125] from Operation: 57+68=125
Current State: 98:[90, 63, 125], Operations: ['57+68=125']
Exploring Operation: 90-63=27, Resulting Numbers: [125, 27]
Generated Node #3: [125, 27] from Operation: 90-63=27
Current State: 98:[125, 27], Operations: ['57+68=125', '90-63=27']
Exploring Operation: 125-27=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[57, 68, 90, 63], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [68, 90, 6]
Generated Node #0,0: 98:[68, 90, 6] Operation: 63-57=6
Exploring Operation: 68-57=11, Resulting Numbers: [90, 63, 11]
Generated Node #0,1: 98:[90, 63, 11] Operation: 68-57=11
Exploring Operation: 68-63=5, Resulting Numbers: [57, 90, 5]
Generated Node #0,2: 98:[57, 90, 5] Operation: 68-63=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[57, 90, 5], Operations: ['68-63=5']
Exploring Operation: 90/5=18, Resulting Numbers: [57, 18]
Generated Node #0,2,0: 98:[57, 18] Operation: 90/5=18
Exploring Operation: 90+5=95, Resulting Numbers: [57, 95]
Generated Node #0,2,1: 98:[57, 95] Operation: 90+5=95
Exploring Operation: 57-5=52, Resulting Numbers: [90, 52]
Generated Node #0,2,2: 98:[90, 52] Operation: 57-5=52
Moving to Node #0,2,1
Current State: 98:[57, 95], Operations: ['68-63=5', '90+5=95']
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 57*95=5415, Resulting Numbers: [5415]
5415,98 unequal: No Solution
Exploring Operation: 57+95=152, Resulting Numbers: [152]
152,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[90, 52], Operations: ['68-63=5', '57-5=52']
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 90+52=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 90*52=4680, Resulting Numbers: [4680]
4680,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[57, 18], Operations: ['68-63=5', '90/5=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,98 unequal: No Solution
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,98 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[90, 63, 11], Operations: ['68-57=11']
Exploring Operation: 63-11=52, Resulting Numbers: [90, 52]
Generated Node #0,1,0: 98:[90, 52] Operation: 63-11=52
Exploring Operation: 90-63=27, Resulting Numbers: [11, 27]
Generated Node #0,1,1: 98:[11, 27] Operation: 90-63=27
Exploring Operation: 90+11=101, Resulting Numbers: [63, 101]
Generated Node #0,1,2: 98:[63, 101] Operation: 90+11=101
Moving to Node #0,1,0
Current State: 98:[90, 52], Operations: ['68-57=11', '63-11=52']
Exploring Operation: 90*52=4680, Resulting Numbers: [4680]
4680,98 unequal: No Solution
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 90+52=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[11, 27], Operations: ['68-57=11', '90-63=27']
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,98 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[63, 101], Operations: ['68-57=11', '90+11=101']
Exploring Operation: 63*101=6363, Resulting Numbers: [6363]
6363,98 unequal: No Solution
Exploring Operation: 63+101=164, Resulting Numbers: [164]
164,98 unequal: No Solution
Exploring Operation: 101-63=38, Resulting Numbers: [38]
38,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[68, 90, 6], Operations: ['63-57=6']
Exploring Operation: 90-68=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 98:[6, 22] Operation: 90-68=22
Exploring Operation: 90/6=15, Resulting Numbers: [68, 15]
Generated Node #0,0,1: 98:[68, 15] Operation: 90/6=15
Exploring Operation: 68-6=62, Resulting Numbers: [90, 62]
Generated Node #0,0,2: 98:[90, 62] Operation: 68-6=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[6, 22], Operations: ['63-57=6', '90-68=22']
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[68, 15], Operations: ['63-57=6', '90/6=15']
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,98 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,98 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[90, 62], Operations: ['63-57=6', '68-6=62']
Exploring Operation: 90-62=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 90+62=152, Resulting Numbers: [152]
152,98 unequal: No Solution
Exploring Operation: 90*62=5580, Resulting Numbers: [5580]
5580,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
23,
55,
64,
72
] | 70 | [
"23+55=78",
"72-64=8",
"78-8=70"
] | Current State: 70:[23, 55, 64, 72], Operations: []
Exploring Operation: 23+55=78, Resulting Numbers: [64, 72, 78]
Generated Node #2: [64, 72, 78] from Operation: 23+55=78
Current State: 70:[64, 72, 78], Operations: ['23+55=78']
Exploring Operation: 72-64=8, Resulting Numbers: [78, 8]
Generated Node #3: [78, 8] from Operation: 72-64=8
Current State: 70:[78, 8], Operations: ['23+55=78', '72-64=8']
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[23, 55, 64, 72], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [23, 72, 9]
Generated Node #0,0: 70:[23, 72, 9] Operation: 64-55=9
Exploring Operation: 55-23=32, Resulting Numbers: [64, 72, 32]
Generated Node #0,1: 70:[64, 72, 32] Operation: 55-23=32
Moving to Node #0,1
Current State: 70:[64, 72, 32], Operations: ['55-23=32']
Exploring Operation: 72-64=8, Resulting Numbers: [32, 8]
Generated Node #0,1,0: 70:[32, 8] Operation: 72-64=8
Exploring Operation: 64/32=2, Resulting Numbers: [72, 2]
Generated Node #0,1,1: 70:[72, 2] Operation: 64/32=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[72, 2], Operations: ['55-23=32', '64/32=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[23, 55, 64, 72], Operations: []
Exploring Operation: 55-23=32, Resulting Numbers: [64, 72, 32]
Generated Node #0,1: 70:[64, 72, 32] Operation: 55-23=32
Moving to Node #0,1
Current State: 70:[64, 72, 32], Operations: ['55-23=32']
Exploring Operation: 64/32=2, Resulting Numbers: [72, 2]
Generated Node #0,1,1: 70:[72, 2] Operation: 64/32=2
Moving to Node #0,1,1
Current State: 70:[72, 2], Operations: ['55-23=32', '64/32=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
12,
53,
44,
9
] | 12 | [
"12+53=65",
"44+9=53",
"65-53=12"
] | Current State: 12:[12, 53, 44, 9], Operations: []
Exploring Operation: 12+53=65, Resulting Numbers: [44, 9, 65]
Generated Node #2: [44, 9, 65] from Operation: 12+53=65
Current State: 12:[44, 9, 65], Operations: ['12+53=65']
Exploring Operation: 44+9=53, Resulting Numbers: [65, 53]
Generated Node #3: [65, 53] from Operation: 44+9=53
Current State: 12:[65, 53], Operations: ['12+53=65', '44+9=53']
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[12, 53, 44, 9], Operations: []
Exploring Operation: 44-12=32, Resulting Numbers: [53, 9, 32]
Generated Node #0,0: 12:[53, 9, 32] Operation: 44-12=32
Exploring Operation: 53-44=9, Resulting Numbers: [12, 9, 9]
Generated Node #0,1: 12:[12, 9, 9] Operation: 53-44=9
Exploring Operation: 53-12=41, Resulting Numbers: [44, 9, 41]
Generated Node #0,2: 12:[44, 9, 41] Operation: 53-12=41
Exploring Operation: 53-9=44, Resulting Numbers: [12, 44, 44]
Generated Node #0,3: 12:[12, 44, 44] Operation: 53-9=44
Moving to Node #0,1
Current State: 12:[12, 9, 9], Operations: ['53-44=9']
Exploring Operation: 12-9=3, Resulting Numbers: [9, 3]
Generated Node #0,1,0: 12:[9, 3] Operation: 12-9=3
Exploring Operation: 9/9=1, Resulting Numbers: [12, 1]
Generated Node #0,1,1: 12:[12, 1] Operation: 9/9=1
Exploring Operation: 12-9=3, Resulting Numbers: [9, 3]
Generated Node #0,1,2: 12:[9, 3] Operation: 12-9=3
Exploring Operation: 9-9=0, Resulting Numbers: [12, 0]
Generated Node #0,1,3: 12:[12, 0] Operation: 9-9=0
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[12, 1], Operations: ['53-44=9', '9/9=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[12, 53, 44, 9], Operations: []
Exploring Operation: 53-44=9, Resulting Numbers: [12, 9, 9]
Generated Node #0,1: 12:[12, 9, 9] Operation: 53-44=9
Moving to Node #0,1
Current State: 12:[12, 9, 9], Operations: ['53-44=9']
Exploring Operation: 9/9=1, Resulting Numbers: [12, 1]
Generated Node #0,1,1: 12:[12, 1] Operation: 9/9=1
Moving to Node #0,1,1
Current State: 12:[12, 1], Operations: ['53-44=9', '9/9=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
89,
53,
76,
17
] | 78 | [
"89+17=106",
"106/53=2",
"76+2=78"
] | Current State: 78:[89, 53, 76, 17], Operations: []
Exploring Operation: 89+17=106, Resulting Numbers: [53, 76, 106]
Generated Node #2: [53, 76, 106] from Operation: 89+17=106
Current State: 78:[53, 76, 106], Operations: ['89+17=106']
Exploring Operation: 106/53=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 106/53=2
Current State: 78:[76, 2], Operations: ['89+17=106', '106/53=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[89, 53, 76, 17], Operations: []
Exploring Operation: 89-53=36, Resulting Numbers: [76, 17, 36]
Generated Node #0,0: 78:[76, 17, 36] Operation: 89-53=36
Exploring Operation: 53-17=36, Resulting Numbers: [89, 76, 36]
Generated Node #0,1: 78:[89, 76, 36] Operation: 53-17=36
Exploring Operation: 89-76=13, Resulting Numbers: [53, 17, 13]
Generated Node #0,2: 78:[53, 17, 13] Operation: 89-76=13
Moving to Node #0,0
Current State: 78:[76, 17, 36], Operations: ['89-53=36']
Exploring Operation: 36-17=19, Resulting Numbers: [76, 19]
Generated Node #0,0,0: 78:[76, 19] Operation: 36-17=19
Exploring Operation: 17+36=53, Resulting Numbers: [76, 53]
Generated Node #0,0,1: 78:[76, 53] Operation: 17+36=53
Exploring Operation: 76-36=40, Resulting Numbers: [17, 40]
Generated Node #0,0,2: 78:[17, 40] Operation: 76-36=40
Moving to Node #0,1
Current State: 78:[89, 76, 36], Operations: ['53-17=36']
Exploring Operation: 89-76=13, Resulting Numbers: [36, 13]
Generated Node #0,1,0: 78:[36, 13] Operation: 89-76=13
Exploring Operation: 89-36=53, Resulting Numbers: [76, 53]
Generated Node #0,1,1: 78:[76, 53] Operation: 89-36=53
Exploring Operation: 76-36=40, Resulting Numbers: [89, 40]
Generated Node #0,1,2: 78:[89, 40] Operation: 76-36=40
Moving to Node #0,2
Current State: 78:[53, 17, 13], Operations: ['89-76=13']
Exploring Operation: 53-13=40, Resulting Numbers: [17, 40]
Generated Node #0,2,0: 78:[17, 40] Operation: 53-13=40
Exploring Operation: 53-17=36, Resulting Numbers: [13, 36]
Generated Node #0,2,1: 78:[13, 36] Operation: 53-17=36
Exploring Operation: 53+17=70, Resulting Numbers: [13, 70]
Generated Node #0,2,2: 78:[13, 70] Operation: 53+17=70
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[13, 36], Operations: ['89-76=13', '53-17=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,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:[17, 40], Operations: ['89-76=13', '53-13=40']
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,78 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,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:[13, 70], Operations: ['89-76=13', '53+17=70']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 13*70=910, Resulting Numbers: [910]
910,78 unequal: No Solution
Exploring Operation: 13+70=83, Resulting Numbers: [83]
83,78 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: 78:[36, 13], Operations: ['53-17=36', '89-76=13']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,78 unequal: No Solution
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[17, 40], Operations: ['89-53=36', '76-36=40']
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,78 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[76, 19], Operations: ['89-53=36', '36-17=19']
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[89, 40], Operations: ['53-17=36', '76-36=40']
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 89+40=129, Resulting Numbers: [129]
129,78 unequal: No Solution
Exploring Operation: 89*40=3560, Resulting Numbers: [3560]
3560,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[76, 53], Operations: ['53-17=36', '89-36=53']
Exploring Operation: 76+53=129, Resulting Numbers: [129]
129,78 unequal: No Solution
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 76*53=4028, Resulting Numbers: [4028]
4028,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[76, 53], Operations: ['89-53=36', '17+36=53']
Exploring Operation: 76+53=129, Resulting Numbers: [129]
129,78 unequal: No Solution
Exploring Operation: 76*53=4028, Resulting Numbers: [4028]
4028,78 unequal: No Solution
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,78 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
50,
61,
2,
16
] | 38 | [
"61-50=11",
"2*11=22",
"16+22=38"
] | Current State: 38:[50, 61, 2, 16], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [2, 16, 11]
Generated Node #2: [2, 16, 11] from Operation: 61-50=11
Current State: 38:[2, 16, 11], Operations: ['61-50=11']
Exploring Operation: 2*11=22, Resulting Numbers: [16, 22]
Generated Node #3: [16, 22] from Operation: 2*11=22
Current State: 38:[16, 22], Operations: ['61-50=11', '2*11=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[50, 61, 2, 16], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [2, 16, 11]
Generated Node #0,0: 38:[2, 16, 11] Operation: 61-50=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[2, 16, 11], Operations: ['61-50=11']
Exploring Operation: 16-11=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 38:[2, 5] Operation: 16-11=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[2, 5], Operations: ['61-50=11', '16-11=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
33,
36,
34
] | 52 | [
"36-34=2",
"33*2=66",
"66-14=52"
] | Current State: 52:[14, 33, 36, 34], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [14, 33, 2]
Generated Node #2: [14, 33, 2] from Operation: 36-34=2
Current State: 52:[14, 33, 2], Operations: ['36-34=2']
Exploring Operation: 33*2=66, Resulting Numbers: [14, 66]
Generated Node #3: [14, 66] from Operation: 33*2=66
Current State: 52:[14, 66], Operations: ['36-34=2', '33*2=66']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[14, 33, 36, 34], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [14, 33, 2]
Generated Node #0,0: 52:[14, 33, 2] Operation: 36-34=2
Exploring Operation: 36-14=22, Resulting Numbers: [33, 34, 22]
Generated Node #0,1: 52:[33, 34, 22] Operation: 36-14=22
Exploring Operation: 14+36=50, Resulting Numbers: [33, 34, 50]
Generated Node #0,2: 52:[33, 34, 50] Operation: 14+36=50
Exploring Operation: 34-33=1, Resulting Numbers: [14, 36, 1]
Generated Node #0,3: 52:[14, 36, 1] Operation: 34-33=1
Exploring Operation: 36-33=3, Resulting Numbers: [14, 34, 3]
Generated Node #0,4: 52:[14, 34, 3] Operation: 36-33=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[14, 33, 2], Operations: ['36-34=2']
Exploring Operation: 14+33=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 52:[2, 47] Operation: 14+33=47
Exploring Operation: 14-2=12, Resulting Numbers: [33, 12]
Generated Node #0,0,1: 52:[33, 12] Operation: 14-2=12
Exploring Operation: 33-14=19, Resulting Numbers: [2, 19]
Generated Node #0,0,2: 52:[2, 19] Operation: 33-14=19
Exploring Operation: 14*2=28, Resulting Numbers: [33, 28]
Generated Node #0,0,3: 52:[33, 28] Operation: 14*2=28
Exploring Operation: 33-2=31, Resulting Numbers: [14, 31]
Generated Node #0,0,4: 52:[14, 31] Operation: 33-2=31
Moving to Node #0,0,0
Current State: 52:[2, 47], Operations: ['36-34=2', '14+33=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,52 unequal: No Solution
Moving to Node #0,0,4
Current State: 52:[14, 31], Operations: ['36-34=2', '33-2=31']
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,52 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[2, 19], Operations: ['36-34=2', '33-14=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[33, 12], Operations: ['36-34=2', '14-2=12']
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,52 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[33, 28], Operations: ['36-34=2', '14*2=28']
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,52 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 52:[14, 34, 3], Operations: ['36-33=3']
Exploring Operation: 14-3=11, Resulting Numbers: [34, 11]
Generated Node #0,4,0: 52:[34, 11] Operation: 14-3=11
Exploring Operation: 34-3=31, Resulting Numbers: [14, 31]
Generated Node #0,4,1: 52:[14, 31] Operation: 34-3=31
Exploring Operation: 14+34=48, Resulting Numbers: [3, 48]
Generated Node #0,4,2: 52:[3, 48] Operation: 14+34=48
Exploring Operation: 34-14=20, Resulting Numbers: [3, 20]
Generated Node #0,4,3: 52:[3, 20] Operation: 34-14=20
Exploring Operation: 14+3=17, Resulting Numbers: [34, 17]
Generated Node #0,4,4: 52:[34, 17] Operation: 14+3=17
Moving to Node #0,4,2
Current State: 52:[3, 48], Operations: ['36-33=3', '14+34=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,52 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[14, 31], Operations: ['36-33=3', '34-3=31']
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,52 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[3, 20], Operations: ['36-33=3', '34-14=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[34, 11], Operations: ['36-33=3', '14-3=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[34, 17], Operations: ['36-33=3', '14+3=17']
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,52 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[14, 36, 1], Operations: ['34-33=1']
Exploring Operation: 14*1=14, Resulting Numbers: [36, 14]
Generated Node #0,3,0: 52:[36, 14] Operation: 14*1=14
Exploring Operation: 36-1=35, Resulting Numbers: [14, 35]
Generated Node #0,3,1: 52:[14, 35] Operation: 36-1=35
Exploring Operation: 14-1=13, Resulting Numbers: [36, 13]
Generated Node #0,3,2: 52:[36, 13] Operation: 14-1=13
Exploring Operation: 36-14=22, Resulting Numbers: [1, 22]
Generated Node #0,3,3: 52:[1, 22] Operation: 36-14=22
Exploring Operation: 14+36=50, Resulting Numbers: [1, 50]
Generated Node #0,3,4: 52:[1, 50] Operation: 14+36=50
Moving to Node #0,3,4
Current State: 52:[1, 50], Operations: ['34-33=1', '14+36=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[1, 22], Operations: ['34-33=1', '36-14=22']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[14, 35], Operations: ['34-33=1', '36-1=35']
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 14*35=490, Resulting Numbers: [490]
490,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[36, 13], Operations: ['34-33=1', '14-1=13']
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[36, 14], Operations: ['34-33=1', '14*1=14']
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,52 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,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,2
Current State: 52:[33, 34, 50], Operations: ['14+36=50']
Exploring Operation: 50-33=17, Resulting Numbers: [34, 17]
Generated Node #0,2,0: 52:[34, 17] Operation: 50-33=17
Exploring Operation: 33+34=67, Resulting Numbers: [50, 67]
Generated Node #0,2,1: 52:[50, 67] Operation: 33+34=67
Exploring Operation: 34-33=1, Resulting Numbers: [50, 1]
Generated Node #0,2,2: 52:[50, 1] Operation: 34-33=1
Exploring Operation: 33+50=83, Resulting Numbers: [34, 83]
Generated Node #0,2,3: 52:[34, 83] Operation: 33+50=83
Exploring Operation: 50-34=16, Resulting Numbers: [33, 16]
Generated Node #0,2,4: 52:[33, 16] Operation: 50-34=16
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[50, 1], Operations: ['14+36=50', '34-33=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 52:[33, 16], Operations: ['14+36=50', '50-34=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[34, 17], Operations: ['14+36=50', '50-33=17']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,52 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[50, 67], Operations: ['14+36=50', '33+34=67']
Exploring Operation: 50*67=3350, Resulting Numbers: [3350]
3350,52 unequal: No Solution
Exploring Operation: 50+67=117, Resulting Numbers: [117]
117,52 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 52:[34, 83], Operations: ['14+36=50', '33+50=83']
Exploring Operation: 34+83=117, Resulting Numbers: [117]
117,52 unequal: No Solution
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 34*83=2822, Resulting Numbers: [2822]
2822,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[33, 34, 22], Operations: ['36-14=22']
Exploring Operation: 34-33=1, Resulting Numbers: [22, 1]
Generated Node #0,1,0: 52:[22, 1] Operation: 34-33=1
Exploring Operation: 34-22=12, Resulting Numbers: [33, 12]
Generated Node #0,1,1: 52:[33, 12] Operation: 34-22=12
Exploring Operation: 33-22=11, Resulting Numbers: [34, 11]
Generated Node #0,1,2: 52:[34, 11] Operation: 33-22=11
Exploring Operation: 34+22=56, Resulting Numbers: [33, 56]
Generated Node #0,1,3: 52:[33, 56] Operation: 34+22=56
Exploring Operation: 33+22=55, Resulting Numbers: [34, 55]
Generated Node #0,1,4: 52:[34, 55] Operation: 33+22=55
Moving to Node #0,1,0
Current State: 52:[22, 1], Operations: ['36-14=22', '34-33=1']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[33, 12], Operations: ['36-14=22', '34-22=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,52 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[34, 11], Operations: ['36-14=22', '33-22=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,52 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[33, 56], Operations: ['36-14=22', '34+22=56']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,52 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Moving to Node #0,1,4
Current State: 52:[34, 55], Operations: ['36-14=22', '33+22=55']
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,52 unequal: No Solution
Exploring Operation: 34+55=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Exploring Operation: 34*55=1870, Resulting Numbers: [1870]
1870,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
11,
11,
4,
74
] | 79 | [
"11/11=1",
"4+74=78",
"1+78=79"
] | Current State: 79:[11, 11, 4, 74], Operations: []
Exploring Operation: 11/11=1, Resulting Numbers: [4, 74, 1]
Generated Node #2: [4, 74, 1] from Operation: 11/11=1
Current State: 79:[4, 74, 1], Operations: ['11/11=1']
Exploring Operation: 4+74=78, Resulting Numbers: [1, 78]
Generated Node #3: [1, 78] from Operation: 4+74=78
Current State: 79:[1, 78], Operations: ['11/11=1', '4+74=78']
Exploring Operation: 1+78=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[11, 11, 4, 74], Operations: []
Exploring Operation: 11*4=44, Resulting Numbers: [11, 74, 44]
Generated Node #0,0: 79:[11, 74, 44] Operation: 11*4=44
Exploring Operation: 11*11=121, Resulting Numbers: [4, 74, 121]
Generated Node #0,1: 79:[4, 74, 121] Operation: 11*11=121
Exploring Operation: 11*4=44, Resulting Numbers: [11, 74, 44]
Generated Node #0,2: 79:[11, 74, 44] Operation: 11*4=44
Moving to Node #0,0
Current State: 79:[11, 74, 44], Operations: ['11*4=44']
Exploring Operation: 74-11=63, Resulting Numbers: [44, 63]
Generated Node #0,0,0: 79:[44, 63] Operation: 74-11=63
Exploring Operation: 11+74=85, Resulting Numbers: [44, 85]
Generated Node #0,0,1: 79:[44, 85] Operation: 11+74=85
Exploring Operation: 11+44=55, Resulting Numbers: [74, 55]
Generated Node #0,0,2: 79:[74, 55] Operation: 11+44=55
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[74, 55], Operations: ['11*4=44', '11+44=55']
Exploring Operation: 74*55=4070, Resulting Numbers: [4070]
4070,79 unequal: No Solution
Exploring Operation: 74+55=129, Resulting Numbers: [129]
129,79 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,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,1
Current State: 79:[44, 85], Operations: ['11*4=44', '11+74=85']
Exploring Operation: 44+85=129, Resulting Numbers: [129]
129,79 unequal: No Solution
Exploring Operation: 44*85=3740, Resulting Numbers: [3740]
3740,79 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,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,0
Current State: 79:[44, 63], Operations: ['11*4=44', '74-11=63']
Exploring Operation: 44*63=2772, Resulting Numbers: [2772]
2772,79 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 44+63=107, Resulting Numbers: [107]
107,79 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: 79:[11, 74, 44], Operations: ['11*4=44']
Exploring Operation: 74-11=63, Resulting Numbers: [44, 63]
Generated Node #0,2,0: 79:[44, 63] Operation: 74-11=63
Exploring Operation: 11+74=85, Resulting Numbers: [44, 85]
Generated Node #0,2,1: 79:[44, 85] Operation: 11+74=85
Exploring Operation: 11+44=55, Resulting Numbers: [74, 55]
Generated Node #0,2,2: 79:[74, 55] Operation: 11+44=55
Moving to Node #0,1
Current State: 79:[4, 74, 121], Operations: ['11*11=121']
Exploring Operation: 4+74=78, Resulting Numbers: [121, 78]
Generated Node #0,1,0: 79:[121, 78] Operation: 4+74=78
Exploring Operation: 74-4=70, Resulting Numbers: [121, 70]
Generated Node #0,1,1: 79:[121, 70] Operation: 74-4=70
Exploring Operation: 121-4=117, Resulting Numbers: [74, 117]
Generated Node #0,1,2: 79:[74, 117] Operation: 121-4=117
Moving to Node #0,2,2
Current State: 79:[74, 55], Operations: ['11*4=44', '11+44=55']
Exploring Operation: 74+55=129, Resulting Numbers: [129]
129,79 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 74*55=4070, Resulting Numbers: [4070]
4070,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[44, 85], Operations: ['11*4=44', '11+74=85']
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,79 unequal: No Solution
Exploring Operation: 44+85=129, Resulting Numbers: [129]
129,79 unequal: No Solution
Exploring Operation: 44*85=3740, Resulting Numbers: [3740]
3740,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[74, 117], Operations: ['11*11=121', '121-4=117']
Exploring Operation: 74*117=8658, Resulting Numbers: [8658]
8658,79 unequal: No Solution
Exploring Operation: 117-74=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 74+117=191, Resulting Numbers: [191]
191,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[121, 78], Operations: ['11*11=121', '4+74=78']
Exploring Operation: 121+78=199, Resulting Numbers: [199]
199,79 unequal: No Solution
Exploring Operation: 121*78=9438, Resulting Numbers: [9438]
9438,79 unequal: No Solution
Exploring Operation: 121-78=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[121, 70], Operations: ['11*11=121', '74-4=70']
Exploring Operation: 121+70=191, Resulting Numbers: [191]
191,79 unequal: No Solution
Exploring Operation: 121*70=8470, Resulting Numbers: [8470]
8470,79 unequal: No Solution
Exploring Operation: 121-70=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[44, 63], Operations: ['11*4=44', '74-11=63']
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 44+63=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 44*63=2772, Resulting Numbers: [2772]
2772,79 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
77,
75,
41,
52
] | 59 | [
"77+75=152",
"41+52=93",
"152-93=59"
] | Current State: 59:[77, 75, 41, 52], Operations: []
Exploring Operation: 77+75=152, Resulting Numbers: [41, 52, 152]
Generated Node #2: [41, 52, 152] from Operation: 77+75=152
Current State: 59:[41, 52, 152], Operations: ['77+75=152']
Exploring Operation: 41+52=93, Resulting Numbers: [152, 93]
Generated Node #3: [152, 93] from Operation: 41+52=93
Current State: 59:[152, 93], Operations: ['77+75=152', '41+52=93']
Exploring Operation: 152-93=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[77, 75, 41, 52], Operations: []
Exploring Operation: 77-41=36, Resulting Numbers: [75, 52, 36]
Generated Node #0,0: 59:[75, 52, 36] Operation: 77-41=36
Moving to Node #0,0
Current State: 59:[75, 52, 36], Operations: ['77-41=36']
Exploring Operation: 75-36=39, Resulting Numbers: [52, 39]
Generated Node #0,0,0: 59:[52, 39] Operation: 75-36=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[52, 39], Operations: ['77-41=36', '75-36=39']
Exploring Operation: 52+39=91, Resulting Numbers: [91]
91,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
86,
32,
73
] | 59 | [
"86-73=13",
"7*13=91",
"91-32=59"
] | Current State: 59:[7, 86, 32, 73], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [7, 32, 13]
Generated Node #2: [7, 32, 13] from Operation: 86-73=13
Current State: 59:[7, 32, 13], Operations: ['86-73=13']
Exploring Operation: 7*13=91, Resulting Numbers: [32, 91]
Generated Node #3: [32, 91] from Operation: 7*13=91
Current State: 59:[32, 91], Operations: ['86-73=13', '7*13=91']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[7, 86, 32, 73], Operations: []
Exploring Operation: 7+32=39, Resulting Numbers: [86, 73, 39]
Generated Node #0,0: 59:[86, 73, 39] Operation: 7+32=39
Exploring Operation: 86-7=79, Resulting Numbers: [32, 73, 79]
Generated Node #0,1: 59:[32, 73, 79] Operation: 86-7=79
Exploring Operation: 86-32=54, Resulting Numbers: [7, 73, 54]
Generated Node #0,2: 59:[7, 73, 54] Operation: 86-32=54
Exploring Operation: 73-7=66, Resulting Numbers: [86, 32, 66]
Generated Node #0,3: 59:[86, 32, 66] Operation: 73-7=66
Moving to Node #0,0
Current State: 59:[86, 73, 39], Operations: ['7+32=39']
Exploring Operation: 86+39=125, Resulting Numbers: [73, 125]
Generated Node #0,0,0: 59:[73, 125] Operation: 86+39=125
Exploring Operation: 86-73=13, Resulting Numbers: [39, 13]
Generated Node #0,0,1: 59:[39, 13] Operation: 86-73=13
Exploring Operation: 73-39=34, Resulting Numbers: [86, 34]
Generated Node #0,0,2: 59:[86, 34] Operation: 73-39=34
Exploring Operation: 86-39=47, Resulting Numbers: [73, 47]
Generated Node #0,0,3: 59:[73, 47] Operation: 86-39=47
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[73, 47], Operations: ['7+32=39', '86-39=47']
Exploring Operation: 73+47=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 73*47=3431, Resulting Numbers: [3431]
3431,59 unequal: No Solution
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[86, 34], Operations: ['7+32=39', '73-39=34']
Exploring Operation: 86*34=2924, Resulting Numbers: [2924]
2924,59 unequal: No Solution
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[39, 13], Operations: ['7+32=39', '86-73=13']
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[73, 125], Operations: ['7+32=39', '86+39=125']
Exploring Operation: 125-73=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 73*125=9125, Resulting Numbers: [9125]
9125,59 unequal: No Solution
Exploring Operation: 73+125=198, Resulting Numbers: [198]
198,59 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: 59:[86, 32, 66], Operations: ['73-7=66']
Exploring Operation: 86-32=54, Resulting Numbers: [66, 54]
Generated Node #0,3,0: 59:[66, 54] Operation: 86-32=54
Exploring Operation: 66-32=34, Resulting Numbers: [86, 34]
Generated Node #0,3,1: 59:[86, 34] Operation: 66-32=34
Exploring Operation: 86-66=20, Resulting Numbers: [32, 20]
Generated Node #0,3,2: 59:[32, 20] Operation: 86-66=20
Exploring Operation: 86+32=118, Resulting Numbers: [66, 118]
Generated Node #0,3,3: 59:[66, 118] Operation: 86+32=118
Moving to Node #0,1
Current State: 59:[32, 73, 79], Operations: ['86-7=79']
Exploring Operation: 73-32=41, Resulting Numbers: [79, 41]
Generated Node #0,1,0: 59:[79, 41] Operation: 73-32=41
Exploring Operation: 32+79=111, Resulting Numbers: [73, 111]
Generated Node #0,1,1: 59:[73, 111] Operation: 32+79=111
Exploring Operation: 32+73=105, Resulting Numbers: [79, 105]
Generated Node #0,1,2: 59:[79, 105] Operation: 32+73=105
Exploring Operation: 79-32=47, Resulting Numbers: [73, 47]
Generated Node #0,1,3: 59:[73, 47] Operation: 79-32=47
Moving to Node #0,2
Current State: 59:[7, 73, 54], Operations: ['86-32=54']
Exploring Operation: 7+73=80, Resulting Numbers: [54, 80]
Generated Node #0,2,0: 59:[54, 80] Operation: 7+73=80
Exploring Operation: 7+54=61, Resulting Numbers: [73, 61]
Generated Node #0,2,1: 59:[73, 61] Operation: 7+54=61
Exploring Operation: 54-7=47, Resulting Numbers: [73, 47]
Generated Node #0,2,2: 59:[73, 47] Operation: 54-7=47
Exploring Operation: 73-7=66, Resulting Numbers: [54, 66]
Generated Node #0,2,3: 59:[54, 66] Operation: 73-7=66
Moving to Node #0,3,0
Current State: 59:[66, 54], Operations: ['73-7=66', '86-32=54']
Exploring Operation: 66*54=3564, Resulting Numbers: [3564]
3564,59 unequal: No Solution
Exploring Operation: 66+54=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[54, 66], Operations: ['86-32=54', '73-7=66']
Exploring Operation: 54+66=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 54*66=3564, Resulting Numbers: [3564]
3564,59 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[73, 61], Operations: ['86-32=54', '7+54=61']
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 73*61=4453, Resulting Numbers: [4453]
4453,59 unequal: No Solution
Exploring Operation: 73+61=134, Resulting Numbers: [134]
134,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[73, 47], Operations: ['86-32=54', '54-7=47']
Exploring Operation: 73*47=3431, Resulting Numbers: [3431]
3431,59 unequal: No Solution
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 73+47=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[54, 80], Operations: ['86-32=54', '7+73=80']
Exploring Operation: 80-54=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 54*80=4320, Resulting Numbers: [4320]
4320,59 unequal: No Solution
Exploring Operation: 54+80=134, Resulting Numbers: [134]
134,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[73, 47], Operations: ['86-7=79', '79-32=47']
Exploring Operation: 73*47=3431, Resulting Numbers: [3431]
3431,59 unequal: No Solution
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 73+47=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[79, 41], Operations: ['86-7=79', '73-32=41']
Exploring Operation: 79*41=3239, Resulting Numbers: [3239]
3239,59 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 79+41=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[86, 34], Operations: ['73-7=66', '66-32=34']
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,59 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 86*34=2924, Resulting Numbers: [2924]
2924,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[32, 20], Operations: ['73-7=66', '86-66=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,59 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[73, 111], Operations: ['86-7=79', '32+79=111']
Exploring Operation: 73*111=8103, Resulting Numbers: [8103]
8103,59 unequal: No Solution
Exploring Operation: 111-73=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 73+111=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[66, 118], Operations: ['73-7=66', '86+32=118']
Exploring Operation: 66*118=7788, Resulting Numbers: [7788]
7788,59 unequal: No Solution
Exploring Operation: 66+118=184, Resulting Numbers: [184]
184,59 unequal: No Solution
Exploring Operation: 118-66=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[79, 105], Operations: ['86-7=79', '32+73=105']
Exploring Operation: 105-79=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 79*105=8295, Resulting Numbers: [8295]
8295,59 unequal: No Solution
Exploring Operation: 79+105=184, Resulting Numbers: [184]
184,59 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
10,
33,
7,
46
] | 21 | [
"10+33=43",
"46-43=3",
"7*3=21"
] | Current State: 21:[10, 33, 7, 46], Operations: []
Exploring Operation: 10+33=43, Resulting Numbers: [7, 46, 43]
Generated Node #2: [7, 46, 43] from Operation: 10+33=43
Current State: 21:[7, 46, 43], Operations: ['10+33=43']
Exploring Operation: 46-43=3, Resulting Numbers: [7, 3]
Generated Node #3: [7, 3] from Operation: 46-43=3
Current State: 21:[7, 3], Operations: ['10+33=43', '46-43=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[10, 33, 7, 46], Operations: []
Exploring Operation: 46-10=36, Resulting Numbers: [33, 7, 36]
Generated Node #0,0: 21:[33, 7, 36] Operation: 46-10=36
Exploring Operation: 33-7=26, Resulting Numbers: [10, 46, 26]
Generated Node #0,1: 21:[10, 46, 26] Operation: 33-7=26
Exploring Operation: 46-33=13, Resulting Numbers: [10, 7, 13]
Generated Node #0,2: 21:[10, 7, 13] Operation: 46-33=13
Exploring Operation: 33-10=23, Resulting Numbers: [7, 46, 23]
Generated Node #0,3: 21:[7, 46, 23] Operation: 33-10=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[10, 7, 13], Operations: ['46-33=13']
Exploring Operation: 13-10=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 21:[7, 3] Operation: 13-10=3
Exploring Operation: 13-7=6, Resulting Numbers: [10, 6]
Generated Node #0,2,1: 21:[10, 6] Operation: 13-7=6
Exploring Operation: 10+13=23, Resulting Numbers: [7, 23]
Generated Node #0,2,2: 21:[7, 23] Operation: 10+13=23
Exploring Operation: 7+13=20, Resulting Numbers: [10, 20]
Generated Node #0,2,3: 21:[10, 20] Operation: 7+13=20
Moving to Node #0,2,0
Current State: 21:[7, 3], Operations: ['46-33=13', '13-10=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[10, 33, 7, 46], Operations: []
Exploring Operation: 46-33=13, Resulting Numbers: [10, 7, 13]
Generated Node #0,2: 21:[10, 7, 13] Operation: 46-33=13
Moving to Node #0,2
Current State: 21:[10, 7, 13], Operations: ['46-33=13']
Exploring Operation: 13-10=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 21:[7, 3] Operation: 13-10=3
Moving to Node #0,2,0
Current State: 21:[7, 3], Operations: ['46-33=13', '13-10=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
66,
57,
99,
37
] | 48 | [
"66-57=9",
"99/9=11",
"37+11=48"
] | Current State: 48:[66, 57, 99, 37], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [99, 37, 9]
Generated Node #2: [99, 37, 9] from Operation: 66-57=9
Current State: 48:[99, 37, 9], Operations: ['66-57=9']
Exploring Operation: 99/9=11, Resulting Numbers: [37, 11]
Generated Node #3: [37, 11] from Operation: 99/9=11
Current State: 48:[37, 11], Operations: ['66-57=9', '99/9=11']
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[66, 57, 99, 37], Operations: []
Exploring Operation: 99-57=42, Resulting Numbers: [66, 37, 42]
Generated Node #0,0: 48:[66, 37, 42] Operation: 99-57=42
Exploring Operation: 99-37=62, Resulting Numbers: [66, 57, 62]
Generated Node #0,1: 48:[66, 57, 62] Operation: 99-37=62
Exploring Operation: 99-66=33, Resulting Numbers: [57, 37, 33]
Generated Node #0,2: 48:[57, 37, 33] Operation: 99-66=33
Moving to Node #0,2
Current State: 48:[57, 37, 33], Operations: ['99-66=33']
Exploring Operation: 57-33=24, Resulting Numbers: [37, 24]
Generated Node #0,2,0: 48:[37, 24] Operation: 57-33=24
Exploring Operation: 57-37=20, Resulting Numbers: [33, 20]
Generated Node #0,2,1: 48:[33, 20] Operation: 57-37=20
Exploring Operation: 37-33=4, Resulting Numbers: [57, 4]
Generated Node #0,2,2: 48:[57, 4] Operation: 37-33=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[57, 4], Operations: ['99-66=33', '37-33=4']
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[37, 24], Operations: ['99-66=33', '57-33=24']
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,48 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[33, 20], Operations: ['99-66=33', '57-37=20']
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,48 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 48:[66, 37, 42], Operations: ['99-57=42']
Exploring Operation: 66-37=29, Resulting Numbers: [42, 29]
Generated Node #0,0,0: 48:[42, 29] Operation: 66-37=29
Exploring Operation: 42-37=5, Resulting Numbers: [66, 5]
Generated Node #0,0,1: 48:[66, 5] Operation: 42-37=5
Exploring Operation: 66-42=24, Resulting Numbers: [37, 24]
Generated Node #0,0,2: 48:[37, 24] Operation: 66-42=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[42, 29], Operations: ['99-57=42', '66-37=29']
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 42*29=1218, Resulting Numbers: [1218]
1218,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[37, 24], Operations: ['99-57=42', '66-42=24']
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,48 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[66, 5], Operations: ['99-57=42', '42-37=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,48 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 48:[66, 57, 62], Operations: ['99-37=62']
Exploring Operation: 66-62=4, Resulting Numbers: [57, 4]
Generated Node #0,1,0: 48:[57, 4] Operation: 66-62=4
Exploring Operation: 66-57=9, Resulting Numbers: [62, 9]
Generated Node #0,1,1: 48:[62, 9] Operation: 66-57=9
Exploring Operation: 62-57=5, Resulting Numbers: [66, 5]
Generated Node #0,1,2: 48:[66, 5] Operation: 62-57=5
Moving to Node #0,1,0
Current State: 48:[57, 4], Operations: ['99-37=62', '66-62=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,48 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[62, 9], Operations: ['99-37=62', '66-57=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,48 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[66, 5], Operations: ['99-37=62', '62-57=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,48 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,48 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
78,
91,
75,
78
] | 75 | [
"78-78=0",
"91*0=0",
"75+0=75"
] | Current State: 75:[78, 91, 75, 78], Operations: []
Exploring Operation: 78-78=0, Resulting Numbers: [91, 75, 0]
Generated Node #2: [91, 75, 0] from Operation: 78-78=0
Current State: 75:[91, 75, 0], Operations: ['78-78=0']
Exploring Operation: 91*0=0, Resulting Numbers: [75, 0]
Generated Node #3: [75, 0] from Operation: 91*0=0
Current State: 75:[75, 0], Operations: ['78-78=0', '91*0=0']
Exploring Operation: 75+0=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[78, 91, 75, 78], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [78, 75, 13]
Generated Node #0,0: 75:[78, 75, 13] Operation: 91-78=13
Exploring Operation: 91-78=13, Resulting Numbers: [75, 78, 13]
Generated Node #0,1: 75:[75, 78, 13] Operation: 91-78=13
Exploring Operation: 91-75=16, Resulting Numbers: [78, 78, 16]
Generated Node #0,2: 75:[78, 78, 16] Operation: 91-75=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[78, 75, 13], Operations: ['91-78=13']
Exploring Operation: 78-75=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 75:[13, 3] Operation: 78-75=3
Exploring Operation: 78/13=6, Resulting Numbers: [75, 6]
Generated Node #0,0,1: 75:[75, 6] Operation: 78/13=6
Exploring Operation: 78-13=65, Resulting Numbers: [75, 65]
Generated Node #0,0,2: 75:[75, 65] Operation: 78-13=65
Moving to Node #0,0,1
Current State: 75:[75, 6], Operations: ['91-78=13', '78/13=6']
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[13, 3], Operations: ['91-78=13', '78-75=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[75, 65], Operations: ['91-78=13', '78-13=65']
Exploring Operation: 75+65=140, Resulting Numbers: [140]
140,75 unequal: No Solution
Exploring Operation: 75-65=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 75*65=4875, Resulting Numbers: [4875]
4875,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
Current State: 75:[75, 78, 13], Operations: ['91-78=13']
Exploring Operation: 78/13=6, Resulting Numbers: [75, 6]
Generated Node #0,1,0: 75:[75, 6] Operation: 78/13=6
Exploring Operation: 78-13=65, Resulting Numbers: [75, 65]
Generated Node #0,1,1: 75:[75, 65] Operation: 78-13=65
Exploring Operation: 78-75=3, Resulting Numbers: [13, 3]
Generated Node #0,1,2: 75:[13, 3] Operation: 78-75=3
Moving to Node #0,1,0
Current State: 75:[75, 6], Operations: ['91-78=13', '78/13=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,75 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[13, 3], Operations: ['91-78=13', '78-75=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[75, 65], Operations: ['91-78=13', '78-13=65']
Exploring Operation: 75-65=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 75*65=4875, Resulting Numbers: [4875]
4875,75 unequal: No Solution
Exploring Operation: 75+65=140, Resulting Numbers: [140]
140,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
Current State: 75:[78, 78, 16], Operations: ['91-75=16']
Exploring Operation: 78-16=62, Resulting Numbers: [78, 62]
Generated Node #0,2,0: 75:[78, 62] Operation: 78-16=62
Exploring Operation: 78/78=1, Resulting Numbers: [16, 1]
Generated Node #0,2,1: 75:[16, 1] Operation: 78/78=1
Exploring Operation: 78-78=0, Resulting Numbers: [16, 0]
Generated Node #0,2,2: 75:[16, 0] Operation: 78-78=0
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[16, 1], Operations: ['91-75=16', '78/78=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,75 unequal: No Solution
No 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: 75:[16, 0], Operations: ['91-75=16', '78-78=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,75 unequal: No Solution
No 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: 75:[78, 62], Operations: ['91-75=16', '78-16=62']
Exploring Operation: 78*62=4836, Resulting Numbers: [4836]
4836,75 unequal: No Solution
Exploring Operation: 78+62=140, Resulting Numbers: [140]
140,75 unequal: No Solution
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,75 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 |
[
45,
55,
18,
68
] | 60 | [
"55-45=10",
"68-18=50",
"10+50=60"
] | Current State: 60:[45, 55, 18, 68], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [18, 68, 10]
Generated Node #2: [18, 68, 10] from Operation: 55-45=10
Current State: 60:[18, 68, 10], Operations: ['55-45=10']
Exploring Operation: 68-18=50, Resulting Numbers: [10, 50]
Generated Node #3: [10, 50] from Operation: 68-18=50
Current State: 60:[10, 50], Operations: ['55-45=10', '68-18=50']
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[45, 55, 18, 68], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [18, 68, 10]
Generated Node #0,0: 60:[18, 68, 10] Operation: 55-45=10
Exploring Operation: 68-45=23, Resulting Numbers: [55, 18, 23]
Generated Node #0,1: 60:[55, 18, 23] Operation: 68-45=23
Moving to Node #0,0
Current State: 60:[18, 68, 10], Operations: ['55-45=10']
Exploring Operation: 68-10=58, Resulting Numbers: [18, 58]
Generated Node #0,0,0: 60:[18, 58] Operation: 68-10=58
Exploring Operation: 68-18=50, Resulting Numbers: [10, 50]
Generated Node #0,0,1: 60:[10, 50] Operation: 68-18=50
Moving to Node #0,1
Current State: 60:[55, 18, 23], Operations: ['68-45=23']
Exploring Operation: 23-18=5, Resulting Numbers: [55, 5]
Generated Node #0,1,0: 60:[55, 5] Operation: 23-18=5
Exploring Operation: 55-23=32, Resulting Numbers: [18, 32]
Generated Node #0,1,1: 60:[18, 32] Operation: 55-23=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[18, 32], Operations: ['68-45=23', '55-23=32']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[55, 5], Operations: ['68-45=23', '23-18=5']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[45, 55, 18, 68], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [55, 18, 23]
Generated Node #0,1: 60:[55, 18, 23] Operation: 68-45=23
Moving to Node #0,1
Current State: 60:[55, 18, 23], Operations: ['68-45=23']
Exploring Operation: 23-18=5, Resulting Numbers: [55, 5]
Generated Node #0,1,0: 60:[55, 5] Operation: 23-18=5
Moving to Node #0,1,0
Current State: 60:[55, 5], Operations: ['68-45=23', '23-18=5']
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | mult_heuristic |
[
10,
33,
13,
53
] | 89 | [
"33-10=23",
"13+53=66",
"23+66=89"
] | Current State: 89:[10, 33, 13, 53], Operations: []
Exploring Operation: 33-10=23, Resulting Numbers: [13, 53, 23]
Generated Node #2: [13, 53, 23] from Operation: 33-10=23
Current State: 89:[13, 53, 23], Operations: ['33-10=23']
Exploring Operation: 13+53=66, Resulting Numbers: [23, 66]
Generated Node #3: [23, 66] from Operation: 13+53=66
Current State: 89:[23, 66], Operations: ['33-10=23', '13+53=66']
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[10, 33, 13, 53], Operations: []
Exploring Operation: 10*13=130, Resulting Numbers: [33, 53, 130]
Generated Node #0,0: 89:[33, 53, 130] Operation: 10*13=130
Exploring Operation: 33+13=46, Resulting Numbers: [10, 53, 46]
Generated Node #0,1: 89:[10, 53, 46] Operation: 33+13=46
Exploring Operation: 10+33=43, Resulting Numbers: [13, 53, 43]
Generated Node #0,2: 89:[13, 53, 43] Operation: 10+33=43
Exploring Operation: 10+13=23, Resulting Numbers: [33, 53, 23]
Generated Node #0,3: 89:[33, 53, 23] Operation: 10+13=23
Exploring Operation: 10+53=63, Resulting Numbers: [33, 13, 63]
Generated Node #0,4: 89:[33, 13, 63] Operation: 10+53=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[33, 53, 130], Operations: ['10*13=130']
Exploring Operation: 53-33=20, Resulting Numbers: [130, 20]
Generated Node #0,0,0: 89:[130, 20] Operation: 53-33=20
Exploring Operation: 130-53=77, Resulting Numbers: [33, 77]
Generated Node #0,0,1: 89:[33, 77] Operation: 130-53=77
Exploring Operation: 33+53=86, Resulting Numbers: [130, 86]
Generated Node #0,0,2: 89:[130, 86] Operation: 33+53=86
Exploring Operation: 130-33=97, Resulting Numbers: [53, 97]
Generated Node #0,0,3: 89:[53, 97] Operation: 130-33=97
Exploring Operation: 33+130=163, Resulting Numbers: [53, 163]
Generated Node #0,0,4: 89:[53, 163] Operation: 33+130=163
Moving to Node #0,0,2
Current State: 89:[130, 86], Operations: ['10*13=130', '33+53=86']
Exploring Operation: 130+86=216, Resulting Numbers: [216]
216,89 unequal: No Solution
Exploring Operation: 130*86=11180, Resulting Numbers: [11180]
11180,89 unequal: No Solution
Exploring Operation: 130-86=44, Resulting Numbers: [44]
44,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[53, 97], Operations: ['10*13=130', '130-33=97']
Exploring Operation: 97-53=44, Resulting Numbers: [44]
44,89 unequal: No Solution
Exploring Operation: 53+97=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 53*97=5141, Resulting Numbers: [5141]
5141,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[33, 77], Operations: ['10*13=130', '130-53=77']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,89 unequal: No Solution
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,89 unequal: No Solution
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[130, 20], Operations: ['10*13=130', '53-33=20']
Exploring Operation: 130+20=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 130*20=2600, Resulting Numbers: [2600]
2600,89 unequal: No Solution
Exploring Operation: 130-20=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[53, 163], Operations: ['10*13=130', '33+130=163']
Exploring Operation: 53+163=216, Resulting Numbers: [216]
216,89 unequal: No Solution
Exploring Operation: 163-53=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 53*163=8639, Resulting Numbers: [8639]
8639,89 unequal: No Solution
No 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: 89:[10, 53, 46], Operations: ['33+13=46']
Exploring Operation: 46-10=36, Resulting Numbers: [53, 36]
Generated Node #0,1,0: 89:[53, 36] Operation: 46-10=36
Exploring Operation: 10+53=63, Resulting Numbers: [46, 63]
Generated Node #0,1,1: 89:[46, 63] Operation: 10+53=63
Exploring Operation: 10+46=56, Resulting Numbers: [53, 56]
Generated Node #0,1,2: 89:[53, 56] Operation: 10+46=56
Exploring Operation: 53-10=43, Resulting Numbers: [46, 43]
Generated Node #0,1,3: 89:[46, 43] Operation: 53-10=43
Exploring Operation: 53+46=99, Resulting Numbers: [10, 99]
Generated Node #0,1,4: 89:[10, 99] Operation: 53+46=99
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[46, 63], Operations: ['33+13=46', '10+53=63']
Exploring Operation: 46+63=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 46*63=2898, Resulting Numbers: [2898]
2898,89 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[53, 56], Operations: ['33+13=46', '10+46=56']
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 53*56=2968, Resulting Numbers: [2968]
2968,89 unequal: No Solution
Exploring Operation: 53+56=109, Resulting Numbers: [109]
109,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[53, 36], Operations: ['33+13=46', '46-10=36']
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[10, 33, 13, 53], Operations: []
Exploring Operation: 33+13=46, Resulting Numbers: [10, 53, 46]
Generated Node #0,1: 89:[10, 53, 46] Operation: 33+13=46
Moving to Node #0,1
Current State: 89:[10, 53, 46], Operations: ['33+13=46']
Exploring Operation: 46-10=36, Resulting Numbers: [53, 36]
Generated Node #0,1,0: 89:[53, 36] Operation: 46-10=36
Moving to Node #0,1,0
Current State: 89:[53, 36], Operations: ['33+13=46', '46-10=36']
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
64,
1,
44,
84
] | 63 | [
"64+1=65",
"44+84=128",
"128-65=63"
] | Current State: 63:[64, 1, 44, 84], Operations: []
Exploring Operation: 64+1=65, Resulting Numbers: [44, 84, 65]
Generated Node #2: [44, 84, 65] from Operation: 64+1=65
Current State: 63:[44, 84, 65], Operations: ['64+1=65']
Exploring Operation: 44+84=128, Resulting Numbers: [65, 128]
Generated Node #3: [65, 128] from Operation: 44+84=128
Current State: 63:[65, 128], Operations: ['64+1=65', '44+84=128']
Exploring Operation: 128-65=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[64, 1, 44, 84], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [64, 1, 40]
Generated Node #0,0: 63:[64, 1, 40] Operation: 84-44=40
Exploring Operation: 64-1=63, Resulting Numbers: [44, 84, 63]
Generated Node #0,1: 63:[44, 84, 63] Operation: 64-1=63
Exploring Operation: 84-64=20, Resulting Numbers: [1, 44, 20]
Generated Node #0,2: 63:[1, 44, 20] Operation: 84-64=20
Exploring Operation: 1+44=45, Resulting Numbers: [64, 84, 45]
Generated Node #0,3: 63:[64, 84, 45] Operation: 1+44=45
Exploring Operation: 64-44=20, Resulting Numbers: [1, 84, 20]
Generated Node #0,4: 63:[1, 84, 20] Operation: 64-44=20
Moving to Node #0,0
Current State: 63:[64, 1, 40], Operations: ['84-44=40']
Exploring Operation: 64/1=64, Resulting Numbers: [40, 64]
Generated Node #0,0,0: 63:[40, 64] Operation: 64/1=64
Exploring Operation: 64*1=64, Resulting Numbers: [40, 64]
Generated Node #0,0,1: 63:[40, 64] Operation: 64*1=64
Exploring Operation: 64-40=24, Resulting Numbers: [1, 24]
Generated Node #0,0,2: 63:[1, 24] Operation: 64-40=24
Exploring Operation: 40-1=39, Resulting Numbers: [64, 39]
Generated Node #0,0,3: 63:[64, 39] Operation: 40-1=39
Exploring Operation: 64-1=63, Resulting Numbers: [40, 63]
Generated Node #0,0,4: 63:[40, 63] Operation: 64-1=63
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[1, 24], Operations: ['84-44=40', '64-40=24']
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[64, 39], Operations: ['84-44=40', '40-1=39']
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,63 unequal: No Solution
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,63 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 63:[40, 63], Operations: ['84-44=40', '64-1=63']
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 40*63=2520, Resulting Numbers: [2520]
2520,63 unequal: No Solution
Exploring Operation: 40+63=103, Resulting Numbers: [103]
103,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[40, 64], Operations: ['84-44=40', '64/1=64']
Exploring Operation: 40*64=2560, Resulting Numbers: [2560]
2560,63 unequal: No Solution
Exploring Operation: 40+64=104, Resulting Numbers: [104]
104,63 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[40, 64], Operations: ['84-44=40', '64*1=64']
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 40*64=2560, Resulting Numbers: [2560]
2560,63 unequal: No Solution
Exploring Operation: 40+64=104, Resulting Numbers: [104]
104,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 63:[1, 44, 20], Operations: ['84-64=20']
Exploring Operation: 44-20=24, Resulting Numbers: [1, 24]
Generated Node #0,2,0: 63:[1, 24] Operation: 44-20=24
Exploring Operation: 44+20=64, Resulting Numbers: [1, 64]
Generated Node #0,2,1: 63:[1, 64] Operation: 44+20=64
Exploring Operation: 1+20=21, Resulting Numbers: [44, 21]
Generated Node #0,2,2: 63:[44, 21] Operation: 1+20=21
Exploring Operation: 1*44=44, Resulting Numbers: [20, 44]
Generated Node #0,2,3: 63:[20, 44] Operation: 1*44=44
Exploring Operation: 1+44=45, Resulting Numbers: [20, 45]
Generated Node #0,2,4: 63:[20, 45] Operation: 1+44=45
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[1, 64], Operations: ['84-64=20', '44+20=64']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[64, 1, 44, 84], Operations: []
Exploring Operation: 84-64=20, Resulting Numbers: [1, 44, 20]
Generated Node #0,2: 63:[1, 44, 20] Operation: 84-64=20
Moving to Node #0,2
Current State: 63:[1, 44, 20], Operations: ['84-64=20']
Exploring Operation: 44+20=64, Resulting Numbers: [1, 64]
Generated Node #0,2,1: 63:[1, 64] Operation: 44+20=64
Moving to Node #0,2,1
Current State: 63:[1, 64], Operations: ['84-64=20', '44+20=64']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
9,
87,
75,
58
] | 81 | [
"9*58=522",
"522/87=6",
"75+6=81"
] | Current State: 81:[9, 87, 75, 58], Operations: []
Exploring Operation: 9*58=522, Resulting Numbers: [87, 75, 522]
Generated Node #2: [87, 75, 522] from Operation: 9*58=522
Current State: 81:[87, 75, 522], Operations: ['9*58=522']
Exploring Operation: 522/87=6, Resulting Numbers: [75, 6]
Generated Node #3: [75, 6] from Operation: 522/87=6
Current State: 81:[75, 6], Operations: ['9*58=522', '522/87=6']
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[9, 87, 75, 58], Operations: []
Exploring Operation: 75-58=17, Resulting Numbers: [9, 87, 17]
Generated Node #0,0: 81:[9, 87, 17] Operation: 75-58=17
Exploring Operation: 87-58=29, Resulting Numbers: [9, 75, 29]
Generated Node #0,1: 81:[9, 75, 29] Operation: 87-58=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[9, 75, 29], Operations: ['87-58=29']
Exploring Operation: 29-9=20, Resulting Numbers: [75, 20]
Generated Node #0,1,0: 81:[75, 20] Operation: 29-9=20
Exploring Operation: 9+75=84, Resulting Numbers: [29, 84]
Generated Node #0,1,1: 81:[29, 84] Operation: 9+75=84
Moving to Node #0,1,1
Current State: 81:[29, 84], Operations: ['87-58=29', '9+75=84']
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,81 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[75, 20], Operations: ['87-58=29', '29-9=20']
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,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,0
Current State: 81:[9, 87, 17], Operations: ['75-58=17']
Exploring Operation: 9+17=26, Resulting Numbers: [87, 26]
Generated Node #0,0,0: 81:[87, 26] Operation: 9+17=26
Exploring Operation: 17-9=8, Resulting Numbers: [87, 8]
Generated Node #0,0,1: 81:[87, 8] Operation: 17-9=8
Moving to Node #0,0,0
Current State: 81:[87, 26], Operations: ['75-58=17', '9+17=26']
Exploring Operation: 87-26=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 87+26=113, Resulting Numbers: [113]
113,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[87, 8], Operations: ['75-58=17', '17-9=8']
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,81 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 |
[
51,
47,
2,
4
] | 100 | [
"51+47=98",
"4-2=2",
"98+2=100"
] | Current State: 100:[51, 47, 2, 4], Operations: []
Exploring Operation: 51+47=98, Resulting Numbers: [2, 4, 98]
Generated Node #2: [2, 4, 98] from Operation: 51+47=98
Current State: 100:[2, 4, 98], Operations: ['51+47=98']
Exploring Operation: 4-2=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 4-2=2
Current State: 100:[98, 2], Operations: ['51+47=98', '4-2=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[51, 47, 2, 4], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [2, 4, 4]
Generated Node #0,0: 100:[2, 4, 4] Operation: 51-47=4
Exploring Operation: 51+47=98, Resulting Numbers: [2, 4, 98]
Generated Node #0,1: 100:[2, 4, 98] Operation: 51+47=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[2, 4, 4], Operations: ['51-47=4']
Exploring Operation: 4/2=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 100:[4, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [4, 2]
Generated Node #0,0,1: 100:[4, 2] Operation: 4-2=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[4, 2], Operations: ['51-47=4', '4/2=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[4, 2], Operations: ['51-47=4', '4-2=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[2, 4, 98], Operations: ['51+47=98']
Exploring Operation: 2+98=100, Resulting Numbers: [4, 100]
Generated Node #0,1,0: 100:[4, 100] Operation: 2+98=100
Exploring Operation: 98/2=49, Resulting Numbers: [4, 49]
Generated Node #0,1,1: 100:[4, 49] Operation: 98/2=49
Moving to Node #0,1,0
Current State: 100:[4, 100], Operations: ['51+47=98', '2+98=100']
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 4+100=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[4, 49], Operations: ['51+47=98', '98/2=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,100 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 |
[
59,
91,
45,
56
] | 95 | [
"59-45=14",
"56/14=4",
"91+4=95"
] | Current State: 95:[59, 91, 45, 56], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [91, 56, 14]
Generated Node #2: [91, 56, 14] from Operation: 59-45=14
Current State: 95:[91, 56, 14], Operations: ['59-45=14']
Exploring Operation: 56/14=4, Resulting Numbers: [91, 4]
Generated Node #3: [91, 4] from Operation: 56/14=4
Current State: 95:[91, 4], Operations: ['59-45=14', '56/14=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[59, 91, 45, 56], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [91, 45, 3]
Generated Node #0,0: 95:[91, 45, 3] Operation: 59-56=3
Exploring Operation: 45+56=101, Resulting Numbers: [59, 91, 101]
Generated Node #0,1: 95:[59, 91, 101] Operation: 45+56=101
Exploring Operation: 59-45=14, Resulting Numbers: [91, 56, 14]
Generated Node #0,2: 95:[91, 56, 14] Operation: 59-45=14
Moving to Node #0,0
Current State: 95:[91, 45, 3], Operations: ['59-56=3']
Exploring Operation: 45-3=42, Resulting Numbers: [91, 42]
Generated Node #0,0,0: 95:[91, 42] Operation: 45-3=42
Exploring Operation: 91+3=94, Resulting Numbers: [45, 94]
Generated Node #0,0,1: 95:[45, 94] Operation: 91+3=94
Exploring Operation: 45/3=15, Resulting Numbers: [91, 15]
Generated Node #0,0,2: 95:[91, 15] Operation: 45/3=15
Moving to Node #0,1
Current State: 95:[59, 91, 101], Operations: ['45+56=101']
Exploring Operation: 101-59=42, Resulting Numbers: [91, 42]
Generated Node #0,1,0: 95:[91, 42] Operation: 101-59=42
Exploring Operation: 101-91=10, Resulting Numbers: [59, 10]
Generated Node #0,1,1: 95:[59, 10] Operation: 101-91=10
Exploring Operation: 91-59=32, Resulting Numbers: [101, 32]
Generated Node #0,1,2: 95:[101, 32] Operation: 91-59=32
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[101, 32], Operations: ['45+56=101', '91-59=32']
Exploring Operation: 101+32=133, Resulting Numbers: [133]
133,95 unequal: No Solution
Exploring Operation: 101*32=3232, Resulting Numbers: [3232]
3232,95 unequal: No Solution
Exploring Operation: 101-32=69, Resulting Numbers: [69]
69,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[91, 42], Operations: ['45+56=101', '101-59=42']
Exploring Operation: 91-42=49, Resulting Numbers: [49]
49,95 unequal: No Solution
Exploring Operation: 91+42=133, Resulting Numbers: [133]
133,95 unequal: No Solution
Exploring Operation: 91*42=3822, Resulting Numbers: [3822]
3822,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[59, 10], Operations: ['45+56=101', '101-91=10']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,95 unequal: No Solution
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 95:[91, 56, 14], Operations: ['59-45=14']
Exploring Operation: 91-56=35, Resulting Numbers: [14, 35]
Generated Node #0,2,0: 95:[14, 35] Operation: 91-56=35
Exploring Operation: 56/14=4, Resulting Numbers: [91, 4]
Generated Node #0,2,1: 95:[91, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [91, 42]
Generated Node #0,2,2: 95:[91, 42] Operation: 56-14=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[91, 4], Operations: ['59-45=14', '56/14=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[59, 91, 45, 56], Operations: []
Exploring Operation: 59-45=14, Resulting Numbers: [91, 56, 14]
Generated Node #0,2: 95:[91, 56, 14] Operation: 59-45=14
Moving to Node #0,2
Current State: 95:[91, 56, 14], Operations: ['59-45=14']
Exploring Operation: 56/14=4, Resulting Numbers: [91, 4]
Generated Node #0,2,1: 95:[91, 4] Operation: 56/14=4
Moving to Node #0,2,1
Current State: 95:[91, 4], Operations: ['59-45=14', '56/14=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
8,
28,
11,
99
] | 15 | [
"11-8=3",
"28*3=84",
"99-84=15"
] | Current State: 15:[8, 28, 11, 99], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [28, 99, 3]
Generated Node #2: [28, 99, 3] from Operation: 11-8=3
Current State: 15:[28, 99, 3], Operations: ['11-8=3']
Exploring Operation: 28*3=84, Resulting Numbers: [99, 84]
Generated Node #3: [99, 84] from Operation: 28*3=84
Current State: 15:[99, 84], Operations: ['11-8=3', '28*3=84']
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[8, 28, 11, 99], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [8, 28, 9]
Generated Node #0,0: 15:[8, 28, 9] Operation: 99/11=9
Exploring Operation: 99-28=71, Resulting Numbers: [8, 11, 71]
Generated Node #0,1: 15:[8, 11, 71] Operation: 99-28=71
Exploring Operation: 99-11=88, Resulting Numbers: [8, 28, 88]
Generated Node #0,2: 15:[8, 28, 88] Operation: 99-11=88
Exploring Operation: 28-8=20, Resulting Numbers: [11, 99, 20]
Generated Node #0,3: 15:[11, 99, 20] Operation: 28-8=20
Exploring Operation: 28-11=17, Resulting Numbers: [8, 99, 17]
Generated Node #0,4: 15:[8, 99, 17] Operation: 28-11=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[8, 28, 9], Operations: ['99/11=9']
Exploring Operation: 28-8=20, Resulting Numbers: [9, 20]
Generated Node #0,0,0: 15:[9, 20] Operation: 28-8=20
Exploring Operation: 8+28=36, Resulting Numbers: [9, 36]
Generated Node #0,0,1: 15:[9, 36] Operation: 8+28=36
Exploring Operation: 28-9=19, Resulting Numbers: [8, 19]
Generated Node #0,0,2: 15:[8, 19] Operation: 28-9=19
Exploring Operation: 9-8=1, Resulting Numbers: [28, 1]
Generated Node #0,0,3: 15:[28, 1] Operation: 9-8=1
Exploring Operation: 8+9=17, Resulting Numbers: [28, 17]
Generated Node #0,0,4: 15:[28, 17] Operation: 8+9=17
Moving to Node #0,0,2
Current State: 15:[8, 19], Operations: ['99/11=9', '28-9=19']
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[9, 20], Operations: ['99/11=9', '28-8=20']
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,15 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[28, 1], Operations: ['99/11=9', '9-8=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Moving to Node #0,0,4
Current State: 15:[28, 17], Operations: ['99/11=9', '8+9=17']
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,15 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[9, 36], Operations: ['99/11=9', '8+28=36']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,15 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,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:[8, 11, 71], Operations: ['99-28=71']
Exploring Operation: 8+11=19, Resulting Numbers: [71, 19]
Generated Node #0,1,0: 15:[71, 19] Operation: 8+11=19
Exploring Operation: 71-8=63, Resulting Numbers: [11, 63]
Generated Node #0,1,1: 15:[11, 63] Operation: 71-8=63
Exploring Operation: 71-11=60, Resulting Numbers: [8, 60]
Generated Node #0,1,2: 15:[8, 60] Operation: 71-11=60
Exploring Operation: 8+71=79, Resulting Numbers: [11, 79]
Generated Node #0,1,3: 15:[11, 79] Operation: 8+71=79
Exploring Operation: 11-8=3, Resulting Numbers: [71, 3]
Generated Node #0,1,4: 15:[71, 3] Operation: 11-8=3
Moving to Node #0,1,2
Current State: 15:[8, 60], Operations: ['99-28=71', '71-11=60']
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,15 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[11, 63], Operations: ['99-28=71', '71-8=63']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 11*63=693, Resulting Numbers: [693]
693,15 unequal: No Solution
Exploring Operation: 11+63=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Moving to Node #0,1,4
Current State: 15:[71, 3], Operations: ['99-28=71', '11-8=3']
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,15 unequal: No Solution
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[71, 19], Operations: ['99-28=71', '8+11=19']
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,15 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[11, 79], Operations: ['99-28=71', '8+71=79']
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Exploring Operation: 11*79=869, Resulting Numbers: [869]
869,15 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[8, 28, 88], Operations: ['99-11=88']
Exploring Operation: 88-8=80, Resulting Numbers: [28, 80]
Generated Node #0,2,0: 15:[28, 80] Operation: 88-8=80
Exploring Operation: 28-8=20, Resulting Numbers: [88, 20]
Generated Node #0,2,1: 15:[88, 20] Operation: 28-8=20
Exploring Operation: 88/8=11, Resulting Numbers: [28, 11]
Generated Node #0,2,2: 15:[28, 11] Operation: 88/8=11
Exploring Operation: 8+28=36, Resulting Numbers: [88, 36]
Generated Node #0,2,3: 15:[88, 36] Operation: 8+28=36
Exploring Operation: 88-28=60, Resulting Numbers: [8, 60]
Generated Node #0,2,4: 15:[8, 60] Operation: 88-28=60
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[28, 11], Operations: ['99-11=88', '88/8=11']
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,15 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,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,4
Current State: 15:[8, 60], Operations: ['99-11=88', '88-28=60']
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,15 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,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:[28, 80], Operations: ['99-11=88', '88-8=80']
Exploring Operation: 28+80=108, Resulting Numbers: [108]
108,15 unequal: No Solution
Exploring Operation: 28*80=2240, Resulting Numbers: [2240]
2240,15 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,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,1
Current State: 15:[88, 20], Operations: ['99-11=88', '28-8=20']
Exploring Operation: 88+20=108, Resulting Numbers: [108]
108,15 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 88*20=1760, Resulting Numbers: [1760]
1760,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,3
Current State: 15:[88, 36], Operations: ['99-11=88', '8+28=36']
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,15 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 88*36=3168, Resulting Numbers: [3168]
3168,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,4
Current State: 15:[8, 99, 17], Operations: ['28-11=17']
Exploring Operation: 99-17=82, Resulting Numbers: [8, 82]
Generated Node #0,4,0: 15:[8, 82] Operation: 99-17=82
Exploring Operation: 8+17=25, Resulting Numbers: [99, 25]
Generated Node #0,4,1: 15:[99, 25] Operation: 8+17=25
Exploring Operation: 8+99=107, Resulting Numbers: [17, 107]
Generated Node #0,4,2: 15:[17, 107] Operation: 8+99=107
Exploring Operation: 99-8=91, Resulting Numbers: [17, 91]
Generated Node #0,4,3: 15:[17, 91] Operation: 99-8=91
Exploring Operation: 17-8=9, Resulting Numbers: [99, 9]
Generated Node #0,4,4: 15:[99, 9] Operation: 17-8=9
Moving to Node #0,4,0
Current State: 15:[8, 82], Operations: ['28-11=17', '99-17=82']
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,15 unequal: No Solution
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Moving to Node #0,4,3
Current State: 15:[17, 91], Operations: ['28-11=17', '99-8=91']
Exploring Operation: 17*91=1547, Resulting Numbers: [1547]
1547,15 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 17+91=108, Resulting Numbers: [108]
108,15 unequal: No Solution
Moving to Node #0,4,4
Current State: 15:[99, 9], Operations: ['28-11=17', '17-8=9']
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 99*9=891, Resulting Numbers: [891]
891,15 unequal: No Solution
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,15 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Moving to Node #0,4,1
Current State: 15:[99, 25], Operations: ['28-11=17', '8+17=25']
Exploring Operation: 99*25=2475, Resulting Numbers: [2475]
2475,15 unequal: No Solution
Exploring Operation: 99+25=124, Resulting Numbers: [124]
124,15 unequal: No Solution
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Moving to Node #0,4,2
Current State: 15:[17, 107], Operations: ['28-11=17', '8+99=107']
Exploring Operation: 17+107=124, Resulting Numbers: [124]
124,15 unequal: No Solution
Exploring Operation: 17*107=1819, Resulting Numbers: [1819]
1819,15 unequal: No Solution
Exploring Operation: 107-17=90, Resulting Numbers: [90]
90,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,3
Current State: 15:[11, 99, 20], Operations: ['28-8=20']
Exploring Operation: 99-11=88, Resulting Numbers: [20, 88]
Generated Node #0,3,0: 15:[20, 88] Operation: 99-11=88
Exploring Operation: 99/11=9, Resulting Numbers: [20, 9]
Generated Node #0,3,1: 15:[20, 9] Operation: 99/11=9
Exploring Operation: 99-20=79, Resulting Numbers: [11, 79]
Generated Node #0,3,2: 15:[11, 79] Operation: 99-20=79
Exploring Operation: 20-11=9, Resulting Numbers: [99, 9]
Generated Node #0,3,3: 15:[99, 9] Operation: 20-11=9
Exploring Operation: 11+99=110, Resulting Numbers: [20, 110]
Generated Node #0,3,4: 15:[20, 110] Operation: 11+99=110
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 15:[20, 9], Operations: ['28-8=20', '99/11=9']
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,15 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,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,3,2
Current State: 15:[11, 79], Operations: ['28-8=20', '99-20=79']
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 11*79=869, Resulting Numbers: [869]
869,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,3,0
Current State: 15:[20, 88], Operations: ['28-8=20', '99-11=88']
Exploring Operation: 20+88=108, Resulting Numbers: [108]
108,15 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 20*88=1760, Resulting Numbers: [1760]
1760,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,3,3
Current State: 15:[99, 9], Operations: ['28-8=20', '20-11=9']
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,15 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 99*9=891, Resulting Numbers: [891]
891,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,3,4
Current State: 15:[20, 110], Operations: ['28-8=20', '11+99=110']
Exploring Operation: 110-20=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Exploring Operation: 20*110=2200, Resulting Numbers: [2200]
2200,15 unequal: No Solution
Exploring Operation: 20+110=130, Resulting Numbers: [130]
130,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
79,
36,
86,
48
] | 96 | [
"79-36=43",
"86*48=4128",
"4128/43=96"
] | Current State: 96:[79, 36, 86, 48], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [86, 48, 43]
Generated Node #2: [86, 48, 43] from Operation: 79-36=43
Current State: 96:[86, 48, 43], Operations: ['79-36=43']
Exploring Operation: 86*48=4128, Resulting Numbers: [43, 4128]
Generated Node #3: [43, 4128] from Operation: 86*48=4128
Current State: 96:[43, 4128], Operations: ['79-36=43', '86*48=4128']
Exploring Operation: 4128/43=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[79, 36, 86, 48], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [36, 48, 7]
Generated Node #0,0: 96:[36, 48, 7] Operation: 86-79=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[36, 48, 7], Operations: ['86-79=7']
Exploring Operation: 48-36=12, Resulting Numbers: [7, 12]
Generated Node #0,0,0: 96:[7, 12] Operation: 48-36=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[7, 12], Operations: ['86-79=7', '48-36=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,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_1 | sum_heuristic |
[
54,
96,
16,
90
] | 69 | [
"96/16=6",
"90/6=15",
"54+15=69"
] | Current State: 69:[54, 96, 16, 90], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [54, 90, 6]
Generated Node #2: [54, 90, 6] from Operation: 96/16=6
Current State: 69:[54, 90, 6], Operations: ['96/16=6']
Exploring Operation: 90/6=15, Resulting Numbers: [54, 15]
Generated Node #3: [54, 15] from Operation: 90/6=15
Current State: 69:[54, 15], Operations: ['96/16=6', '90/6=15']
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[54, 96, 16, 90], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [54, 16, 6]
Generated Node #0,0: 69:[54, 16, 6] Operation: 96-90=6
Moving to Node #0,0
Current State: 69:[54, 16, 6], Operations: ['96-90=6']
Exploring Operation: 54+16=70, Resulting Numbers: [6, 70]
Generated Node #0,0,0: 69:[6, 70] Operation: 54+16=70
Moving to Node #0,0,0
Current State: 69:[6, 70], Operations: ['96-90=6', '54+16=70']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,69 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
16,
58,
5,
52
] | 46 | [
"58-52=6",
"5*6=30",
"16+30=46"
] | Current State: 46:[16, 58, 5, 52], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [16, 5, 6]
Generated Node #2: [16, 5, 6] from Operation: 58-52=6
Current State: 46:[16, 5, 6], Operations: ['58-52=6']
Exploring Operation: 5*6=30, Resulting Numbers: [16, 30]
Generated Node #3: [16, 30] from Operation: 5*6=30
Current State: 46:[16, 30], Operations: ['58-52=6', '5*6=30']
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[16, 58, 5, 52], Operations: []
Exploring Operation: 58-16=42, Resulting Numbers: [5, 52, 42]
Generated Node #0,0: 46:[5, 52, 42] Operation: 58-16=42
Moving to Node #0,0
Current State: 46:[5, 52, 42], Operations: ['58-16=42']
Exploring Operation: 52-5=47, Resulting Numbers: [42, 47]
Generated Node #0,0,0: 46:[42, 47] Operation: 52-5=47
Moving to Node #0,0,0
Current State: 46:[42, 47], Operations: ['58-16=42', '52-5=47']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,46 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
34,
28,
48,
84
] | 14 | [
"34+48=82",
"84-82=2",
"28/2=14"
] | Current State: 14:[34, 28, 48, 84], Operations: []
Exploring Operation: 34+48=82, Resulting Numbers: [28, 84, 82]
Generated Node #2: [28, 84, 82] from Operation: 34+48=82
Current State: 14:[28, 84, 82], Operations: ['34+48=82']
Exploring Operation: 84-82=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 84-82=2
Current State: 14:[28, 2], Operations: ['34+48=82', '84-82=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[34, 28, 48, 84], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [34, 48, 3]
Generated Node #0,0: 14:[34, 48, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[34, 48, 3], Operations: ['84/28=3']
Exploring Operation: 48-34=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 14:[3, 14] Operation: 48-34=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[3, 14], Operations: ['84/28=3', '48-34=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,14 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 |
[
63,
94,
24,
98
] | 91 | [
"94-63=31",
"24+98=122",
"122-31=91"
] | Current State: 91:[63, 94, 24, 98], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [24, 98, 31]
Generated Node #2: [24, 98, 31] from Operation: 94-63=31
Current State: 91:[24, 98, 31], Operations: ['94-63=31']
Exploring Operation: 24+98=122, Resulting Numbers: [31, 122]
Generated Node #3: [31, 122] from Operation: 24+98=122
Current State: 91:[31, 122], Operations: ['94-63=31', '24+98=122']
Exploring Operation: 122-31=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[63, 94, 24, 98], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [24, 98, 31]
Generated Node #0,0: 91:[24, 98, 31] Operation: 94-63=31
Exploring Operation: 63-24=39, Resulting Numbers: [94, 98, 39]
Generated Node #0,1: 91:[94, 98, 39] Operation: 63-24=39
Exploring Operation: 98-63=35, Resulting Numbers: [94, 24, 35]
Generated Node #0,2: 91:[94, 24, 35] Operation: 98-63=35
Exploring Operation: 63+24=87, Resulting Numbers: [94, 98, 87]
Generated Node #0,3: 91:[94, 98, 87] Operation: 63+24=87
Exploring Operation: 98-94=4, Resulting Numbers: [63, 24, 4]
Generated Node #0,4: 91:[63, 24, 4] Operation: 98-94=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[94, 98, 87], Operations: ['63+24=87']
Exploring Operation: 98-87=11, Resulting Numbers: [94, 11]
Generated Node #0,3,0: 91:[94, 11] Operation: 98-87=11
Exploring Operation: 98+87=185, Resulting Numbers: [94, 185]
Generated Node #0,3,1: 91:[94, 185] Operation: 98+87=185
Exploring Operation: 98-94=4, Resulting Numbers: [87, 4]
Generated Node #0,3,2: 91:[87, 4] Operation: 98-94=4
Exploring Operation: 94-87=7, Resulting Numbers: [98, 7]
Generated Node #0,3,3: 91:[98, 7] Operation: 94-87=7
Exploring Operation: 94+87=181, Resulting Numbers: [98, 181]
Generated Node #0,3,4: 91:[98, 181] Operation: 94+87=181
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 91:[94, 11], Operations: ['63+24=87', '98-87=11']
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 91:[87, 4], Operations: ['63+24=87', '98-94=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[63, 94, 24, 98], Operations: []
Exploring Operation: 63+24=87, Resulting Numbers: [94, 98, 87]
Generated Node #0,3: 91:[94, 98, 87] Operation: 63+24=87
Moving to Node #0,3
Current State: 91:[94, 98, 87], Operations: ['63+24=87']
Exploring Operation: 98-94=4, Resulting Numbers: [87, 4]
Generated Node #0,3,2: 91:[87, 4] Operation: 98-94=4
Moving to Node #0,3,2
Current State: 91:[87, 4], Operations: ['63+24=87', '98-94=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
11,
9,
63,
4
] | 38 | [
"11+63=74",
"9*4=36",
"74-36=38"
] | Current State: 38:[11, 9, 63, 4], Operations: []
Exploring Operation: 11+63=74, Resulting Numbers: [9, 4, 74]
Generated Node #2: [9, 4, 74] from Operation: 11+63=74
Current State: 38:[9, 4, 74], Operations: ['11+63=74']
Exploring Operation: 9*4=36, Resulting Numbers: [74, 36]
Generated Node #3: [74, 36] from Operation: 9*4=36
Current State: 38:[74, 36], Operations: ['11+63=74', '9*4=36']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[11, 9, 63, 4], Operations: []
Exploring Operation: 63-11=52, Resulting Numbers: [9, 4, 52]
Generated Node #0,0: 38:[9, 4, 52] Operation: 63-11=52
Exploring Operation: 63/9=7, Resulting Numbers: [11, 4, 7]
Generated Node #0,1: 38:[11, 4, 7] Operation: 63/9=7
Moving to Node #0,1
Current State: 38:[11, 4, 7], Operations: ['63/9=7']
Exploring Operation: 11+7=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 38:[4, 18] Operation: 11+7=18
Exploring Operation: 11-7=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 38:[4, 4] Operation: 11-7=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[4, 18], Operations: ['63/9=7', '11+7=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[4, 4], Operations: ['63/9=7', '11-7=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,38 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: 38:[9, 4, 52], Operations: ['63-11=52']
Exploring Operation: 52/4=13, Resulting Numbers: [9, 13]
Generated Node #0,0,0: 38:[9, 13] Operation: 52/4=13
Exploring Operation: 52-9=43, Resulting Numbers: [4, 43]
Generated Node #0,0,1: 38:[4, 43] Operation: 52-9=43
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[4, 43], Operations: ['63-11=52', '52-9=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[9, 13], Operations: ['63-11=52', '52/4=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,38 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 |
[
79,
72,
51,
2
] | 98 | [
"79+72=151",
"51+2=53",
"151-53=98"
] | Current State: 98:[79, 72, 51, 2], Operations: []
Exploring Operation: 79+72=151, Resulting Numbers: [51, 2, 151]
Generated Node #2: [51, 2, 151] from Operation: 79+72=151
Current State: 98:[51, 2, 151], Operations: ['79+72=151']
Exploring Operation: 51+2=53, Resulting Numbers: [151, 53]
Generated Node #3: [151, 53] from Operation: 51+2=53
Current State: 98:[151, 53], Operations: ['79+72=151', '51+2=53']
Exploring Operation: 151-53=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[79, 72, 51, 2], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [72, 2, 28]
Generated Node #0,0: 98:[72, 2, 28] Operation: 79-51=28
Exploring Operation: 72-51=21, Resulting Numbers: [79, 2, 21]
Generated Node #0,1: 98:[79, 2, 21] Operation: 72-51=21
Exploring Operation: 72/2=36, Resulting Numbers: [79, 51, 36]
Generated Node #0,2: 98:[79, 51, 36] Operation: 72/2=36
Exploring Operation: 79-72=7, Resulting Numbers: [51, 2, 7]
Generated Node #0,3: 98:[51, 2, 7] Operation: 79-72=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[51, 2, 7], Operations: ['79-72=7']
Exploring Operation: 2*7=14, Resulting Numbers: [51, 14]
Generated Node #0,3,0: 98:[51, 14] Operation: 2*7=14
Exploring Operation: 51+2=53, Resulting Numbers: [7, 53]
Generated Node #0,3,1: 98:[7, 53] Operation: 51+2=53
Exploring Operation: 51*2=102, Resulting Numbers: [7, 102]
Generated Node #0,3,2: 98:[7, 102] Operation: 51*2=102
Exploring Operation: 51-2=49, Resulting Numbers: [7, 49]
Generated Node #0,3,3: 98:[7, 49] Operation: 51-2=49
Moving to Node #0,3,3
Current State: 98:[7, 49], Operations: ['79-72=7', '51-2=49']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 7+49=56, Resulting Numbers: [56]
56,98 unequal: No Solution
Exploring Operation: 7*49=343, Resulting Numbers: [343]
343,98 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[51, 14], Operations: ['79-72=7', '2*7=14']
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,98 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[7, 102], Operations: ['79-72=7', '51*2=102']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 7+102=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 7*102=714, Resulting Numbers: [714]
714,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[7, 53], Operations: ['79-72=7', '51+2=53']
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[79, 2, 21], Operations: ['72-51=21']
Exploring Operation: 21-2=19, Resulting Numbers: [79, 19]
Generated Node #0,1,0: 98:[79, 19] Operation: 21-2=19
Exploring Operation: 79-21=58, Resulting Numbers: [2, 58]
Generated Node #0,1,1: 98:[2, 58] Operation: 79-21=58
Exploring Operation: 79+2=81, Resulting Numbers: [21, 81]
Generated Node #0,1,2: 98:[21, 81] Operation: 79+2=81
Exploring Operation: 79+21=100, Resulting Numbers: [2, 100]
Generated Node #0,1,3: 98:[2, 100] Operation: 79+21=100
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 98:[2, 100], Operations: ['72-51=21', '79+21=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[79, 72, 51, 2], Operations: []
Exploring Operation: 72-51=21, Resulting Numbers: [79, 2, 21]
Generated Node #0,1: 98:[79, 2, 21] Operation: 72-51=21
Moving to Node #0,1
Current State: 98:[79, 2, 21], Operations: ['72-51=21']
Exploring Operation: 79+21=100, Resulting Numbers: [2, 100]
Generated Node #0,1,3: 98:[2, 100] Operation: 79+21=100
Moving to Node #0,1,3
Current State: 98:[2, 100], Operations: ['72-51=21', '79+21=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
37,
15,
83,
89
] | 46 | [
"37+15=52",
"89-83=6",
"52-6=46"
] | Current State: 46:[37, 15, 83, 89], Operations: []
Exploring Operation: 37+15=52, Resulting Numbers: [83, 89, 52]
Generated Node #2: [83, 89, 52] from Operation: 37+15=52
Current State: 46:[83, 89, 52], Operations: ['37+15=52']
Exploring Operation: 89-83=6, Resulting Numbers: [52, 6]
Generated Node #3: [52, 6] from Operation: 89-83=6
Current State: 46:[52, 6], Operations: ['37+15=52', '89-83=6']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[37, 15, 83, 89], Operations: []
Exploring Operation: 89-37=52, Resulting Numbers: [15, 83, 52]
Generated Node #0,0: 46:[15, 83, 52] Operation: 89-37=52
Exploring Operation: 83-15=68, Resulting Numbers: [37, 89, 68]
Generated Node #0,1: 46:[37, 89, 68] Operation: 83-15=68
Exploring Operation: 89-15=74, Resulting Numbers: [37, 83, 74]
Generated Node #0,2: 46:[37, 83, 74] Operation: 89-15=74
Exploring Operation: 83-37=46, Resulting Numbers: [15, 89, 46]
Generated Node #0,3: 46:[15, 89, 46] Operation: 83-37=46
Exploring Operation: 89-83=6, Resulting Numbers: [37, 15, 6]
Generated Node #0,4: 46:[37, 15, 6] Operation: 89-83=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[37, 15, 6], Operations: ['89-83=6']
Exploring Operation: 15+6=21, Resulting Numbers: [37, 21]
Generated Node #0,4,0: 46:[37, 21] Operation: 15+6=21
Exploring Operation: 37-6=31, Resulting Numbers: [15, 31]
Generated Node #0,4,1: 46:[15, 31] Operation: 37-6=31
Exploring Operation: 37-15=22, Resulting Numbers: [6, 22]
Generated Node #0,4,2: 46:[6, 22] Operation: 37-15=22
Exploring Operation: 37+15=52, Resulting Numbers: [6, 52]
Generated Node #0,4,3: 46:[6, 52] Operation: 37+15=52
Exploring Operation: 37+6=43, Resulting Numbers: [15, 43]
Generated Node #0,4,4: 46:[15, 43] Operation: 37+6=43
Moving to Node #0,4,2
Current State: 46:[6, 22], Operations: ['89-83=6', '37-15=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,46 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Moving to Node #0,4,3
Current State: 46:[6, 52], Operations: ['89-83=6', '37+15=52']
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[37, 15, 83, 89], Operations: []
Exploring Operation: 89-83=6, Resulting Numbers: [37, 15, 6]
Generated Node #0,4: 46:[37, 15, 6] Operation: 89-83=6
Moving to Node #0,4
Current State: 46:[37, 15, 6], Operations: ['89-83=6']
Exploring Operation: 37+15=52, Resulting Numbers: [6, 52]
Generated Node #0,4,3: 46:[6, 52] Operation: 37+15=52
Moving to Node #0,4,3
Current State: 46:[6, 52], Operations: ['89-83=6', '37+15=52']
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
18,
6,
91,
42
] | 59 | [
"18*6=108",
"91-42=49",
"108-49=59"
] | Current State: 59:[18, 6, 91, 42], Operations: []
Exploring Operation: 18*6=108, Resulting Numbers: [91, 42, 108]
Generated Node #2: [91, 42, 108] from Operation: 18*6=108
Current State: 59:[91, 42, 108], Operations: ['18*6=108']
Exploring Operation: 91-42=49, Resulting Numbers: [108, 49]
Generated Node #3: [108, 49] from Operation: 91-42=49
Current State: 59:[108, 49], Operations: ['18*6=108', '91-42=49']
Exploring Operation: 108-49=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[18, 6, 91, 42], Operations: []
Exploring Operation: 18+6=24, Resulting Numbers: [91, 42, 24]
Generated Node #0,0: 59:[91, 42, 24] Operation: 18+6=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[91, 42, 24], Operations: ['18+6=24']
Exploring Operation: 91-24=67, Resulting Numbers: [42, 67]
Generated Node #0,0,0: 59:[42, 67] Operation: 91-24=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[42, 67], Operations: ['18+6=24', '91-24=67']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,59 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 |
[
3,
87,
73,
98
] | 59 | [
"87-3=84",
"98-73=25",
"84-25=59"
] | Current State: 59:[3, 87, 73, 98], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [73, 98, 84]
Generated Node #2: [73, 98, 84] from Operation: 87-3=84
Current State: 59:[73, 98, 84], Operations: ['87-3=84']
Exploring Operation: 98-73=25, Resulting Numbers: [84, 25]
Generated Node #3: [84, 25] from Operation: 98-73=25
Current State: 59:[84, 25], Operations: ['87-3=84', '98-73=25']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[3, 87, 73, 98], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [73, 98, 84]
Generated Node #0,0: 59:[73, 98, 84] Operation: 87-3=84
Exploring Operation: 73-3=70, Resulting Numbers: [87, 98, 70]
Generated Node #0,1: 59:[87, 98, 70] Operation: 73-3=70
Exploring Operation: 87/3=29, Resulting Numbers: [73, 98, 29]
Generated Node #0,2: 59:[73, 98, 29] Operation: 87/3=29
Exploring Operation: 3+87=90, Resulting Numbers: [73, 98, 90]
Generated Node #0,3: 59:[73, 98, 90] Operation: 3+87=90
Exploring Operation: 98-3=95, Resulting Numbers: [87, 73, 95]
Generated Node #0,4: 59:[87, 73, 95] Operation: 98-3=95
Moving to Node #0,0
Current State: 59:[73, 98, 84], Operations: ['87-3=84']
Exploring Operation: 84-73=11, Resulting Numbers: [98, 11]
Generated Node #0,0,0: 59:[98, 11] Operation: 84-73=11
Exploring Operation: 98-73=25, Resulting Numbers: [84, 25]
Generated Node #0,0,1: 59:[84, 25] Operation: 98-73=25
Exploring Operation: 73+84=157, Resulting Numbers: [98, 157]
Generated Node #0,0,2: 59:[98, 157] Operation: 73+84=157
Exploring Operation: 73+98=171, Resulting Numbers: [84, 171]
Generated Node #0,0,3: 59:[84, 171] Operation: 73+98=171
Exploring Operation: 98-84=14, Resulting Numbers: [73, 14]
Generated Node #0,0,4: 59:[73, 14] Operation: 98-84=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[84, 25], Operations: ['87-3=84', '98-73=25']
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[3, 87, 73, 98], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [73, 98, 84]
Generated Node #0,0: 59:[73, 98, 84] Operation: 87-3=84
Moving to Node #0,0
Current State: 59:[73, 98, 84], Operations: ['87-3=84']
Exploring Operation: 98-73=25, Resulting Numbers: [84, 25]
Generated Node #0,0,1: 59:[84, 25] Operation: 98-73=25
Moving to Node #0,0,1
Current State: 59:[84, 25], Operations: ['87-3=84', '98-73=25']
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
4,
65,
30,
52
] | 91 | [
"4+65=69",
"52-30=22",
"69+22=91"
] | Current State: 91:[4, 65, 30, 52], Operations: []
Exploring Operation: 4+65=69, Resulting Numbers: [30, 52, 69]
Generated Node #2: [30, 52, 69] from Operation: 4+65=69
Current State: 91:[30, 52, 69], Operations: ['4+65=69']
Exploring Operation: 52-30=22, Resulting Numbers: [69, 22]
Generated Node #3: [69, 22] from Operation: 52-30=22
Current State: 91:[69, 22], Operations: ['4+65=69', '52-30=22']
Exploring Operation: 69+22=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[4, 65, 30, 52], Operations: []
Exploring Operation: 65-52=13, Resulting Numbers: [4, 30, 13]
Generated Node #0,0: 91:[4, 30, 13] Operation: 65-52=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[4, 30, 13], Operations: ['65-52=13']
Exploring Operation: 30-13=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 91:[4, 17] Operation: 30-13=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[4, 17], Operations: ['65-52=13', '30-13=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
80,
1,
17
] | 85 | [
"85-80=5",
"1*17=17",
"5*17=85"
] | Current State: 85:[85, 80, 1, 17], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [1, 17, 5]
Generated Node #2: [1, 17, 5] from Operation: 85-80=5
Current State: 85:[1, 17, 5], Operations: ['85-80=5']
Exploring Operation: 1*17=17, Resulting Numbers: [5, 17]
Generated Node #3: [5, 17] from Operation: 1*17=17
Current State: 85:[5, 17], Operations: ['85-80=5', '1*17=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[85, 80, 1, 17], Operations: []
Exploring Operation: 85*1=85, Resulting Numbers: [80, 17, 85]
Generated Node #0,0: 85:[80, 17, 85] Operation: 85*1=85
Exploring Operation: 80+1=81, Resulting Numbers: [85, 17, 81]
Generated Node #0,1: 85:[85, 17, 81] Operation: 80+1=81
Exploring Operation: 85/1=85, Resulting Numbers: [80, 17, 85]
Generated Node #0,2: 85:[80, 17, 85] Operation: 85/1=85
Exploring Operation: 80*1=80, Resulting Numbers: [85, 17, 80]
Generated Node #0,3: 85:[85, 17, 80] Operation: 80*1=80
Exploring Operation: 85-80=5, Resulting Numbers: [1, 17, 5]
Generated Node #0,4: 85:[1, 17, 5] Operation: 85-80=5
Moving to Node #0,1
Current State: 85:[85, 17, 81], Operations: ['80+1=81']
Exploring Operation: 85/17=5, Resulting Numbers: [81, 5]
Generated Node #0,1,0: 85:[81, 5] Operation: 85/17=5
Exploring Operation: 85-81=4, Resulting Numbers: [17, 4]
Generated Node #0,1,1: 85:[17, 4] Operation: 85-81=4
Exploring Operation: 85+17=102, Resulting Numbers: [81, 102]
Generated Node #0,1,2: 85:[81, 102] Operation: 85+17=102
Exploring Operation: 85-17=68, Resulting Numbers: [81, 68]
Generated Node #0,1,3: 85:[81, 68] Operation: 85-17=68
Exploring Operation: 17+81=98, Resulting Numbers: [85, 98]
Generated Node #0,1,4: 85:[85, 98] Operation: 17+81=98
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[17, 4], Operations: ['80+1=81', '85-81=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,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:[81, 5], Operations: ['80+1=81', '85/17=5']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,85 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,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,4
Current State: 85:[85, 98], Operations: ['80+1=81', '17+81=98']
Exploring Operation: 85+98=183, Resulting Numbers: [183]
183,85 unequal: No Solution
Exploring Operation: 85*98=8330, Resulting Numbers: [8330]
8330,85 unequal: No Solution
Exploring Operation: 98-85=13, Resulting Numbers: [13]
13,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:[81, 102], Operations: ['80+1=81', '85+17=102']
Exploring Operation: 81*102=8262, Resulting Numbers: [8262]
8262,85 unequal: No Solution
Exploring Operation: 81+102=183, Resulting Numbers: [183]
183,85 unequal: No Solution
Exploring Operation: 102-81=21, Resulting Numbers: [21]
21,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,3
Current State: 85:[81, 68], Operations: ['80+1=81', '85-17=68']
Exploring Operation: 81+68=149, Resulting Numbers: [149]
149,85 unequal: No Solution
Exploring Operation: 81*68=5508, Resulting Numbers: [5508]
5508,85 unequal: No Solution
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,85 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: 85:[1, 17, 5], Operations: ['85-80=5']
Exploring Operation: 1*17=17, Resulting Numbers: [5, 17]
Generated Node #0,4,0: 85:[5, 17] Operation: 1*17=17
Exploring Operation: 1+17=18, Resulting Numbers: [5, 18]
Generated Node #0,4,1: 85:[5, 18] Operation: 1+17=18
Exploring Operation: 17/1=17, Resulting Numbers: [5, 17]
Generated Node #0,4,2: 85:[5, 17] Operation: 17/1=17
Exploring Operation: 5/1=5, Resulting Numbers: [17, 5]
Generated Node #0,4,3: 85:[17, 5] Operation: 5/1=5
Exploring Operation: 1*5=5, Resulting Numbers: [17, 5]
Generated Node #0,4,4: 85:[17, 5] Operation: 1*5=5
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 85:[5, 17], Operations: ['85-80=5', '1*17=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[85, 80, 1, 17], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [1, 17, 5]
Generated Node #0,4: 85:[1, 17, 5] Operation: 85-80=5
Moving to Node #0,4
Current State: 85:[1, 17, 5], Operations: ['85-80=5']
Exploring Operation: 1*17=17, Resulting Numbers: [5, 17]
Generated Node #0,4,0: 85:[5, 17] Operation: 1*17=17
Moving to Node #0,4,0
Current State: 85:[5, 17], Operations: ['85-80=5', '1*17=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
57,
74,
83,
34
] | 14 | [
"57+74=131",
"83+34=117",
"131-117=14"
] | Current State: 14:[57, 74, 83, 34], Operations: []
Exploring Operation: 57+74=131, Resulting Numbers: [83, 34, 131]
Generated Node #2: [83, 34, 131] from Operation: 57+74=131
Current State: 14:[83, 34, 131], Operations: ['57+74=131']
Exploring Operation: 83+34=117, Resulting Numbers: [131, 117]
Generated Node #3: [131, 117] from Operation: 83+34=117
Current State: 14:[131, 117], Operations: ['57+74=131', '83+34=117']
Exploring Operation: 131-117=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[57, 74, 83, 34], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [57, 34, 9]
Generated Node #0,0: 14:[57, 34, 9] Operation: 83-74=9
Moving to Node #0,0
Current State: 14:[57, 34, 9], Operations: ['83-74=9']
Exploring Operation: 57-34=23, Resulting Numbers: [9, 23]
Generated Node #0,0,0: 14:[9, 23] Operation: 57-34=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[9, 23], Operations: ['83-74=9', '57-34=23']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[57, 74, 83, 34], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [57, 34, 9]
Generated Node #0,0: 14:[57, 34, 9] Operation: 83-74=9
Moving to Node #0,0
Current State: 14:[57, 34, 9], Operations: ['83-74=9']
Exploring Operation: 57-34=23, Resulting Numbers: [9, 23]
Generated Node #0,0,0: 14:[9, 23] Operation: 57-34=23
Moving to Node #0,0,0
Current State: 14:[9, 23], Operations: ['83-74=9', '57-34=23']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
26,
63,
59,
22
] | 12 | [
"26+22=48",
"63-59=4",
"48/4=12"
] | Current State: 12:[26, 63, 59, 22], Operations: []
Exploring Operation: 26+22=48, Resulting Numbers: [63, 59, 48]
Generated Node #2: [63, 59, 48] from Operation: 26+22=48
Current State: 12:[63, 59, 48], Operations: ['26+22=48']
Exploring Operation: 63-59=4, Resulting Numbers: [48, 4]
Generated Node #3: [48, 4] from Operation: 63-59=4
Current State: 12:[48, 4], Operations: ['26+22=48', '63-59=4']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[26, 63, 59, 22], Operations: []
Exploring Operation: 59-26=33, Resulting Numbers: [63, 22, 33]
Generated Node #0,0: 12:[63, 22, 33] Operation: 59-26=33
Exploring Operation: 63-22=41, Resulting Numbers: [26, 59, 41]
Generated Node #0,1: 12:[26, 59, 41] Operation: 63-22=41
Exploring Operation: 63-59=4, Resulting Numbers: [26, 22, 4]
Generated Node #0,2: 12:[26, 22, 4] Operation: 63-59=4
Exploring Operation: 63-26=37, Resulting Numbers: [59, 22, 37]
Generated Node #0,3: 12:[59, 22, 37] Operation: 63-26=37
Moving to Node #0,2
Current State: 12:[26, 22, 4], Operations: ['63-59=4']
Exploring Operation: 22-4=18, Resulting Numbers: [26, 18]
Generated Node #0,2,0: 12:[26, 18] Operation: 22-4=18
Exploring Operation: 26+4=30, Resulting Numbers: [22, 30]
Generated Node #0,2,1: 12:[22, 30] Operation: 26+4=30
Exploring Operation: 26-4=22, Resulting Numbers: [22, 22]
Generated Node #0,2,2: 12:[22, 22] Operation: 26-4=22
Exploring Operation: 26-22=4, Resulting Numbers: [4, 4]
Generated Node #0,2,3: 12:[4, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[4, 4], Operations: ['63-59=4', '26-22=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,12 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,12 unequal: No Solution
No 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: 12:[26, 18], Operations: ['63-59=4', '22-4=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,12 unequal: No Solution
No 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: 12:[22, 22], Operations: ['63-59=4', '26-4=22']
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,12 unequal: No Solution
No 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: 12:[22, 30], Operations: ['63-59=4', '26+4=30']
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,12 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,12 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: 12:[59, 22, 37], Operations: ['63-26=37']
Exploring Operation: 59+22=81, Resulting Numbers: [37, 81]
Generated Node #0,3,0: 12:[37, 81] Operation: 59+22=81
Exploring Operation: 59-37=22, Resulting Numbers: [22, 22]
Generated Node #0,3,1: 12:[22, 22] Operation: 59-37=22
Exploring Operation: 37-22=15, Resulting Numbers: [59, 15]
Generated Node #0,3,2: 12:[59, 15] Operation: 37-22=15
Exploring Operation: 59-22=37, Resulting Numbers: [37, 37]
Generated Node #0,3,3: 12:[37, 37] Operation: 59-22=37
Moving to Node #0,0
Current State: 12:[63, 22, 33], Operations: ['59-26=33']
Exploring Operation: 63-22=41, Resulting Numbers: [33, 41]
Generated Node #0,0,0: 12:[33, 41] Operation: 63-22=41
Exploring Operation: 33-22=11, Resulting Numbers: [63, 11]
Generated Node #0,0,1: 12:[63, 11] Operation: 33-22=11
Exploring Operation: 63-33=30, Resulting Numbers: [22, 30]
Generated Node #0,0,2: 12:[22, 30] Operation: 63-33=30
Exploring Operation: 63+22=85, Resulting Numbers: [33, 85]
Generated Node #0,0,3: 12:[33, 85] Operation: 63+22=85
Moving to Node #0,1
Current State: 12:[26, 59, 41], Operations: ['63-22=41']
Exploring Operation: 41-26=15, Resulting Numbers: [59, 15]
Generated Node #0,1,0: 12:[59, 15] Operation: 41-26=15
Exploring Operation: 59-26=33, Resulting Numbers: [41, 33]
Generated Node #0,1,1: 12:[41, 33] Operation: 59-26=33
Exploring Operation: 26+59=85, Resulting Numbers: [41, 85]
Generated Node #0,1,2: 12:[41, 85] Operation: 26+59=85
Exploring Operation: 59-41=18, Resulting Numbers: [26, 18]
Generated Node #0,1,3: 12:[26, 18] Operation: 59-41=18
Moving to Node #0,3,1
Current State: 12:[22, 22], Operations: ['63-26=37', '59-37=22']
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,12 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[26, 18], Operations: ['63-22=41', '59-41=18']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[22, 30], Operations: ['59-26=33', '63-33=30']
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,12 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[37, 37], Operations: ['63-26=37', '59-22=37']
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,12 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[33, 41], Operations: ['59-26=33', '63-22=41']
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 33*41=1353, Resulting Numbers: [1353]
1353,12 unequal: No Solution
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[41, 33], Operations: ['63-22=41', '59-26=33']
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 41*33=1353, Resulting Numbers: [1353]
1353,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[59, 15], Operations: ['63-26=37', '37-22=15']
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 59*15=885, Resulting Numbers: [885]
885,12 unequal: No Solution
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[59, 15], Operations: ['63-22=41', '41-26=15']
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 59*15=885, Resulting Numbers: [885]
885,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[63, 11], Operations: ['59-26=33', '33-22=11']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,12 unequal: No Solution
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[33, 85], Operations: ['59-26=33', '63+22=85']
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 33*85=2805, Resulting Numbers: [2805]
2805,12 unequal: No Solution
Exploring Operation: 33+85=118, Resulting Numbers: [118]
118,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[37, 81], Operations: ['63-26=37', '59+22=81']
Exploring Operation: 37+81=118, Resulting Numbers: [118]
118,12 unequal: No Solution
Exploring Operation: 37*81=2997, Resulting Numbers: [2997]
2997,12 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[41, 85], Operations: ['63-22=41', '26+59=85']
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 41*85=3485, Resulting Numbers: [3485]
3485,12 unequal: No Solution
Exploring Operation: 41+85=126, Resulting Numbers: [126]
126,12 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
26,
1,
66,
13
] | 22 | [
"26/13=2",
"1+2=3",
"66/3=22"
] | Current State: 22:[26, 1, 66, 13], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [1, 66, 2]
Generated Node #2: [1, 66, 2] from Operation: 26/13=2
Current State: 22:[1, 66, 2], Operations: ['26/13=2']
Exploring Operation: 1+2=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 1+2=3
Current State: 22:[66, 3], Operations: ['26/13=2', '1+2=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[26, 1, 66, 13], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [1, 66, 2]
Generated Node #0,0: 22:[1, 66, 2] Operation: 26/13=2
Exploring Operation: 66-13=53, Resulting Numbers: [26, 1, 53]
Generated Node #0,1: 22:[26, 1, 53] Operation: 66-13=53
Exploring Operation: 66-26=40, Resulting Numbers: [1, 13, 40]
Generated Node #0,2: 22:[1, 13, 40] Operation: 66-26=40
Exploring Operation: 26-1=25, Resulting Numbers: [66, 13, 25]
Generated Node #0,3: 22:[66, 13, 25] Operation: 26-1=25
Exploring Operation: 26-13=13, Resulting Numbers: [1, 66, 13]
Generated Node #0,4: 22:[1, 66, 13] Operation: 26-13=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[1, 13, 40], Operations: ['66-26=40']
Exploring Operation: 13/1=13, Resulting Numbers: [40, 13]
Generated Node #0,2,0: 22:[40, 13] Operation: 13/1=13
Exploring Operation: 1*13=13, Resulting Numbers: [40, 13]
Generated Node #0,2,1: 22:[40, 13] Operation: 1*13=13
Exploring Operation: 40-13=27, Resulting Numbers: [1, 27]
Generated Node #0,2,2: 22:[1, 27] Operation: 40-13=27
Exploring Operation: 13-1=12, Resulting Numbers: [40, 12]
Generated Node #0,2,3: 22:[40, 12] Operation: 13-1=12
Exploring Operation: 40-1=39, Resulting Numbers: [13, 39]
Generated Node #0,2,4: 22:[13, 39] Operation: 40-1=39
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[1, 27], Operations: ['66-26=40', '40-13=27']
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 22:[40, 12], Operations: ['66-26=40', '13-1=12']
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,22 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 22:[13, 39], Operations: ['66-26=40', '40-1=39']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 13*39=507, Resulting Numbers: [507]
507,22 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[40, 13], Operations: ['66-26=40', '13/1=13']
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,22 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[40, 13], Operations: ['66-26=40', '1*13=13']
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,22 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[26, 1, 53], Operations: ['66-13=53']
Exploring Operation: 26/1=26, Resulting Numbers: [53, 26]
Generated Node #0,1,0: 22:[53, 26] Operation: 26/1=26
Exploring Operation: 26*1=26, Resulting Numbers: [53, 26]
Generated Node #0,1,1: 22:[53, 26] Operation: 26*1=26
Exploring Operation: 26-1=25, Resulting Numbers: [53, 25]
Generated Node #0,1,2: 22:[53, 25] Operation: 26-1=25
Exploring Operation: 53-26=27, Resulting Numbers: [1, 27]
Generated Node #0,1,3: 22:[1, 27] Operation: 53-26=27
Exploring Operation: 53-1=52, Resulting Numbers: [26, 52]
Generated Node #0,1,4: 22:[26, 52] Operation: 53-1=52
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 22:[1, 27], Operations: ['66-13=53', '53-26=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[53, 25], Operations: ['66-13=53', '26-1=25']
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,22 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 22:[26, 52], Operations: ['66-13=53', '53-1=52']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 26+52=78, Resulting Numbers: [78]
78,22 unequal: No Solution
Exploring Operation: 26*52=1352, Resulting Numbers: [1352]
1352,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[53, 26], Operations: ['66-13=53', '26/1=26']
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,22 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[53, 26], Operations: ['66-13=53', '26*1=26']
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,22 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[1, 66, 2], Operations: ['26/13=2']
Exploring Operation: 66/2=33, Resulting Numbers: [1, 33]
Generated Node #0,0,0: 22:[1, 33] Operation: 66/2=33
Exploring Operation: 66-2=64, Resulting Numbers: [1, 64]
Generated Node #0,0,1: 22:[1, 64] Operation: 66-2=64
Exploring Operation: 66-1=65, Resulting Numbers: [2, 65]
Generated Node #0,0,2: 22:[2, 65] Operation: 66-1=65
Exploring Operation: 1*66=66, Resulting Numbers: [2, 66]
Generated Node #0,0,3: 22:[2, 66] Operation: 1*66=66
Exploring Operation: 66/1=66, Resulting Numbers: [2, 66]
Generated Node #0,0,4: 22:[2, 66] Operation: 66/1=66
Moving to Node #0,0,0
Current State: 22:[1, 33], Operations: ['26/13=2', '66/2=33']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[2, 65], Operations: ['26/13=2', '66-1=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,22 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[1, 64], Operations: ['26/13=2', '66-2=64']
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,22 unequal: No Solution
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[2, 66], Operations: ['26/13=2', '1*66=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,22 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,22 unequal: No Solution
Moving to Node #0,0,4
Current State: 22:[2, 66], Operations: ['26/13=2', '66/1=66']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,22 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,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,4
Current State: 22:[1, 66, 13], Operations: ['26-13=13']
Exploring Operation: 1*66=66, Resulting Numbers: [13, 66]
Generated Node #0,4,0: 22:[13, 66] Operation: 1*66=66
Exploring Operation: 66/1=66, Resulting Numbers: [13, 66]
Generated Node #0,4,1: 22:[13, 66] Operation: 66/1=66
Exploring Operation: 13-1=12, Resulting Numbers: [66, 12]
Generated Node #0,4,2: 22:[66, 12] Operation: 13-1=12
Exploring Operation: 66-13=53, Resulting Numbers: [1, 53]
Generated Node #0,4,3: 22:[1, 53] Operation: 66-13=53
Exploring Operation: 66-1=65, Resulting Numbers: [13, 65]
Generated Node #0,4,4: 22:[13, 65] Operation: 66-1=65
Moving to Node #0,4,3
Current State: 22:[1, 53], Operations: ['26-13=13', '66-13=53']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Moving to Node #0,4,4
Current State: 22:[13, 65], Operations: ['26-13=13', '66-1=65']
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,22 unequal: No Solution
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[66, 12], Operations: ['26-13=13', '13-1=12']
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,22 unequal: No Solution
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,22 unequal: No Solution
Moving to Node #0,4,0
Current State: 22:[13, 66], Operations: ['26-13=13', '1*66=66']
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,22 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[13, 66], Operations: ['26-13=13', '66/1=66']
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,22 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,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,3
Current State: 22:[66, 13, 25], Operations: ['26-1=25']
Exploring Operation: 66-25=41, Resulting Numbers: [13, 41]
Generated Node #0,3,0: 22:[13, 41] Operation: 66-25=41
Exploring Operation: 25-13=12, Resulting Numbers: [66, 12]
Generated Node #0,3,1: 22:[66, 12] Operation: 25-13=12
Exploring Operation: 13+25=38, Resulting Numbers: [66, 38]
Generated Node #0,3,2: 22:[66, 38] Operation: 13+25=38
Exploring Operation: 66+13=79, Resulting Numbers: [25, 79]
Generated Node #0,3,3: 22:[25, 79] Operation: 66+13=79
Exploring Operation: 66-13=53, Resulting Numbers: [25, 53]
Generated Node #0,3,4: 22:[25, 53] Operation: 66-13=53
Moving to Node #0,3,0
Current State: 22:[13, 41], Operations: ['26-1=25', '66-25=41']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,22 unequal: No Solution
Moving to Node #0,3,4
Current State: 22:[25, 53], Operations: ['26-1=25', '66-13=53']
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,22 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 25*53=1325, Resulting Numbers: [1325]
1325,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[66, 12], Operations: ['26-1=25', '25-13=12']
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,22 unequal: No Solution
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,22 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[66, 38], Operations: ['26-1=25', '13+25=38']
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,22 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[25, 79], Operations: ['26-1=25', '66+13=79']
Exploring Operation: 25+79=104, Resulting Numbers: [104]
104,22 unequal: No Solution
Exploring Operation: 25*79=1975, Resulting Numbers: [1975]
1975,22 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
59,
32,
9,
1
] | 10 | [
"59+32=91",
"91-1=90",
"90/9=10"
] | Current State: 10:[59, 32, 9, 1], Operations: []
Exploring Operation: 59+32=91, Resulting Numbers: [9, 1, 91]
Generated Node #2: [9, 1, 91] from Operation: 59+32=91
Current State: 10:[9, 1, 91], Operations: ['59+32=91']
Exploring Operation: 91-1=90, Resulting Numbers: [9, 90]
Generated Node #3: [9, 90] from Operation: 91-1=90
Current State: 10:[9, 90], Operations: ['59+32=91', '91-1=90']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[59, 32, 9, 1], Operations: []
Exploring Operation: 59-9=50, Resulting Numbers: [32, 1, 50]
Generated Node #0,0: 10:[32, 1, 50] Operation: 59-9=50
Exploring Operation: 32-9=23, Resulting Numbers: [59, 1, 23]
Generated Node #0,1: 10:[59, 1, 23] Operation: 32-9=23
Exploring Operation: 59-32=27, Resulting Numbers: [9, 1, 27]
Generated Node #0,2: 10:[9, 1, 27] Operation: 59-32=27
Exploring Operation: 59-1=58, Resulting Numbers: [32, 9, 58]
Generated Node #0,3: 10:[32, 9, 58] Operation: 59-1=58
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[9, 1, 27], Operations: ['59-32=27']
Exploring Operation: 27-9=18, Resulting Numbers: [1, 18]
Generated Node #0,2,0: 10:[1, 18] Operation: 27-9=18
Exploring Operation: 9+1=10, Resulting Numbers: [27, 10]
Generated Node #0,2,1: 10:[27, 10] Operation: 9+1=10
Exploring Operation: 27-1=26, Resulting Numbers: [9, 26]
Generated Node #0,2,2: 10:[9, 26] Operation: 27-1=26
Exploring Operation: 27/9=3, Resulting Numbers: [1, 3]
Generated Node #0,2,3: 10:[1, 3] Operation: 27/9=3
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 10:[1, 3], Operations: ['59-32=27', '27/9=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,10 unequal: No Solution
No 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: 10:[1, 18], Operations: ['59-32=27', '27-9=18']
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,10 unequal: No Solution
No 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: 10:[27, 10], Operations: ['59-32=27', '9+1=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,10 unequal: No Solution
No 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: 10:[9, 26], Operations: ['59-32=27', '27-1=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,10 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,10 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: 10:[32, 1, 50], Operations: ['59-9=50']
Exploring Operation: 50-1=49, Resulting Numbers: [32, 49]
Generated Node #0,0,0: 10:[32, 49] Operation: 50-1=49
Exploring Operation: 32*1=32, Resulting Numbers: [50, 32]
Generated Node #0,0,1: 10:[50, 32] Operation: 32*1=32
Exploring Operation: 50-32=18, Resulting Numbers: [1, 18]
Generated Node #0,0,2: 10:[1, 18] Operation: 50-32=18
Exploring Operation: 32-1=31, Resulting Numbers: [50, 31]
Generated Node #0,0,3: 10:[50, 31] Operation: 32-1=31
Moving to Node #0,0,2
Current State: 10:[1, 18], Operations: ['59-9=50', '50-32=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[50, 31], Operations: ['59-9=50', '32-1=31']
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,10 unequal: No Solution
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[32, 49], Operations: ['59-9=50', '50-1=49']
Exploring Operation: 32*49=1568, Resulting Numbers: [1568]
1568,10 unequal: No Solution
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[50, 32], Operations: ['59-9=50', '32*1=32']
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 50*32=1600, Resulting Numbers: [1600]
1600,10 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,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
Current State: 10:[59, 1, 23], Operations: ['32-9=23']
Exploring Operation: 59-1=58, Resulting Numbers: [23, 58]
Generated Node #0,1,0: 10:[23, 58] Operation: 59-1=58
Exploring Operation: 59*1=59, Resulting Numbers: [23, 59]
Generated Node #0,1,1: 10:[23, 59] Operation: 59*1=59
Exploring Operation: 59-23=36, Resulting Numbers: [1, 36]
Generated Node #0,1,2: 10:[1, 36] Operation: 59-23=36
Exploring Operation: 23-1=22, Resulting Numbers: [59, 22]
Generated Node #0,1,3: 10:[59, 22] Operation: 23-1=22
Moving to Node #0,1,2
Current State: 10:[1, 36], Operations: ['32-9=23', '59-23=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[59, 22], Operations: ['32-9=23', '23-1=22']
Exploring Operation: 59+22=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 59*22=1298, Resulting Numbers: [1298]
1298,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[23, 58], Operations: ['32-9=23', '59-1=58']
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 23*58=1334, Resulting Numbers: [1334]
1334,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[23, 59], Operations: ['32-9=23', '59*1=59']
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,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
Current State: 10:[32, 9, 58], Operations: ['59-1=58']
Exploring Operation: 32+9=41, Resulting Numbers: [58, 41]
Generated Node #0,3,0: 10:[58, 41] Operation: 32+9=41
Exploring Operation: 58-9=49, Resulting Numbers: [32, 49]
Generated Node #0,3,1: 10:[32, 49] Operation: 58-9=49
Exploring Operation: 58-32=26, Resulting Numbers: [9, 26]
Generated Node #0,3,2: 10:[9, 26] Operation: 58-32=26
Exploring Operation: 32-9=23, Resulting Numbers: [58, 23]
Generated Node #0,3,3: 10:[58, 23] Operation: 32-9=23
Moving to Node #0,3,2
Current State: 10:[9, 26], Operations: ['59-1=58', '58-32=26']
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,10 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[58, 23], Operations: ['59-1=58', '32-9=23']
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[32, 49], Operations: ['59-1=58', '58-9=49']
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 32*49=1568, Resulting Numbers: [1568]
1568,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[58, 41], Operations: ['59-1=58', '32+9=41']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,10 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
32,
29,
22,
61
] | 86 | [
"32-29=3",
"22+61=83",
"3+83=86"
] | Current State: 86:[32, 29, 22, 61], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [22, 61, 3]
Generated Node #2: [22, 61, 3] from Operation: 32-29=3
Current State: 86:[22, 61, 3], Operations: ['32-29=3']
Exploring Operation: 22+61=83, Resulting Numbers: [3, 83]
Generated Node #3: [3, 83] from Operation: 22+61=83
Current State: 86:[3, 83], Operations: ['32-29=3', '22+61=83']
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[32, 29, 22, 61], Operations: []
Exploring Operation: 22+61=83, Resulting Numbers: [32, 29, 83]
Generated Node #0,0: 86:[32, 29, 83] Operation: 22+61=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[32, 29, 83], Operations: ['22+61=83']
Exploring Operation: 32-29=3, Resulting Numbers: [83, 3]
Generated Node #0,0,0: 86:[83, 3] Operation: 32-29=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[83, 3], Operations: ['22+61=83', '32-29=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[32, 29, 22, 61], Operations: []
Exploring Operation: 22+61=83, Resulting Numbers: [32, 29, 83]
Generated Node #0,0: 86:[32, 29, 83] Operation: 22+61=83
Moving to Node #0,0
Current State: 86:[32, 29, 83], Operations: ['22+61=83']
Exploring Operation: 32-29=3, Resulting Numbers: [83, 3]
Generated Node #0,0,0: 86:[83, 3] Operation: 32-29=3
Moving to Node #0,0,0
Current State: 86:[83, 3], Operations: ['22+61=83', '32-29=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
71,
70,
84,
40
] | 45 | [
"71-70=1",
"84-40=44",
"1+44=45"
] | Current State: 45:[71, 70, 84, 40], Operations: []
Exploring Operation: 71-70=1, Resulting Numbers: [84, 40, 1]
Generated Node #2: [84, 40, 1] from Operation: 71-70=1
Current State: 45:[84, 40, 1], Operations: ['71-70=1']
Exploring Operation: 84-40=44, Resulting Numbers: [1, 44]
Generated Node #3: [1, 44] from Operation: 84-40=44
Current State: 45:[1, 44], Operations: ['71-70=1', '84-40=44']
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[71, 70, 84, 40], Operations: []
Exploring Operation: 84-71=13, Resulting Numbers: [70, 40, 13]
Generated Node #0,0: 45:[70, 40, 13] Operation: 84-71=13
Moving to Node #0,0
Current State: 45:[70, 40, 13], Operations: ['84-71=13']
Exploring Operation: 70-40=30, Resulting Numbers: [13, 30]
Generated Node #0,0,0: 45:[13, 30] Operation: 70-40=30
Moving to Node #0,0,0
Current State: 45:[13, 30], Operations: ['84-71=13', '70-40=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,45 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
63,
28,
90
] | 46 | [
"9+63=72",
"28+90=118",
"118-72=46"
] | Current State: 46:[9, 63, 28, 90], Operations: []
Exploring Operation: 9+63=72, Resulting Numbers: [28, 90, 72]
Generated Node #2: [28, 90, 72] from Operation: 9+63=72
Current State: 46:[28, 90, 72], Operations: ['9+63=72']
Exploring Operation: 28+90=118, Resulting Numbers: [72, 118]
Generated Node #3: [72, 118] from Operation: 28+90=118
Current State: 46:[72, 118], Operations: ['9+63=72', '28+90=118']
Exploring Operation: 118-72=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[9, 63, 28, 90], Operations: []
Exploring Operation: 90-63=27, Resulting Numbers: [9, 28, 27]
Generated Node #0,0: 46:[9, 28, 27] Operation: 90-63=27
Moving to Node #0,0
Current State: 46:[9, 28, 27], Operations: ['90-63=27']
Exploring Operation: 27/9=3, Resulting Numbers: [28, 3]
Generated Node #0,0,0: 46:[28, 3] Operation: 27/9=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[28, 3], Operations: ['90-63=27', '27/9=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
88,
56,
89,
79
] | 22 | [
"88-56=32",
"89-79=10",
"32-10=22"
] | Current State: 22:[88, 56, 89, 79], Operations: []
Exploring Operation: 88-56=32, Resulting Numbers: [89, 79, 32]
Generated Node #2: [89, 79, 32] from Operation: 88-56=32
Current State: 22:[89, 79, 32], Operations: ['88-56=32']
Exploring Operation: 89-79=10, Resulting Numbers: [32, 10]
Generated Node #3: [32, 10] from Operation: 89-79=10
Current State: 22:[32, 10], Operations: ['88-56=32', '89-79=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[88, 56, 89, 79], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [56, 79, 1]
Generated Node #0,0: 22:[56, 79, 1] Operation: 89-88=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[56, 79, 1], Operations: ['89-88=1']
Exploring Operation: 79-56=23, Resulting Numbers: [1, 23]
Generated Node #0,0,0: 22:[1, 23] Operation: 79-56=23
Moving to Node #0,0,0
Current State: 22:[1, 23], Operations: ['89-88=1', '79-56=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[88, 56, 89, 79], Operations: []
Exploring Operation: 89-88=1, Resulting Numbers: [56, 79, 1]
Generated Node #0,0: 22:[56, 79, 1] Operation: 89-88=1
Moving to Node #0,0
Current State: 22:[56, 79, 1], Operations: ['89-88=1']
Exploring Operation: 79-56=23, Resulting Numbers: [1, 23]
Generated Node #0,0,0: 22:[1, 23] Operation: 79-56=23
Moving to Node #0,0,0
Current State: 22:[1, 23], Operations: ['89-88=1', '79-56=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
34,
7,
96,
94
] | 29 | [
"34-7=27",
"96-94=2",
"27+2=29"
] | Current State: 29:[34, 7, 96, 94], Operations: []
Exploring Operation: 34-7=27, Resulting Numbers: [96, 94, 27]
Generated Node #2: [96, 94, 27] from Operation: 34-7=27
Current State: 29:[96, 94, 27], Operations: ['34-7=27']
Exploring Operation: 96-94=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 96-94=2
Current State: 29:[27, 2], Operations: ['34-7=27', '96-94=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[34, 7, 96, 94], Operations: []
Exploring Operation: 96-7=89, Resulting Numbers: [34, 94, 89]
Generated Node #0,0: 29:[34, 94, 89] Operation: 96-7=89
Exploring Operation: 96-94=2, Resulting Numbers: [34, 7, 2]
Generated Node #0,1: 29:[34, 7, 2] Operation: 96-94=2
Exploring Operation: 96-34=62, Resulting Numbers: [7, 94, 62]
Generated Node #0,2: 29:[7, 94, 62] Operation: 96-34=62
Exploring Operation: 94-34=60, Resulting Numbers: [7, 96, 60]
Generated Node #0,3: 29:[7, 96, 60] Operation: 94-34=60
Moving to Node #0,1
Current State: 29:[34, 7, 2], Operations: ['96-94=2']
Exploring Operation: 34-2=32, Resulting Numbers: [7, 32]
Generated Node #0,1,0: 29:[7, 32] Operation: 34-2=32
Exploring Operation: 7*2=14, Resulting Numbers: [34, 14]
Generated Node #0,1,1: 29:[34, 14] Operation: 7*2=14
Exploring Operation: 7+2=9, Resulting Numbers: [34, 9]
Generated Node #0,1,2: 29:[34, 9] Operation: 7+2=9
Exploring Operation: 34-7=27, Resulting Numbers: [2, 27]
Generated Node #0,1,3: 29:[2, 27] Operation: 34-7=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[34, 14], Operations: ['96-94=2', '7*2=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[7, 32], Operations: ['96-94=2', '34-2=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[34, 9], Operations: ['96-94=2', '7+2=9']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,29 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 29:[2, 27], Operations: ['96-94=2', '34-7=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[34, 7, 96, 94], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [34, 7, 2]
Generated Node #0,1: 29:[34, 7, 2] Operation: 96-94=2
Moving to Node #0,1
Current State: 29:[34, 7, 2], Operations: ['96-94=2']
Exploring Operation: 34-7=27, Resulting Numbers: [2, 27]
Generated Node #0,1,3: 29:[2, 27] Operation: 34-7=27
Moving to Node #0,1,3
Current State: 29:[2, 27], Operations: ['96-94=2', '34-7=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
45,
21,
48,
64
] | 62 | [
"45-21=24",
"48/24=2",
"64-2=62"
] | Current State: 62:[45, 21, 48, 64], Operations: []
Exploring Operation: 45-21=24, Resulting Numbers: [48, 64, 24]
Generated Node #2: [48, 64, 24] from Operation: 45-21=24
Current State: 62:[48, 64, 24], Operations: ['45-21=24']
Exploring Operation: 48/24=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 48/24=2
Current State: 62:[64, 2], Operations: ['45-21=24', '48/24=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[45, 21, 48, 64], Operations: []
Exploring Operation: 45+21=66, Resulting Numbers: [48, 64, 66]
Generated Node #0,0: 62:[48, 64, 66] Operation: 45+21=66
Exploring Operation: 48-45=3, Resulting Numbers: [21, 64, 3]
Generated Node #0,1: 62:[21, 64, 3] Operation: 48-45=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[21, 64, 3], Operations: ['48-45=3']
Exploring Operation: 21*3=63, Resulting Numbers: [64, 63]
Generated Node #0,1,0: 62:[64, 63] Operation: 21*3=63
Exploring Operation: 21/3=7, Resulting Numbers: [64, 7]
Generated Node #0,1,1: 62:[64, 7] Operation: 21/3=7
Moving to Node #0,1,0
Current State: 62:[64, 63], Operations: ['48-45=3', '21*3=63']
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 64+63=127, Resulting Numbers: [127]
127,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[64, 7], Operations: ['48-45=3', '21/3=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[48, 64, 66], Operations: ['45+21=66']
Exploring Operation: 66-48=18, Resulting Numbers: [64, 18]
Generated Node #0,0,0: 62:[64, 18] Operation: 66-48=18
Exploring Operation: 66-64=2, Resulting Numbers: [48, 2]
Generated Node #0,0,1: 62:[48, 2] Operation: 66-64=2
Moving to Node #0,0,1
Current State: 62:[48, 2], Operations: ['45+21=66', '66-64=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[64, 18], Operations: ['45+21=66', '66-48=18']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,62 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 |
[
1,
80,
36,
45
] | 90 | [
"1+80=81",
"45-36=9",
"81+9=90"
] | Current State: 90:[1, 80, 36, 45], Operations: []
Exploring Operation: 1+80=81, Resulting Numbers: [36, 45, 81]
Generated Node #2: [36, 45, 81] from Operation: 1+80=81
Current State: 90:[36, 45, 81], Operations: ['1+80=81']
Exploring Operation: 45-36=9, Resulting Numbers: [81, 9]
Generated Node #3: [81, 9] from Operation: 45-36=9
Current State: 90:[81, 9], Operations: ['1+80=81', '45-36=9']
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[1, 80, 36, 45], Operations: []
Exploring Operation: 45-36=9, Resulting Numbers: [1, 80, 9]
Generated Node #0,0: 90:[1, 80, 9] Operation: 45-36=9
Exploring Operation: 80-36=44, Resulting Numbers: [1, 45, 44]
Generated Node #0,1: 90:[1, 45, 44] Operation: 80-36=44
Exploring Operation: 80-45=35, Resulting Numbers: [1, 36, 35]
Generated Node #0,2: 90:[1, 36, 35] Operation: 80-45=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[1, 45, 44], Operations: ['80-36=44']
Exploring Operation: 1*45=45, Resulting Numbers: [44, 45]
Generated Node #0,1,0: 90:[44, 45] Operation: 1*45=45
Exploring Operation: 45/1=45, Resulting Numbers: [44, 45]
Generated Node #0,1,1: 90:[44, 45] Operation: 45/1=45
Exploring Operation: 1+44=45, Resulting Numbers: [45, 45]
Generated Node #0,1,2: 90:[45, 45] Operation: 1+44=45
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[45, 45], Operations: ['80-36=44', '1+44=45']
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[1, 80, 36, 45], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [1, 45, 44]
Generated Node #0,1: 90:[1, 45, 44] Operation: 80-36=44
Moving to Node #0,1
Current State: 90:[1, 45, 44], Operations: ['80-36=44']
Exploring Operation: 1+44=45, Resulting Numbers: [45, 45]
Generated Node #0,1,2: 90:[45, 45] Operation: 1+44=45
Moving to Node #0,1,2
Current State: 90:[45, 45], Operations: ['80-36=44', '1+44=45']
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
30,
61,
13,
36
] | 18 | [
"61-30=31",
"13+36=49",
"49-31=18"
] | Current State: 18:[30, 61, 13, 36], Operations: []
Exploring Operation: 61-30=31, Resulting Numbers: [13, 36, 31]
Generated Node #2: [13, 36, 31] from Operation: 61-30=31
Current State: 18:[13, 36, 31], Operations: ['61-30=31']
Exploring Operation: 13+36=49, Resulting Numbers: [31, 49]
Generated Node #3: [31, 49] from Operation: 13+36=49
Current State: 18:[31, 49], Operations: ['61-30=31', '13+36=49']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[30, 61, 13, 36], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [30, 13, 25]
Generated Node #0,0: 18:[30, 13, 25] Operation: 61-36=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[30, 13, 25], Operations: ['61-36=25']
Exploring Operation: 30-25=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 18:[13, 5] Operation: 30-25=5
Moving to Node #0,0,0
Current State: 18:[13, 5], Operations: ['61-36=25', '30-25=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[30, 61, 13, 36], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [30, 13, 25]
Generated Node #0,0: 18:[30, 13, 25] Operation: 61-36=25
Moving to Node #0,0
Current State: 18:[30, 13, 25], Operations: ['61-36=25']
Exploring Operation: 30-25=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 18:[13, 5] Operation: 30-25=5
Moving to Node #0,0,0
Current State: 18:[13, 5], Operations: ['61-36=25', '30-25=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
43,
1,
26,
78
] | 61 | [
"43*1=43",
"26+78=104",
"104-43=61"
] | Current State: 61:[43, 1, 26, 78], Operations: []
Exploring Operation: 43*1=43, Resulting Numbers: [26, 78, 43]
Generated Node #2: [26, 78, 43] from Operation: 43*1=43
Current State: 61:[26, 78, 43], Operations: ['43*1=43']
Exploring Operation: 26+78=104, Resulting Numbers: [43, 104]
Generated Node #3: [43, 104] from Operation: 26+78=104
Current State: 61:[43, 104], Operations: ['43*1=43', '26+78=104']
Exploring Operation: 104-43=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[43, 1, 26, 78], Operations: []
Exploring Operation: 78-1=77, Resulting Numbers: [43, 26, 77]
Generated Node #0,0: 61:[43, 26, 77] Operation: 78-1=77
Exploring Operation: 43+1=44, Resulting Numbers: [26, 78, 44]
Generated Node #0,1: 61:[26, 78, 44] Operation: 43+1=44
Exploring Operation: 43*1=43, Resulting Numbers: [26, 78, 43]
Generated Node #0,2: 61:[26, 78, 43] Operation: 43*1=43
Exploring Operation: 1+26=27, Resulting Numbers: [43, 78, 27]
Generated Node #0,3: 61:[43, 78, 27] Operation: 1+26=27
Moving to Node #0,0
Current State: 61:[43, 26, 77], Operations: ['78-1=77']
Exploring Operation: 43+26=69, Resulting Numbers: [77, 69]
Generated Node #0,0,0: 61:[77, 69] Operation: 43+26=69
Exploring Operation: 26+77=103, Resulting Numbers: [43, 103]
Generated Node #0,0,1: 61:[43, 103] Operation: 26+77=103
Exploring Operation: 77-26=51, Resulting Numbers: [43, 51]
Generated Node #0,0,2: 61:[43, 51] Operation: 77-26=51
Exploring Operation: 43-26=17, Resulting Numbers: [77, 17]
Generated Node #0,0,3: 61:[77, 17] Operation: 43-26=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[77, 69], Operations: ['78-1=77', '43+26=69']
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,61 unequal: No Solution
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[43, 51], Operations: ['78-1=77', '77-26=51']
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,61 unequal: No Solution
Exploring Operation: 43*51=2193, Resulting Numbers: [2193]
2193,61 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[43, 103], Operations: ['78-1=77', '26+77=103']
Exploring Operation: 43+103=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 43*103=4429, Resulting Numbers: [4429]
4429,61 unequal: No Solution
Exploring Operation: 103-43=60, Resulting Numbers: [60]
60,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[77, 17], Operations: ['78-1=77', '43-26=17']
Exploring Operation: 77*17=1309, Resulting Numbers: [1309]
1309,61 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 77+17=94, Resulting Numbers: [94]
94,61 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: 61:[43, 78, 27], Operations: ['1+26=27']
Exploring Operation: 78-27=51, Resulting Numbers: [43, 51]
Generated Node #0,3,0: 61:[43, 51] Operation: 78-27=51
Exploring Operation: 43+27=70, Resulting Numbers: [78, 70]
Generated Node #0,3,1: 61:[78, 70] Operation: 43+27=70
Exploring Operation: 78-43=35, Resulting Numbers: [27, 35]
Generated Node #0,3,2: 61:[27, 35] Operation: 78-43=35
Exploring Operation: 43-27=16, Resulting Numbers: [78, 16]
Generated Node #0,3,3: 61:[78, 16] Operation: 43-27=16
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[78, 70], Operations: ['1+26=27', '43+27=70']
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 78+70=148, Resulting Numbers: [148]
148,61 unequal: No Solution
Exploring Operation: 78*70=5460, Resulting Numbers: [5460]
5460,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[43, 51], Operations: ['1+26=27', '78-27=51']
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,61 unequal: No Solution
Exploring Operation: 43*51=2193, Resulting Numbers: [2193]
2193,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[27, 35], Operations: ['1+26=27', '78-43=35']
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,61 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[78, 16], Operations: ['1+26=27', '43-27=16']
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,61 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,61 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: 61:[26, 78, 44], Operations: ['43+1=44']
Exploring Operation: 26+44=70, Resulting Numbers: [78, 70]
Generated Node #0,1,0: 61:[78, 70] Operation: 26+44=70
Exploring Operation: 78-26=52, Resulting Numbers: [44, 52]
Generated Node #0,1,1: 61:[44, 52] Operation: 78-26=52
Exploring Operation: 26+78=104, Resulting Numbers: [44, 104]
Generated Node #0,1,2: 61:[44, 104] Operation: 26+78=104
Exploring Operation: 44-26=18, Resulting Numbers: [78, 18]
Generated Node #0,1,3: 61:[78, 18] Operation: 44-26=18
Moving to Node #0,2
Current State: 61:[26, 78, 43], Operations: ['43*1=43']
Exploring Operation: 26+78=104, Resulting Numbers: [43, 104]
Generated Node #0,2,0: 61:[43, 104] Operation: 26+78=104
Exploring Operation: 43-26=17, Resulting Numbers: [78, 17]
Generated Node #0,2,1: 61:[78, 17] Operation: 43-26=17
Exploring Operation: 26+43=69, Resulting Numbers: [78, 69]
Generated Node #0,2,2: 61:[78, 69] Operation: 26+43=69
Exploring Operation: 78-26=52, Resulting Numbers: [43, 52]
Generated Node #0,2,3: 61:[43, 52] Operation: 78-26=52
Moving to Node #0,2,2
Current State: 61:[78, 69], Operations: ['43*1=43', '26+43=69']
Exploring Operation: 78*69=5382, Resulting Numbers: [5382]
5382,61 unequal: No Solution
Exploring Operation: 78-69=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 78+69=147, Resulting Numbers: [147]
147,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[78, 70], Operations: ['43+1=44', '26+44=70']
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 78*70=5460, Resulting Numbers: [5460]
5460,61 unequal: No Solution
Exploring Operation: 78+70=148, Resulting Numbers: [148]
148,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[44, 52], Operations: ['43+1=44', '78-26=52']
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,61 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[43, 52], Operations: ['43*1=43', '78-26=52']
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 43*52=2236, Resulting Numbers: [2236]
2236,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[44, 104], Operations: ['43+1=44', '26+78=104']
Exploring Operation: 104-44=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 44*104=4576, Resulting Numbers: [4576]
4576,61 unequal: No Solution
Exploring Operation: 44+104=148, Resulting Numbers: [148]
148,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[78, 18], Operations: ['43+1=44', '44-26=18']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[43, 104], Operations: ['43*1=43', '26+78=104']
Exploring Operation: 43+104=147, Resulting Numbers: [147]
147,61 unequal: No Solution
Exploring Operation: 43*104=4472, Resulting Numbers: [4472]
4472,61 unequal: No Solution
Exploring Operation: 104-43=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[43, 1, 26, 78], Operations: []
Exploring Operation: 43*1=43, Resulting Numbers: [26, 78, 43]
Generated Node #0,2: 61:[26, 78, 43] Operation: 43*1=43
Moving to Node #0,2
Current State: 61:[26, 78, 43], Operations: ['43*1=43']
Exploring Operation: 26+78=104, Resulting Numbers: [43, 104]
Generated Node #0,2,0: 61:[43, 104] Operation: 26+78=104
Moving to Node #0,2,0
Current State: 61:[43, 104], Operations: ['43*1=43', '26+78=104']
Exploring Operation: 104-43=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.940104 | hs_4 | mult_heuristic |
[
94,
30,
3,
37
] | 47 | [
"94-30=64",
"3*37=111",
"111-64=47"
] | Current State: 47:[94, 30, 3, 37], Operations: []
Exploring Operation: 94-30=64, Resulting Numbers: [3, 37, 64]
Generated Node #2: [3, 37, 64] from Operation: 94-30=64
Current State: 47:[3, 37, 64], Operations: ['94-30=64']
Exploring Operation: 3*37=111, Resulting Numbers: [64, 111]
Generated Node #3: [64, 111] from Operation: 3*37=111
Current State: 47:[64, 111], Operations: ['94-30=64', '3*37=111']
Exploring Operation: 111-64=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[94, 30, 3, 37], Operations: []
Exploring Operation: 94-30=64, Resulting Numbers: [3, 37, 64]
Generated Node #0,0: 47:[3, 37, 64] Operation: 94-30=64
Exploring Operation: 94-37=57, Resulting Numbers: [30, 3, 57]
Generated Node #0,1: 47:[30, 3, 57] Operation: 94-37=57
Exploring Operation: 94-3=91, Resulting Numbers: [30, 37, 91]
Generated Node #0,2: 47:[30, 37, 91] Operation: 94-3=91
Moving to Node #0,0
Current State: 47:[3, 37, 64], Operations: ['94-30=64']
Exploring Operation: 64-3=61, Resulting Numbers: [37, 61]
Generated Node #0,0,0: 47:[37, 61] Operation: 64-3=61
Exploring Operation: 3+37=40, Resulting Numbers: [64, 40]
Generated Node #0,0,1: 47:[64, 40] Operation: 3+37=40
Exploring Operation: 37-3=34, Resulting Numbers: [64, 34]
Generated Node #0,0,2: 47:[64, 34] Operation: 37-3=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[37, 61], Operations: ['94-30=64', '64-3=61']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,47 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[64, 40], Operations: ['94-30=64', '3+37=40']
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,47 unequal: No Solution
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,47 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[64, 34], Operations: ['94-30=64', '37-3=34']
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,47 unequal: No Solution
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 47:[30, 3, 57], Operations: ['94-37=57']
Exploring Operation: 57-3=54, Resulting Numbers: [30, 54]
Generated Node #0,1,0: 47:[30, 54] Operation: 57-3=54
Exploring Operation: 30-3=27, Resulting Numbers: [57, 27]
Generated Node #0,1,1: 47:[57, 27] Operation: 30-3=27
Exploring Operation: 30+3=33, Resulting Numbers: [57, 33]
Generated Node #0,1,2: 47:[57, 33] Operation: 30+3=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[30, 54], Operations: ['94-37=57', '57-3=54']
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 30*54=1620, Resulting Numbers: [1620]
1620,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[57, 33], Operations: ['94-37=57', '30+3=33']
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,47 unequal: No Solution
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[57, 27], Operations: ['94-37=57', '30-3=27']
Exploring Operation: 57*27=1539, Resulting Numbers: [1539]
1539,47 unequal: No Solution
Exploring Operation: 57+27=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,47 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: 47:[30, 37, 91], Operations: ['94-3=91']
Exploring Operation: 30+37=67, Resulting Numbers: [91, 67]
Generated Node #0,2,0: 47:[91, 67] Operation: 30+37=67
Exploring Operation: 91-30=61, Resulting Numbers: [37, 61]
Generated Node #0,2,1: 47:[37, 61] Operation: 91-30=61
Exploring Operation: 91-37=54, Resulting Numbers: [30, 54]
Generated Node #0,2,2: 47:[30, 54] Operation: 91-37=54
Moving to Node #0,2,1
Current State: 47:[37, 61], Operations: ['94-3=91', '91-30=61']
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,47 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[30, 54], Operations: ['94-3=91', '91-37=54']
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,47 unequal: No Solution
Exploring Operation: 30*54=1620, Resulting Numbers: [1620]
1620,47 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[91, 67], Operations: ['94-3=91', '30+37=67']
Exploring Operation: 91-67=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 91*67=6097, Resulting Numbers: [6097]
6097,47 unequal: No Solution
Exploring Operation: 91+67=158, Resulting Numbers: [158]
158,47 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
88,
73,
84
] | 18 | [
"84-73=11",
"88/11=8",
"10+8=18"
] | Current State: 18:[10, 88, 73, 84], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [10, 88, 11]
Generated Node #2: [10, 88, 11] from Operation: 84-73=11
Current State: 18:[10, 88, 11], Operations: ['84-73=11']
Exploring Operation: 88/11=8, Resulting Numbers: [10, 8]
Generated Node #3: [10, 8] from Operation: 88/11=8
Current State: 18:[10, 8], Operations: ['84-73=11', '88/11=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[10, 88, 73, 84], Operations: []
Exploring Operation: 88-73=15, Resulting Numbers: [10, 84, 15]
Generated Node #0,0: 18:[10, 84, 15] Operation: 88-73=15
Exploring Operation: 84-73=11, Resulting Numbers: [10, 88, 11]
Generated Node #0,1: 18:[10, 88, 11] Operation: 84-73=11
Exploring Operation: 88-84=4, Resulting Numbers: [10, 73, 4]
Generated Node #0,2: 18:[10, 73, 4] Operation: 88-84=4
Moving to Node #0,2
Current State: 18:[10, 73, 4], Operations: ['88-84=4']
Exploring Operation: 73-10=63, Resulting Numbers: [4, 63]
Generated Node #0,2,0: 18:[4, 63] Operation: 73-10=63
Exploring Operation: 73-4=69, Resulting Numbers: [10, 69]
Generated Node #0,2,1: 18:[10, 69] Operation: 73-4=69
Exploring Operation: 10-4=6, Resulting Numbers: [73, 6]
Generated Node #0,2,2: 18:[73, 6] Operation: 10-4=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[4, 63], Operations: ['88-84=4', '73-10=63']
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,18 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[10, 69], Operations: ['88-84=4', '73-4=69']
Exploring Operation: 10+69=79, Resulting Numbers: [79]
79,18 unequal: No Solution
Exploring Operation: 10*69=690, Resulting Numbers: [690]
690,18 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 18:[73, 6], Operations: ['88-84=4', '10-4=6']
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,18 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,18 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,18 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: 18:[10, 84, 15], Operations: ['88-73=15']
Exploring Operation: 84-15=69, Resulting Numbers: [10, 69]
Generated Node #0,0,0: 18:[10, 69] Operation: 84-15=69
Exploring Operation: 15-10=5, Resulting Numbers: [84, 5]
Generated Node #0,0,1: 18:[84, 5] Operation: 15-10=5
Exploring Operation: 84-10=74, Resulting Numbers: [15, 74]
Generated Node #0,0,2: 18:[15, 74] Operation: 84-10=74
Moving to Node #0,1
Current State: 18:[10, 88, 11], Operations: ['84-73=11']
Exploring Operation: 88/11=8, Resulting Numbers: [10, 8]
Generated Node #0,1,0: 18:[10, 8] Operation: 88/11=8
Exploring Operation: 88-11=77, Resulting Numbers: [10, 77]
Generated Node #0,1,1: 18:[10, 77] Operation: 88-11=77
Exploring Operation: 88-10=78, Resulting Numbers: [11, 78]
Generated Node #0,1,2: 18:[11, 78] Operation: 88-10=78
Moving to Node #0,1,0
Current State: 18:[10, 8], Operations: ['84-73=11', '88/11=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[10, 88, 73, 84], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [10, 88, 11]
Generated Node #0,1: 18:[10, 88, 11] Operation: 84-73=11
Moving to Node #0,1
Current State: 18:[10, 88, 11], Operations: ['84-73=11']
Exploring Operation: 88/11=8, Resulting Numbers: [10, 8]
Generated Node #0,1,0: 18:[10, 8] Operation: 88/11=8
Moving to Node #0,1,0
Current State: 18:[10, 8], Operations: ['84-73=11', '88/11=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
23,
90,
25,
61
] | 56 | [
"90+25=115",
"115/23=5",
"61-5=56"
] | Current State: 56:[23, 90, 25, 61], Operations: []
Exploring Operation: 90+25=115, Resulting Numbers: [23, 61, 115]
Generated Node #2: [23, 61, 115] from Operation: 90+25=115
Current State: 56:[23, 61, 115], Operations: ['90+25=115']
Exploring Operation: 115/23=5, Resulting Numbers: [61, 5]
Generated Node #3: [61, 5] from Operation: 115/23=5
Current State: 56:[61, 5], Operations: ['90+25=115', '115/23=5']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[23, 90, 25, 61], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [23, 25, 29]
Generated Node #0,0: 56:[23, 25, 29] Operation: 90-61=29
Exploring Operation: 90-23=67, Resulting Numbers: [25, 61, 67]
Generated Node #0,1: 56:[25, 61, 67] Operation: 90-23=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[23, 25, 29], Operations: ['90-61=29']
Exploring Operation: 25-23=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 56:[29, 2] Operation: 25-23=2
Exploring Operation: 29-23=6, Resulting Numbers: [25, 6]
Generated Node #0,0,1: 56:[25, 6] Operation: 29-23=6
Moving to Node #0,0,0
Current State: 56:[29, 2], Operations: ['90-61=29', '25-23=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[25, 6], Operations: ['90-61=29', '29-23=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[25, 61, 67], Operations: ['90-23=67']
Exploring Operation: 67-61=6, Resulting Numbers: [25, 6]
Generated Node #0,1,0: 56:[25, 6] Operation: 67-61=6
Exploring Operation: 61-25=36, Resulting Numbers: [67, 36]
Generated Node #0,1,1: 56:[67, 36] Operation: 61-25=36
Moving to Node #0,1,0
Current State: 56:[25, 6], Operations: ['90-23=67', '67-61=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[67, 36], Operations: ['90-23=67', '61-25=36']
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,56 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,56 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 |
[
4,
20,
16,
70
] | 91 | [
"20/4=5",
"16+70=86",
"5+86=91"
] | Current State: 91:[4, 20, 16, 70], Operations: []
Exploring Operation: 20/4=5, Resulting Numbers: [16, 70, 5]
Generated Node #2: [16, 70, 5] from Operation: 20/4=5
Current State: 91:[16, 70, 5], Operations: ['20/4=5']
Exploring Operation: 16+70=86, Resulting Numbers: [5, 86]
Generated Node #3: [5, 86] from Operation: 16+70=86
Current State: 91:[5, 86], Operations: ['20/4=5', '16+70=86']
Exploring Operation: 5+86=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[4, 20, 16, 70], Operations: []
Exploring Operation: 20-4=16, Resulting Numbers: [16, 70, 16]
Generated Node #0,0: 91:[16, 70, 16] Operation: 20-4=16
Exploring Operation: 20/4=5, Resulting Numbers: [16, 70, 5]
Generated Node #0,1: 91:[16, 70, 5] Operation: 20/4=5
Exploring Operation: 20+70=90, Resulting Numbers: [4, 16, 90]
Generated Node #0,2: 91:[4, 16, 90] Operation: 20+70=90
Exploring Operation: 16+70=86, Resulting Numbers: [4, 20, 86]
Generated Node #0,3: 91:[4, 20, 86] Operation: 16+70=86
Moving to Node #0,2
Current State: 91:[4, 16, 90], Operations: ['20+70=90']
Exploring Operation: 4+16=20, Resulting Numbers: [90, 20]
Generated Node #0,2,0: 91:[90, 20] Operation: 4+16=20
Exploring Operation: 4+90=94, Resulting Numbers: [16, 94]
Generated Node #0,2,1: 91:[16, 94] Operation: 4+90=94
Exploring Operation: 16/4=4, Resulting Numbers: [90, 4]
Generated Node #0,2,2: 91:[90, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [90, 12]
Generated Node #0,2,3: 91:[90, 12] Operation: 16-4=12
Moving to Node #0,3
Current State: 91:[4, 20, 86], Operations: ['16+70=86']
Exploring Operation: 4+86=90, Resulting Numbers: [20, 90]
Generated Node #0,3,0: 91:[20, 90] Operation: 4+86=90
Exploring Operation: 4+20=24, Resulting Numbers: [86, 24]
Generated Node #0,3,1: 91:[86, 24] Operation: 4+20=24
Exploring Operation: 20/4=5, Resulting Numbers: [86, 5]
Generated Node #0,3,2: 91:[86, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [86, 16]
Generated Node #0,3,3: 91:[86, 16] Operation: 20-4=16
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[86, 5], Operations: ['16+70=86', '20/4=5']
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,91 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[4, 20, 16, 70], Operations: []
Exploring Operation: 16+70=86, Resulting Numbers: [4, 20, 86]
Generated Node #0,3: 91:[4, 20, 86] Operation: 16+70=86
Moving to Node #0,3
Current State: 91:[4, 20, 86], Operations: ['16+70=86']
Exploring Operation: 20/4=5, Resulting Numbers: [86, 5]
Generated Node #0,3,2: 91:[86, 5] Operation: 20/4=5
Moving to Node #0,3,2
Current State: 91:[86, 5], Operations: ['16+70=86', '20/4=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
59,
86,
95,
12
] | 83 | [
"95-59=36",
"36/12=3",
"86-3=83"
] | Current State: 83:[59, 86, 95, 12], Operations: []
Exploring Operation: 95-59=36, Resulting Numbers: [86, 12, 36]
Generated Node #2: [86, 12, 36] from Operation: 95-59=36
Current State: 83:[86, 12, 36], Operations: ['95-59=36']
Exploring Operation: 36/12=3, Resulting Numbers: [86, 3]
Generated Node #3: [86, 3] from Operation: 36/12=3
Current State: 83:[86, 3], Operations: ['95-59=36', '36/12=3']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[59, 86, 95, 12], Operations: []
Exploring Operation: 59-12=47, Resulting Numbers: [86, 95, 47]
Generated Node #0,0: 83:[86, 95, 47] Operation: 59-12=47
Exploring Operation: 59+12=71, Resulting Numbers: [86, 95, 71]
Generated Node #0,1: 83:[86, 95, 71] Operation: 59+12=71
Exploring Operation: 95-12=83, Resulting Numbers: [59, 86, 83]
Generated Node #0,2: 83:[59, 86, 83] Operation: 95-12=83
Exploring Operation: 86-12=74, Resulting Numbers: [59, 95, 74]
Generated Node #0,3: 83:[59, 95, 74] Operation: 86-12=74
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[86, 95, 71], Operations: ['59+12=71']
Exploring Operation: 95-71=24, Resulting Numbers: [86, 24]
Generated Node #0,1,0: 83:[86, 24] Operation: 95-71=24
Exploring Operation: 86-71=15, Resulting Numbers: [95, 15]
Generated Node #0,1,1: 83:[95, 15] Operation: 86-71=15
Exploring Operation: 95-86=9, Resulting Numbers: [71, 9]
Generated Node #0,1,2: 83:[71, 9] Operation: 95-86=9
Exploring Operation: 86+71=157, Resulting Numbers: [95, 157]
Generated Node #0,1,3: 83:[95, 157] Operation: 86+71=157
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[86, 24], Operations: ['59+12=71', '95-71=24']
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,83 unequal: No Solution
No 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: 83:[95, 15], Operations: ['59+12=71', '86-71=15']
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 95+15=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 95*15=1425, Resulting Numbers: [1425]
1425,83 unequal: No Solution
No 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: 83:[71, 9], Operations: ['59+12=71', '95-86=9']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,83 unequal: No Solution
No 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: 83:[95, 157], Operations: ['59+12=71', '86+71=157']
Exploring Operation: 95*157=14915, Resulting Numbers: [14915]
14915,83 unequal: No Solution
Exploring Operation: 95+157=252, Resulting Numbers: [252]
252,83 unequal: No Solution
Exploring Operation: 157-95=62, Resulting Numbers: [62]
62,83 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: 83:[59, 86, 83], Operations: ['95-12=83']
Exploring Operation: 59+86=145, Resulting Numbers: [83, 145]
Generated Node #0,2,0: 83:[83, 145] Operation: 59+86=145
Exploring Operation: 83-59=24, Resulting Numbers: [86, 24]
Generated Node #0,2,1: 83:[86, 24] Operation: 83-59=24
Exploring Operation: 86-59=27, Resulting Numbers: [83, 27]
Generated Node #0,2,2: 83:[83, 27] Operation: 86-59=27
Exploring Operation: 59+83=142, Resulting Numbers: [86, 142]
Generated Node #0,2,3: 83:[86, 142] Operation: 59+83=142
Moving to Node #0,2,2
Current State: 83:[83, 27], Operations: ['95-12=83', '86-59=27']
Exploring Operation: 83+27=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 83*27=2241, Resulting Numbers: [2241]
2241,83 unequal: No Solution
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[86, 24], Operations: ['95-12=83', '83-59=24']
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,83 unequal: No Solution
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[83, 145], Operations: ['95-12=83', '59+86=145']
Exploring Operation: 145-83=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 83*145=12035, Resulting Numbers: [12035]
12035,83 unequal: No Solution
Exploring Operation: 83+145=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[86, 142], Operations: ['95-12=83', '59+83=142']
Exploring Operation: 142-86=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 86+142=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Exploring Operation: 86*142=12212, Resulting Numbers: [12212]
12212,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[59, 95, 74], Operations: ['86-12=74']
Exploring Operation: 59+74=133, Resulting Numbers: [95, 133]
Generated Node #0,3,0: 83:[95, 133] Operation: 59+74=133
Exploring Operation: 95-59=36, Resulting Numbers: [74, 36]
Generated Node #0,3,1: 83:[74, 36] Operation: 95-59=36
Exploring Operation: 74-59=15, Resulting Numbers: [95, 15]
Generated Node #0,3,2: 83:[95, 15] Operation: 74-59=15
Exploring Operation: 59+95=154, Resulting Numbers: [74, 154]
Generated Node #0,3,3: 83:[74, 154] Operation: 59+95=154
Moving to Node #0,3,1
Current State: 83:[74, 36], Operations: ['86-12=74', '95-59=36']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 74*36=2664, Resulting Numbers: [2664]
2664,83 unequal: No Solution
Exploring Operation: 74+36=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[95, 133], Operations: ['86-12=74', '59+74=133']
Exploring Operation: 95+133=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Exploring Operation: 95*133=12635, Resulting Numbers: [12635]
12635,83 unequal: No Solution
Exploring Operation: 133-95=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[74, 154], Operations: ['86-12=74', '59+95=154']
Exploring Operation: 74+154=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Exploring Operation: 154-74=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 74*154=11396, Resulting Numbers: [11396]
11396,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[95, 15], Operations: ['86-12=74', '74-59=15']
Exploring Operation: 95+15=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 95*15=1425, Resulting Numbers: [1425]
1425,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[86, 95, 47], Operations: ['59-12=47']
Exploring Operation: 86-47=39, Resulting Numbers: [95, 39]
Generated Node #0,0,0: 83:[95, 39] Operation: 86-47=39
Exploring Operation: 95-47=48, Resulting Numbers: [86, 48]
Generated Node #0,0,1: 83:[86, 48] Operation: 95-47=48
Exploring Operation: 95+47=142, Resulting Numbers: [86, 142]
Generated Node #0,0,2: 83:[86, 142] Operation: 95+47=142
Exploring Operation: 86+47=133, Resulting Numbers: [95, 133]
Generated Node #0,0,3: 83:[95, 133] Operation: 86+47=133
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[86, 48], Operations: ['59-12=47', '95-47=48']
Exploring Operation: 86+48=134, Resulting Numbers: [134]
134,83 unequal: No Solution
Exploring Operation: 86*48=4128, Resulting Numbers: [4128]
4128,83 unequal: No Solution
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,83 unequal: No Solution
No 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: 83:[95, 39], Operations: ['59-12=47', '86-47=39']
Exploring Operation: 95+39=134, Resulting Numbers: [134]
134,83 unequal: No Solution
Exploring Operation: 95*39=3705, Resulting Numbers: [3705]
3705,83 unequal: No Solution
Exploring Operation: 95-39=56, Resulting Numbers: [56]
56,83 unequal: No Solution
No 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: 83:[86, 142], Operations: ['59-12=47', '95+47=142']
Exploring Operation: 142-86=56, Resulting Numbers: [56]
56,83 unequal: No Solution
Exploring Operation: 86+142=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Exploring Operation: 86*142=12212, Resulting Numbers: [12212]
12212,83 unequal: No Solution
No 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: 83:[95, 133], Operations: ['59-12=47', '86+47=133']
Exploring Operation: 133-95=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 95*133=12635, Resulting Numbers: [12635]
12635,83 unequal: No Solution
Exploring Operation: 95+133=228, Resulting Numbers: [228]
228,83 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 |
[
44,
71,
16,
53
] | 46 | [
"44+71=115",
"16+53=69",
"115-69=46"
] | Current State: 46:[44, 71, 16, 53], Operations: []
Exploring Operation: 44+71=115, Resulting Numbers: [16, 53, 115]
Generated Node #2: [16, 53, 115] from Operation: 44+71=115
Current State: 46:[16, 53, 115], Operations: ['44+71=115']
Exploring Operation: 16+53=69, Resulting Numbers: [115, 69]
Generated Node #3: [115, 69] from Operation: 16+53=69
Current State: 46:[115, 69], Operations: ['44+71=115', '16+53=69']
Exploring Operation: 115-69=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[44, 71, 16, 53], Operations: []
Exploring Operation: 53-16=37, Resulting Numbers: [44, 71, 37]
Generated Node #0,0: 46:[44, 71, 37] Operation: 53-16=37
Exploring Operation: 71-44=27, Resulting Numbers: [16, 53, 27]
Generated Node #0,1: 46:[16, 53, 27] Operation: 71-44=27
Exploring Operation: 71-16=55, Resulting Numbers: [44, 53, 55]
Generated Node #0,2: 46:[44, 53, 55] Operation: 71-16=55
Exploring Operation: 71-53=18, Resulting Numbers: [44, 16, 18]
Generated Node #0,3: 46:[44, 16, 18] Operation: 71-53=18
Moving to Node #0,3
Current State: 46:[44, 16, 18], Operations: ['71-53=18']
Exploring Operation: 44-16=28, Resulting Numbers: [18, 28]
Generated Node #0,3,0: 46:[18, 28] Operation: 44-16=28
Exploring Operation: 44-18=26, Resulting Numbers: [16, 26]
Generated Node #0,3,1: 46:[16, 26] Operation: 44-18=26
Exploring Operation: 16+18=34, Resulting Numbers: [44, 34]
Generated Node #0,3,2: 46:[44, 34] Operation: 16+18=34
Exploring Operation: 18-16=2, Resulting Numbers: [44, 2]
Generated Node #0,3,3: 46:[44, 2] Operation: 18-16=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 46:[44, 2], Operations: ['71-53=18', '18-16=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[44, 71, 16, 53], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [44, 16, 18]
Generated Node #0,3: 46:[44, 16, 18] Operation: 71-53=18
Moving to Node #0,3
Current State: 46:[44, 16, 18], Operations: ['71-53=18']
Exploring Operation: 18-16=2, Resulting Numbers: [44, 2]
Generated Node #0,3,3: 46:[44, 2] Operation: 18-16=2
Moving to Node #0,3,3
Current State: 46:[44, 2], Operations: ['71-53=18', '18-16=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
43,
72,
94,
34
] | 13 | [
"43+72=115",
"94+34=128",
"128-115=13"
] | Current State: 13:[43, 72, 94, 34], Operations: []
Exploring Operation: 43+72=115, Resulting Numbers: [94, 34, 115]
Generated Node #2: [94, 34, 115] from Operation: 43+72=115
Current State: 13:[94, 34, 115], Operations: ['43+72=115']
Exploring Operation: 94+34=128, Resulting Numbers: [115, 128]
Generated Node #3: [115, 128] from Operation: 94+34=128
Current State: 13:[115, 128], Operations: ['43+72=115', '94+34=128']
Exploring Operation: 128-115=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[43, 72, 94, 34], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [43, 34, 22]
Generated Node #0,0: 13:[43, 34, 22] Operation: 94-72=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[43, 34, 22], Operations: ['94-72=22']
Exploring Operation: 43-34=9, Resulting Numbers: [22, 9]
Generated Node #0,0,0: 13:[22, 9] Operation: 43-34=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[22, 9], Operations: ['94-72=22', '43-34=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[43, 72, 94, 34], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [43, 34, 22]
Generated Node #0,0: 13:[43, 34, 22] Operation: 94-72=22
Moving to Node #0,0
Current State: 13:[43, 34, 22], Operations: ['94-72=22']
Exploring Operation: 43-34=9, Resulting Numbers: [22, 9]
Generated Node #0,0,0: 13:[22, 9] Operation: 43-34=9
Moving to Node #0,0,0
Current State: 13:[22, 9], Operations: ['94-72=22', '43-34=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
35,
54,
17,
37
] | 11 | [
"17*37=629",
"629-35=594",
"594/54=11"
] | Current State: 11:[35, 54, 17, 37], Operations: []
Exploring Operation: 17*37=629, Resulting Numbers: [35, 54, 629]
Generated Node #2: [35, 54, 629] from Operation: 17*37=629
Current State: 11:[35, 54, 629], Operations: ['17*37=629']
Exploring Operation: 629-35=594, Resulting Numbers: [54, 594]
Generated Node #3: [54, 594] from Operation: 629-35=594
Current State: 11:[54, 594], Operations: ['17*37=629', '629-35=594']
Exploring Operation: 594/54=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[35, 54, 17, 37], Operations: []
Exploring Operation: 54-37=17, Resulting Numbers: [35, 17, 17]
Generated Node #0,0: 11:[35, 17, 17] Operation: 54-37=17
Exploring Operation: 54-17=37, Resulting Numbers: [35, 37, 37]
Generated Node #0,1: 11:[35, 37, 37] Operation: 54-17=37
Exploring Operation: 35-17=18, Resulting Numbers: [54, 37, 18]
Generated Node #0,2: 11:[54, 37, 18] Operation: 35-17=18
Exploring Operation: 37-35=2, Resulting Numbers: [54, 17, 2]
Generated Node #0,3: 11:[54, 17, 2] Operation: 37-35=2
Exploring Operation: 54-35=19, Resulting Numbers: [17, 37, 19]
Generated Node #0,4: 11:[17, 37, 19] Operation: 54-35=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[35, 17, 17], Operations: ['54-37=17']
Exploring Operation: 35-17=18, Resulting Numbers: [17, 18]
Generated Node #0,0,0: 11:[17, 18] Operation: 35-17=18
Exploring Operation: 17/17=1, Resulting Numbers: [35, 1]
Generated Node #0,0,1: 11:[35, 1] Operation: 17/17=1
Exploring Operation: 35-17=18, Resulting Numbers: [17, 18]
Generated Node #0,0,2: 11:[17, 18] Operation: 35-17=18
Exploring Operation: 17-17=0, Resulting Numbers: [35, 0]
Generated Node #0,0,3: 11:[35, 0] Operation: 17-17=0
Exploring Operation: 35+17=52, Resulting Numbers: [17, 52]
Generated Node #0,0,4: 11:[17, 52] Operation: 35+17=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[17, 18], Operations: ['54-37=17', '35-17=18']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,11 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 11:[17, 18], Operations: ['54-37=17', '35-17=18']
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,11 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[35, 1], Operations: ['54-37=17', '17/17=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 11:[35, 0], Operations: ['54-37=17', '17-17=0']
Exploring Operation: 35-0=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 35*0=0, Resulting Numbers: [0]
0,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 11:[17, 52], Operations: ['54-37=17', '35+17=52']
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,11 unequal: No Solution
Exploring Operation: 17*52=884, Resulting Numbers: [884]
884,11 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 11:[17, 37, 19], Operations: ['54-35=19']
Exploring Operation: 17+37=54, Resulting Numbers: [19, 54]
Generated Node #0,4,0: 11:[19, 54] Operation: 17+37=54
Exploring Operation: 37-19=18, Resulting Numbers: [17, 18]
Generated Node #0,4,1: 11:[17, 18] Operation: 37-19=18
Exploring Operation: 19-17=2, Resulting Numbers: [37, 2]
Generated Node #0,4,2: 11:[37, 2] Operation: 19-17=2
Exploring Operation: 37-17=20, Resulting Numbers: [19, 20]
Generated Node #0,4,3: 11:[19, 20] Operation: 37-17=20
Exploring Operation: 17+19=36, Resulting Numbers: [37, 36]
Generated Node #0,4,4: 11:[37, 36] Operation: 17+19=36
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 11:[17, 18], Operations: ['54-35=19', '37-19=18']
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,11 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 11:[19, 20], Operations: ['54-35=19', '37-17=20']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,11 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 11:[37, 2], Operations: ['54-35=19', '19-17=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 11:[19, 54], Operations: ['54-35=19', '17+37=54']
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,11 unequal: No Solution
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 11:[37, 36], Operations: ['54-35=19', '17+19=36']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[54, 17, 2], Operations: ['37-35=2']
Exploring Operation: 54-17=37, Resulting Numbers: [2, 37]
Generated Node #0,3,0: 11:[2, 37] Operation: 54-17=37
Exploring Operation: 17-2=15, Resulting Numbers: [54, 15]
Generated Node #0,3,1: 11:[54, 15] Operation: 17-2=15
Exploring Operation: 54/2=27, Resulting Numbers: [17, 27]
Generated Node #0,3,2: 11:[17, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [17, 52]
Generated Node #0,3,3: 11:[17, 52] Operation: 54-2=52
Exploring Operation: 54+2=56, Resulting Numbers: [17, 56]
Generated Node #0,3,4: 11:[17, 56] Operation: 54+2=56
Moving to Node #0,3,2
Current State: 11:[17, 27], Operations: ['37-35=2', '54/2=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,11 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[2, 37], Operations: ['37-35=2', '54-17=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[54, 15], Operations: ['37-35=2', '17-2=15']
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,11 unequal: No Solution
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,11 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[17, 52], Operations: ['37-35=2', '54-2=52']
Exploring Operation: 17*52=884, Resulting Numbers: [884]
884,11 unequal: No Solution
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,11 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Moving to Node #0,3,4
Current State: 11:[17, 56], Operations: ['37-35=2', '54+2=56']
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[35, 37, 37], Operations: ['54-17=37']
Exploring Operation: 37/37=1, Resulting Numbers: [35, 1]
Generated Node #0,1,0: 11:[35, 1] Operation: 37/37=1
Exploring Operation: 37-35=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 11:[37, 2] Operation: 37-35=2
Exploring Operation: 37-37=0, Resulting Numbers: [35, 0]
Generated Node #0,1,2: 11:[35, 0] Operation: 37-37=0
Exploring Operation: 37-35=2, Resulting Numbers: [37, 2]
Generated Node #0,1,3: 11:[37, 2] Operation: 37-35=2
Exploring Operation: 35+37=72, Resulting Numbers: [37, 72]
Generated Node #0,1,4: 11:[37, 72] Operation: 35+37=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[35, 1], Operations: ['54-17=37', '37/37=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[37, 2], Operations: ['54-17=37', '37-35=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[35, 0], Operations: ['54-17=37', '37-37=0']
Exploring Operation: 35*0=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 35-0=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 11:[37, 2], Operations: ['54-17=37', '37-35=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 11:[37, 72], Operations: ['54-17=37', '35+37=72']
Exploring Operation: 37+72=109, Resulting Numbers: [109]
109,11 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 37*72=2664, Resulting Numbers: [2664]
2664,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[54, 37, 18], Operations: ['35-17=18']
Exploring Operation: 54-18=36, Resulting Numbers: [37, 36]
Generated Node #0,2,0: 11:[37, 36] Operation: 54-18=36
Exploring Operation: 37-18=19, Resulting Numbers: [54, 19]
Generated Node #0,2,1: 11:[54, 19] Operation: 37-18=19
Exploring Operation: 54/18=3, Resulting Numbers: [37, 3]
Generated Node #0,2,2: 11:[37, 3] Operation: 54/18=3
Exploring Operation: 54+37=91, Resulting Numbers: [18, 91]
Generated Node #0,2,3: 11:[18, 91] Operation: 54+37=91
Exploring Operation: 54-37=17, Resulting Numbers: [18, 17]
Generated Node #0,2,4: 11:[18, 17] Operation: 54-37=17
Moving to Node #0,2,4
Current State: 11:[18, 17], Operations: ['35-17=18', '54-37=17']
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,11 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[37, 3], Operations: ['35-17=18', '54/18=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[37, 36], Operations: ['35-17=18', '54-18=36']
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,11 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[54, 19], Operations: ['35-17=18', '37-18=19']
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,11 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[18, 91], Operations: ['35-17=18', '54+37=91']
Exploring Operation: 18*91=1638, Resulting Numbers: [1638]
1638,11 unequal: No Solution
Exploring Operation: 18+91=109, Resulting Numbers: [109]
109,11 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
85,
90,
99,
5
] | 98 | [
"90-85=5",
"5/5=1",
"99-1=98"
] | Current State: 98:[85, 90, 99, 5], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [99, 5, 5]
Generated Node #2: [99, 5, 5] from Operation: 90-85=5
Current State: 98:[99, 5, 5], Operations: ['90-85=5']
Exploring Operation: 5/5=1, Resulting Numbers: [99, 1]
Generated Node #3: [99, 1] from Operation: 5/5=1
Current State: 98:[99, 1], Operations: ['90-85=5', '5/5=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[85, 90, 99, 5], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [90, 5, 14]
Generated Node #0,0: 98:[90, 5, 14] Operation: 99-85=14
Exploring Operation: 90-85=5, Resulting Numbers: [99, 5, 5]
Generated Node #0,1: 98:[99, 5, 5] Operation: 90-85=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[99, 5, 5], Operations: ['90-85=5']
Exploring Operation: 5/5=1, Resulting Numbers: [99, 1]
Generated Node #0,1,0: 98:[99, 1] Operation: 5/5=1
Exploring Operation: 5-5=0, Resulting Numbers: [99, 0]
Generated Node #0,1,1: 98:[99, 0] Operation: 5-5=0
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[99, 1], Operations: ['90-85=5', '5/5=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[85, 90, 99, 5], Operations: []
Exploring Operation: 90-85=5, Resulting Numbers: [99, 5, 5]
Generated Node #0,1: 98:[99, 5, 5] Operation: 90-85=5
Moving to Node #0,1
Current State: 98:[99, 5, 5], Operations: ['90-85=5']
Exploring Operation: 5/5=1, Resulting Numbers: [99, 1]
Generated Node #0,1,0: 98:[99, 1] Operation: 5/5=1
Moving to Node #0,1,0
Current State: 98:[99, 1], Operations: ['90-85=5', '5/5=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
96,
61,
78,
70
] | 58 | [
"96-70=26",
"78/26=3",
"61-3=58"
] | Current State: 58:[96, 61, 78, 70], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [61, 78, 26]
Generated Node #2: [61, 78, 26] from Operation: 96-70=26
Current State: 58:[61, 78, 26], Operations: ['96-70=26']
Exploring Operation: 78/26=3, Resulting Numbers: [61, 3]
Generated Node #3: [61, 3] from Operation: 78/26=3
Current State: 58:[61, 3], Operations: ['96-70=26', '78/26=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[96, 61, 78, 70], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [61, 70, 18]
Generated Node #0,0: 58:[61, 70, 18] Operation: 96-78=18
Exploring Operation: 96-70=26, Resulting Numbers: [61, 78, 26]
Generated Node #0,1: 58:[61, 78, 26] Operation: 96-70=26
Moving to Node #0,0
Current State: 58:[61, 70, 18], Operations: ['96-78=18']
Exploring Operation: 70-61=9, Resulting Numbers: [18, 9]
Generated Node #0,0,0: 58:[18, 9] Operation: 70-61=9
Exploring Operation: 70-18=52, Resulting Numbers: [61, 52]
Generated Node #0,0,1: 58:[61, 52] Operation: 70-18=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[61, 52], Operations: ['96-78=18', '70-18=52']
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,58 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[18, 9], Operations: ['96-78=18', '70-61=9']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,58 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: 58:[61, 78, 26], Operations: ['96-70=26']
Exploring Operation: 78/26=3, Resulting Numbers: [61, 3]
Generated Node #0,1,0: 58:[61, 3] Operation: 78/26=3
Exploring Operation: 78-26=52, Resulting Numbers: [61, 52]
Generated Node #0,1,1: 58:[61, 52] Operation: 78-26=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[61, 3], Operations: ['96-70=26', '78/26=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[96, 61, 78, 70], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [61, 78, 26]
Generated Node #0,1: 58:[61, 78, 26] Operation: 96-70=26
Moving to Node #0,1
Current State: 58:[61, 78, 26], Operations: ['96-70=26']
Exploring Operation: 78/26=3, Resulting Numbers: [61, 3]
Generated Node #0,1,0: 58:[61, 3] Operation: 78/26=3
Moving to Node #0,1,0
Current State: 58:[61, 3], Operations: ['96-70=26', '78/26=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
48,
32,
16,
3
] | 29 | [
"48-32=16",
"16-3=13",
"16+13=29"
] | Current State: 29:[48, 32, 16, 3], Operations: []
Exploring Operation: 48-32=16, Resulting Numbers: [16, 3, 16]
Generated Node #2: [16, 3, 16] from Operation: 48-32=16
Current State: 29:[16, 3, 16], Operations: ['48-32=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,29 equal: Goal Reached
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[48, 32, 16, 3], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [32, 16, 16]
Generated Node #0,0: 29:[32, 16, 16] Operation: 48/3=16
Exploring Operation: 32-3=29, Resulting Numbers: [48, 16, 29]
Generated Node #0,1: 29:[48, 16, 29] Operation: 32-3=29
Exploring Operation: 48-3=45, Resulting Numbers: [32, 16, 45]
Generated Node #0,2: 29:[32, 16, 45] Operation: 48-3=45
Exploring Operation: 48-16=32, Resulting Numbers: [32, 3, 32]
Generated Node #0,3: 29:[32, 3, 32] Operation: 48-16=32
Moving to Node #0,0
Current State: 29:[32, 16, 16], Operations: ['48/3=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16, 16]
Generated Node #0,0,0: 29:[16, 16] Operation: 32-16=16
Exploring Operation: 16+16=32, Resulting Numbers: [32, 32]
Generated Node #0,0,1: 29:[32, 32] Operation: 16+16=32
Exploring Operation: 32-16=16, Resulting Numbers: [16, 16]
Generated Node #0,0,2: 29:[16, 16] Operation: 32-16=16
Exploring Operation: 16/16=1, Resulting Numbers: [32, 1]
Generated Node #0,0,3: 29:[32, 1] Operation: 16/16=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[32, 32], Operations: ['48/3=16', '16+16=32']
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,29 unequal: No Solution
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 32*32=1024, Resulting Numbers: [1024]
1024,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[16, 16], Operations: ['48/3=16', '32-16=16']
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 16*16=256, Resulting Numbers: [256]
256,29 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[16, 16], Operations: ['48/3=16', '32-16=16']
Exploring Operation: 16*16=256, Resulting Numbers: [256]
256,29 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 29:[32, 1], Operations: ['48/3=16', '16/16=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 29:[32, 16, 45], Operations: ['48-3=45']
Exploring Operation: 45-32=13, Resulting Numbers: [16, 13]
Generated Node #0,2,0: 29:[16, 13] Operation: 45-32=13
Exploring Operation: 45-16=29, Resulting Numbers: [32, 29]
Generated Node #0,2,1: 29:[32, 29] Operation: 45-16=29
Exploring Operation: 32-16=16, Resulting Numbers: [45, 16]
Generated Node #0,2,2: 29:[45, 16] Operation: 32-16=16
Exploring Operation: 32+16=48, Resulting Numbers: [45, 48]
Generated Node #0,2,3: 29:[45, 48] Operation: 32+16=48
Moving to Node #0,1
Current State: 29:[48, 16, 29], Operations: ['32-3=29']
Exploring Operation: 48+16=64, Resulting Numbers: [29, 64]
Generated Node #0,1,0: 29:[29, 64] Operation: 48+16=64
Exploring Operation: 48-29=19, Resulting Numbers: [16, 19]
Generated Node #0,1,1: 29:[16, 19] Operation: 48-29=19
Exploring Operation: 48-16=32, Resulting Numbers: [29, 32]
Generated Node #0,1,2: 29:[29, 32] Operation: 48-16=32
Exploring Operation: 48/16=3, Resulting Numbers: [29, 3]
Generated Node #0,1,3: 29:[29, 3] Operation: 48/16=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[29, 32], Operations: ['32-3=29', '48-16=32']
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,29 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[16, 19], Operations: ['32-3=29', '48-29=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,29 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 29:[29, 3], Operations: ['32-3=29', '48/16=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,29 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[29, 64], Operations: ['32-3=29', '48+16=64']
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,29 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,29 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 29:[32, 3, 32], Operations: ['48-16=32']
Exploring Operation: 32-3=29, Resulting Numbers: [32, 29]
Generated Node #0,3,0: 29:[32, 29] Operation: 32-3=29
Exploring Operation: 32-3=29, Resulting Numbers: [32, 29]
Generated Node #0,3,1: 29:[32, 29] Operation: 32-3=29
Exploring Operation: 3+32=35, Resulting Numbers: [32, 35]
Generated Node #0,3,2: 29:[32, 35] Operation: 3+32=35
Exploring Operation: 32+3=35, Resulting Numbers: [32, 35]
Generated Node #0,3,3: 29:[32, 35] Operation: 32+3=35
Moving to Node #0,2,1
Current State: 29:[32, 29], Operations: ['48-3=45', '45-16=29']
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,29 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[32, 29], Operations: ['48-16=32', '32-3=29']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[32, 29], Operations: ['48-16=32', '32-3=29']
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[32, 35], Operations: ['48-16=32', '3+32=35']
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,29 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[32, 35], Operations: ['48-16=32', '32+3=35']
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,29 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[45, 16], Operations: ['48-3=45', '32-16=16']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[48, 32, 16, 3], Operations: []
Exploring Operation: 48-3=45, Resulting Numbers: [32, 16, 45]
Generated Node #0,2: 29:[32, 16, 45] Operation: 48-3=45
Moving to Node #0,2
Current State: 29:[32, 16, 45], Operations: ['48-3=45']
Exploring Operation: 32-16=16, Resulting Numbers: [45, 16]
Generated Node #0,2,2: 29:[45, 16] Operation: 32-16=16
Moving to Node #0,2,2
Current State: 29:[45, 16], Operations: ['48-3=45', '32-16=16']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.940972 | hs_4 | sum_heuristic |
[
29,
60,
12,
48
] | 67 | [
"60-29=31",
"48-12=36",
"31+36=67"
] | Current State: 67:[29, 60, 12, 48], Operations: []
Exploring Operation: 60-29=31, Resulting Numbers: [12, 48, 31]
Generated Node #2: [12, 48, 31] from Operation: 60-29=31
Current State: 67:[12, 48, 31], Operations: ['60-29=31']
Exploring Operation: 48-12=36, Resulting Numbers: [31, 36]
Generated Node #3: [31, 36] from Operation: 48-12=36
Current State: 67:[31, 36], Operations: ['60-29=31', '48-12=36']
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[29, 60, 12, 48], Operations: []
Exploring Operation: 60+12=72, Resulting Numbers: [29, 48, 72]
Generated Node #0,0: 67:[29, 48, 72] Operation: 60+12=72
Exploring Operation: 12+48=60, Resulting Numbers: [29, 60, 60]
Generated Node #0,1: 67:[29, 60, 60] Operation: 12+48=60
Exploring Operation: 29+12=41, Resulting Numbers: [60, 48, 41]
Generated Node #0,2: 67:[60, 48, 41] Operation: 29+12=41
Moving to Node #0,1
Current State: 67:[29, 60, 60], Operations: ['12+48=60']
Exploring Operation: 60-29=31, Resulting Numbers: [60, 31]
Generated Node #0,1,0: 67:[60, 31] Operation: 60-29=31
Exploring Operation: 29+60=89, Resulting Numbers: [60, 89]
Generated Node #0,1,1: 67:[60, 89] Operation: 29+60=89
Exploring Operation: 29+60=89, Resulting Numbers: [60, 89]
Generated Node #0,1,2: 67:[60, 89] Operation: 29+60=89
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[60, 89], Operations: ['12+48=60', '29+60=89']
Exploring Operation: 60+89=149, Resulting Numbers: [149]
149,67 unequal: No Solution
Exploring Operation: 60*89=5340, Resulting Numbers: [5340]
5340,67 unequal: No Solution
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[60, 89], Operations: ['12+48=60', '29+60=89']
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 60*89=5340, Resulting Numbers: [5340]
5340,67 unequal: No Solution
Exploring Operation: 60+89=149, Resulting Numbers: [149]
149,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[60, 31], Operations: ['12+48=60', '60-29=31']
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,67 unequal: No Solution
Exploring Operation: 60*31=1860, Resulting Numbers: [1860]
1860,67 unequal: No Solution
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,67 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: 67:[60, 48, 41], Operations: ['29+12=41']
Exploring Operation: 60+48=108, Resulting Numbers: [41, 108]
Generated Node #0,2,0: 67:[41, 108] Operation: 60+48=108
Exploring Operation: 48+41=89, Resulting Numbers: [60, 89]
Generated Node #0,2,1: 67:[60, 89] Operation: 48+41=89
Exploring Operation: 60+41=101, Resulting Numbers: [48, 101]
Generated Node #0,2,2: 67:[48, 101] Operation: 60+41=101
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[60, 89], Operations: ['29+12=41', '48+41=89']
Exploring Operation: 60+89=149, Resulting Numbers: [149]
149,67 unequal: No Solution
Exploring Operation: 60*89=5340, Resulting Numbers: [5340]
5340,67 unequal: No Solution
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[48, 101], Operations: ['29+12=41', '60+41=101']
Exploring Operation: 101-48=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 48*101=4848, Resulting Numbers: [4848]
4848,67 unequal: No Solution
Exploring Operation: 48+101=149, Resulting Numbers: [149]
149,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[41, 108], Operations: ['29+12=41', '60+48=108']
Exploring Operation: 41*108=4428, Resulting Numbers: [4428]
4428,67 unequal: No Solution
Exploring Operation: 41+108=149, Resulting Numbers: [149]
149,67 unequal: No Solution
Exploring Operation: 108-41=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[29, 60, 12, 48], Operations: []
Exploring Operation: 29+12=41, Resulting Numbers: [60, 48, 41]
Generated Node #0,2: 67:[60, 48, 41] Operation: 29+12=41
Moving to Node #0,2
Current State: 67:[60, 48, 41], Operations: ['29+12=41']
Exploring Operation: 60+48=108, Resulting Numbers: [41, 108]
Generated Node #0,2,0: 67:[41, 108] Operation: 60+48=108
Moving to Node #0,2,0
Current State: 67:[41, 108], Operations: ['29+12=41', '60+48=108']
Exploring Operation: 108-41=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | mult_heuristic |
[
15,
45,
14,
75
] | 30 | [
"15-14=1",
"75-45=30",
"1*30=30"
] | Current State: 30:[15, 45, 14, 75], Operations: []
Exploring Operation: 15-14=1, Resulting Numbers: [45, 75, 1]
Generated Node #2: [45, 75, 1] from Operation: 15-14=1
Current State: 30:[45, 75, 1], Operations: ['15-14=1']
Exploring Operation: 75-45=30, Resulting Numbers: [1, 30]
Generated Node #3: [1, 30] from Operation: 75-45=30
Current State: 30:[1, 30], Operations: ['15-14=1', '75-45=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[15, 45, 14, 75], Operations: []
Exploring Operation: 75-45=30, Resulting Numbers: [15, 14, 30]
Generated Node #0,0: 30:[15, 14, 30] Operation: 75-45=30
Moving to Node #0,0
Current State: 30:[15, 14, 30], Operations: ['75-45=30']
Exploring Operation: 15+14=29, Resulting Numbers: [30, 29]
Generated Node #0,0,0: 30:[30, 29] Operation: 15+14=29
Moving to Node #0,0,0
Current State: 30:[30, 29], Operations: ['75-45=30', '15+14=29']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
75,
14,
93,
67
] | 87 | [
"75-14=61",
"93-67=26",
"61+26=87"
] | Current State: 87:[75, 14, 93, 67], Operations: []
Exploring Operation: 75-14=61, Resulting Numbers: [93, 67, 61]
Generated Node #2: [93, 67, 61] from Operation: 75-14=61
Current State: 87:[93, 67, 61], Operations: ['75-14=61']
Exploring Operation: 93-67=26, Resulting Numbers: [61, 26]
Generated Node #3: [61, 26] from Operation: 93-67=26
Current State: 87:[61, 26], Operations: ['75-14=61', '93-67=26']
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[75, 14, 93, 67], Operations: []
Exploring Operation: 14+67=81, Resulting Numbers: [75, 93, 81]
Generated Node #0,0: 87:[75, 93, 81] Operation: 14+67=81
Exploring Operation: 75-67=8, Resulting Numbers: [14, 93, 8]
Generated Node #0,1: 87:[14, 93, 8] Operation: 75-67=8
Exploring Operation: 93-67=26, Resulting Numbers: [75, 14, 26]
Generated Node #0,2: 87:[75, 14, 26] Operation: 93-67=26
Exploring Operation: 93-14=79, Resulting Numbers: [75, 67, 79]
Generated Node #0,3: 87:[75, 67, 79] Operation: 93-14=79
Exploring Operation: 75+14=89, Resulting Numbers: [93, 67, 89]
Generated Node #0,4: 87:[93, 67, 89] Operation: 75+14=89
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[14, 93, 8], Operations: ['75-67=8']
Exploring Operation: 14+93=107, Resulting Numbers: [8, 107]
Generated Node #0,1,0: 87:[8, 107] Operation: 14+93=107
Exploring Operation: 93-14=79, Resulting Numbers: [8, 79]
Generated Node #0,1,1: 87:[8, 79] Operation: 93-14=79
Exploring Operation: 93-8=85, Resulting Numbers: [14, 85]
Generated Node #0,1,2: 87:[14, 85] Operation: 93-8=85
Exploring Operation: 14-8=6, Resulting Numbers: [93, 6]
Generated Node #0,1,3: 87:[93, 6] Operation: 14-8=6
Exploring Operation: 14+8=22, Resulting Numbers: [93, 22]
Generated Node #0,1,4: 87:[93, 22] Operation: 14+8=22
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 87:[93, 6], Operations: ['75-67=8', '14-8=6']
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,87 unequal: No Solution
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,87 unequal: No Solution
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[75, 14, 93, 67], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [14, 93, 8]
Generated Node #0,1: 87:[14, 93, 8] Operation: 75-67=8
Moving to Node #0,1
Current State: 87:[14, 93, 8], Operations: ['75-67=8']
Exploring Operation: 14-8=6, Resulting Numbers: [93, 6]
Generated Node #0,1,3: 87:[93, 6] Operation: 14-8=6
Moving to Node #0,1,3
Current State: 87:[93, 6], Operations: ['75-67=8', '14-8=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
73,
52,
97,
19
] | 47 | [
"73+52=125",
"97-19=78",
"125-78=47"
] | Current State: 47:[73, 52, 97, 19], Operations: []
Exploring Operation: 73+52=125, Resulting Numbers: [97, 19, 125]
Generated Node #2: [97, 19, 125] from Operation: 73+52=125
Current State: 47:[97, 19, 125], Operations: ['73+52=125']
Exploring Operation: 97-19=78, Resulting Numbers: [125, 78]
Generated Node #3: [125, 78] from Operation: 97-19=78
Current State: 47:[125, 78], Operations: ['73+52=125', '97-19=78']
Exploring Operation: 125-78=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[73, 52, 97, 19], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [52, 19, 24]
Generated Node #0,0: 47:[52, 19, 24] Operation: 97-73=24
Exploring Operation: 97-52=45, Resulting Numbers: [73, 19, 45]
Generated Node #0,1: 47:[73, 19, 45] Operation: 97-52=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[52, 19, 24], Operations: ['97-73=24']
Exploring Operation: 19+24=43, Resulting Numbers: [52, 43]
Generated Node #0,0,0: 47:[52, 43] Operation: 19+24=43
Exploring Operation: 52-19=33, Resulting Numbers: [24, 33]
Generated Node #0,0,1: 47:[24, 33] Operation: 52-19=33
Moving to Node #0,0,0
Current State: 47:[52, 43], Operations: ['97-73=24', '19+24=43']
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[24, 33], Operations: ['97-73=24', '52-19=33']
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[73, 19, 45], Operations: ['97-52=45']
Exploring Operation: 19+45=64, Resulting Numbers: [73, 64]
Generated Node #0,1,0: 47:[73, 64] Operation: 19+45=64
Exploring Operation: 73-19=54, Resulting Numbers: [45, 54]
Generated Node #0,1,1: 47:[45, 54] Operation: 73-19=54
Moving to Node #0,1,1
Current State: 47:[45, 54], Operations: ['97-52=45', '73-19=54']
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[73, 64], Operations: ['97-52=45', '19+45=64']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,47 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 |
[
24,
99,
6,
56
] | 25 | [
"99-24=75",
"56-6=50",
"75-50=25"
] | Current State: 25:[24, 99, 6, 56], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [6, 56, 75]
Generated Node #2: [6, 56, 75] from Operation: 99-24=75
Current State: 25:[6, 56, 75], Operations: ['99-24=75']
Exploring Operation: 56-6=50, Resulting Numbers: [75, 50]
Generated Node #3: [75, 50] from Operation: 56-6=50
Current State: 25:[75, 50], Operations: ['99-24=75', '56-6=50']
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[24, 99, 6, 56], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [6, 56, 75]
Generated Node #0,0: 25:[6, 56, 75] Operation: 99-24=75
Exploring Operation: 99-56=43, Resulting Numbers: [24, 6, 43]
Generated Node #0,1: 25:[24, 6, 43] Operation: 99-56=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[24, 6, 43], Operations: ['99-56=43']
Exploring Operation: 43-24=19, Resulting Numbers: [6, 19]
Generated Node #0,1,0: 25:[6, 19] Operation: 43-24=19
Exploring Operation: 43-6=37, Resulting Numbers: [24, 37]
Generated Node #0,1,1: 25:[24, 37] Operation: 43-6=37
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[6, 19], Operations: ['99-56=43', '43-24=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[24, 99, 6, 56], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [24, 6, 43]
Generated Node #0,1: 25:[24, 6, 43] Operation: 99-56=43
Moving to Node #0,1
Current State: 25:[24, 6, 43], Operations: ['99-56=43']
Exploring Operation: 43-24=19, Resulting Numbers: [6, 19]
Generated Node #0,1,0: 25:[6, 19] Operation: 43-24=19
Moving to Node #0,1,0
Current State: 25:[6, 19], Operations: ['99-56=43', '43-24=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
32,
94,
88,
22
] | 60 | [
"32+94=126",
"88-22=66",
"126-66=60"
] | Current State: 60:[32, 94, 88, 22], Operations: []
Exploring Operation: 32+94=126, Resulting Numbers: [88, 22, 126]
Generated Node #2: [88, 22, 126] from Operation: 32+94=126
Current State: 60:[88, 22, 126], Operations: ['32+94=126']
Exploring Operation: 88-22=66, Resulting Numbers: [126, 66]
Generated Node #3: [126, 66] from Operation: 88-22=66
Current State: 60:[126, 66], Operations: ['32+94=126', '88-22=66']
Exploring Operation: 126-66=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[32, 94, 88, 22], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [32, 22, 6]
Generated Node #0,0: 60:[32, 22, 6] Operation: 94-88=6
Exploring Operation: 94-32=62, Resulting Numbers: [88, 22, 62]
Generated Node #0,1: 60:[88, 22, 62] Operation: 94-32=62
Moving to Node #0,0
Current State: 60:[32, 22, 6], Operations: ['94-88=6']
Exploring Operation: 22-6=16, Resulting Numbers: [32, 16]
Generated Node #0,0,0: 60:[32, 16] Operation: 22-6=16
Exploring Operation: 32-22=10, Resulting Numbers: [6, 10]
Generated Node #0,0,1: 60:[6, 10] Operation: 32-22=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[6, 10], Operations: ['94-88=6', '32-22=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[32, 94, 88, 22], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [32, 22, 6]
Generated Node #0,0: 60:[32, 22, 6] Operation: 94-88=6
Moving to Node #0,0
Current State: 60:[32, 22, 6], Operations: ['94-88=6']
Exploring Operation: 32-22=10, Resulting Numbers: [6, 10]
Generated Node #0,0,1: 60:[6, 10] Operation: 32-22=10
Moving to Node #0,0,1
Current State: 60:[6, 10], Operations: ['94-88=6', '32-22=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
21,
52,
4,
40
] | 69 | [
"52-40=12",
"4*12=48",
"21+48=69"
] | Current State: 69:[21, 52, 4, 40], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [21, 4, 12]
Generated Node #2: [21, 4, 12] from Operation: 52-40=12
Current State: 69:[21, 4, 12], Operations: ['52-40=12']
Exploring Operation: 4*12=48, Resulting Numbers: [21, 48]
Generated Node #3: [21, 48] from Operation: 4*12=48
Current State: 69:[21, 48], Operations: ['52-40=12', '4*12=48']
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[21, 52, 4, 40], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [21, 4, 12]
Generated Node #0,0: 69:[21, 4, 12] Operation: 52-40=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[21, 4, 12], Operations: ['52-40=12']
Exploring Operation: 12/4=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 69:[21, 3] Operation: 12/4=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[21, 3], Operations: ['52-40=12', '12/4=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
69,
9,
3,
10
] | 22 | [
"69/3=23",
"10-9=1",
"23-1=22"
] | Current State: 22:[69, 9, 3, 10], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [9, 10, 23]
Generated Node #2: [9, 10, 23] from Operation: 69/3=23
Current State: 22:[9, 10, 23], Operations: ['69/3=23']
Exploring Operation: 10-9=1, Resulting Numbers: [23, 1]
Generated Node #3: [23, 1] from Operation: 10-9=1
Current State: 22:[23, 1], Operations: ['69/3=23', '10-9=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[69, 9, 3, 10], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [9, 10, 23]
Generated Node #0,0: 22:[9, 10, 23] Operation: 69/3=23
Exploring Operation: 9+3=12, Resulting Numbers: [69, 10, 12]
Generated Node #0,1: 22:[69, 10, 12] Operation: 9+3=12
Exploring Operation: 69-3=66, Resulting Numbers: [9, 10, 66]
Generated Node #0,2: 22:[9, 10, 66] Operation: 69-3=66
Exploring Operation: 69-9=60, Resulting Numbers: [3, 10, 60]
Generated Node #0,3: 22:[3, 10, 60] Operation: 69-9=60
Exploring Operation: 69-10=59, Resulting Numbers: [9, 3, 59]
Generated Node #0,4: 22:[9, 3, 59] Operation: 69-10=59
Moving to Node #0,0
Current State: 22:[9, 10, 23], Operations: ['69/3=23']
Exploring Operation: 23-9=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 22:[10, 14] Operation: 23-9=14
Exploring Operation: 23-10=13, Resulting Numbers: [9, 13]
Generated Node #0,0,1: 22:[9, 13] Operation: 23-10=13
Exploring Operation: 10-9=1, Resulting Numbers: [23, 1]
Generated Node #0,0,2: 22:[23, 1] Operation: 10-9=1
Exploring Operation: 9+10=19, Resulting Numbers: [23, 19]
Generated Node #0,0,3: 22:[23, 19] Operation: 9+10=19
Exploring Operation: 9+23=32, Resulting Numbers: [10, 32]
Generated Node #0,0,4: 22:[10, 32] Operation: 9+23=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[23, 1], Operations: ['69/3=23', '10-9=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[69, 9, 3, 10], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [9, 10, 23]
Generated Node #0,0: 22:[9, 10, 23] Operation: 69/3=23
Moving to Node #0,0
Current State: 22:[9, 10, 23], Operations: ['69/3=23']
Exploring Operation: 10-9=1, Resulting Numbers: [23, 1]
Generated Node #0,0,2: 22:[23, 1] Operation: 10-9=1
Moving to Node #0,0,2
Current State: 22:[23, 1], Operations: ['69/3=23', '10-9=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
48,
88,
8,
27
] | 55 | [
"48/8=6",
"88-27=61",
"61-6=55"
] | Current State: 55:[48, 88, 8, 27], Operations: []
Exploring Operation: 48/8=6, Resulting Numbers: [88, 27, 6]
Generated Node #2: [88, 27, 6] from Operation: 48/8=6
Current State: 55:[88, 27, 6], Operations: ['48/8=6']
Exploring Operation: 88-27=61, Resulting Numbers: [6, 61]
Generated Node #3: [6, 61] from Operation: 88-27=61
Current State: 55:[6, 61], Operations: ['48/8=6', '88-27=61']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[48, 88, 8, 27], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [48, 27, 11]
Generated Node #0,0: 55:[48, 27, 11] Operation: 88/8=11
Exploring Operation: 88-27=61, Resulting Numbers: [48, 8, 61]
Generated Node #0,1: 55:[48, 8, 61] Operation: 88-27=61
Moving to Node #0,1
Current State: 55:[48, 8, 61], Operations: ['88-27=61']
Exploring Operation: 48+8=56, Resulting Numbers: [61, 56]
Generated Node #0,1,0: 55:[61, 56] Operation: 48+8=56
Exploring Operation: 61-48=13, Resulting Numbers: [8, 13]
Generated Node #0,1,1: 55:[8, 13] Operation: 61-48=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[8, 13], Operations: ['88-27=61', '61-48=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[61, 56], Operations: ['88-27=61', '48+8=56']
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 61+56=117, Resulting Numbers: [117]
117,55 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: 55:[48, 27, 11], Operations: ['88/8=11']
Exploring Operation: 48-27=21, Resulting Numbers: [11, 21]
Generated Node #0,0,0: 55:[11, 21] Operation: 48-27=21
Exploring Operation: 27-11=16, Resulting Numbers: [48, 16]
Generated Node #0,0,1: 55:[48, 16] Operation: 27-11=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[11, 21], Operations: ['88/8=11', '48-27=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[48, 16], Operations: ['88/8=11', '27-11=16']
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,55 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 |
[
70,
52,
15,
1
] | 32 | [
"70-52=18",
"15-1=14",
"18+14=32"
] | Current State: 32:[70, 52, 15, 1], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [15, 1, 18]
Generated Node #2: [15, 1, 18] from Operation: 70-52=18
Current State: 32:[15, 1, 18], Operations: ['70-52=18']
Exploring Operation: 15-1=14, Resulting Numbers: [18, 14]
Generated Node #3: [18, 14] from Operation: 15-1=14
Current State: 32:[18, 14], Operations: ['70-52=18', '15-1=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[70, 52, 15, 1], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [15, 1, 18]
Generated Node #0,0: 32:[15, 1, 18] Operation: 70-52=18
Exploring Operation: 70-15=55, Resulting Numbers: [52, 1, 55]
Generated Node #0,1: 32:[52, 1, 55] Operation: 70-15=55
Exploring Operation: 52-15=37, Resulting Numbers: [70, 1, 37]
Generated Node #0,2: 32:[70, 1, 37] Operation: 52-15=37
Moving to Node #0,0
Current State: 32:[15, 1, 18], Operations: ['70-52=18']
Exploring Operation: 15+18=33, Resulting Numbers: [1, 33]
Generated Node #0,0,0: 32:[1, 33] Operation: 15+18=33
Exploring Operation: 15+1=16, Resulting Numbers: [18, 16]
Generated Node #0,0,1: 32:[18, 16] Operation: 15+1=16
Exploring Operation: 18-15=3, Resulting Numbers: [1, 3]
Generated Node #0,0,2: 32:[1, 3] Operation: 18-15=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[1, 33], Operations: ['70-52=18', '15+18=33']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[70, 52, 15, 1], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [15, 1, 18]
Generated Node #0,0: 32:[15, 1, 18] Operation: 70-52=18
Moving to Node #0,0
Current State: 32:[15, 1, 18], Operations: ['70-52=18']
Exploring Operation: 15+18=33, Resulting Numbers: [1, 33]
Generated Node #0,0,0: 32:[1, 33] Operation: 15+18=33
Moving to Node #0,0,0
Current State: 32:[1, 33], Operations: ['70-52=18', '15+18=33']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
9,
39,
97,
21
] | 53 | [
"9*21=189",
"39+97=136",
"189-136=53"
] | Current State: 53:[9, 39, 97, 21], Operations: []
Exploring Operation: 9*21=189, Resulting Numbers: [39, 97, 189]
Generated Node #2: [39, 97, 189] from Operation: 9*21=189
Current State: 53:[39, 97, 189], Operations: ['9*21=189']
Exploring Operation: 39+97=136, Resulting Numbers: [189, 136]
Generated Node #3: [189, 136] from Operation: 39+97=136
Current State: 53:[189, 136], Operations: ['9*21=189', '39+97=136']
Exploring Operation: 189-136=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[9, 39, 97, 21], Operations: []
Exploring Operation: 9+39=48, Resulting Numbers: [97, 21, 48]
Generated Node #0,0: 53:[97, 21, 48] Operation: 9+39=48
Exploring Operation: 97-9=88, Resulting Numbers: [39, 21, 88]
Generated Node #0,1: 53:[39, 21, 88] Operation: 97-9=88
Exploring Operation: 9+21=30, Resulting Numbers: [39, 97, 30]
Generated Node #0,2: 53:[39, 97, 30] Operation: 9+21=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[97, 21, 48], Operations: ['9+39=48']
Exploring Operation: 97-48=49, Resulting Numbers: [21, 49]
Generated Node #0,0,0: 53:[21, 49] Operation: 97-48=49
Exploring Operation: 97-21=76, Resulting Numbers: [48, 76]
Generated Node #0,0,1: 53:[48, 76] Operation: 97-21=76
Exploring Operation: 21+48=69, Resulting Numbers: [97, 69]
Generated Node #0,0,2: 53:[97, 69] Operation: 21+48=69
Moving to Node #0,0,1
Current State: 53:[48, 76], Operations: ['9+39=48', '97-21=76']
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[21, 49], Operations: ['9+39=48', '97-48=49']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,53 unequal: No Solution
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[97, 69], Operations: ['9+39=48', '21+48=69']
Exploring Operation: 97*69=6693, Resulting Numbers: [6693]
6693,53 unequal: No Solution
Exploring Operation: 97+69=166, Resulting Numbers: [166]
166,53 unequal: No Solution
Exploring Operation: 97-69=28, Resulting Numbers: [28]
28,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[39, 21, 88], Operations: ['97-9=88']
Exploring Operation: 88-39=49, Resulting Numbers: [21, 49]
Generated Node #0,1,0: 53:[21, 49] Operation: 88-39=49
Exploring Operation: 39+21=60, Resulting Numbers: [88, 60]
Generated Node #0,1,1: 53:[88, 60] Operation: 39+21=60
Exploring Operation: 88-21=67, Resulting Numbers: [39, 67]
Generated Node #0,1,2: 53:[39, 67] Operation: 88-21=67
Moving to Node #0,1,2
Current State: 53:[39, 67], Operations: ['97-9=88', '88-21=67']
Exploring Operation: 39+67=106, Resulting Numbers: [106]
106,53 unequal: No Solution
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 39*67=2613, Resulting Numbers: [2613]
2613,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[21, 49], Operations: ['97-9=88', '88-39=49']
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,53 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[88, 60], Operations: ['97-9=88', '39+21=60']
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,53 unequal: No Solution
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,53 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[39, 97, 30], Operations: ['9+21=30']
Exploring Operation: 97-39=58, Resulting Numbers: [30, 58]
Generated Node #0,2,0: 53:[30, 58] Operation: 97-39=58
Exploring Operation: 97-30=67, Resulting Numbers: [39, 67]
Generated Node #0,2,1: 53:[39, 67] Operation: 97-30=67
Exploring Operation: 39+30=69, Resulting Numbers: [97, 69]
Generated Node #0,2,2: 53:[97, 69] Operation: 39+30=69
Moving to Node #0,2,0
Current State: 53:[30, 58], Operations: ['9+21=30', '97-39=58']
Exploring Operation: 30*58=1740, Resulting Numbers: [1740]
1740,53 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[39, 67], Operations: ['9+21=30', '97-30=67']
Exploring Operation: 39+67=106, Resulting Numbers: [106]
106,53 unequal: No Solution
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 39*67=2613, Resulting Numbers: [2613]
2613,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[97, 69], Operations: ['9+21=30', '39+30=69']
Exploring Operation: 97*69=6693, Resulting Numbers: [6693]
6693,53 unequal: No Solution
Exploring Operation: 97-69=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 97+69=166, Resulting Numbers: [166]
166,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
83,
47,
33,
21
] | 63 | [
"83-47=36",
"36-33=3",
"21*3=63"
] | Current State: 63:[83, 47, 33, 21], Operations: []
Exploring Operation: 83-47=36, Resulting Numbers: [33, 21, 36]
Generated Node #2: [33, 21, 36] from Operation: 83-47=36
Current State: 63:[33, 21, 36], Operations: ['83-47=36']
Exploring Operation: 36-33=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 36-33=3
Current State: 63:[21, 3], Operations: ['83-47=36', '36-33=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[83, 47, 33, 21], Operations: []
Exploring Operation: 47-33=14, Resulting Numbers: [83, 21, 14]
Generated Node #0,0: 63:[83, 21, 14] Operation: 47-33=14
Exploring Operation: 83-33=50, Resulting Numbers: [47, 21, 50]
Generated Node #0,1: 63:[47, 21, 50] Operation: 83-33=50
Exploring Operation: 83-47=36, Resulting Numbers: [33, 21, 36]
Generated Node #0,2: 63:[33, 21, 36] Operation: 83-47=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[83, 21, 14], Operations: ['47-33=14']
Exploring Operation: 83-14=69, Resulting Numbers: [21, 69]
Generated Node #0,0,0: 63:[21, 69] Operation: 83-14=69
Exploring Operation: 21-14=7, Resulting Numbers: [83, 7]
Generated Node #0,0,1: 63:[83, 7] Operation: 21-14=7
Exploring Operation: 83-21=62, Resulting Numbers: [14, 62]
Generated Node #0,0,2: 63:[14, 62] Operation: 83-21=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[21, 69], Operations: ['47-33=14', '83-14=69']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[14, 62], Operations: ['47-33=14', '83-21=62']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,63 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[83, 7], Operations: ['47-33=14', '21-14=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,63 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[33, 21, 36], Operations: ['83-47=36']
Exploring Operation: 36-33=3, Resulting Numbers: [21, 3]
Generated Node #0,2,0: 63:[21, 3] Operation: 36-33=3
Exploring Operation: 33+36=69, Resulting Numbers: [21, 69]
Generated Node #0,2,1: 63:[21, 69] Operation: 33+36=69
Exploring Operation: 33-21=12, Resulting Numbers: [36, 12]
Generated Node #0,2,2: 63:[36, 12] Operation: 33-21=12
Moving to Node #0,2,0
Current State: 63:[21, 3], Operations: ['83-47=36', '36-33=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[83, 47, 33, 21], Operations: []
Exploring Operation: 83-47=36, Resulting Numbers: [33, 21, 36]
Generated Node #0,2: 63:[33, 21, 36] Operation: 83-47=36
Moving to Node #0,2
Current State: 63:[33, 21, 36], Operations: ['83-47=36']
Exploring Operation: 36-33=3, Resulting Numbers: [21, 3]
Generated Node #0,2,0: 63:[21, 3] Operation: 36-33=3
Moving to Node #0,2,0
Current State: 63:[21, 3], Operations: ['83-47=36', '36-33=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
86,
79,
28,
85
] | 64 | [
"86-79=7",
"85-28=57",
"7+57=64"
] | Current State: 64:[86, 79, 28, 85], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [28, 85, 7]
Generated Node #2: [28, 85, 7] from Operation: 86-79=7
Current State: 64:[28, 85, 7], Operations: ['86-79=7']
Exploring Operation: 85-28=57, Resulting Numbers: [7, 57]
Generated Node #3: [7, 57] from Operation: 85-28=57
Current State: 64:[7, 57], Operations: ['86-79=7', '85-28=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[86, 79, 28, 85], Operations: []
Exploring Operation: 85-28=57, Resulting Numbers: [86, 79, 57]
Generated Node #0,0: 64:[86, 79, 57] Operation: 85-28=57
Exploring Operation: 86-85=1, Resulting Numbers: [79, 28, 1]
Generated Node #0,1: 64:[79, 28, 1] Operation: 86-85=1
Exploring Operation: 86-28=58, Resulting Numbers: [79, 85, 58]
Generated Node #0,2: 64:[79, 85, 58] Operation: 86-28=58
Exploring Operation: 86-79=7, Resulting Numbers: [28, 85, 7]
Generated Node #0,3: 64:[28, 85, 7] Operation: 86-79=7
Exploring Operation: 85-79=6, Resulting Numbers: [86, 28, 6]
Generated Node #0,4: 64:[86, 28, 6] Operation: 85-79=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[79, 28, 1], Operations: ['86-85=1']
Exploring Operation: 79/1=79, Resulting Numbers: [28, 79]
Generated Node #0,1,0: 64:[28, 79] Operation: 79/1=79
Exploring Operation: 79-28=51, Resulting Numbers: [1, 51]
Generated Node #0,1,1: 64:[1, 51] Operation: 79-28=51
Exploring Operation: 79-1=78, Resulting Numbers: [28, 78]
Generated Node #0,1,2: 64:[28, 78] Operation: 79-1=78
Exploring Operation: 28+1=29, Resulting Numbers: [79, 29]
Generated Node #0,1,3: 64:[79, 29] Operation: 28+1=29
Exploring Operation: 79*1=79, Resulting Numbers: [28, 79]
Generated Node #0,1,4: 64:[28, 79] Operation: 79*1=79
Moving to Node #0,1,1
Current State: 64:[1, 51], Operations: ['86-85=1', '79-28=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[79, 29], Operations: ['86-85=1', '28+1=29']
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,64 unequal: No Solution
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,64 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[28, 78], Operations: ['86-85=1', '79-1=78']
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,64 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[28, 79], Operations: ['86-85=1', '79/1=79']
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,64 unequal: No Solution
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,64 unequal: No Solution
Moving to Node #0,1,4
Current State: 64:[28, 79], Operations: ['86-85=1', '79*1=79']
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,64 unequal: No Solution
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[28, 85, 7], Operations: ['86-79=7']
Exploring Operation: 85-28=57, Resulting Numbers: [7, 57]
Generated Node #0,3,0: 64:[7, 57] Operation: 85-28=57
Exploring Operation: 28/7=4, Resulting Numbers: [85, 4]
Generated Node #0,3,1: 64:[85, 4] Operation: 28/7=4
Exploring Operation: 28-7=21, Resulting Numbers: [85, 21]
Generated Node #0,3,2: 64:[85, 21] Operation: 28-7=21
Exploring Operation: 28+7=35, Resulting Numbers: [85, 35]
Generated Node #0,3,3: 64:[85, 35] Operation: 28+7=35
Exploring Operation: 85-7=78, Resulting Numbers: [28, 78]
Generated Node #0,3,4: 64:[28, 78] Operation: 85-7=78
Moving to Node #0,3,0
Current State: 64:[7, 57], Operations: ['86-79=7', '85-28=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[86, 79, 28, 85], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [28, 85, 7]
Generated Node #0,3: 64:[28, 85, 7] Operation: 86-79=7
Moving to Node #0,3
Current State: 64:[28, 85, 7], Operations: ['86-79=7']
Exploring Operation: 85-28=57, Resulting Numbers: [7, 57]
Generated Node #0,3,0: 64:[7, 57] Operation: 85-28=57
Moving to Node #0,3,0
Current State: 64:[7, 57], Operations: ['86-79=7', '85-28=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
86,
17,
28,
63
] | 85 | [
"86-28=58",
"63-58=5",
"17*5=85"
] | Current State: 85:[86, 17, 28, 63], Operations: []
Exploring Operation: 86-28=58, Resulting Numbers: [17, 63, 58]
Generated Node #2: [17, 63, 58] from Operation: 86-28=58
Current State: 85:[17, 63, 58], Operations: ['86-28=58']
Exploring Operation: 63-58=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 63-58=5
Current State: 85:[17, 5], Operations: ['86-28=58', '63-58=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[86, 17, 28, 63], Operations: []
Exploring Operation: 28+63=91, Resulting Numbers: [86, 17, 91]
Generated Node #0,0: 85:[86, 17, 91] Operation: 28+63=91
Exploring Operation: 86-63=23, Resulting Numbers: [17, 28, 23]
Generated Node #0,1: 85:[17, 28, 23] Operation: 86-63=23
Exploring Operation: 17+63=80, Resulting Numbers: [86, 28, 80]
Generated Node #0,2: 85:[86, 28, 80] Operation: 17+63=80
Moving to Node #0,0
Current State: 85:[86, 17, 91], Operations: ['28+63=91']
Exploring Operation: 86-17=69, Resulting Numbers: [91, 69]
Generated Node #0,0,0: 85:[91, 69] Operation: 86-17=69
Exploring Operation: 91-86=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 85:[17, 5] Operation: 91-86=5
Exploring Operation: 91-17=74, Resulting Numbers: [86, 74]
Generated Node #0,0,2: 85:[86, 74] Operation: 91-17=74
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[17, 5], Operations: ['28+63=91', '91-86=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[86, 17, 28, 63], Operations: []
Exploring Operation: 28+63=91, Resulting Numbers: [86, 17, 91]
Generated Node #0,0: 85:[86, 17, 91] Operation: 28+63=91
Moving to Node #0,0
Current State: 85:[86, 17, 91], Operations: ['28+63=91']
Exploring Operation: 91-86=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 85:[17, 5] Operation: 91-86=5
Moving to Node #0,0,1
Current State: 85:[17, 5], Operations: ['28+63=91', '91-86=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
52,
88,
64,
4
] | 96 | [
"88-52=36",
"64-4=60",
"36+60=96"
] | Current State: 96:[52, 88, 64, 4], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [64, 4, 36]
Generated Node #2: [64, 4, 36] from Operation: 88-52=36
Current State: 96:[64, 4, 36], Operations: ['88-52=36']
Exploring Operation: 64-4=60, Resulting Numbers: [36, 60]
Generated Node #3: [36, 60] from Operation: 64-4=60
Current State: 96:[36, 60], Operations: ['88-52=36', '64-4=60']
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[52, 88, 64, 4], Operations: []
Exploring Operation: 88-64=24, Resulting Numbers: [52, 4, 24]
Generated Node #0,0: 96:[52, 4, 24] Operation: 88-64=24
Exploring Operation: 64/4=16, Resulting Numbers: [52, 88, 16]
Generated Node #0,1: 96:[52, 88, 16] Operation: 64/4=16
Exploring Operation: 64-52=12, Resulting Numbers: [88, 4, 12]
Generated Node #0,2: 96:[88, 4, 12] Operation: 64-52=12
Exploring Operation: 88-52=36, Resulting Numbers: [64, 4, 36]
Generated Node #0,3: 96:[64, 4, 36] Operation: 88-52=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[52, 4, 24], Operations: ['88-64=24']
Exploring Operation: 52-4=48, Resulting Numbers: [24, 48]
Generated Node #0,0,0: 96:[24, 48] Operation: 52-4=48
Exploring Operation: 52-24=28, Resulting Numbers: [4, 28]
Generated Node #0,0,1: 96:[4, 28] Operation: 52-24=28
Exploring Operation: 52/4=13, Resulting Numbers: [24, 13]
Generated Node #0,0,2: 96:[24, 13] Operation: 52/4=13
Exploring Operation: 4*24=96, Resulting Numbers: [52, 96]
Generated Node #0,0,3: 96:[52, 96] Operation: 4*24=96
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[24, 48], Operations: ['88-64=24', '52-4=48']
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,96 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,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,0,2
Current State: 96:[24, 13], Operations: ['88-64=24', '52/4=13']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,96 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,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,0,1
Current State: 96:[4, 28], Operations: ['88-64=24', '52-24=28']
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,96 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,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,0,3
Current State: 96:[52, 96], Operations: ['88-64=24', '4*24=96']
Exploring Operation: 96-52=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 52*96=4992, Resulting Numbers: [4992]
4992,96 unequal: No Solution
Exploring Operation: 52+96=148, Resulting Numbers: [148]
148,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[88, 4, 12], Operations: ['64-52=12']
Exploring Operation: 88+4=92, Resulting Numbers: [12, 92]
Generated Node #0,2,0: 96:[12, 92] Operation: 88+4=92
Exploring Operation: 88/4=22, Resulting Numbers: [12, 22]
Generated Node #0,2,1: 96:[12, 22] Operation: 88/4=22
Exploring Operation: 88+12=100, Resulting Numbers: [4, 100]
Generated Node #0,2,2: 96:[4, 100] Operation: 88+12=100
Exploring Operation: 4+12=16, Resulting Numbers: [88, 16]
Generated Node #0,2,3: 96:[88, 16] Operation: 4+12=16
Moving to Node #0,2,1
Current State: 96:[12, 22], Operations: ['64-52=12', '88/4=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[4, 100], Operations: ['64-52=12', '88+12=100']
Exploring Operation: 4*100=400, Resulting Numbers: [400]
400,96 unequal: No Solution
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[52, 88, 64, 4], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [88, 4, 12]
Generated Node #0,2: 96:[88, 4, 12] Operation: 64-52=12
Moving to Node #0,2
Current State: 96:[88, 4, 12], Operations: ['64-52=12']
Exploring Operation: 88+12=100, Resulting Numbers: [4, 100]
Generated Node #0,2,2: 96:[4, 100] Operation: 88+12=100
Moving to Node #0,2,2
Current State: 96:[4, 100], Operations: ['64-52=12', '88+12=100']
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
45,
40,
90,
93
] | 88 | [
"45+40=85",
"93-90=3",
"85+3=88"
] | Current State: 88:[45, 40, 90, 93], Operations: []
Exploring Operation: 45+40=85, Resulting Numbers: [90, 93, 85]
Generated Node #2: [90, 93, 85] from Operation: 45+40=85
Current State: 88:[90, 93, 85], Operations: ['45+40=85']
Exploring Operation: 93-90=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 93-90=3
Current State: 88:[85, 3], Operations: ['45+40=85', '93-90=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[45, 40, 90, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [45, 40, 3]
Generated Node #0,0: 88:[45, 40, 3] Operation: 93-90=3
Moving to Node #0,0
Current State: 88:[45, 40, 3], Operations: ['93-90=3']
Exploring Operation: 45-40=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 88:[3, 5] Operation: 45-40=5
Moving to Node #0,0,0
Current State: 88:[3, 5], Operations: ['93-90=3', '45-40=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,88 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
70,
35,
87,
69
] | 20 | [
"70/35=2",
"87-69=18",
"2+18=20"
] | Current State: 20:[70, 35, 87, 69], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [87, 69, 2]
Generated Node #2: [87, 69, 2] from Operation: 70/35=2
Current State: 20:[87, 69, 2], Operations: ['70/35=2']
Exploring Operation: 87-69=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 87-69=18
Current State: 20:[2, 18], Operations: ['70/35=2', '87-69=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[70, 35, 87, 69], Operations: []
Exploring Operation: 87-70=17, Resulting Numbers: [35, 69, 17]
Generated Node #0,0: 20:[35, 69, 17] Operation: 87-70=17
Exploring Operation: 70-69=1, Resulting Numbers: [35, 87, 1]
Generated Node #0,1: 20:[35, 87, 1] Operation: 70-69=1
Exploring Operation: 87-69=18, Resulting Numbers: [70, 35, 18]
Generated Node #0,2: 20:[70, 35, 18] Operation: 87-69=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[35, 69, 17], Operations: ['87-70=17']
Exploring Operation: 35-17=18, Resulting Numbers: [69, 18]
Generated Node #0,0,0: 20:[69, 18] Operation: 35-17=18
Exploring Operation: 69-35=34, Resulting Numbers: [17, 34]
Generated Node #0,0,1: 20:[17, 34] Operation: 69-35=34
Exploring Operation: 69-17=52, Resulting Numbers: [35, 52]
Generated Node #0,0,2: 20:[35, 52] Operation: 69-17=52
Moving to Node #0,0,1
Current State: 20:[17, 34], Operations: ['87-70=17', '69-35=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[35, 52], Operations: ['87-70=17', '69-17=52']
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,20 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[69, 18], Operations: ['87-70=17', '35-17=18']
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,20 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,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,2
Current State: 20:[70, 35, 18], Operations: ['87-69=18']
Exploring Operation: 70-18=52, Resulting Numbers: [35, 52]
Generated Node #0,2,0: 20:[35, 52] Operation: 70-18=52
Exploring Operation: 70-35=35, Resulting Numbers: [18, 35]
Generated Node #0,2,1: 20:[18, 35] Operation: 70-35=35
Exploring Operation: 70/35=2, Resulting Numbers: [18, 2]
Generated Node #0,2,2: 20:[18, 2] Operation: 70/35=2
Moving to Node #0,2,2
Current State: 20:[18, 2], Operations: ['87-69=18', '70/35=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[70, 35, 87, 69], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [70, 35, 18]
Generated Node #0,2: 20:[70, 35, 18] Operation: 87-69=18
Moving to Node #0,2
Current State: 20:[70, 35, 18], Operations: ['87-69=18']
Exploring Operation: 70/35=2, Resulting Numbers: [18, 2]
Generated Node #0,2,2: 20:[18, 2] Operation: 70/35=2
Moving to Node #0,2,2
Current State: 20:[18, 2], Operations: ['87-69=18', '70/35=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
27,
92,
65,
83
] | 29 | [
"27+92=119",
"65+83=148",
"148-119=29"
] | Current State: 29:[27, 92, 65, 83], Operations: []
Exploring Operation: 27+92=119, Resulting Numbers: [65, 83, 119]
Generated Node #2: [65, 83, 119] from Operation: 27+92=119
Current State: 29:[65, 83, 119], Operations: ['27+92=119']
Exploring Operation: 65+83=148, Resulting Numbers: [119, 148]
Generated Node #3: [119, 148] from Operation: 65+83=148
Current State: 29:[119, 148], Operations: ['27+92=119', '65+83=148']
Exploring Operation: 148-119=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[27, 92, 65, 83], Operations: []
Exploring Operation: 92-83=9, Resulting Numbers: [27, 65, 9]
Generated Node #0,0: 29:[27, 65, 9] Operation: 92-83=9
Exploring Operation: 92-65=27, Resulting Numbers: [27, 83, 27]
Generated Node #0,1: 29:[27, 83, 27] Operation: 92-65=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[27, 65, 9], Operations: ['92-83=9']
Exploring Operation: 65-27=38, Resulting Numbers: [9, 38]
Generated Node #0,0,0: 29:[9, 38] Operation: 65-27=38
Exploring Operation: 65-9=56, Resulting Numbers: [27, 56]
Generated Node #0,0,1: 29:[27, 56] Operation: 65-9=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[9, 38], Operations: ['92-83=9', '65-27=38']
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[27, 92, 65, 83], Operations: []
Exploring Operation: 92-83=9, Resulting Numbers: [27, 65, 9]
Generated Node #0,0: 29:[27, 65, 9] Operation: 92-83=9
Moving to Node #0,0
Current State: 29:[27, 65, 9], Operations: ['92-83=9']
Exploring Operation: 65-27=38, Resulting Numbers: [9, 38]
Generated Node #0,0,0: 29:[9, 38] Operation: 65-27=38
Moving to Node #0,0,0
Current State: 29:[9, 38], Operations: ['92-83=9', '65-27=38']
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
45,
92,
55,
59
] | 23 | [
"45+92=137",
"55+59=114",
"137-114=23"
] | Current State: 23:[45, 92, 55, 59], Operations: []
Exploring Operation: 45+92=137, Resulting Numbers: [55, 59, 137]
Generated Node #2: [55, 59, 137] from Operation: 45+92=137
Current State: 23:[55, 59, 137], Operations: ['45+92=137']
Exploring Operation: 55+59=114, Resulting Numbers: [137, 114]
Generated Node #3: [137, 114] from Operation: 55+59=114
Current State: 23:[137, 114], Operations: ['45+92=137', '55+59=114']
Exploring Operation: 137-114=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[45, 92, 55, 59], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [45, 55, 33]
Generated Node #0,0: 23:[45, 55, 33] Operation: 92-59=33
Exploring Operation: 92-55=37, Resulting Numbers: [45, 59, 37]
Generated Node #0,1: 23:[45, 59, 37] Operation: 92-55=37
Exploring Operation: 92-45=47, Resulting Numbers: [55, 59, 47]
Generated Node #0,2: 23:[55, 59, 47] Operation: 92-45=47
Moving to Node #0,0
Current State: 23:[45, 55, 33], Operations: ['92-59=33']
Exploring Operation: 45-33=12, Resulting Numbers: [55, 12]
Generated Node #0,0,0: 23:[55, 12] Operation: 45-33=12
Exploring Operation: 55-45=10, Resulting Numbers: [33, 10]
Generated Node #0,0,1: 23:[33, 10] Operation: 55-45=10
Exploring Operation: 55-33=22, Resulting Numbers: [45, 22]
Generated Node #0,0,2: 23:[45, 22] Operation: 55-33=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[33, 10], Operations: ['92-59=33', '55-45=10']
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[45, 92, 55, 59], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [45, 55, 33]
Generated Node #0,0: 23:[45, 55, 33] Operation: 92-59=33
Moving to Node #0,0
Current State: 23:[45, 55, 33], Operations: ['92-59=33']
Exploring Operation: 55-45=10, Resulting Numbers: [33, 10]
Generated Node #0,0,1: 23:[33, 10] Operation: 55-45=10
Moving to Node #0,0,1
Current State: 23:[33, 10], Operations: ['92-59=33', '55-45=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
47,
92,
21,
46
] | 24 | [
"47-21=26",
"92/46=2",
"26-2=24"
] | Current State: 24:[47, 92, 21, 46], Operations: []
Exploring Operation: 47-21=26, Resulting Numbers: [92, 46, 26]
Generated Node #2: [92, 46, 26] from Operation: 47-21=26
Current State: 24:[92, 46, 26], Operations: ['47-21=26']
Exploring Operation: 92/46=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 92/46=2
Current State: 24:[26, 2], Operations: ['47-21=26', '92/46=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[47, 92, 21, 46], Operations: []
Exploring Operation: 92-46=46, Resulting Numbers: [47, 21, 46]
Generated Node #0,0: 24:[47, 21, 46] Operation: 92-46=46
Exploring Operation: 92/46=2, Resulting Numbers: [47, 21, 2]
Generated Node #0,1: 24:[47, 21, 2] Operation: 92/46=2
Exploring Operation: 92-47=45, Resulting Numbers: [21, 46, 45]
Generated Node #0,2: 24:[21, 46, 45] Operation: 92-47=45
Moving to Node #0,1
Current State: 24:[47, 21, 2], Operations: ['92/46=2']
Exploring Operation: 47-2=45, Resulting Numbers: [21, 45]
Generated Node #0,1,0: 24:[21, 45] Operation: 47-2=45
Exploring Operation: 21+2=23, Resulting Numbers: [47, 23]
Generated Node #0,1,1: 24:[47, 23] Operation: 21+2=23
Exploring Operation: 47-21=26, Resulting Numbers: [2, 26]
Generated Node #0,1,2: 24:[2, 26] Operation: 47-21=26
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[2, 26], Operations: ['92/46=2', '47-21=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[47, 92, 21, 46], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [47, 21, 2]
Generated Node #0,1: 24:[47, 21, 2] Operation: 92/46=2
Moving to Node #0,1
Current State: 24:[47, 21, 2], Operations: ['92/46=2']
Exploring Operation: 47-21=26, Resulting Numbers: [2, 26]
Generated Node #0,1,2: 24:[2, 26] Operation: 47-21=26
Moving to Node #0,1,2
Current State: 24:[2, 26], Operations: ['92/46=2', '47-21=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
10,
17,
8,
35
] | 35 | [
"17-10=7",
"8-7=1",
"35*1=35"
] | Current State: 35:[10, 17, 8, 35], Operations: []
Exploring Operation: 17-10=7, Resulting Numbers: [8, 35, 7]
Generated Node #2: [8, 35, 7] from Operation: 17-10=7
Current State: 35:[8, 35, 7], Operations: ['17-10=7']
Exploring Operation: 8-7=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 8-7=1
Current State: 35:[35, 1], Operations: ['17-10=7', '8-7=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[10, 17, 8, 35], Operations: []
Exploring Operation: 17-8=9, Resulting Numbers: [10, 35, 9]
Generated Node #0,0: 35:[10, 35, 9] Operation: 17-8=9
Exploring Operation: 10+17=27, Resulting Numbers: [8, 35, 27]
Generated Node #0,1: 35:[8, 35, 27] Operation: 10+17=27
Exploring Operation: 17-10=7, Resulting Numbers: [8, 35, 7]
Generated Node #0,2: 35:[8, 35, 7] Operation: 17-10=7
Exploring Operation: 10-8=2, Resulting Numbers: [17, 35, 2]
Generated Node #0,3: 35:[17, 35, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[8, 35, 7], Operations: ['17-10=7']
Exploring Operation: 8-7=1, Resulting Numbers: [35, 1]
Generated Node #0,2,0: 35:[35, 1] Operation: 8-7=1
Exploring Operation: 35/7=5, Resulting Numbers: [8, 5]
Generated Node #0,2,1: 35:[8, 5] Operation: 35/7=5
Exploring Operation: 8+35=43, Resulting Numbers: [7, 43]
Generated Node #0,2,2: 35:[7, 43] Operation: 8+35=43
Exploring Operation: 35-8=27, Resulting Numbers: [7, 27]
Generated Node #0,2,3: 35:[7, 27] Operation: 35-8=27
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[8, 5], Operations: ['17-10=7', '35/7=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[35, 1], Operations: ['17-10=7', '8-7=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[10, 17, 8, 35], Operations: []
Exploring Operation: 17-10=7, Resulting Numbers: [8, 35, 7]
Generated Node #0,2: 35:[8, 35, 7] Operation: 17-10=7
Moving to Node #0,2
Current State: 35:[8, 35, 7], Operations: ['17-10=7']
Exploring Operation: 8-7=1, Resulting Numbers: [35, 1]
Generated Node #0,2,0: 35:[35, 1] Operation: 8-7=1
Moving to Node #0,2,0
Current State: 35:[35, 1], Operations: ['17-10=7', '8-7=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
91,
5,
77,
38
] | 14 | [
"91*5=455",
"77+455=532",
"532/38=14"
] | Current State: 14:[91, 5, 77, 38], Operations: []
Exploring Operation: 91*5=455, Resulting Numbers: [77, 38, 455]
Generated Node #2: [77, 38, 455] from Operation: 91*5=455
Current State: 14:[77, 38, 455], Operations: ['91*5=455']
Exploring Operation: 77+455=532, Resulting Numbers: [38, 532]
Generated Node #3: [38, 532] from Operation: 77+455=532
Current State: 14:[38, 532], Operations: ['91*5=455', '77+455=532']
Exploring Operation: 532/38=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[91, 5, 77, 38], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [5, 38, 14]
Generated Node #0,0: 14:[5, 38, 14] Operation: 91-77=14
Exploring Operation: 91-38=53, Resulting Numbers: [5, 77, 53]
Generated Node #0,1: 14:[5, 77, 53] Operation: 91-38=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[5, 38, 14], Operations: ['91-77=14']
Exploring Operation: 38-14=24, Resulting Numbers: [5, 24]
Generated Node #0,0,0: 14:[5, 24] Operation: 38-14=24
Exploring Operation: 38-5=33, Resulting Numbers: [14, 33]
Generated Node #0,0,1: 14:[14, 33] Operation: 38-5=33
Moving to Node #0,0,0
Current State: 14:[5, 24], Operations: ['91-77=14', '38-14=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[14, 33], Operations: ['91-77=14', '38-5=33']
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No 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: 14:[5, 77, 53], Operations: ['91-38=53']
Exploring Operation: 77-53=24, Resulting Numbers: [5, 24]
Generated Node #0,1,0: 14:[5, 24] Operation: 77-53=24
Exploring Operation: 77-5=72, Resulting Numbers: [53, 72]
Generated Node #0,1,1: 14:[53, 72] Operation: 77-5=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[5, 24], Operations: ['91-38=53', '77-53=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,14 unequal: No Solution
No 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: 14:[53, 72], Operations: ['91-38=53', '77-5=72']
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 53+72=125, Resulting Numbers: [125]
125,14 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 |
[
30,
6,
81,
34
] | 83 | [
"30+6=36",
"81-34=47",
"36+47=83"
] | Current State: 83:[30, 6, 81, 34], Operations: []
Exploring Operation: 30+6=36, Resulting Numbers: [81, 34, 36]
Generated Node #2: [81, 34, 36] from Operation: 30+6=36
Current State: 83:[81, 34, 36], Operations: ['30+6=36']
Exploring Operation: 81-34=47, Resulting Numbers: [36, 47]
Generated Node #3: [36, 47] from Operation: 81-34=47
Current State: 83:[36, 47], Operations: ['30+6=36', '81-34=47']
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[30, 6, 81, 34], Operations: []
Exploring Operation: 6+34=40, Resulting Numbers: [30, 81, 40]
Generated Node #0,0: 83:[30, 81, 40] Operation: 6+34=40
Exploring Operation: 30+34=64, Resulting Numbers: [6, 81, 64]
Generated Node #0,1: 83:[6, 81, 64] Operation: 30+34=64
Exploring Operation: 30+6=36, Resulting Numbers: [81, 34, 36]
Generated Node #0,2: 83:[81, 34, 36] Operation: 30+6=36
Exploring Operation: 6+81=87, Resulting Numbers: [30, 34, 87]
Generated Node #0,3: 83:[30, 34, 87] Operation: 6+81=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[30, 81, 40], Operations: ['6+34=40']
Exploring Operation: 30+81=111, Resulting Numbers: [40, 111]
Generated Node #0,0,0: 83:[40, 111] Operation: 30+81=111
Exploring Operation: 30+40=70, Resulting Numbers: [81, 70]
Generated Node #0,0,1: 83:[81, 70] Operation: 30+40=70
Exploring Operation: 40-30=10, Resulting Numbers: [81, 10]
Generated Node #0,0,2: 83:[81, 10] Operation: 40-30=10
Exploring Operation: 81-30=51, Resulting Numbers: [40, 51]
Generated Node #0,0,3: 83:[40, 51] Operation: 81-30=51
Moving to Node #0,0,1
Current State: 83:[81, 70], Operations: ['6+34=40', '30+40=70']
Exploring Operation: 81+70=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 81*70=5670, Resulting Numbers: [5670]
5670,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[40, 111], Operations: ['6+34=40', '30+81=111']
Exploring Operation: 40+111=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 40*111=4440, Resulting Numbers: [4440]
4440,83 unequal: No Solution
Exploring Operation: 111-40=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[40, 51], Operations: ['6+34=40', '81-30=51']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[81, 10], Operations: ['6+34=40', '40-30=10']
Exploring Operation: 81*10=810, Resulting Numbers: [810]
810,83 unequal: No Solution
Exploring Operation: 81+10=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[6, 81, 64], Operations: ['30+34=64']
Exploring Operation: 64-6=58, Resulting Numbers: [81, 58]
Generated Node #0,1,0: 83:[81, 58] Operation: 64-6=58
Exploring Operation: 6+64=70, Resulting Numbers: [81, 70]
Generated Node #0,1,1: 83:[81, 70] Operation: 6+64=70
Exploring Operation: 81-6=75, Resulting Numbers: [64, 75]
Generated Node #0,1,2: 83:[64, 75] Operation: 81-6=75
Exploring Operation: 6+81=87, Resulting Numbers: [64, 87]
Generated Node #0,1,3: 83:[64, 87] Operation: 6+81=87
Moving to Node #0,1,1
Current State: 83:[81, 70], Operations: ['30+34=64', '6+64=70']
Exploring Operation: 81*70=5670, Resulting Numbers: [5670]
5670,83 unequal: No Solution
Exploring Operation: 81+70=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[64, 87], Operations: ['30+34=64', '6+81=87']
Exploring Operation: 87-64=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 64*87=5568, Resulting Numbers: [5568]
5568,83 unequal: No Solution
Exploring Operation: 64+87=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[64, 75], Operations: ['30+34=64', '81-6=75']
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 64+75=139, Resulting Numbers: [139]
139,83 unequal: No Solution
Exploring Operation: 64*75=4800, Resulting Numbers: [4800]
4800,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[81, 58], Operations: ['30+34=64', '64-6=58']
Exploring Operation: 81+58=139, Resulting Numbers: [139]
139,83 unequal: No Solution
Exploring Operation: 81*58=4698, Resulting Numbers: [4698]
4698,83 unequal: No Solution
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[81, 34, 36], Operations: ['30+6=36']
Exploring Operation: 81-34=47, Resulting Numbers: [36, 47]
Generated Node #0,2,0: 83:[36, 47] Operation: 81-34=47
Exploring Operation: 81+36=117, Resulting Numbers: [34, 117]
Generated Node #0,2,1: 83:[34, 117] Operation: 81+36=117
Exploring Operation: 81+34=115, Resulting Numbers: [36, 115]
Generated Node #0,2,2: 83:[36, 115] Operation: 81+34=115
Exploring Operation: 34+36=70, Resulting Numbers: [81, 70]
Generated Node #0,2,3: 83:[81, 70] Operation: 34+36=70
Moving to Node #0,2,3
Current State: 83:[81, 70], Operations: ['30+6=36', '34+36=70']
Exploring Operation: 81+70=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 81*70=5670, Resulting Numbers: [5670]
5670,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[36, 115], Operations: ['30+6=36', '81+34=115']
Exploring Operation: 36+115=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 115-36=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 36*115=4140, Resulting Numbers: [4140]
4140,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[34, 117], Operations: ['30+6=36', '81+36=117']
Exploring Operation: 34+117=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 34*117=3978, Resulting Numbers: [3978]
3978,83 unequal: No Solution
Exploring Operation: 117-34=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[30, 6, 81, 34], Operations: []
Exploring Operation: 30+6=36, Resulting Numbers: [81, 34, 36]
Generated Node #0,2: 83:[81, 34, 36] Operation: 30+6=36
Moving to Node #0,2
Current State: 83:[81, 34, 36], Operations: ['30+6=36']
Exploring Operation: 81+36=117, Resulting Numbers: [34, 117]
Generated Node #0,2,1: 83:[34, 117] Operation: 81+36=117
Moving to Node #0,2,1
Current State: 83:[34, 117], Operations: ['30+6=36', '81+36=117']
Exploring Operation: 117-34=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | mult_heuristic |
[
24,
68,
1,
59
] | 16 | [
"68-24=44",
"1+59=60",
"60-44=16"
] | Current State: 16:[24, 68, 1, 59], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [1, 59, 44]
Generated Node #2: [1, 59, 44] from Operation: 68-24=44
Current State: 16:[1, 59, 44], Operations: ['68-24=44']
Exploring Operation: 1+59=60, Resulting Numbers: [44, 60]
Generated Node #3: [44, 60] from Operation: 1+59=60
Current State: 16:[44, 60], Operations: ['68-24=44', '1+59=60']
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[24, 68, 1, 59], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [1, 59, 44]
Generated Node #0,0: 16:[1, 59, 44] Operation: 68-24=44
Exploring Operation: 68-59=9, Resulting Numbers: [24, 1, 9]
Generated Node #0,1: 16:[24, 1, 9] Operation: 68-59=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[24, 1, 9], Operations: ['68-59=9']
Exploring Operation: 24-9=15, Resulting Numbers: [1, 15]
Generated Node #0,1,0: 16:[1, 15] Operation: 24-9=15
Exploring Operation: 24-1=23, Resulting Numbers: [9, 23]
Generated Node #0,1,1: 16:[9, 23] Operation: 24-1=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[1, 15], Operations: ['68-59=9', '24-9=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[24, 68, 1, 59], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [24, 1, 9]
Generated Node #0,1: 16:[24, 1, 9] Operation: 68-59=9
Moving to Node #0,1
Current State: 16:[24, 1, 9], Operations: ['68-59=9']
Exploring Operation: 24-9=15, Resulting Numbers: [1, 15]
Generated Node #0,1,0: 16:[1, 15] Operation: 24-9=15
Moving to Node #0,1,0
Current State: 16:[1, 15], Operations: ['68-59=9', '24-9=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
9,
37,
77,
29
] | 77 | [
"37-9=28",
"29-28=1",
"77*1=77"
] | Current State: 77:[9, 37, 77, 29], Operations: []
Exploring Operation: 37-9=28, Resulting Numbers: [77, 29, 28]
Generated Node #2: [77, 29, 28] from Operation: 37-9=28
Current State: 77:[77, 29, 28], Operations: ['37-9=28']
Exploring Operation: 29-28=1, Resulting Numbers: [77, 1]
Generated Node #3: [77, 1] from Operation: 29-28=1
Current State: 77:[77, 1], Operations: ['37-9=28', '29-28=1']
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[9, 37, 77, 29], Operations: []
Exploring Operation: 37-29=8, Resulting Numbers: [9, 77, 8]
Generated Node #0,0: 77:[9, 77, 8] Operation: 37-29=8
Moving to Node #0,0
Current State: 77:[9, 77, 8], Operations: ['37-29=8']
Exploring Operation: 9*8=72, Resulting Numbers: [77, 72]
Generated Node #0,0,0: 77:[77, 72] Operation: 9*8=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[77, 72], Operations: ['37-29=8', '9*8=72']
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,77 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 |
[
76,
5,
1,
43
] | 58 | [
"76-1=75",
"75/5=15",
"43+15=58"
] | Current State: 58:[76, 5, 1, 43], Operations: []
Exploring Operation: 76-1=75, Resulting Numbers: [5, 43, 75]
Generated Node #2: [5, 43, 75] from Operation: 76-1=75
Current State: 58:[5, 43, 75], Operations: ['76-1=75']
Exploring Operation: 75/5=15, Resulting Numbers: [43, 15]
Generated Node #3: [43, 15] from Operation: 75/5=15
Current State: 58:[43, 15], Operations: ['76-1=75', '75/5=15']
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[76, 5, 1, 43], Operations: []
Exploring Operation: 76-5=71, Resulting Numbers: [1, 43, 71]
Generated Node #0,0: 58:[1, 43, 71] Operation: 76-5=71
Exploring Operation: 76-43=33, Resulting Numbers: [5, 1, 33]
Generated Node #0,1: 58:[5, 1, 33] Operation: 76-43=33
Exploring Operation: 43-5=38, Resulting Numbers: [76, 1, 38]
Generated Node #0,2: 58:[76, 1, 38] Operation: 43-5=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[5, 1, 33], Operations: ['76-43=33']
Exploring Operation: 5-1=4, Resulting Numbers: [33, 4]
Generated Node #0,1,0: 58:[33, 4] Operation: 5-1=4
Exploring Operation: 33-1=32, Resulting Numbers: [5, 32]
Generated Node #0,1,1: 58:[5, 32] Operation: 33-1=32
Exploring Operation: 33-5=28, Resulting Numbers: [1, 28]
Generated Node #0,1,2: 58:[1, 28] Operation: 33-5=28
Moving to Node #0,1,2
Current State: 58:[1, 28], Operations: ['76-43=33', '33-5=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[33, 4], Operations: ['76-43=33', '5-1=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[5, 32], Operations: ['76-43=33', '33-1=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,58 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[1, 43, 71], Operations: ['76-5=71']
Exploring Operation: 71-1=70, Resulting Numbers: [43, 70]
Generated Node #0,0,0: 58:[43, 70] Operation: 71-1=70
Exploring Operation: 43-1=42, Resulting Numbers: [71, 42]
Generated Node #0,0,1: 58:[71, 42] Operation: 43-1=42
Exploring Operation: 71-43=28, Resulting Numbers: [1, 28]
Generated Node #0,0,2: 58:[1, 28] Operation: 71-43=28
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[1, 28], Operations: ['76-5=71', '71-43=28']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,58 unequal: No Solution
No 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: 58:[43, 70], Operations: ['76-5=71', '71-1=70']
Exploring Operation: 43+70=113, Resulting Numbers: [113]
113,58 unequal: No Solution
Exploring Operation: 43*70=3010, Resulting Numbers: [3010]
3010,58 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,58 unequal: No Solution
No 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: 58:[71, 42], Operations: ['76-5=71', '43-1=42']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 71+42=113, Resulting Numbers: [113]
113,58 unequal: No Solution
Exploring Operation: 71*42=2982, Resulting Numbers: [2982]
2982,58 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: 58:[76, 1, 38], Operations: ['43-5=38']
Exploring Operation: 76-38=38, Resulting Numbers: [1, 38]
Generated Node #0,2,0: 58:[1, 38] Operation: 76-38=38
Exploring Operation: 76/38=2, Resulting Numbers: [1, 2]
Generated Node #0,2,1: 58:[1, 2] Operation: 76/38=2
Exploring Operation: 76-1=75, Resulting Numbers: [38, 75]
Generated Node #0,2,2: 58:[38, 75] Operation: 76-1=75
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[1, 2], Operations: ['43-5=38', '76/38=2']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,58 unequal: No Solution
No 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: 58:[1, 38], Operations: ['43-5=38', '76-38=38']
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,58 unequal: No Solution
No 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: 58:[38, 75], Operations: ['43-5=38', '76-1=75']
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 38*75=2850, Resulting Numbers: [2850]
2850,58 unequal: No Solution
Exploring Operation: 38+75=113, Resulting Numbers: [113]
113,58 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 |
[
91,
88,
7,
74
] | 70 | [
"91-88=3",
"74-7=67",
"3+67=70"
] | Current State: 70:[91, 88, 7, 74], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [7, 74, 3]
Generated Node #2: [7, 74, 3] from Operation: 91-88=3
Current State: 70:[7, 74, 3], Operations: ['91-88=3']
Exploring Operation: 74-7=67, Resulting Numbers: [3, 67]
Generated Node #3: [3, 67] from Operation: 74-7=67
Current State: 70:[3, 67], Operations: ['91-88=3', '74-7=67']
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[91, 88, 7, 74], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [7, 74, 3]
Generated Node #0,0: 70:[7, 74, 3] Operation: 91-88=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[7, 74, 3], Operations: ['91-88=3']
Exploring Operation: 74-3=71, Resulting Numbers: [7, 71]
Generated Node #0,0,0: 70:[7, 71] Operation: 74-3=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[7, 71], Operations: ['91-88=3', '74-3=71']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
42,
31,
10,
45
] | 63 | [
"45-42=3",
"31-10=21",
"3*21=63"
] | Current State: 63:[42, 31, 10, 45], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [31, 10, 3]
Generated Node #2: [31, 10, 3] from Operation: 45-42=3
Current State: 63:[31, 10, 3], Operations: ['45-42=3']
Exploring Operation: 31-10=21, Resulting Numbers: [3, 21]
Generated Node #3: [3, 21] from Operation: 31-10=21
Current State: 63:[3, 21], Operations: ['45-42=3', '31-10=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[42, 31, 10, 45], Operations: []
Exploring Operation: 42-31=11, Resulting Numbers: [10, 45, 11]
Generated Node #0,0: 63:[10, 45, 11] Operation: 42-31=11
Exploring Operation: 45-31=14, Resulting Numbers: [42, 10, 14]
Generated Node #0,1: 63:[42, 10, 14] Operation: 45-31=14
Exploring Operation: 45-42=3, Resulting Numbers: [31, 10, 3]
Generated Node #0,2: 63:[31, 10, 3] Operation: 45-42=3
Exploring Operation: 42+31=73, Resulting Numbers: [10, 45, 73]
Generated Node #0,3: 63:[10, 45, 73] Operation: 42+31=73
Moving to Node #0,2
Current State: 63:[31, 10, 3], Operations: ['45-42=3']
Exploring Operation: 31-3=28, Resulting Numbers: [10, 28]
Generated Node #0,2,0: 63:[10, 28] Operation: 31-3=28
Exploring Operation: 31+3=34, Resulting Numbers: [10, 34]
Generated Node #0,2,1: 63:[10, 34] Operation: 31+3=34
Exploring Operation: 31-10=21, Resulting Numbers: [3, 21]
Generated Node #0,2,2: 63:[3, 21] Operation: 31-10=21
Exploring Operation: 10-3=7, Resulting Numbers: [31, 7]
Generated Node #0,2,3: 63:[31, 7] Operation: 10-3=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[3, 21], Operations: ['45-42=3', '31-10=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[42, 31, 10, 45], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [31, 10, 3]
Generated Node #0,2: 63:[31, 10, 3] Operation: 45-42=3
Moving to Node #0,2
Current State: 63:[31, 10, 3], Operations: ['45-42=3']
Exploring Operation: 31-10=21, Resulting Numbers: [3, 21]
Generated Node #0,2,2: 63:[3, 21] Operation: 31-10=21
Moving to Node #0,2,2
Current State: 63:[3, 21], Operations: ['45-42=3', '31-10=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.